FDS Quiz 1

FDS Quiz 1

University

20 Qs

quiz-placeholder

Similar activities

COCAT - DAA

COCAT - DAA

University - Professional Development

25 Qs

DISTRIBUTED EMBEDDED SYSTEMS

DISTRIBUTED EMBEDDED SYSTEMS

University

20 Qs

GE 3: Defining Globalization

GE 3: Defining Globalization

University

15 Qs

STPM PENGAJIAN AM SEM 1 2021

STPM PENGAJIAN AM SEM 1 2021

University

15 Qs

STPM PENGAJIAN AM SEM 1 2022

STPM PENGAJIAN AM SEM 1 2022

University

15 Qs

ED106 - Chapter 6

ED106 - Chapter 6

University

17 Qs

Additive manufacturing

Additive manufacturing

University

21 Qs

Bloom's Taxonomy

Bloom's Taxonomy

University

21 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?