Knowledge Knockout[Quiz Round](2nd-4th years)

Knowledge Knockout[Quiz Round](2nd-4th years)

University

15 Qs

quiz-placeholder

Similar activities

Data Structure With C++

Data Structure With C++

University

20 Qs

DS QUIZ 2

DS QUIZ 2

University

20 Qs

Data Structures Quiz

Data Structures Quiz

University

20 Qs

Data Structures and Algorithm

Data Structures and Algorithm

University

20 Qs

Stacks and Queues Quiz

Stacks and Queues Quiz

University

15 Qs

Quiz 3 OS Jun 2019

Quiz 3 OS Jun 2019

University

10 Qs

Data Structure

Data Structure

12th Grade - University

15 Qs

DSA QUIZ

DSA QUIZ

University

20 Qs

Knowledge Knockout[Quiz Round](2nd-4th years)

Knowledge Knockout[Quiz Round](2nd-4th years)

Assessment

Quiz

Computers

University

Medium

Created by

Anmol Das

Used 15+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which data structure is mainly used for implementing the recursive algorithm?

Queue

Stack

Binary Tree

Linked List

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the prefix form of A+B*C?

A+(BC*)

+AB*C

ABC+*

+A*BC

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following principle does Queue use?

LIFO

Ordered Array

Linear Tree

FIFO

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The time complexity of enqueue operation in Queue is :

O(1)

O(log n)

O(n log n)

O(n)

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What will be the output of the following code snippet?

Error

<class 'list'>

<class 'tuple'>

Undefined

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

We use dynamic programming approach when?

We need an optimal solution

The solution has optimal substructure

The given problem can be reduced to the 3-SAT problem

It's faster than Greedy

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the best case time complexity of selection sort?

O(n log n)

O(n^2)

O(1)

O(n)

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?