Computer Science Quiz

Computer Science Quiz

9th Grade

62 Qs

quiz-placeholder

Similar activities

Graphic Novel Terminology Test

Graphic Novel Terminology Test

9th Grade

60 Qs

WOTW 86-100

WOTW 86-100

7th - 12th Grade

60 Qs

Of Mice and Men

Of Mice and Men

9th - 10th Grade

62 Qs

ANGTE WIKAT Test 1

ANGTE WIKAT Test 1

9th Grade

65 Qs

American Literature Academic Terms

American Literature Academic Terms

6th Grade - University

58 Qs

Am Lit Unit 1

Am Lit Unit 1

9th - 12th Grade

65 Qs

Grammar Set 1

Grammar Set 1

6th Grade - University

60 Qs

Literary Terms- Prior Knowledge Quiz 1-Ashmore

Literary Terms- Prior Knowledge Quiz 1-Ashmore

9th - 12th Grade

58 Qs

Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

English

9th Grade

Easy

Created by

Quang Nguyễn

Used 25+ times

FREE Resource

62 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of the following algorithm with respect to the input size N?

O(1)

O(N)

O(N^2)

O(2N)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is wrong about graphs?

Weight of an edge must be positive.

Weight of an edge can be negative.

Adjacency matrix is an appropriate representation of a graph.

Adjacency list is an appropriate representation of a graph.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a hash table of size N using linear probing, what is the probing hash function hi(k)?

hi(k) = h(k) mod N.

hi(k) = (h(k) + i) mod N.

hi(k) = i + k.

hi(k) = i mod N.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is correct about array-based lists?

Array-based is faster than linked-list in accessing items.

Array-based is faster than linked-list in inserting new items.

Elements of array-based lists can be dynamically located.

They can be implemented by Java only.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the ADT of the list data structure, isEmpty() method returns a/an _______ value.

Real number.

String.

Integer.

Boolean.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following describes the number of paths of length K from vertex Vi to vertex Vj?

The weight of the path from vertex Vi to vertex Vj going exactly through K vertices.

The number of paths of length K from vertex Vi to vertex Vj.

The length of the Hamiltonian cycle that has K vertices including Vi and Vj.

The weight of the shortest path from Vi to Vj using intermediate vertices in {V1..Vk}.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following tree, what is the result of pre-order traversal?

A,B,C,D,E,F,G,H,I,J

A,D,B,C,J,G,E,F,I,H

A,B,D,C,E,G,J,F,H,I

A,B,D,C,E,F,G,J,H,I

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?