FDS Quiz 1

FDS Quiz 1

University

20 Qs

quiz-placeholder

Similar activities

TOEFL STRUCTURE AND WRITTEN EXPRESSIONS

TOEFL STRUCTURE AND WRITTEN EXPRESSIONS

University

20 Qs

Assessment of Learning

Assessment of Learning

University

15 Qs

PJPK Tingkatan 2

PJPK Tingkatan 2

University

20 Qs

BRAIN BUSTERS (ROUND2)

BRAIN BUSTERS (ROUND2)

University

20 Qs

Graph

Graph

University

20 Qs

RBT Tingkatan 3- Bab 2: Pembangunan Produk

RBT Tingkatan 3- Bab 2: Pembangunan Produk

7th Grade - University

15 Qs

Bahasa Melayu STPM Sem 1 (PRA-U)

Bahasa Melayu STPM Sem 1 (PRA-U)

University

15 Qs

kepribadian ppg

kepribadian ppg

University

16 Qs

FDS Quiz 1

FDS Quiz 1

Assessment

Quiz

Education

University

Hard

Created by

Shital Sungare

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?