Search Header Logo

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

Authored by Anmol Das

Computers

University

Used 15+ times

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

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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)

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?