
DSA Quiz 1

Quiz
•
Computers
•
University
•
Hard
MANJU VERMA
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
#include<stdio.h>
void main()
{
int s=0;
while(s++<10)
{
if(s<4 && s<9)
continue;
printf("\n%d\t",s);
}
}
1 2 3 4 5 6 7 8 9
1 2 3 10
4 5 6 7 8 9 10
4 5 6 7 8 9
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Array passed as an argument to a function is interpreted as
Address of the array
Values of the first elements of the array
Address of the first element of the array
Number of element of the array
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pushdown list means
Stack
Queue
Linked list
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The memory address of first element of array is called
floor address
foundation address
first address
base address
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The expression 4+6/3*2-2+7%3 evaluates to
3
4
6
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linear list in which element can be added or removed at either end, but not in the middle is called:
Circular Queue
Priority Queue
Deque
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the characters 'D', 'C', 'B', 'A' are placed in a queue (in that order), and then removed one at a time, in what order will they be removed?
ABCD
ABDC
DCAB
DCBA
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
A+ Core 1 Printer Troubleshooting

Quiz
•
University - Professi...
10 questions
Java Arrays

Quiz
•
University
10 questions
DSA(UNIT 1) Test 1

Quiz
•
University
10 questions
DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

Quiz
•
University
15 questions
Stacks and Queues Quiz

Quiz
•
University
10 questions
DS Quiz1

Quiz
•
University
10 questions
C Programming Lab Quiz

Quiz
•
University
10 questions
PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University