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

GATE 2026 (Session 1)

65 questions

MCQ 28 · MSQ 24 · NAT 131-mark 30 · 2-mark 35

Questions 56–60 of 65

Q56Network Layer Protocol2 marksMSQ
An ISP having an address block 202.16.0.0/15202.16.0.0/15 assigns a block of 60006000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?

One or more options are correct.

Q57Graph Theory2 marksNAT
Let GG be an undirected graph, which is a path on 88 vertices. The number of matchings in GG is ________. (answer in integer)

Q58Probability Theory2 marksNAT
Let XX be a random variable which takes values in the set {1,2,3,4,5,6,7,8}\{1,2,3,4,5,6,7,8\}. Further, Pr⁡(X=1)=Pr⁡(X=2)=Pr⁡(X=5)=Pr⁡(X=7)=16\operatorname{Pr}(X=1)=\operatorname{Pr}(X=2)=\operatorname{Pr}(X=5)=\operatorname{Pr}(X=7)=\frac{1}{6} and Pr⁡(X=3)=Pr⁡(X=4)=Pr⁡(X=6)=Pr⁡(X=8)=112\operatorname{Pr}(X=3)=\operatorname{Pr}(X=4)=\operatorname{Pr}(X=6)=\operatorname{Pr}(X=8)=\frac{1}{12}.

The expected value of XX, denoted by E[X]E[X], is equal to ________. (rounded off to two decimal places)

Q59Secondary Storage2 marksNAT
Consider a hard disk with a rotational speed of 1500015000 rpm. The time to move the read/write head from a track to its adjacent track is 11 millisecond. Initially, the head is on track 00. The number of sectors per track is 400400. The sector size is 10241024 bytes. It is necessary to transfer data from 1010 randomly located sectors in each of the following tracks in the order: 5,125, 12 and 77.

The total time for the data transfer (in milliseconds) from the hard disk is ________. (rounded off to one decimal place)

Q60Pipeline Processor2 marksNAT
The EX stage of a pipelined processor performs the memory read operations for LOAD instructions, and the operations for the arithmetic and logic instructions. Let tEXt_{E X} denote the time taken by the EX stage to perform the operation for an instruction. For each instruction type, the values of tEXt_{E X} and MM (the number of instructions of that type in a sequence of 100100 instructions for a program P ), are given in the table below.

The duration of the pipeline clock cycle is 11 nanosecond. Assume that the latch time for the interstage buffers in the pipeline is negligible.

InstructiontEX innanosecondsMLOAD1.815IMUL1.510IDIV2.55FADD1.710FSUB1.75FMUL2.815FDIV3.25All otherinstructionsLess than1.035\begin{array}{|l|c|c|} \hline \text{Instruction} & \begin{array}{c} t_{EX}\ \text{in} \\ \text{nanoseconds} \end{array} & M \\ \hline \text{LOAD} & 1.8 & 15 \\ \hline \text{IMUL} & 1.5 & 10 \\ \hline \text{IDIV} & 2.5 & 5 \\ \hline \text{FADD} & 1.7 & 10 \\ \hline \text{FSUB} & 1.7 & 5 \\ \hline \text{FMUL} & 2.8 & 15 \\ \hline \text{FDIV} & 3.2 & 5 \\ \hline \begin{array}{l} \text{All other} \\ \text{instructions} \end{array} & \begin{array}{c} \text{Less than} \\ 1.0 \end{array} & 35 \\ \hline \end{array}

When program P\text{P} is executed, the number of clock cycles for which the pipeline is stalled due to structural hazards in the EX stage is ________. (answer in integer)