Topic 1: Computational thinking, level 2
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
John Rutherford
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a one-dimensional and two-dimensional array?
A one-dimensional array stores different data types, a two-dimensional array stores the same data type
A one-dimensional array stores the same data type, a two-dimensional array stores different data types
A one-dimensional array is used for sorting, a two-dimensional array is used for searching
A one-dimensional array stores a single row of data, a two-dimensional array stores multiple rows and columns
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which algorithm has a time complexity of O(n^2)?
Bubble sort
Merge sort
Linear search
Binary search
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a record in programming?
To store a sequence of items with the same data type
To store a sequence of items with different data types
To increase memory usage
To reduce readability
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a binary search algorithm do?
It searches for an item in an unsorted array
It compares adjacent elements and swaps them if necessary
It searches for an item in a sorted array by halving the search space
It merges two sorted lists
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the benefit of using constants in code?
To change values during execution
To store values that do not change during execution
To increase memory usage
To reduce readability
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator performs integer division?
/
//
%
**
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a subprogram in programming?
To increase code length
To reuse code
To reduce readability
To slow down execution
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
20 questions
Câu hỏi về máy tính
Quiz
•
8th Grade - University
20 questions
kuis asj
Quiz
•
9th - 12th Grade
20 questions
REDES I-medios no guiados
Quiz
•
1st - 12th Grade
20 questions
Grade 7 Python Programming Quiz
Quiz
•
7th Grade - University
20 questions
UJIAN AKHIR SEMESTER INFORMATIKA KELAS VIII
Quiz
•
9th - 12th Grade
20 questions
Key Applications 2
Quiz
•
9th - 12th Grade
22 questions
Programming Review
Quiz
•
9th - 12th Grade
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
