Data Structures and Algorithms Quiz

Quiz
•
Computers
•
University
•
Medium
Khalil Marwat
Used 8+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure uses LIFO order?
Queue
Stack
Array
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm repeatedly compares adjacent elements?
Merge Sort
Quick Sort
Bubble Sort
Insertion Sort
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operation removes an item from the top of a stack?
Insert
Add
Pop
Push
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which sorting algorithm builds the sorted array one element at a time?
Merge Sort
Insertion Sort
Selection Sort
Quick Sort
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the index of the first element in an array in C/C++?
1
-1
0
Depends on compiler
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which sorting algorithm selects the minimum element in each pass?
Insertion Sort
Bubble Sort
Merge Sort
Selection Sort
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
An array is a type of:
Non-linear DS
File
Linear DS
Tree
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Sorting and Searching Algorithms Quiz - Batch 1

Quiz
•
University
21 questions
Sorting algorithms I

Quiz
•
University
12 questions
Test Quiz Basic Programming

Quiz
•
University
20 questions
Algo Duel

Quiz
•
University
15 questions
CPIT 201 Algorithms

Quiz
•
12th Grade - University
15 questions
Data Structures Activity - 1

Quiz
•
University
20 questions
TECHNICAL QUIZ

Quiz
•
University
12 questions
DAA_C_MCQ - 1

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade