
Data Structures Quiz 1
Quiz
•
Computers
•
University
•
Hard
Sugantha Samuel
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
When a pop() operation is called on an empty stack, what is the condition called?
Overflow
Underflow
Syntax Error
Garbage Value
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which one of the following is the size of int arr[9] assuming that int is of 4 bytes?
9
36
35
4
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
If the size of the stack is 10 and we try to add the 11th element in the stack then the condition is known as___
Underflow
Garbage collection
Overflow
None
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the infix expression?
A+B*C
+A*BC
ABC+*
None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the prefix form of A+B*C?
A+(BC*)
+AB*C
ABC+*
+A*BC
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not the correct statement for a stack data structure?
Arrays can be used to implement the stack
Stack follows FIFO
Elements are stored in a sequential manner
Top of the stack contains the last inserted element
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following principle does Queue use?
LIFO principle
FIFO principle
Linear tree
Ordered array
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
15 questions
ROTC Make-up Quiz
Quiz
•
University
15 questions
Microprogrammed Control Unit and Computer Architecture Quiz
Quiz
•
University
10 questions
Quiz on Queue Concepts 1
Quiz
•
University
10 questions
PRETEST 1 SCRATCH
Quiz
•
1st Grade - University
15 questions
Stack
Quiz
•
University
14 questions
A-Level Computer Science Data Structures Quiz
Quiz
•
12th Grade - University
15 questions
Stack - Data Structures
Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University