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

GATE 2015 (Session 2)

64 questions

MCQ 42 · NAT 221-mark 29 · 2-mark 35

Questions 41–45 of 64

Q42Secondary Storage2 marksNAT
Consider a typical disk that rotates at 15000 rotations per minute (RPM) and has a transfer rate of 50x10610^{6} bytes/sec. If the average seek time of the disk is twice the average rotational delay and the controller's transfer time is 10 times the disk transfer time, the average time (in milliseconds) to read or write a 512-byte sector of the disk is ______.

Q43Memory Management2 marksNAT
A computer system implements 8 kilobyte pages and a 32-bit physical address space. Each page table entry contains a valid bit, a dirty bit, three permission bits, and the translation. If the maximum size of the page table of a process is 24 megabytes, the length of the virtual address supported by the system is _____ bits.

Q44Intermediate Code Generation2 marksMCQ−0.67 if wrong
Consider the intermediate code given below.
(1) i = 1
(2) j = 1
(3) t1 = 5 * i
(4) t2 = t1 + j
(5) t3 = 4 * t2
(6) t4 = t3
(7) a[t4] = -1
(8) j = j + 1
(9) if j≤\leq5 goto (3)
(10) i=i+1
(11) if i<\lt5 goto (2)
The number of nodes and edges in the control-flow-graph constructed for the above code, respectively, are

Q45Finite Automata2 marksNAT
The number of states in the minimal deterministic finite automaton corresponding to the regular expression (0+1)*(10) is __________.

Q46Regular Language2 marksMCQ−0.67 if wrong
Which of the following languages is/are regular?
L1:{wxwR∣w,x∈{a,b}∗  and  ∣w∣,∣x∣>0},wRL_{1}:\{wxw^{R}|w,x \in \{a,b\}^{*} \; and \; |w|,|x| \gt 0 \}, w^{R} is the reverse of string w
L2:{anbm∣m≠n  and  m,n≥0}L_{2}:\{a^{n}b^{m}|m\neq n \; and \; m,n\geq 0\}
L3:{apbqcr∣p,q,r≥0}L_{3}:\{a^{p}b^{q}c^{r}|p,q,r\geq 0\}