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

GATE 2024 (Session 1)

65 questions

MCQ 29 · MSQ 20 · NAT 161-mark 30 · 2-mark 35

Questions 61–65 of 65

Q61Regular Expression2 marksNAT
Consider the following two regular expressions over the alphabet {0,1}\{0,1\} :

r=0∗+1∗s=01∗+10∗\begin{aligned} & r=0^*+1^* \\ & s=01^*+10^* \end{aligned}

The total number of strings of length less than or equal to 5 , which are neither in rr nor in ss, is ____

Q62Memory Management2 marksNAT
Consider a memory management system that uses a page size of 2 KB2 \mathrm{~KB}. Assume that both the physical and virtual addresses start from 0. Assume that the pages 0,1,20,1,2, and 33 are stored in the page frames 1,3,21,3,2, and 00, respectively. The physical address (in decimal format) corresponding to the virtual address 25002500 (in decimal format) is ____

Q63Probability Theory2 marksNAT
A bag contains 10 red balls and 15 blue balls. Two balls are drawn randomly without replacement. Given that the first ball drawn is red, the probability (rounded off to 3 decimal places) that both balls drawn are red is ____

Q64Combinational Circuit2 marksNAT
Consider a digital logic circuit consisting of three 2-to-1 multiplexers M1, M2, and M3 as shown below. X1X 1 and X2X 2 are inputs of M1M 1. X3X 3 and X4X 4 are inputs of M2M 2. A,BA, B, and CC are select lines of M1,M2M 1, M 2, and M3M 3, respectively.
X1 X2 X3 X4 0 1 0 1 0 1 Q1 Q2 M1 M2 M3 S1 S2 S3 A B C Y
For an instance of inputs XXl=X2=1,X3=0X \mathbf{X l}=\mathbf{X} \mathbf{2}=\mathbf{1}, \mathrm{X} 3=\mathbf{0}, and X4=0\mathrm{X} 4=\mathbf{0}, the number of combinations of A,B,CA, B, C that give the output Y=1Y=1 is _____

Q65Network Layer Protocol2 marksNAT
Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over a path of two links with a router between them. The first link (sender to router) has an MTU (Maximum Transmission Unit) size of 542 bytes, while the second link (router to receiver) has an MTU size of 360 bytes. The number of fragments that would be delivered at the receiver is _____