1
GATE CSE 2021 Set 1
MCQ (More than One Correct Answer)
+2
-0.67

A TCP server application is programmed to listen on port number P on host S. A TCP client connected to the TCP server over the network.

Consider that while the TCP connection was active, the server machine S crashed are rebooted. Assume that the client does not use the TCP keepalive timer.

Which of the following behaviours is/are possible?

A
If the client sends a packet after the server reboot, it will receive a RST segment.
B
If the client was waiting to receive a packet, it may wait indefinitely.
C
It the client sends a packet after the server reboot, it will receive a FIN segment.
D
The TCP server application on S can listen on P after reboot.
2
GATE CSE 2021 Set 1
MCQ (Single Correct Answer)
+1
-0.33

Consider the following two statements.

S1 : Destination MAC address of an ARP reply is a broadcast address.

S2 : Destination MAC address of an ARP request is a broadcast address.

Which one of the following choices is correct?

A
S1 is tue and S2 is false.
B
Both S1 and S2 are false.
C
S1 is false and S2 is true.
D
Both S1 and S2 are true.
3
GATE CSE 2021 Set 1
Numerical
+2
-0

A five-stage pipeline has stage delays of 150, 120, 150, 160 and 140 nanoseconds. The registers that are used between the pipeline stages have a delay of 5 nanoseconds each.

The total time to execute 100 independent instructions on this pipeline, assuming there are no pipeline stalls, is ______ nanoseconds.

Your input ____
4
GATE CSE 2021 Set 1
Numerical
+2
-0.67

Consider the following instruction sequence where register R1, R2 and R3 are general purpose and MEMORY[X] denotes the content at the memory location X.

Instruction

Semantics

Instruction Size (bytes)

MOV R1, (5000)

R1 ← MEMORY[5000]

4

MOV R2, (R3)

R2 ← MEMORY[R3]

4

ADD R2, R1

R2 ← R1 + R2

2

MOV (R3), R2

MEMORY[R3] ← R2

4

INC R3

R3 ← R3 + 1

2

DEC R1

R1 ← R1 – 1

2

BNZ 1004

Branch if not zero to the given absolute address

2

HALT

Stop

1

 

Assume that the content of the memory location 5000 is 10, and the content of the register R3 is 3000. The content of each of the memory locations from 3000 to 3010 is 50. The instruction sequence starts from the memory location 1000. All the numbers are in decimal format. Assume that the memory is byte addressable.

After the execution of the program, the content of memory location 3010 is ______

Your input ____
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12