Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged iitb-ms-phd-test-may-2022
0
0 votes
0
0 answers
103
103 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 1
What's the output produced by the following program?#include <iostream using namespace std; class A; class B; class C; class A { public: A(){} virtual void f (B *bp); vir...
Shubham Sharma 2
103
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
63
63 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 2
The picture shows a model in the class diagram notation of UML, with inheritance, aggregation and association relations. Identify which ones from among the given object (...
Shubham Sharma 2
63
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
91
91 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 3
$\text{UML}$ state charts use hierarchy as well as $\text{AND}$ (orthogonal regions) and $\text{OR}$ decomposition of state machines providing a compact representation of...
Shubham Sharma 2
91
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
65
65 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 4
Consider the following function Partition where input array $a$ of size n only contains integers $1,2,3$ (they occur any number of times and in any order).Function Partit...
Shubham Sharma 2
65
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
75
75 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 5
How many semantically unique functions can be written given the function signature bool f(bool, bool, bool)? The function is a pure function, which does not use any histo...
Shubham Sharma 2
75
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
81
81 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 6
State the truth values of the following logical expressions:$\forall x, p(x) \rightarrow \neg \exists x, \neg p(x)$$(\forall x, p(x)) \wedge(\forall x, q(x)) \rightarrow ...
Shubham Sharma 2
81
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
55
55 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 7
Let $S=\{1, . ., n\}$ the set of first $n$ natural numbers. How many distinct pairs $(A, B)$ can be there satisfying the condition $A \subseteq B \subseteq S$?
Shubham Sharma 2
55
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
75
75 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 8
Define the relation ${div} \subseteq \mathcal{N} \times \mathcal{N}$ where ${div}(i, j)$ iff $i$ divides $j$. Here $\mathcal{N}=\{1,2, \ldots\}$, the set of natural numbe...
Shubham Sharma 2
75
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
52
52 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 9
Consider the following lex script%% a { printf(''Found Token 1''); } a(b|cd)*b { printf(''Found Token 2''); } a(b|cd)*cd { printf(''Found Token 3''); }Draw the minimum DF...
Shubham Sharma 2
52
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
76
76 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 10
Consider the following grammar with the associated SLR parsing table.\[\begin{array}{ll}0 & \mathrm{~A}^{\prime} \rightarrow \mathrm{A} \\1 & \mathrm{~A} \rightarrow \mat...
Shubham Sharma 2
76
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
76
76 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 11
Consider the following DFA representing the transitions between sets of LR$(0)$ items of a grammar containing a single non-terminal A and terminals a, b, and c. Recall th...
Shubham Sharma 2
76
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
82
82 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 12
The following syntax-directed definition (SDD) generates a three address code (TAC) for an assignment statement involving binary and ternary arithmetic expression. It use...
Shubham Sharma 2
82
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
80
80 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 13
Consider the following C program.#include <stdio.h int z; int recur(int x) { int y = 1; if (x <= 30) { x = x + z; y = recur (x - y); z = x * 5; } return z; } int main() {...
Shubham Sharma 2
80
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
89
89 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 14
Consider the following example of nested procedure declarations (although they are not supported by standard C, they are supported by GCC as an extension of C). You have ...
Shubham Sharma 2
89
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
60
60 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 15
The following function prints H rows of width W characters each. Consider that rows and columns are numbered starting from $0$. All even numbered rows should consist of o...
Shubham Sharma 2
60
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
82
82 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 16
The $\text{C}$ code below is meant to implement a simple algorithm to compute the Greatest Common Divisor (GCD) of two numbers (assumed greater than $0$). You are asked t...
Shubham Sharma 2
82
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
52
52 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 17
Recall that a filesystem in an operating system (OS) stores two types of entities: files and directories. A file is a sequence of bytes containing application data, e.g.,...
Shubham Sharma 2
52
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
92
92 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 18
Consider the following piece of code.int i=0; while(1) { if(i%2) { cout << "Welcome to MS/Ph.D. admissions, CSE-IITB" << endl; i++; } }What is the accuracy of the last-ti...
Shubham Sharma 2
92
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
51
51 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 19
Which of the following statements is/are $\text{FALSE}?$ You are not supposed to assume anything beyond what is asked in the question.Number of stages in an instruction p...
Shubham Sharma 2
51
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
80
80 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 20
Which of the following statements is/are $\text{TRUE}?$In general, increasing the associativity of the cache tends to decrease the conflict miss rate.In a set-associative...
Shubham Sharma 2
80
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
72
72 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 21
Which of the following statements is/are $\text{TRUE}$?Data Forwarding eliminates all data hazards in the vanilla $5$ -stage pipelineFor a cache, misses per kilo instruct...
Shubham Sharma 2
72
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
83
83 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 22
Consider the page table below, where numbers are in decimal and everything is numbered starting from zero, all addresses are memory byte addresses, and the page size is $...
Shubham Sharma 2
83
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
42
42 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 23
An organization has been assigned the network prefix $120.21.0.0/16$ and it needs to create a set of subnets that support up to $25$ hosts on each subnet. What is the max...
Shubham Sharma 2
42
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
74
74 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 24
Consider two nodes, A and B connected by an asymmetric link. The A to B link has a bandwidth of $40$kbps (kilobits per second) and a propagation delay of $170$ msec (mill...
Shubham Sharma 2
74
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
81
81 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 25
Given a relation $\mathrm{R}(\mathrm{A}, \mathrm{B}, \mathrm{C})$, write a SQL query to determine if the functional dependency $\mathrm{B} \rightarrow \mathrm{C}$ holds o...
Shubham Sharma 2
81
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
73
73 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 26
Which of the following statements is/are $\text{FALSE}?$ You are not supposed to assume anything beyond what is asked in the question.Microarchitectural timing channels e...
Shubham Sharma 2
73
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
79
79 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 27
Which of the following statements is/are $\text{FALSE}?$ You are not supposed to assume anything beyond what is asked in the question.Interrupts are asynchronous in natur...
Shubham Sharma 2
79
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
73
73 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 28
Which of the following statements is/are $\text{TRUE}?$ You are not supposed to assume anything beyond what is asked in the question.$\text{L1}$ caches are designed for c...
Shubham Sharma 2
73
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
68
68 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 29
Which of the following statements is/are $\text{FALSE}?$ You are not supposed to assume anything beyond what is asked in the question.System calls are slower in execution...
Shubham Sharma 2
68
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
0
0 votes
0
0 answers
67
67 views
IIT Bombay | MS/PhD Admission Test May 2022 | Question: 30
Which of the following statements is/are $\text{TRUE}?$ You are not supposed to assume anything beyond what is asked in the question.Applications like a calculator should...
Shubham Sharma 2
67
views
asked
Jan 16
Others
iitb-ms-phd-test-may-2022
+
–
Page:
1
2
3
4
next »