
Computer Science Quiz
Quiz
•
English
•
9th Grade
•
Easy
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
Lord of the Flies Test
Quiz
•
9th Grade
61 questions
ADVERTISEMENT IX
Quiz
•
9th Grade
60 questions
AP Lang Practice Test
Quiz
•
9th - 12th Grade
62 questions
M5.11 Health & Fitness
Quiz
•
8th - 12th Grade
61 questions
Things Fall Apart Final Test- Review Game
Quiz
•
9th - 12th Grade
60 questions
Review Module 1-12
Quiz
•
9th Grade
59 questions
Writing Conventions
Quiz
•
9th Grade
60 questions
S2 (5-8) Summative Vocab Review
Quiz
•
9th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for English
12 questions
PSAT Week 1
Quiz
•
8th - 10th Grade
10 questions
Exploring Figurative Language Concepts
Interactive video
•
6th - 10th Grade
10 questions
Identifying Common and Proper Nouns
Interactive video
•
6th - 10th Grade
16 questions
Ethos, Pathos, Logos Practice
Quiz
•
9th Grade
10 questions
Analyzing Author's Purpose in Nonfiction Texts
Interactive video
•
6th - 10th Grade
10 questions
Identifying and Using Sentence Structures
Interactive video
•
6th - 10th Grade
20 questions
Subject-Verb Agreement
Quiz
•
9th Grade
10 questions
Finding the Theme of a Story
Interactive video
•
6th - 10th Grade