
DS Quiz-1
Authored by SUBHASH AGRAWAL
Computers
KG - University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following pseudocode that uses a stack
declare a stack of characters
while ( there are more characters in the word to read )
{
read a character
push the character on the stack
}
while ( the stack is not empty )
{
pop a character off the stack
write the character to the screen
}
geeksquizgeeksquiz
ziuqskeeg
geeksquiz
ziuqskeegziuqskeeg
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following correctly declares an array?
(A) int geeks[20];
(B) int geeks;
(C) geeks{20};
(D) array geeks[20];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Process of inserting an element in stack is called ____________
a) Create
b) Push
c) Evaluation
d) Pop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Process of removing an element from stack is called __________
a) Create
b) Push
c) Evaluation
d) Pop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a stack, if a user tries to remove an element from empty stack it is called _________
a) Underflow
b) Empty collection
c) Overflow
d) Garbage Collection
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pushing an element into stack already having five elements and stack size of 5, then stack becomes
a) Overflow
b) Crash
c) Underflow
d) User flow
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linked list each node contain minimum of two fields. One field is data field to store the data second field is?
a) Pointer to character
b) Pointer to integer
c) Pointer to node
d) Node
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
Hazards, Risks and Precautions
Quiz
•
9th - 11th Grade
15 questions
Algoritmos Simples
Quiz
•
12th Grade
10 questions
Is Your AWS Cloud Well Architected
Quiz
•
Professional Development
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
13 questions
topologies
Quiz
•
7th - 8th Grade
15 questions
Firewall and Network Security
Quiz
•
University
10 questions
ICT - GRADE 6 - 3RD WEEK AUGUST 2021
Quiz
•
6th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade