Code Uncode 2.0

Code Uncode 2.0

12th Grade

40 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

12th Grade

42 Qs

XII Datastructures

XII Datastructures

9th - 12th Grade

40 Qs

Year 8 - End of Year Revision

Year 8 - End of Year Revision

9th - 12th Grade

44 Qs

2.3.1.RP-y12-starter

2.3.1.RP-y12-starter

12th Grade

38 Qs

Digital and Information Systems (VAC)

Digital and Information Systems (VAC)

12th Grade

42 Qs

Pseudocode IG-2

Pseudocode IG-2

9th - 12th Grade

39 Qs

9618 AS Comp Sci Full Revision Set 1

9618 AS Comp Sci Full Revision Set 1

9th - 12th Grade

45 Qs

Python - Lists, Dictionaries and Loops

Python - Lists, Dictionaries and Loops

9th - 12th Grade

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