Search Header Logo

code crawl round 1

Authored by Rashi Aggrawal

Computers

University

Used 3+ times

code crawl round 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of merge sort in its worst-case?

O(n)

O(n log n)

O(n²)

O(log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is best for implementing an LRU Cache?

Stack

Queue

HashMap + Doubly Linked List

Binary Search Tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm is most efficient when there are many identical keys?

Quick Sort

Merge Sort

Counting Sort

Insertion Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the average-case time complexity for accessing an element in a HashMap?

O(n)

O(1)

O(log n)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal of a Binary Search Tree returns sorted order?

Preorder

Postorder

Level order

Inorder

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A full-adder has how many inputs and outputs, respectively?

2 inputs, 2 outputs

3 inputs, 2 outputs

3 inputs, 3 outputs

2 inputs, 1 output

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which logic gate is classified as a universal gate?

OR

NAND

XOR

AND

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?