Computer Science quiz

Quiz
•
Computers
•
11th Grade
•
Easy
Himara Senaratne
Used 3+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an algorithm?
A computer program
A set of instructions to solve a problem
A mathematical equation
A hardware component
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a common type of algorithm?
Search algorithms
Sorting algorithms
Encryption algorithms
Cooking algorithms
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of a linear search algorithm in the worst case?
O(1)
O(log n)
O(n^2)
O(n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which sorting algorithm has the best average-case time complexity?
Bubble sort
Insertion sort
Merge sort
Selection sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the key idea behind the divide-and-conquer approach?
Breaking a problem into smaller subproblems
Solving a problem by brute force
Using a greedy approach to find the optimal solution
Backtracking to find all possible solutions
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which statement about logarithmic and exponential growth is correct?
Both logarithmic and exponential growth rates are proportional to the square of the input size.
Logarithmic growth rates decrease as the input size increases, while exponential growth rates remain constant.
Logarithmic growth involves halving the search space repeatedly, while exponential growth doubles the number of operations at each step.
Exponential growth is faster than logarithmic growth only for small input sizes.
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the main drawback of using Quick Sort for a highly skewed dataset?
Quick Sort has a high average-case complexity of O(n^2).
The algorithm’s partitioning leads to uneven divisions, causing a worst-case time complexity of O(n^2).
Quick Sort requires additional space, making it inefficient for large datasets.
It cannot handle datasets with duplicate elements efficiently.
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
30 questions
Computer Tech Words

Quiz
•
9th - 12th Grade
25 questions
Amanjaya Final Exam

Quiz
•
University
25 questions
Excel Revision

Quiz
•
11th Grade
30 questions
Computer Science GCSE General Knowledge Quiz

Quiz
•
11th Grade
25 questions
Neo Coding Round 1 Set 1

Quiz
•
University
26 questions
221 quiz questions exam 2 prep

Quiz
•
University
25 questions
4.8 Word Quizizz

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade