25 questions · 45 minutes · Data Structures & Algorithms

DSA C++ Basics Quiz practice quiz

Fundamental data structures & algorithms for C++: stacks, queues, lists, trees, hashing, sorting, complexity (25 questions).

Before you start

25 multiple choice questions. 1 mark each. No negative marking. Time: 45 minutes.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
25
Time
45 minutes
Marks
25
Subject
Data Structures & Algorithms
Marking
Server-side

What it asks

The first few questions

  1. Which ADT describes Last-In-First-Out behavior?
  2. Which ADT describes First-In-First-Out behavior?
  3. What is the average-case time complexity of binary search on a sorted array of n elements?
  4. Which sorting algorithm is stable and has worst-case O(n^2) time?

21 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.