
Data Structures Quiz 1
Quiz
•
Computers
•
University
•
Hard
Sugantha Samuel
Used 4+ times
FREE Resource
Enhance your content in a minute
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
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
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
15 questions
IT 209
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
11 questions
Video Watermaking
Quiz
•
University
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
