
Programming
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Sayani Maity
Used 2+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a linear data structure?
Array
AVL trees
Binary Tree
Graphs
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Process of removing an element from stack is called__?
Create
Push
Evaluation
Pop
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one of the following statements is TRUE about the time complexity of algorithms that solve the above problem in O(1) space?
It is not possible to reverse a singly linked list in O(1) space.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the difference between Queue and Stack?
a) Stack is LIFO; Queue is FIFO
b) Queue is LIFO; Stack is FIFO
c) Stack and Queue is FIFO
d) Stack and Queue is LIFO
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the correct method used to insert and delete items from the queue?
a) push and pop
b) enqueue and dequeue
c) enqueue and peek
d) add and remove
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a stack, if a user tries to remove an element from an empty
stack it is called __?
Overflow
Empty collection
Underflow
Garbage Collection
Answer explanation
Underflow occurs when the user performs a pop operation on an empty stack. Overflow occurs when the stack is full and the user performs a push operation. Garbage Collection is used to recover the memory occupied by objects that are no longer used
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Where does a new element be inserted in linked list implementation of a queue?
a) Head of list
b) Tail of list
c) At the centre of list
d) All the old entries are pushed and then the new element is inserted
Answer explanation
To maintain FIFO, newer elements are inserted to the tail of the list.
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
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
Physical Security Controls
Quiz
•
Professional Development
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
10 questions
Számítógépes fogalmak
Quiz
•
Professional Development
15 questions
Computer basics for beginners
Quiz
•
Professional Development
10 questions
GUESS THAT WORD IN CYBER!
Quiz
•
Professional Development
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
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
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
