Code Uncode 2.0

Code Uncode 2.0

12th Grade

40 Qs

quiz-placeholder

Similar activities

Year 11 Unit 7 IGCSE Algorithm Quiz

Year 11 Unit 7 IGCSE Algorithm Quiz

9th - 12th Grade

42 Qs

Computer Science Test Practice - Crow (Matthew is no allowed

Computer Science Test Practice - Crow (Matthew is no allowed

9th - 12th Grade

35 Qs

ONE 6th FORM Pipelining, Backtracking and Performance Modelling

ONE 6th FORM Pipelining, Backtracking and Performance Modelling

12th Grade - University

35 Qs

AP CSP Exam Review

AP CSP Exam Review

9th - 12th Grade

45 Qs

Y11 Algorithms Homework

Y11 Algorithms Homework

12th Grade

44 Qs

adders

adders

12th Grade

45 Qs

Algorithm and Flowchart - Unit 4 (IT 9626)

Algorithm and Flowchart - Unit 4 (IT 9626)

12th Grade

41 Qs

Harvard Professor Explains Algorithms in 5 Levels of Difficulty

Harvard Professor Explains Algorithms in 5 Levels of Difficulty

12th Grade

42 Qs

Code Uncode 2.0

Code Uncode 2.0

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Jafar Gangardiwala

Used 3+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In order traversal of binary search tree will produce −

unsorted list

sorted list

reverse of input

none of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What data structure is used for breadth first traversal of a graph?

queue

stack

list

none of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

left_subtree (keys) ≤ node (key) ≤ right_subtree (keys)

Complete Binary Tree

Binary Tree

Binary Search Tree

All of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the array is already sorted, which of these algorithms will exhibit the best performance

Merge Sort

Insertion Sort

Quick Sort

Heap Sort

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

An algorithm is

a piece of code to be executed.

a loosely written code to make final code.

a step by step procedure to solve problem.

all of the above.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In binary heap, whenever the root is removed then the rightmost element of last level is replaced by the root. Why?

It is the easiest possible way.

To make sure that it is still complete binary tree.

Because left and right subtree might be missing.

None of the above!

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If queue is implemented using arrays, what would be the worst run time complexity of queue and dequeue operations?

Ο(n), Ο(n)

Ο(n), Ο(1)

Ο(1), Ο(n)

Ο(1), Ο(1)

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?