Search Header Logo

FDS Quiz 1

Authored by Shital Sungare

Education

University

FDS Quiz 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A queue follows _________:

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?