
Data_Structures_1
Authored by sobha xavier
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is a data structure?
a) A programming language
b) A collection of algorithms
c) A way to store and organize data
d) A type of computer hardware
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What are the disadvantages of arrays?
a) Index value of an array can be negative
b) Elements are sequentially accessed
c) Data structure like queue or stack cannot be implemented
d) There are chances of wastage of memory space if elements inserted in an array are less than the allocated size
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
3. Which data structure is used for implementing recursion?
a) Stack
b) Queue
c) List
d) Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What is the value of the postfix expression 6 3 2 4 + – *?
a) 74
b) -18
c) 22
d) 40
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as _____________
a) Queue
b) Stack
c) Tree
d) Linked list
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
a) ABCD
b) DCBA
c) DCAB
d) ABDC
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A normal queue, if implemented using an array of size MAX_SIZE, gets full when?
a) Rear = MAX_SIZE – 1
b) Front = (rear + 1) mod MAX_SIZE
c) Front = rear + 1
d) Rear = front
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
20 questions
CUESTIONARIO
Quiz
•
University
20 questions
Programming Concepts in C - Quiz-II
Quiz
•
University
15 questions
Firewall and Network Security
Quiz
•
University
15 questions
AV1/R1 2TEC_PM_1 A 11_História e Reconhecimento da UX
Quiz
•
1st Grade - University
20 questions
FRAMING,Bit Stuffing, PPP,HDLC,
Quiz
•
University
13 questions
L1 - Computer Networks
Quiz
•
University
14 questions
Excel Quiz
Quiz
•
University
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
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