Data Structures
Quiz
•
Computers
•
KG
•
Practice Problem
•
Hard
Monisha Chitharthana
Used 8+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How is the 2nd element in an array accessed based on pointer notation?
*a+2
*(a+2)
*(*a+2)
&(a+2)
Answer explanation
a[2] is equivalent to *(a + 2) in pointer notation.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
From following which is not the operation of data structure?
Operations that manipulate data in some way
Operations that perform computation
Operations that check for syntax error
Operations that monitor an object for the occurrence of control
Answer explanation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures can be used to implement queues?
Stack
Arrays
LinkedList
All of the above
Answer explanation
Stack, Arrays, and LinkedList can be used to implement Queues so all the options are correct.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures finds its use in recursion?
Stack
Array
LinkedList
Queues
Answer explanation
Stacks find their use in recursion
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?
Merge Sort
Quick Sort
Bubble sort
Selection Sort
Answer explanation
Merge Sort will always have a time complexity of O(n * logn) which is the best in the worst case among these algorithms
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of swaps that can be performed in the Selection Sort algorithm?
n-1
n
1
n-2
Answer explanation
n-1 swaps are performed at max to sort any array by Selection Sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents the Postorder Traversal of a Binary Tree?
Left->Right->Root
Left->Root->Right
Right->Left ->Root
Right->Root->Left
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
Getting Started With PowerPoint
Quiz
•
9th Grade
20 questions
C Programming Unit-1 Test-2
Quiz
•
University
15 questions
User Interface Design - Topic 1
Quiz
•
12th Grade
20 questions
DT G5 Revision_2
Quiz
•
5th Grade
20 questions
Introduction to E-commerce chapter 10 (RB3)
Quiz
•
6th - 8th Grade
20 questions
MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND
Quiz
•
University
20 questions
Berpikir Komputasional
Quiz
•
9th - 12th Grade
16 questions
Solar Lamp Project
Quiz
•
8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
4 questions
Conflict Resolution
Lesson
•
KG
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
24 questions
CKLA Unit 5 assessment K
Quiz
•
KG
10 questions
STAAR Review - Editing & Revising Clusters
Quiz
•
KG
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade
