Recent questions tagged gatecse-2014-set3

68 68 votes
12 answers 12 answers
20.5k
20.5k views
Let $\oplus$ denote the exclusive OR (XOR) operation. Let '$1$' and '$0$' denote the binary constants. Consider the following Boolean expression for $F$ over two variable...
75 75 votes
10 answers 10 answers
26.9k
26.9k views
Consider the following relational schema:employee (empId,empName,empDept) customer (custId,custName,salesRepId,rating) salesRepId is a foreign key referring to empId of t...
52 52 votes
14 answers 14 answers
14.2k
14.2k views
The CORRECT formula for the sentence, "not all Rainy days are Cold" is$\forall d (\text{Rainy}(d) \wedge \text{~Cold}(d))$$\forall d ( \text{~Rainy}(d) \to \text{Cold}(d)...
38 38 votes
3 answers 3 answers
13.8k
13.8k views
Let $\delta$ denote the minimum degree of a vertex in a graph. For all planar graphs on $n$ vertices with $\delta \geq 3$, which one of the following is TRUE?In any plana...
77 77 votes
15 answers 15 answers
31.3k
31.3k views
If $G$ is the forest with $n$ vertices and $k$ connected components, how many edges does $G$ have?$\left\lfloor\frac {n}{k}\right\rfloor$$\left\lceil \frac{n}{k} \right\r...
105 105 votes
7 answers 7 answers
26.3k
26.3k views
There are two elements $x,\:y$ in a group $(G,*)$ such that every element in the group can be written as a product of some number of $x$'s and $y$'s in some order. It is ...
124 124 votes
8 answers 8 answers
26.4k
26.4k views
Consider the set of all functions $f:\{0,1, \dots,2014\} \to \{0,1,\dots, 2014\}$ such that $ f\left(f\left(i\right)\right)=i$, for all $0 \leq i \leq 2014$. Consider th...
51 51 votes
6 answers 6 answers
15.7k
15.7k views
Let $S$ be a sample space and two mutually exclusive events $A$ and $B$ be such that $A \cup B = S$. If $P(.)$ denotes the probability of the event, the maximum value of ...
45 45 votes
6 answers 6 answers
15.4k
15.4k views
The value of the integral given below is$$\int \limits_0^{\pi} \: x^2 \: \cos x\:dx$$$-2\pi$$\pi$$-\pi$$2\pi$
5 5 votes
1 1 answer
4.8k
4.8k views
With respect to the numerical evaluation of the definite integral, $K = \int \limits_a^b \:x^2 \:dx$, where $a$ and $b$ are given, which of the following statements is/ar...
39 39 votes
6 answers 6 answers
24.7k
24.7k views
The above synchronous sequential circuit built using JK flip-flops is initialized with $Q_2Q_1Q_0 = 000$. The state sequence for this circuit for the next $3$ clock cycle...
114 114 votes
12 answers 12 answers
42.9k
42.9k views
The memory access time is $1$ nanosecond for a read operation with a hit in cache, $5$ nanoseconds for a read operation with a miss in cache, $2$ nanoseconds for a write ...
88 88 votes
13 answers 13 answers
35.8k
35.8k views
An instruction pipeline has five stages, namely, instruction fetch (IF), instruction decode and register fetch (ID/RF), instruction execution (EX), memory access (MEM), a...
81 81 votes
12 answers 12 answers
22.0k
22.0k views
Consider the C function given below. Assume that the array $listA$ contains $n (>0)$ elements, sorted in ascending order.int ProcessArray(int *listA, int x, int n) { in...
73 73 votes
11 answers 11 answers
32.0k
32.0k views
Consider the pseudocode given below. The function $DoSomething()$ takes as argument a pointer to the root of an arbitrary tree represented by the $leftMostChild-rightSibl...
77 77 votes
5 answers 5 answers
31.9k
31.9k views
Consider a hash table with $100$ slots. Collisions are resolved using chaining. Assuming simple uniform hashing, what is the probability that the first $3$ slots are unfi...
190 190 votes
11 answers 11 answers
50.8k
50.8k views
Suppose we have a balanced binary search tree $T$ holding $n$ numbers. We are given two numbers $L$ and $H$ and wish to sum up all the numbers in $T$ that lie between $L$...
11 11 votes
3 answers 3 answers
5.3k
5.3k views
Consider the decision problem $2CNFSAT$ defined as follows:$$\left\{ \phi \mid \phi \text{ is a satisfiable propositional formula in CNF with at most two literals per cla...
67 67 votes
9 answers 9 answers
18.1k
18.1k views
Suppose you want to move from $0$ to $100$ on the number line. In each step, you either move right by a unit distance or you take a shortcut. A shortcut is simply a pre-s...
43 43 votes
4 answers 4 answers
14.0k
14.0k views
Consider the following languages over the alphabet $\sum = \{0, 1, c\}$$L_1 = \left\{0^n1^n\mid n \geq 0\right\}$$L_2 = \left\{wcw^r \mid w \in \{0,1\}^*\right\}$$L_3 = ...
44 44 votes
7 answers 7 answers
14.5k
14.5k views
Which one of the following problems is undecidable?Deciding if a given context-free grammar is ambiguous.Deciding if a given string is generated by a given context-free g...
88 88 votes
6 answers 6 answers
52.7k
52.7k views
Consider the basic block given below. a = b + c c = a + d d = b + c e = d - b a = e + b The minimum number of nodes and edges present in the DAG representation of the abo...
60 60 votes
5 answers 5 answers
24.9k
24.9k views
Consider a paging hardware with a $TLB$. Assume that the entire page table and all the pages are in the physical memory. It takes $10$ milliseconds to search the $TLB$ an...
33 33 votes
4 answers 4 answers
15.2k
15.2k views
An operating system uses shortest remaining time first scheduling algorithm for pre-emptive scheduling of processes. Consider the following set of processes with their ar...
30 30 votes
5 answers 5 answers
20.8k
20.8k views
A system contains three programs and each requires three tape units for its operation. The minimum number of tape units which the system must have such that deadlocks nev...
96 96 votes
3 answers 3 answers
22.7k
22.7k views
Consider the relational schema given below, where eId of the relation dependent is a foreign key referring to empId of the relation employee. Assume that every employee h...
43 43 votes
3 answers 3 answers
13.3k
13.3k views
Consider the transactions $T1, T2, \:\text{and} \:T3$ and the schedules $S1 \:\text{and} \:S2$ given below. $T1: r1(X); r1(Z); w1(X); w1(Z) $$T2: r2(Y); r2(Z); w2(Z) $$T3...
66 66 votes
12 answers 12 answers
33.5k
33.5k views
An $IP$ router with a $\text{Maximum Transmission Unit (MTU)}$ of $1500$ bytes has received an $IP$ packet of size $4404\text{ bytes}$ with an $IP$ header of length $20\t...
121 121 votes
16 answers 16 answers
37.1k
37.1k views
Every host in an $\textsf{IPv4}$ network has a $1\text{-second}$ resolution real-time clock with battery backup. Each host needs to generate up to $1000$ unique identifie...
73 73 votes
7 answers 7 answers
27.4k
27.4k views
An IP router implementing Classless Inter-domain Routing (CIDR) receives a packet with address $131.23.151.76$. The router's routing table has the following entries:$$\be...