
Data_Structures_1

Quiz
•
Computers
•
University
•
Hard
sobha xavier
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
DS UNIT-2 TEST-2

Quiz
•
University
20 questions
Prefinal Operating System

Quiz
•
University
16 questions
Graph Quiz - DAY 12 - BATCH 1

Quiz
•
University
17 questions
Data Structures and Algorithms Quiz

Quiz
•
University
20 questions
Struktur Data Pra UAS

Quiz
•
University
20 questions
Quiz 1 Introduction To database Concept

Quiz
•
University
20 questions
OPERATING SYSTEMS UNIT 1 QUIZ

Quiz
•
University
15 questions
Let's Check!

Quiz
•
12th Grade - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University