A queue follows _________:
FDS Quiz 1

Quiz
•
Education
•
University
•
Hard
Shital Sungare
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
a. LIFO principle
b. FIFO principle
c. Linear tree
d. Ordered array
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
2. The time complexity used for inserting a node in a priority queue on the basis of key is:
a. O(n)
b. O(n2)
c. O(nlogn)
d. O(logn)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
3. Which of these is a postfix expression?
a. a+b-c
b. +ab
c. abc*+de-+
d. a*b(c+d)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
4. Which data structure do we use for testing a palindrome?
a. Heap
b. Tree
c. Priority queue
d. Stack
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5.The time complexity of quicksort is ……..
A. O(n)
B. O(logn)
C. O(n2)
D. O(n logn)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
6. Quick sort is also known as ……..
A. merge sort
B. tree sort
C. shell sort
D. partition and exchange sort
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
7……… form of access is used to add and remove nodes from a queue.
A. LIFO, Last In First Out
B. FIFO, First In First Out
C. Both a and b
D. None of these
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
PJPK Tingkatan 2

Quiz
•
University
20 questions
Graph

Quiz
•
University
15 questions
Bahasa Melayu STPM Sem 1 (PRA-U)

Quiz
•
University
16 questions
kepribadian ppg

Quiz
•
University
15 questions
Chương 1- Nhập môn Đo lường và đánh giá

Quiz
•
University
19 questions
Lectura comprensiva

Quiz
•
University
15 questions
Assessment of Learning

Quiz
•
University
15 questions
Sorting Quiz

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade