Podcast
Questions and Answers
What is the minimum possible number of states required in a deterministic finite automaton (DFA) to recognize the regular language L = {w₁aw2 | w₁, w₂ ∈ {a, b}*, |w₁| = 2, |w₂| ≥ 3}?
What is the minimum possible number of states required in a deterministic finite automaton (DFA) to recognize the regular language L = {w₁aw2 | w₁, w₂ ∈ {a, b}*, |w₁| = 2, |w₂| ≥ 3}?
- 5
- 8 (correct)
- 10
- 16
A graph G has n vertices and 25 edges. If each vertex has a degree of at least 3, what is the maximum possible value for n?
A graph G has n vertices and 25 edges. If each vertex has a degree of at least 3, what is the maximum possible value for n?
- 14
- 12
- 18
- 16 (correct)
What is the correct interpretation of the statement 'static char var;'?
What is the correct interpretation of the statement 'static char var;'?
- The variable var is allocated memory in the data segment of memory. (correct)
- The variable var is allocated memory in the stack segment of memory.
- The variable var is allocated memory in the heap segment of memory.
- The variable var is allocated memory dynamically during runtime.
Consider the following C code snippet: 'm = malloc(10); m = NULL;'. What does this code do?
Consider the following C code snippet: 'm = malloc(10); m = NULL;'. What does this code do?
Which of the following statements correctly describes the Towers of Hanoi algorithm with 'n' disks, in terms of its time complexity?
Which of the following statements correctly describes the Towers of Hanoi algorithm with 'n' disks, in terms of its time complexity?
Which of the following statements is TRUE about a connected UDP socket in Linux?
Which of the following statements is TRUE about a connected UDP socket in Linux?
What is the time complexity of adding two n x n matrices?
What is the time complexity of adding two n x n matrices?
Which of the following statements is CORRECT about a circular queue implemented using a singly linked list with FRONT and REAR pointers?
Which of the following statements is CORRECT about a circular queue implemented using a singly linked list with FRONT and REAR pointers?
Which of the following statements concerning RIP is TRUE?
Which of the following statements concerning RIP is TRUE?
Which routing protocol relies on TCP for packet transmission?
Which routing protocol relies on TCP for packet transmission?
Which of the following statements accurately describes the relationship between SLR, LALR, and Canonical LR parsing techniques?
Which of the following statements accurately describes the relationship between SLR, LALR, and Canonical LR parsing techniques?
Suppose a machine has a 2^32 byte memory, divided into blocks of 32 bytes each. This machine utilizes a direct-mapped cache with 512 cache lines. What is the size of the tag field in bits for this cache?
Suppose a machine has a 2^32 byte memory, divided into blocks of 32 bytes each. This machine utilizes a direct-mapped cache with 512 cache lines. What is the size of the tag field in bits for this cache?
Consider two individuals, P and Q, applying for a job. The probability of P applying is 1/4, the probability of P applying given Q applies is 1/2, and the probability of Q applying given P applies is 1/3. What is the probability that P does not apply for the job, given that Q does not apply?
Consider two individuals, P and Q, applying for a job. The probability of P applying is 1/4, the probability of P applying given Q applies is 1/2, and the probability of Q applying given P applies is 1/3. What is the probability that P does not apply for the job, given that Q does not apply?
Which of the following languages are regular?
Which of the following languages are regular?
Which of the following languages are context-free but not regular?
Which of the following languages are context-free but not regular?
The memory hierarchy described in the text consists of I-cache, D-cache, L2-cache, and main memory. Considering the given read access times and hit ratios, what is the average read access time for memory operand fetch?
The memory hierarchy described in the text consists of I-cache, D-cache, L2-cache, and main memory. Considering the given read access times and hit ratios, what is the average read access time for memory operand fetch?
How many multiple choice questions are included in the exam if the total mark is 100 and consists of both multiple choice and essay questions?
How many multiple choice questions are included in the exam if the total mark is 100 and consists of both multiple choice and essay questions?
Which building is situated in the middle based on the given positional relationships of buildings V, W, X, Y, and Z?
Which building is situated in the middle based on the given positional relationships of buildings V, W, X, Y, and Z?
Which phrase correctly completes the sentence about Saturn being visible at night?
Which phrase correctly completes the sentence about Saturn being visible at night?
Identify the option that contains words that are not synonymous.
Identify the option that contains words that are not synonymous.
What is the probability of selecting two socks of the same color from a collection of red, green, and blue socks?
What is the probability of selecting two socks of the same color from a collection of red, green, and blue socks?
If X is a 30-digit number starting with the digit 4 followed by the digit 7, how many digits does X³ have?
If X is a 30-digit number starting with the digit 4 followed by the digit 7, how many digits does X³ have?
In the scenario involving three incorrectly labeled boxes, what is the best box to open to determine the contents?
In the scenario involving three incorrectly labeled boxes, what is the best box to open to determine the contents?
Which of the following sentences is grammatically incorrect regarding the visibility of Saturn?
Which of the following sentences is grammatically incorrect regarding the visibility of Saturn?
In the provided text, what is the author's primary argument concerning literature?
In the provided text, what is the author's primary argument concerning literature?
What is the main function of the air pressure contour lines in the provided plot?
What is the main function of the air pressure contour lines in the provided plot?
Which of the following statements best describes the author's view on the interpretation of actions in the country they describe?
Which of the following statements best describes the author's view on the interpretation of actions in the country they describe?
According to the grammar provided, which of the following strings is a member of the language generated?
According to the grammar provided, which of the following strings is a member of the language generated?
What is the decimal value of the single-precision IEEE-754 floating-point number represented by 00111110011011010000000000000000?
What is the decimal value of the single-precision IEEE-754 floating-point number represented by 00111110011011010000000000000000?
Which option accurately reflects the order in which nodes would be visited by the Breadth First Search (BFS) algorithm, assuming we start at node 'M' in the provided graph?
Which option accurately reflects the order in which nodes would be visited by the Breadth First Search (BFS) algorithm, assuming we start at node 'M' in the provided graph?
Analyzing the air pressure contour plot provided, which region shows the steepest gradient in air pressure?
Analyzing the air pressure contour plot provided, which region shows the steepest gradient in air pressure?
Which of the following options represents a common misconception about the Breadth First Search (BFS) algorithm?
Which of the following options represents a common misconception about the Breadth First Search (BFS) algorithm?
What is the condition being checked in option (c)?
What is the condition being checked in option (c)?
Given a B+ tree with a block size of 512 bytes, what information does the maximum order of 52 represent?
Given a B+ tree with a block size of 512 bytes, what information does the maximum order of 52 represent?
How many tuples does the provided SQL query return from the top_scorer table?
How many tuples does the provided SQL query return from the top_scorer table?
In the given networking scenario, which option best describes what p and q represent?
In the given networking scenario, which option best describes what p and q represent?
What is the average waiting time in milliseconds for processes using preemptive priority scheduling?
What is the average waiting time in milliseconds for processes using preemptive priority scheduling?
What will the C program output when executed?
What will the C program output when executed?
How many total characters are in the character set X = {P, Q, R, S, T}?
How many total characters are in the character set X = {P, Q, R, S, T}?
In the context of the data provided, what is the significance of 'goals > ANY' in SQL?
In the context of the data provided, what is the significance of 'goals > ANY' in SQL?
What is the maximum number of router addresses that can be listed in the Record Route (RR) option of an IPv4 header?
What is the maximum number of router addresses that can be listed in the Record Route (RR) option of an IPv4 header?
In the context of the C function 'printxy', what is the correct output when calling 'printxy(1, 1)'?
In the context of the C function 'printxy', what is the correct output when calling 'printxy(1, 1)'?
Given the function f(x) = R sin(πx/2) + S, with f'(π/2) = √2 and ∫(f(x)dx from 0 to π = 2R/π, what are the values of R and S?
Given the function f(x) = R sin(πx/2) + S, with f'(π/2) = √2 and ∫(f(x)dx from 0 to π = 2R/π, what are the values of R and S?
Which compiler phase is responsible for processing the token stream?
Which compiler phase is responsible for processing the token stream?
What is the logical representation of the statement: “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold”?
What is the logical representation of the statement: “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold”?
What is the rank of the matrix P + Q, where *
P = [1 1 -1 7] and Q = [-1 -2 -1]
[2 -3 4] [6 12 6]
[5 10 5] [3 -2 3]
*?
What is the rank of the matrix P + Q, where * P = [1 1 -1 7] and Q = [-1 -2 -1] [2 -3 4] [6 12 6] [5 10 5] [3 -2 3] *?
Which of the following statements about the routing protocols RIP and OSPF are correct?
Which of the following statements about the routing protocols RIP and OSPF are correct?
What is the minimum number of ordered pairs that need to be added to the relation R to make (X, R) a lattice, where X = {a, b, c, d, e} and R = {(a, a), (a, b), (a, c), (a, d), (a, e), (b, b), (b, c), (b, e), (c, c), (c, e), (d, d), (d, e), (e, e)}?
What is the minimum number of ordered pairs that need to be added to the relation R to make (X, R) a lattice, where X = {a, b, c, d, e} and R = {(a, a), (a, b), (a, c), (a, d), (a, e), (b, b), (b, c), (b, e), (c, c), (c, e), (d, d), (d, e), (e, e)}?
Flashcards
Middle Building
Middle Building
In a sequence of buildings, V is West of W, Z is East of X and West of V, and W is West of Y. To find the middle building, we need to arrange them based on their positions.
Multiple Choice Questions
Multiple Choice Questions
The exam has 20 questions worth 100 marks, with multiple-choice questions worth 3 marks each and essay questions worth 11 marks each. We need to determine the number of multiple-choice questions in the exam.
Saturn's Visibility
Saturn's Visibility
Saturn is visible to the naked eye on a clear night, but its brightness may vary. The answer choice expresses this visibility in a grammatically correct and natural way.
Identifying Non-Synonyms
Identifying Non-Synonyms
Signup and view all the flashcards
Probability of Picking Socks
Probability of Picking Socks
Signup and view all the flashcards
Digits in X Cubed
Digits in X Cubed
Signup and view all the flashcards
Mislabeled Boxes
Mislabeled Boxes
Signup and view all the flashcards
Roots of e^x+0.5x²-2 = 0 in [-5, 5]
Roots of e^x+0.5x²-2 = 0 in [-5, 5]
Signup and view all the flashcards
Breadth-First Search (BFS) Algorithm
Breadth-First Search (BFS) Algorithm
Signup and view all the flashcards
IEEE-754 Single Precision Floating-Point Format
IEEE-754 Single Precision Floating-Point Format
Signup and view all the flashcards
Shared Resources by Threads within a Process
Shared Resources by Threads within a Process
Signup and view all the flashcards
Thunderstorm Prediction using Air Pressure Contour Plots
Thunderstorm Prediction using Air Pressure Contour Plots
Signup and view all the flashcards
Author's Belief about Literature and Ideology
Author's Belief about Literature and Ideology
Signup and view all the flashcards
Language Generated by a Formal Grammar
Language Generated by a Formal Grammar
Signup and view all the flashcards
Suppression of Literary Merit Due to Political Agenda
Suppression of Literary Merit Due to Political Agenda
Signup and view all the flashcards
Regular Language (DFA)
Regular Language (DFA)
Signup and view all the flashcards
Minimum States in a DFA
Minimum States in a DFA
Signup and view all the flashcards
Maximum Vertices in a Graph
Maximum Vertices in a Graph
Signup and view all the flashcards
Static Variable
Static Variable
Signup and view all the flashcards
Memory leaks (malloc + NULL)
Memory leaks (malloc + NULL)
Signup and view all the flashcards
Register Variable
Register Variable
Signup and view all the flashcards
Connected UDP Socket
Connected UDP Socket
Signup and view all the flashcards
Towers of Hanoi
Towers of Hanoi
Signup and view all the flashcards
Deleting Tuple (3,8)
Deleting Tuple (3,8)
Signup and view all the flashcards
Max IPv4 Router Addresses in RR Field
Max IPv4 Router Addresses in RR Field
Signup and view all the flashcards
Lattice Property
Lattice Property
Signup and view all the flashcards
Matrix Rank
Matrix Rank
Signup and view all the flashcards
Compiler Phases
Compiler Phases
Signup and view all the flashcards
Logical Representation
Logical Representation
Signup and view all the flashcards
Pointer Manipulation
Pointer Manipulation
Signup and view all the flashcards
Finding Constants R and S
Finding Constants R and S
Signup and view all the flashcards
RIP routing type
RIP routing type
Signup and view all the flashcards
RIP packet transmission
RIP packet transmission
Signup and view all the flashcards
OSPF routing type
OSPF routing type
Signup and view all the flashcards
OSPF packet transmission
OSPF packet transmission
Signup and view all the flashcards
CLR parser
CLR parser
Signup and view all the flashcards
SLR parser
SLR parser
Signup and view all the flashcards
Tag field in a cache
Tag field in a cache
Signup and view all the flashcards
Direct mapped cache
Direct mapped cache
Signup and view all the flashcards
Expression (d)
Expression (d)
Signup and view all the flashcards
What is the maximum order of a B+ tree?
What is the maximum order of a B+ tree?
Signup and view all the flashcards
SQL Query Output
SQL Query Output
Signup and view all the flashcards
Transmission and Propagation Delay
Transmission and Propagation Delay
Signup and view all the flashcards
Preemptive Priority Scheduling
Preemptive Priority Scheduling
Signup and view all the flashcards
C Program Output
C Program Output
Signup and view all the flashcards
Expression (a)
Expression (a)
Signup and view all the flashcards
Expression (b)
Expression (b)
Signup and view all the flashcards
Study Notes
- No information provided to generate study notes. Please provide text or questions.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.