GATE 2015 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2015 (Session 1)

65 questions

MCQ 45 · NAT 201-mark 30 · 2-mark 35

Questions 26–30 of 65

Q26Network Layer Protocol1 markMCQ−0.33 if wrong
Which one of the following fields of an IP header is NOT modified by a typical IP router?

Q27Application Layer Protocols1 markMCQ−0.33 if wrong
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?

Q28Context Free Language1 markMCQ−0.33 if wrong
For any two languages L1 and L2 such that L1 is context-free and L2 is recursively enumerable but not recursive, which of the following is/are necessarily true?
I. L1ˉ\bar{L_{1}} (complement of L1) is recursive
II. L2ˉ\bar{L_{2}} (complement of L2) is recursive
III. L1ˉ\bar{L_{1}} is context-free
IV. L1ˉ∪L2\bar{L_{1}} \cup L_{2} is recursively enumerable

Q29Memory Management1 markNAT
Consider a system with byte-addressable memory, 32-bit logical addresses, 4 kilobyte page size and page table entries of 4 bytes each. The size of the page table in the system in megabytes is ________ .

Q30Process Synchronization1 markNAT
The following two functions P1 and P2 that share a variable B with an initial value of 2 execute concurrently.
P1( ) {                 P2( ) {
    C = B - 1;              D = 2 * B;
    B = 2 * C;              B = D - 1;
}                       }

The number of distinct values that B can possibly take after the execution is______________.