Search Header Logo

Computer Science Quiz

Authored by Abhinandan Ghosh

Science

Professional Development

Used 3+ times

Computer Science Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the output of the following C code snippet?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithms is used to find the shortest path in a weighted graph?

Breadth-First Search (BFS)

Depth-First Search (DFS)

Dijkstra's Algorithm

Kruskal's Algorithm

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following sorting algorithms has the best average-case performance for large datasets?

Quick Sort

Merge Sort

Bubble Sort

Insertion Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used in implementing recursion?

Stack

Queue

Linked List

Tree

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a component of a CPU?

Arithmetic Logic Unit (ALU)

Control Unit (CU)

Memory Unit

Register

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the IP protocol?

It is connection-oriented

It guarantees data delivery

It is reliable

It is a best-effort delivery service

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following scenarios is a hash table most efficient?

When searching for an element

When elements need to be sorted

When inserting elements in a specific order

When elements need to be traversed in order

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?