In which algorithm takes less time or space is called
QUIZ-STACK_QUEUE_Jan'24

Quiz
•
Computers
•
Professional Development
•
Hard
Lilesh Pathe
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Best case
Worst case
Average case
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
A FIFO structure implemented as a ring where the front and rear pointers can wrap around the end of the start of the array.
Linear Queue
Circular Queue
Priority Queue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the disadvantage of array data structure?
Elements of an array can be accessed in constant time
Elements are stored in contiguous memory location
The amount of memory to be allocated should be known beforehand
Multiple other data structures can be implemented using Array
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can we describe an array in the best possible way?
The Array shows a hierarchical structure.
Arrays are immutable (Not Modifiable)
Container that stores the elements of similar types
The Array is not a data structure
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
____________data structures are those whose sizes and structures associated memory locations are fixed at compile time.
linear
homogeneous
static
dynamic
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
People have used the word ________ to mean computer information that is transmitted or stored.
Beta
Data
Database
None of above
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the usual algorithm for determining whether a sequence of parentheses is balanced.
Suppose that you run the algorithm on a sequence that contains 2 left parentheses and 3 right parentheses (in some order).
The maximum number of parentheses that appear on the stack AT ANY ONE TIME during the computation?
1
2
3
4 or more
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Data Structures

Quiz
•
Professional Development
20 questions
Data Structure

Quiz
•
Professional Development
20 questions
Data Structures

Quiz
•
University - Professi...
20 questions
CS 211

Quiz
•
Professional Development
25 questions
DATASTRUCTURES-3SEM

Quiz
•
Professional Development
30 questions
Data Structures and Algorithm

Quiz
•
11th Grade - Professi...
30 questions
Midterm

Quiz
•
University - Professi...
24 questions
146.Dequeue

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade