Data Structures Quiz
Quiz
•
Computers
•
University
•
Medium
College 24
Used 2+ times
FREE Resource
Enhance your content
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a primitive data type in C++?
Array
Integer
Stack
Queue
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An Abstract Data Type (ADT) is:
Implementation of data only
A mathematical model with data and operations
A non-primitive data type only
Same as primitive data type
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the base address of an array represent?
The last element's location
The middle element's location
The first element's memory location
The size of the array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The time complexity of accessing any element in an array using its index is:
O(1)
O(n)
O(log n)
O(n²)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A sparse array is an array in which:
All elements are equal
Most elements are zero or empty
Only one element is present
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT an advantage of linked lists over arrays?
Dynamic size
Easy insertion and deletion
Random access of elements
Efficient memory utilization
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Traversal in a linked list means:
Inserting an element
Deleting an element
Visiting each node exactly once
Searching only the last node
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
ICT QUIZ
Quiz
•
University
20 questions
Quantitative Aptitude Series
Quiz
•
University
15 questions
Data Mining - Classification Mining
Quiz
•
University
16 questions
Systemy baz danych - podstawowe pojęcia.
Quiz
•
University
15 questions
DBMS LAB QUIZ
Quiz
•
University
18 questions
Computer Quiz
Quiz
•
University
18 questions
Linked List
Quiz
•
KG - University
16 questions
Quiz on List and Tuples
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University