
Data Structures & Algorithms

Quiz
•
Computers
•
7th Grade
•
Medium
Trang Phan
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of inserting an element at the end of an array (without resizing)?
O(1)
O(n)
O(log n)
O(n log n)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is most suitable for performing undo operations?
Queue
Stack
Hash table
Array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a main advantage of using a hash table compared to an array for searching elements?
Constant time access using a key
Elements are sorted
Uses less memory
No collisions
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Among the following traversal orders, which order is correct for in-order traversal of a binary search tree?
Root -> Left -> Right
Left -> Root -> Right
Right -> Root -> Left
Root -> Right -> Left
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a stack and a queue?
Stack uses FIFO, Queue uses LIFO
Stack uses LIFO, Queue uses FIFO
Stack only stores numbers, Queue stores strings
Stack is dynamic, Queue is static
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a min-heap, which of the following is always true?
The root has the largest value
All leaves have the same value
The root has the smallest value
All nodes are sorted in ascending order
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm has the best average time complexity among the following algorithms?
Selection sort
Bubble sort
Quick sort
Insertion sort
Create a free account and access millions of resources
Similar Resources on Wayground
35 questions
Quiz Algoritma dan Struktur Data

Quiz
•
7th Grade
45 questions
Administrasi Sistem Jaringan

Quiz
•
1st - 12th Grade
43 questions
Quiz Pengetahuan Umum

Quiz
•
7th Grade
45 questions
LATIHAN SOAL INFORMATIKA UAS KELAS 7

Quiz
•
7th Grade
40 questions
PTS Informatika Kelas VII Semester 1

Quiz
•
7th Grade
45 questions
Quiz Informatika

Quiz
•
7th Grade
40 questions
Introduction to Computers

Quiz
•
6th - 8th Grade
40 questions
Latihan SAS Kelas 7

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
25 questions
Chromebook Quiz!

Quiz
•
7th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
17 questions
Email Etiquette

Quiz
•
7th Grade
10 questions
Google Drive

Quiz
•
6th - 8th Grade
10 questions
Acceptable Use of Technology

Quiz
•
7th - 8th Grade