GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 1952 - 1956 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 1952

Appeared in Year: 2015

Question

MCQ▾

What is the output of the following C code? Assume that the address of is (in decimal) and an integer requires four bytes of memory.

  1. #include < stdio.h >
  2. intmain ( )
  3. {
  4. unsignedintx [ 4 ] [ 3 ] ={ { 1, 2, 3 } , { 4, 5, 6 } , { 7, 8, 9 } , { 10, 11, 12 } } ;
  5.  printf (  "%u,%u,%u" , x +3, ⚹( x +3 ) , ⚹( x +2 ) +3 ) ;
  6. }

Choices

Choice (4)Response

a.

b.

c.

d.

Question does not provide sufficient data or is vague

Question 1953

Appeared in Year: 2015

Question

MCQ▾

In one of the pairs of protocols given below, both the protocols can use multiple TCP connections between the same client and the server. Which one is that?

Choices

Choice (4)Response

a.

FTP, SMTP

b.

HTTP, TELNET

c.

HTTP, FTP

d.

HTTP, SMTP

Question 1954

Appeared in Year: 2015

Question

MCQ▾

If and , then is:

Choices

Choice (4)Response

a.

b.

c.

d.

Question 1955

Appeared in Year: 2015

Question

MCQ▾

Consider the operations and

Which one of the following is correct?

Choices

Choice (4)Response

a.

Only is functionally complete

b.

Both and are functionally complete

c.

Neither nor is functionally complete

d.

Only is functionally complete

Question 1956

Appeared in Year: 2015

Question

MCQ▾

Consider a non-pipelined processor with a clock rate of gigahertz and average cycles per instruction of four. The same processor is upgraded to a pipelined processor with five stages; but due to the internal pipeline delay, the clock speed is reduced to gigahertz. Assume that there are no stalls in the pipeline. The speed up achieved in this pipelined processor is ________.

Choices

Choice (4)Response

a.

2.2

b.

3.2

c.

2.0

d.

3.0

Developed by: