GATE 2013
80 questions
MCQ 801-mark 38 · 2-mark 42
Questions 51–55 of 80
An index is clustered, if
Answer: (C)
In a clustered index, the data records are kept in about the same order as the index entries.
Answer: the data records of the file are organized in the same order as the data entries of the index
Answer: the data records of the file are organized in the same order as the data entries of the index
Determine the maximum length of the cable (in km) for transmitting data at a rate of 500 Mbps in an Ethernet LAN with frames of size 10,000 bits. Assume the signal speed in the cable to be 2,00,000 km/s.
Answer: (B)
Condition for Ethernet:
Transmission and propagation time:
Maximum length = 200000 km/s 10 = 2 km
Answer: 2
Transmission and propagation time:
Maximum length = 200000 km/s 10 = 2 km
Answer: 2
In an IPv4 datagram, the M bit is 0, the value of HLEN is 10, the value of total length is 400 and the fragment offset value is 300. The position of the datagram, the sequence numbers of the first and the last bytes of the payload, respectively are
Answer: (C)
Let us go through each point:
- The M bit is 0 and the offset is 0 so it is the last fragment.
- The first byte is 300 8 = 2400.
- The header is 10 4 = 40 B. The data is 400 40 = 360 B.
- The last byte is 2400 + 360 1 = 2759.
Answer: Last fragment, 2400 and 2759
- The M bit is 0 and the offset is 0 so it is the last fragment.
- The first byte is 300 8 = 2400.
- The header is 10 4 = 40 B. The data is 400 40 = 360 B.
- The last byte is 2400 + 360 1 = 2759.
Answer: Last fragment, 2400 and 2759
Assume that source S and destination D are connected through two intermediate routers labeled R. Determine how many times each packet has to visit the network layer and the data link layer during a transmission from S to D.
Answer: (C)
Let us check each layer:
- Network layer: S, both routers and D each use it once, so 4 times
- Data link layer: S sends (1), each router receives and sends (2 each, so 4), D receives (1). Total = 1 + 4 + 1 = 6 times
Answer: Network layer 4 times and Data link layer 6 times
- Network layer: S, both routers and D each use it once, so 4 times
- Data link layer: S sends (1), each router receives and sends (2 each, so 4), D receives (1). Total = 1 + 4 + 1 = 6 times
Answer: Network layer 4 times and Data link layer 6 times
The transport layer protocols used for real time multimedia, file transfer, DNS and email, respectively are
Answer: (C)
Let us go through each item:
- Real-time multimedia: UDP (speed is preferred to reliability)
- File transfer: TCP (it is reliable)
- DNS: UDP (the queries are short)
- Email (SMTP): TCP
Answer: UDP, TCP, UDP and TCP
- Real-time multimedia: UDP (speed is preferred to reliability)
- File transfer: TCP (it is reliable)
- DNS: UDP (the queries are short)
- Email (SMTP): TCP
Answer: UDP, TCP, UDP and TCP