
Data Structures P1 - Short

Quiz
•
Computers
•
11th Grade
•
Hard
muhammad abdulmajeed
FREE Resource
65 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure follows the First-In-First-Out (FIFO) principle?
Stack
Queue
Tree
Graph
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a stack, which operation adds an element to the top?
push
pop
peek
enqueue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in a linked list?
O(1)
O(log n)
O(n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many dimensions does a 2D array have?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tree traversal visits the root node last?
Preorder
Inorder
Postorder
Level order
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of edges in a simple graph with n vertices?
n
n-1
n(n-1)/2
2^n
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dijkstra's algorithm is used to find:
Minimum spanning tree
Shortest path
Longest path
Euler circuit
Create a free account and access millions of resources
Similar Resources on Wayground
62 questions
Câu hỏi về lập trình

Quiz
•
10th Grade - University
60 questions
TIN 7 Bài 1,2,3

Quiz
•
7th Grade - University
68 questions
Creative iMedia

Quiz
•
10th - 11th Grade
66 questions
Vic - 1.2 Memory and Storage

Quiz
•
9th - 12th Grade
69 questions
iGCSE Computer Science: Data

Quiz
•
9th - 12th Grade
63 questions
APCSP Midterm

Quiz
•
9th - 12th Grade
60 questions
AI-Midterm Exam

Quiz
•
9th - 12th Grade
61 questions
M1:U1 - Final Test - IT Fund+

Quiz
•
9th - 12th Grade
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
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade