Core Subject Quiz - Competitive Exams GATE
Free practice quiz: Core Subject (Competitive Exams GATE). 69 multiple-choice questions with answers and explanations. Play online, no sign-up needed.
This Competitive Exams GATE practice quiz has 69 multiple-choice questions on Core Subject. Try the 5 sample questions below (tap an option to check yourself), then play the full quiz online. No sign-up needed.
Start quiz: 69 questions, freeSample questions
What is the worst-case time complexity of binary search on a sorted array of n elements?
Show answer
Answer: D. O(log n)
In computer architecture, what is the primary function of the Translation Lookaside Buffer (TLB)?
Show answer
Answer: D. Cache for page table entries
In TCP congestion control, which phase follows the slow start phase when the congestion window reaches the threshold?
Show answer
Answer: A. Congestion avoidance
In SQL, which of the following is used to retrieve unique values from a column?
Show answer
Answer: D. DISTINCT
In compiler design, which of the following is the primary function of the lexical analyzer?
Show answer
Answer: C. To convert the source code into a sequence of tokens
More questions in this quiz
Answers and explanations are in the full quiz.
- Which data structure follows the Last In First Out (LIFO) principle?
- In an operating system, which CPU scheduling algorithm can cause starvation of low-priority processes?
- Which normal form in database normalization eliminates transitive dependencies?
- In the OSI model, which layer is responsible for routing packets across different networks?
- Which of the following problems is NP-complete?
- In compiler design, which phase checks whether the program is syntactically correct according to the grammar?
- Which of the following is NOT a basic operation in relational algebra?
- Belady's anomaly, where increasing the number of page frames may increase the number of page faults, occurs in which page replacement algorithm?
- What is the base of the hexadecimal number system?
- Which of the following languages is NOT regular?
- In a relational database, which key is a minimal set of attributes that uniquely identifies a tuple?
- Which sorting algorithm has a worst-case time complexity of O(n log n)?
- On a typical 32-bit machine, what is the size of an 'int' data type in C?
- Which of the following is NOT an object-oriented programming language?
- What is the time complexity of Strassen's matrix multiplication algorithm for multiplying two n×n matrices?
- In operating systems, what is 'thrashing'?
- Which data structure is typically used to implement Breadth First Search (BFS) on a graph?
- In database transaction isolation levels, which level prevents dirty reads but allows non-repeatable reads?
- What is the default subnet mask for a Class B IP address?
- Which of the following memory types is non-volatile?
- What is the minimum number of states required in a deterministic finite automaton (DFA) that accepts all strings over {a, b} ending with 'ab'?
- Which of the following is the primary purpose of a Multilevel Page Table in virtual memory systems?
- In the context of deadlock avoidance, which algorithm uses a resource-allocation graph and checks for cycles after each allocation?
- Which of the following is true about the ACID properties in a database transaction?
- Which of the following is a key difference between a process and a thread?
- Which of the following is the correct postfix representation of the infix expression A + B * C - D / E?
- In compiler design, which of the following is the output of the syntax analysis phase?
- Which of the following is a characteristic of a strictly binary tree?
- In the context of pipelining, what is the primary purpose of a branch predictor?
- In a relational database, what is the purpose of the GROUP BY clause?
- Which of the following is a non-preemptive CPU scheduling algorithm?
- In computer networks, what is the primary function of ARP (Address Resolution Protocol)?
- Which of the following is the correct time complexity of inserting an element into a binary heap with n elements?
- In automata theory, which of the following languages is accepted by a pushdown automaton but not by a finite automaton?
- In the context of file systems, what is an inode?
- Which of the following is a correct statement about the RSA algorithm?
- In a directed graph, what is the time complexity of topological sorting using Kahn's algorithm?
- Which of the following is a characteristic of a virtual memory system?
- Which of the following is a correct statement about the CSMA/CD protocol?
- In the context of compiler optimization, what is loop unrolling?
- Which of the following is true about the IEEE 754 single-precision floating-point format?
- In the context of distributed systems, what is the CAP theorem?
- Which of the following is the primary advantage of using a linked list over an array for implementing a dynamic set?
- In a red-black tree, what is the maximum possible height of the tree with n internal nodes?
- Which of the following problems can be solved using dynamic programming?
- In the context of process synchronization, what is the primary purpose of a semaphore?
- Which of the following is a necessary condition for a deadlock to occur?
- In database normalization, which normal form deals with multivalued dependencies?
- Which of the following is a correct SQL statement to create a table?
- In the context of computer networks, what is the purpose of the sliding window protocol?
- Which of the following is the correct binary representation of the decimal number 13?
- Which of the following is a characteristic of a context-free grammar?
- In operating systems, what is the primary purpose of the page replacement algorithm?
- Which of the following is true about the Banker's algorithm?
- Which of the following is a correct statement about the 3NF?
- In computer architecture, what is the purpose of the instruction pipeline?
- Which of the following is a correct statement about cache memory?
- In the context of graph algorithms, what is the time complexity of Dijkstra's algorithm using a binary heap?
- Which of the following is a correct statement about the NP class of problems?
- In the context of programming languages, what is the difference between call by value and call by reference?