Podcast
Questions and Answers
If '→' denotes increasing order of intensity, and [dry → arid → parched] is analogous to [diet → fast → ______], which option appropriately fills the blank?
If '→' denotes increasing order of intensity, and [dry → arid → parched] is analogous to [diet → fast → ______], which option appropriately fills the blank?
- Deny
- Starve (correct)
- Reject
- Feast
Given two distinct non-zero real variables $x$ and $y$ such that $(x + y)$ is proportional to $(x - y)$, what can be concluded about the value of $\frac{x}{y}$?
Given two distinct non-zero real variables $x$ and $y$ such that $(x + y)$ is proportional to $(x - y)$, what can be concluded about the value of $\frac{x}{y}$?
- Depends only on $y$ and not on $x$
- Is a constant (correct)
- Depends only on $x$ and not on $y$
- Depends on $x$ and $y$
Consider the sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13. What is the median of this sample?
Consider the sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13. What is the median of this sample?
- 11
- 14
- 18.7
- 13.5 (correct)
A person has coins of ₹1, ₹5, and ₹10 denominations in the ratio 5:3:13. What percentage of the total amount is made up of ₹5 coins?
A person has coins of ₹1, ₹5, and ₹10 denominations in the ratio 5:3:13. What percentage of the total amount is made up of ₹5 coins?
For positive non-zero real variables $p$ and $q$, if $\log(p^2 + q^2) = \log p + \log q + 2 \log 3$, then what is the value of $\frac{p^4 + q^4}{p^2q^2}$?
For positive non-zero real variables $p$ and $q$, if $\log(p^2 + q^2) = \log p + \log q + 2 \log 3$, then what is the value of $\frac{p^4 + q^4}{p^2q^2}$?
Select the option that correctly fills the blanks (i)-(iv) in the following sentence: Steve was advised to keep his head (i)_____ before heading (ii)_____ to bat; for, while he had a head (iii)_____ batting, he could only do so with a cool head (iv)_____ his shoulders.
Select the option that correctly fills the blanks (i)-(iv) in the following sentence: Steve was advised to keep his head (i)_____ before heading (ii)_____ to bat; for, while he had a head (iii)_____ batting, he could only do so with a cool head (iv)_____ his shoulders.
A rectangular paper sheet of dimensions 54 cm × 4 cm is taken. The two longer edges of the sheet are joined together to create a cylindrical tube. A cube whose surface area is equal to the area of the sheet is also taken. What is the ratio of the volume of the cylindrical tube to the volume of the cube?
A rectangular paper sheet of dimensions 54 cm × 4 cm is taken. The two longer edges of the sheet are joined together to create a cylindrical tube. A cube whose surface area is equal to the area of the sheet is also taken. What is the ratio of the volume of the cylindrical tube to the volume of the cube?
The pie chart presents the percentage contribution of different macronutrients to a typical 2,000 kcal diet of a person. Given the energy densities of Carbohydrates, Proteins, Unsaturated fat, Saturated fat, and Trans fat as 4, 4, 9, 9 and 9 kcal/g respectively, what is the total fat (all three types), in grams, this person consumes?
The pie chart presents the percentage contribution of different macronutrients to a typical 2,000 kcal diet of a person. Given the energy densities of Carbohydrates, Proteins, Unsaturated fat, Saturated fat, and Trans fat as 4, 4, 9, 9 and 9 kcal/g respectively, what is the total fat (all three types), in grams, this person consumes?
A rectangular paper of 20 cm × 8 cm is folded 3 times. Each fold is made along the line of symmetry, which is perpendicular to its long edge. What is the perimeter of the final folded sheet (in cm)?
A rectangular paper of 20 cm × 8 cm is folded 3 times. Each fold is made along the line of symmetry, which is perpendicular to its long edge. What is the perimeter of the final folded sheet (in cm)?
In the figure, what is the least number of squares that must be added to make AB a line of symmetry?
In the figure, what is the least number of squares that must be added to make AB a line of symmetry?
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function such that $f(x) = \max{x, x^3}$, $x \in \mathbb{R}$, where $\mathbb{R}$ is the set of all real numbers. For what set of all points is $f(x)$ NOT differentiable?
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be a function such that $f(x) = \max{x, x^3}$, $x \in \mathbb{R}$, where $\mathbb{R}$ is the set of all real numbers. For what set of all points is $f(x)$ NOT differentiable?
What is the product of all eigenvalues of the following matrix?
$\begin{bmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{bmatrix}$
What is the product of all eigenvalues of the following matrix? $\begin{bmatrix} 1 & 2 & 3 \ 4 & 5 & 6 \ 7 & 8 & 9 \end{bmatrix}$
Consider a system that uses 5 bits for representing signed integers in 2's complement format. In this system, two integers A and B are represented as A=01010 and B=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Consider a system that uses 5 bits for representing signed integers in 2's complement format. In this system, two integers A and B are represented as A=01010 and B=11010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Consider a permutation sampled uniformly at random from the set of all permutations of {1, 2, 3, …, n} for some n ≥ 4. Let X be the event that 1 occurs before 2 in the permutation and Y the event that 3 occurs before 4. Which one of the following statements is TRUE?
Consider a permutation sampled uniformly at random from the set of all permutations of {1, 2, 3, …, n} for some n ≥ 4. Let X be the event that 1 occurs before 2 in the permutation and Y the event that 3 occurs before 4. Which one of the following statements is TRUE?
Which one of the following statements is FALSE?
Which one of the following statements is FALSE?
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage. Assume all caches are initially empty. What is the CORRECT chronological order of packets leaving the user's computer?
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage. Assume all caches are initially empty. What is the CORRECT chronological order of packets leaving the user's computer?
An algorithm checks if an integer array of size N is sorted (ascending or descending) by making a single pass through the array and comparing each element with its adjacent elements. What is the worst-case time complexity of this algorithm?
An algorithm checks if an integer array of size N is sorted (ascending or descending) by making a single pass through the array and comparing each element with its adjacent elements. What is the worst-case time complexity of this algorithm?
Consider the following C program:
#include <stdio.h>
int main(){
int a = 6;
int b = 0;
while(a < 10) {
a = a / 12 + 1;
a += b;
}
printf("%d", a);
return 0;
}
Which one of the following statements is CORRECT?
Consider the following C program:
#include <stdio.h>
int main(){
int a = 6;
int b = 0;
while(a < 10) {
a = a / 12 + 1;
a += b;
}
printf("%d", a);
return 0;
}
Which one of the following statements is CORRECT?
Consider the following C program:
#include <stdio.h>
void fX();
int main(){
fX();
return 0;
}
void fX(){
char a;
if((a=getchar()) != '\n')
fx();
if(a != '\n')
putchar(a);
}
Assume the input to the program from the command line is 1234 followed by a newline character. Which one of the following statements is CORRECT?
Consider the following C program:
#include <stdio.h>
void fX();
int main(){
fX();
return 0;
}
void fX(){
char a;
if((a=getchar()) != '\n')
fx();
if(a != '\n')
putchar(a);
}
Assume the input to the program from the command line is 1234 followed by a newline character. Which one of the following statements is CORRECT?
Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which of the following ER diagrams CORRECTLY represents S?
Let S be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which of the following ER diagrams CORRECTLY represents S?
In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases?
In a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed for which one of the following cases?
Which of the following statements about a relation R in first normal form (1NF) is/are TRUE?
Which of the following statements about a relation R in first normal form (1NF) is/are TRUE?
Let $L_1$, $L_2$ be two regular languages and $L_3$ a language which is not regular. Which of the following statements is/are always TRUE?
Let $L_1$, $L_2$ be two regular languages and $L_3$ a language which is not regular. Which of the following statements is/are always TRUE?
Which of the following statements about threads is/are TRUE?
Which of the following statements about threads is/are TRUE?
Which of the following process state transitions is/are NOT possible?
Which of the following process state transitions is/are NOT possible?
Which of the following is/are Bottom-Up Parser(s)
Which of the following is/are Bottom-Up Parser(s)
Let A and B be two events in a probability space with P(A) = 0.3, P(B) = 0.5, and P(A ∩ B) = 0.1. Which of the following statements is/are TRUE?
Let A and B be two events in a probability space with P(A) = 0.3, P(B) = 0.5, and P(A ∩ B) = 0.1. Which of the following statements is/are TRUE?
Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?
[Circuit Diagram: X --> NOT gate --> AND gate (with X as one input) --> Y]
Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?
[Circuit Diagram: X --> NOT gate --> AND gate (with X as one input) --> Y]
TCP client P successfully establishes a connection to TCP server Q. Let $N_P$ denote the sequence number in the SYN sent from P to Q. Let $N_Q$ denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
TCP client P successfully establishes a connection to TCP server Q. Let $N_P$ denote the sequence number in the SYN sent from P to Q. Let $N_Q$ denote the acknowledgement number in the SYN ACK from Q to P. Which of the following statements is/are CORRECT?
Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?
Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?
Let A and B be non-empty finite sets such that there exist one-to-one and onto functions (i) from A to B and (ii) from A \times A to A \cup B. What are the possible values of |A|?
Let A and B be non-empty finite sets such that there exist one-to-one and onto functions (i) from A to B and (ii) from A \times A to A \cup B. What are the possible values of |A|?
Flashcards
Analogy: dry → arid → parched :: diet → fast → ?
Analogy: dry → arid → parched :: diet → fast → ?
If '→' signifies an increasing order of intensity, and if dry relates to arid and parched similarly, then diet, fast, and starve follow the same logic. Starve is used to fill the blank, as diet → fast → starve also goes from less to more intensity.
What is the median?
What is the median?
The median is the middle value when a data set is ordered from least to greatest. To find the median, first sort the numbers. The sorted list is: 9, 10, 11, 11, 13, 14, 15, 17, 18, 69. Since there are 10 numbers (an even amount), the median is the average of the two middle numbers, which are 13 and 14. (13 + 14) / 2 = 13.5
Fill in the blanks: keep head (i) ____ before heading (ii) ____ to bat;bat (iii) ____ w cool head (iv) ____ shoulders
Fill in the blanks: keep head (i) ____ before heading (ii) ____ to bat;bat (iii) ____ w cool head (iv) ____ shoulders
To keep one's head 'down' means to remain calm; to head 'out' means to depart for batting; to bat 'for' implies batting in place of someone, and to bear burdens on one's shoulders indicates responsibility.
Time complexity of one pass array check?
Time complexity of one pass array check?
Signup and view all the flashcards
What does this code do? while(a < 10) { a = a / 12 + 1; a += b;}
What does this code do? while(a < 10) { a = a / 12 + 1; a += b;}
Signup and view all the flashcards
What is the output? fx(){char a; if((a=getchar()) != '\n') { fx(); } if(a != '\n') putchar(a);}
What is the output? fx(){char a; if((a=getchar()) != '\n') { fx(); } if(a != '\n') putchar(a);}
Signup and view all the flashcards
1NF Relation
1NF Relation
Signup and view all the flashcards
Cycle Stealing in DMA
Cycle Stealing in DMA
Signup and view all the flashcards
What is the correct TCP order?
What is the correct TCP order?
Signup and view all the flashcards
2's Complement overflow
2's Complement overflow
Signup and view all the flashcards
Independent events def
Independent events def
Signup and view all the flashcards
Study Notes
General Aptitude (GA)
- If '→' denotes increasing order of intensity, then the meaning of the words [dry → arid → parched] is analogous to [diet → fast → starve].
- If 2 distinct non-zero real variables x and y are such that (x + y) is proportional to (x − y), then the value of x/y is a constant.
- Given the sample of numbers: 9, 18, 11, 14, 15, 17, 10, 69, 11, 13, the median of the sample is 13.5.
- The number of coins of ₹1, ₹5, and ₹10 denominations that a person has are in the ratio 5:3:13; Of the total amount, the percentage of money in ₹5 coins is 14.5%.
- For positive non-zero real variables p and q, if log (p² + q²) = log p + log q + 2 log 3, then, the value of (p⁴ + q⁴) / (p²q²) is 79.
- Steve was advised to keep his head down before heading out to bat; batting, he could only do so with a cool head for, while he had a head on his shoulders.
- Given a rectangular paper sheet of dimensions 5π cm × 4 cm is taken. The two longer edges of the sheet are joined together to create a cylindrical tube. A cube whose surface area is equal to the area of the sheet is also taken. The ratio of the volume of the cylindrical tube to the volume of the cube is 1/π.
- Given the pie chart represents the percentage contribution of different macronutrients to a typical 2,000 kcal diet of a person and the typical energy density (kcal/g) of these macronutrients is given in the table, the total fat (all three types), in grams, this person consumes is 44.4.
- A rectangular paper of 20 cm × 8 cm is folded 3 times; Each fold is made along the line of symmetry, which is perpendicular to its long edge. The perimeter of the final folded sheet (in cm) is 18 .
- The least number of squares to be added in the figure to make AB a line of symmetry is 6.
Technical
- Let f: R → R be a function such that f(x) = max{x, x³}, x ∈ R, where R is the set of all real numbers; The set of all points where f(x) is NOT differentiable is {-1, 0, 1}.
- The product of all eigenvalues of any squared matrix equals to determimant of the matrix, so the answer is 0
- Consider a system that uses 5 bits for representing signed integers in 2's complement format, where A=01010 and B=11010, 2 * B results in arithmetic overflow
- Consider a permutation sampled uniformly at random from the set of all permutations of {1, 2, 3, …, n} for some n ≥ 4; Let X be the event that 1 occurs before 2 and Y the event that 3 occurs before 4, the two events are independant
- In the cycle stealing mode of DMA, one word of data is transferred between an I/O device and main memory in a stolen cycle. The statement is false.
- First DNS packets resolves the URL, the rest can be answered by local DNS cache
- for a sorted array of integers the time complexity is O(N)
C Program Questions
- the C program will get stuck in an inifinite while loop, because "a" will be stuck as 6 < 10
- For the void function, if input is given as 1234, the output is 4321, because the last character typed "4" becomes first character printed
Data Structures
- Regarding the ER Diagram, instructors guide students, courses are allocated classrooms and students register for courses.
- Within a B+ tree, the requirement of at least half-full (50%) node occupancy is relaxed only for the root node.
- For a relational database in first normal form (1NF), R can have a multi-attribute key.
Languages
- For the regular language L1 and L2 and non regular Language L3, L₁ U L₃ is not regular
- Threads in process share memory by default and can't automatically be protected from each other
Process State Transitions
- The process state transition that's/are NOT possible is Waiting to running
- Predictive Parser is/are Bottom-Up Parser(s)
Probability
- Two events A and B, are independent
- (A ∩ Bº) = 0.2, where Bº is the complement of the event B
Logic Gates
- The output Y is always logic Zero for no propagation delays between gates
TCP
- The sequence number Np is chosen randomly by TCP client P
Pipeline
- For data forwarding, in pipelined execution, data from the output of the MEM stage can be passed on to the input of the EX stage of the next instruction
Network
- Fields modified in the IP header of a packet going out of a NAT device is a Source IP and Header Checksum.
Data Types
- Given there exist one-to-one and onto functions (i) from A to B and (ii) from A × A to A U B, the number of possible values of |A| is 1.
- Expression of operators given 3+1+5*2/7+2-4-7-6/2 is -6
Graph
- Number of spanning trees in a complete graph is 16
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.