Skip to content
Early access — you're among the first to try PYQLabs. Share feedback

GATE 2001 CSE & IT

49 questions across 1 session

PYQ 1

How many 4 digit even numbers have all 4 digits distinct?

Discrete Mathematics·MCQ·medium·✓ keyed
PYQ 2

Suppose a processor does not have any stack pointer register. Which of the following statements is true?

Operating Systems·MCQ·medium·✓ keyed
PYQ 3

Which is the most appropriate match for the items in the first column with the items in the second column? $$X.$$ Indirect Addressing $$Y.$$ Indexed Addressing $$Z.$$ Base Register...

Computer Organization·MTF·easy·✓ keyed
PYQ 4

Let $$f:\,A\, \to B$$ be a function, and let E and F be subsets of A. Consider the following statements about images. $$S1:\,f\,\left( {E\, \cup \,F} \right)\, = \,f\left( E \right...

Discrete Mathematics·STMT·easy·✓ keyed
PYQ 5

More than one word are put in one cache block to

Computer Organization·MCQ·easy·✓ keyed
PYQ 6

Consider a set of $$n$$ tasks with known runtimes $${r_1},{r_2},.....\,{r_n}\,\,$$ to be run on a uniprocessor machine. Which of the following processor scheduling algorithms will...

Operating Systems·MCQ·easy·✓ keyed
PYQ 7

A $$CPU$$ has $$32$$-bit memory address and a $$256$$ $$KB$$ cache memory. The cache is organized as a $$4$$-way set associative cache with cache block size of $$16$$ bytes. (a)$$\...

Computer Organization·OTHER·medium
PYQ 8

Which of the following relational calculus expressions is not safe?

Database Management System·MCQ·medium·✓ keyed
PYQ 9

Where does the swap space reside?

Operating Systems·MCQ·easy·✓ keyed
PYQ 10

Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size is 4KB, what is the approximate size of the page table?

Operating Systems·MCQ·medium·✓ keyed
PYQ 11

Consider a disk with the $$100$$ tracks numbered from $$0$$ to $$99$$ rotating at $$3000$$ $$rpm.$$ The number of sectors per track is $$100.$$ the time to move the head between tw...

Operating Systems·OTHER·hard
PYQ 12

Which of the following requires a device driver?

Operating Systems·MCQ·easy·✓ keyed
PYQ 13

Which of the following statements is false?

Compiler Design·MCQ·easy·✓ keyed
PYQ 14

Consider a disk with following specifications: $$20$$ surface, $$1000$$ tracks/surface, $$16$$ sectors/track, data density $$1$$ $$KB/sector,$$ rotation speed $$3000$$ $$rpm.$$ The...

Operating Systems·OTHER·hard
PYQ 15

Consider two well-formed formulas in propositional logic $$F1:P \Rightarrow \neg P$$ $$F2:\left( {P \Rightarrow \neg P} \right) \vee \left( {\neg P \Rightarrow } \right)$$ Which of...

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 16

Consider an undirected unweighted graph G. Let a breadth-first traversal of G be done starting from a node r. Let d(r, u) and d(r, v) be the lengths of the shortest paths from r to...

Data Structures·MCQ·easy·✓ keyed
PYQ 17

A processor needs software interrupt to

Computer Organization·MCQ·easy·✓ keyed
PYQ 18

Consider the following C program: void abc(char *s) { if(s[0]=='\0') return; abc(s+1); abc(s+1); printf("%c",s[0]); } main() { abc("123"); } (a) What will be the output of the prog...

Programming Languages·OTHER·medium
PYQ 19

The process of assigning load addresses to the various parts of the program and adjusting the code and date in the program to reflect the assigned addresses is called

Compiler Design·MCQ·easy·✓ keyed
PYQ 20

$$R(A,B,C,D)$$ is a relation. Which of the following does not have a lossless-join, dependency preserving $$BCNF$$ decomposition?

Database Management System·MCQ·medium·✓ keyed
PYQ 21

Consider the following relations: $${R_1}\,\,\left( {a,\,\,b} \right)\,\,\,iff\,\,\left( {a + b} \right)$$ is even over the set of integers $${R_2}\,\,\left( {a,\,\,b} \right)\,\,\...

Discrete Mathematics·MCQ·medium·✓ keyed
PYQ 22

What is printed by the print statements in the program P1 assuming call by reference parameter passing? Program P1() { x=10; y=3; func1(y,x,x); print x; print y; } func1(x,y,z) { y...

Programming Languages·MCQ·medium·✓ keyed
PYQ 23

how many undirected graphs (not necessarily connected) can be constructed out of a given $$\,\,\,\,V = \left\{ {{v_1},\,\,{v_2},\,....,\,\,{v_n}} \right\}$$ of $$n$$ vertices?

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 24

How many undirected graphs (not necessarily connected) can be constructed out of a given set V = { v 1 ,v 2 ,........,v n } of n vertices?

Data Structures·MCQ·easy·✓ keyed
PYQ 25

Which of the following statements is false?

Operating Systems·MCQ·easy·✓ keyed
PYQ 26

The $$2's$$ complement representation of $${\left( { - 539} \right)_{10}}$$ in hexadecimal is

Digital Logic·MCQ·easy·✓ keyed
PYQ 27

A processor needs software interrupt to

Operating Systems·MCQ·easy·✓ keyed
PYQ 28

Consider a virtual memory system with $$FIFO$$ page replacement policy. For an arbitrary page access pattern, increasing the number of page frames in main memory will

Operating Systems·MCQ·easy·✓ keyed
PYQ 29

Consider any array representation of an n element binary heap where the elements are stored from index 1 to index n of the array. For the element stored at index i of the array $$\...

Algorithms·MCQ·easy·✓ keyed
PYQ 30

Let f(n) = n 2 log n and g(n) = n(log n) 10 be two positive functions of n. Which of the following statements is correct?

Algorithms·MCQ·easy·✓ keyed
PYQ 31

Consider the following three C functions: [P1] int*g(void) { int x=10; return(&x); } [P2] int*g(void) { int *px; *px = 10; return px; } [P3] int*g(void) { int *px px =(int*)malloc...

Programming Languages·MCQ·easy·✓ keyed
PYQ 32

Consider a schema $$R(A,B,C,D)$$ and functional dependencies $$A \to B\,\,$$ and $$C \to D\,\,$$. Then the decomposition of $$R$$ into $${R_1}\left( {AB} \right)$$ and $${R_2}\left...

Database Management System·MCQ·easy·✓ keyed
PYQ 33

Consider the following program Program P2 var n:int; procedure W(var x:int) begin x=x+1; print x; end procedure D begin var n:int; n=3; W(n); end begin \\begin P2 n = 10; D; end If...

Programming Languages·MCQ·medium·✓ keyed
PYQ 34

The process of assigning load addresses to the various parts of the program and adjusting the code and date in the program to reflect the assigned addresses is called

Operating Systems·MCQ·easy·✓ keyed
PYQ 35

Which of the following does not interrupt a running process?

Operating Systems·MCQ·easy·✓ keyed
PYQ 36

Consider the following statements: S1: The sum of two singular n x n matrices may be non-singular S2: The sum of two n x n non-singular matrices may be singular Which of the follow...

Discrete Mathematics·STMT·easy·✓ keyed
PYQ 37

Arrange the following configuration for CPU in decreasing order of operating speeds: Hardwired control, vertical micro- programming, horizontal micro-programming

Computer Organization·MCQ·easy·✓ keyed
PYQ 38

The value of the integral is $${\rm I} = \int\limits_0^{{\raise0.5ex\hbox{$\scriptstyle \pi $} \kern-0.1em/\kern-0.15em \lower0.25ex\hbox{$\scriptstyle 4$}}} {{{\cos }^2}x\,dx} $$

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 39

Seven (distinct) car accidents occurred in a week. What is the probability that they all occurred on the same day ?

Discrete Mathematics·MCQ·easy·✓ keyed
PYQ 40

Consider the following statements: S1: There exist infinite sets A, B, C such that $$A\, \cap \left( {B\, \cup \,C} \right)$$ is finite. S2: There exist two irrational numbers x an...

Discrete Mathematics·STMT·easy·✓ keyed
PYQ 41

Consider Peterson’s algorithm for mutual exclusion between two concurrent processes i and j. The program executed by process is shown below. Repeat flag[i]=true; turn=j; while (P)...

Operating Systems·MCQ·easy·✓ keyed
PYQ 42

A CPU has two modes-privileged and non-privileged. In order to change the mode from privileged to non-privileged

Operating Systems·MCQ·easy·✓ keyed
PYQ 43

Consider a $$DFA$$ over $$\sum { = \left\{ {a,\,\,b} \right\}} $$ accepting all strings which have number of $$a'$$s divisible by $$6$$ and number of $$b'$$s divisible by $$8$$. Wh...

Theory of Computation·MCQ·easy·✓ keyed
PYQ 44

Consider the following problem $$X.$$ Given a Turing machine $$M$$ over the input alphabet $$\sum , $$ any state $$q$$ of $$M$$ And a word $$w\,\,\varepsilon \,\,\sum {^ * ,} $$ do...

Theory of Computation·MCQ·medium·✓ keyed
PYQ 45

Which of the following statement is true?

Theory of Computation·MCQ·easy·✓ keyed
PYQ 46

Consider the following two statements; $${S_1}\,\,:\,\,\left\{ {{0^{2n}}\left| {n \ge 1} \right.} \right\}$$ is a regular language $${S_2}\,\,:\,\,\left\{ {{0^m}{1^n}{0^{m + n}}\le...

Theory of Computation·MCQ·easy·✓ keyed
PYQ 47

Consider the following languages: $${L_1} = \left\{ {w\,w\left| {w \in {{\left\{ {a,\,b} \right\}}^ * }} \right.} \right\}$$ $${L_2} = \left\{ {w\,{w^R}\left| {w \in {{\left\{ {a,\...

Theory of Computation·MCQ·medium·✓ keyed
PYQ 48

Given an arbitrary non-deterministic finite automaton $$(NFA)$$ with $$N$$ states, the maximum number of states in an equivalent minimized $$DFA$$ is at least

Theory of Computation·MCQ·easy·✓ keyed
PYQ 49

Randomized quicksort is an extension of quicksort where the pivot is chosen randomly. What is the worst case complexity of sorting n numbers using randomized quicksort?

Algorithms·MCQ·easy·✓ keyed