Any2Quiz
Competitive Exams / GATE

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.

Play all 69 questions free

Sample questions

  1. What is the worst-case time complexity of binary search on a sorted array of n elements?

    1. O(1)
    2. O(n log n)
    3. O(n)
    4. O(log n)
    Show answer

    Answer: D. O(log n)

  2. In computer architecture, what is the primary function of the Translation Lookaside Buffer (TLB)?

    1. Cache for instructions
    2. Cache for data
    3. Cache for disk blocks
    4. Cache for page table entries
    Show answer

    Answer: D. Cache for page table entries

  3. In TCP congestion control, which phase follows the slow start phase when the congestion window reaches the threshold?

    1. Congestion avoidance
    2. Timeout
    3. Slow start restart
    4. Fast retransmit
    Show answer

    Answer: A. Congestion avoidance

  4. In SQL, which of the following is used to retrieve unique values from a column?

    1. DIFFERENT
    2. ONLY
    3. UNIQUE
    4. DISTINCT
    Show answer

    Answer: D. DISTINCT

  5. In compiler design, which of the following is the primary function of the lexical analyzer?

    1. To generate machine code
    2. To optimize the intermediate code
    3. To convert the source code into a sequence of tokens
    4. To check for semantic errors
    Show answer

    Answer: C. To convert the source code into a sequence of tokens

Take the full quiz

More quizzes

Browse all GATE quizzes