CS QUIZ
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Himara Senaratne
Used 6+ times
FREE Resource
Enhance your content in a minute
55 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
This question is related to data structures
Fill in the blank:
"_________ data structures can change size as needed, growing or shrinking depending on how much data you have. This is more flexible but can be more complex to work with and might use a lot of memory."
2.
MULTIPLE SELECT QUESTION
45 sec • 3 pts
Which of the following answers is true about One-dimensional arrays? (Select all that apply)
Arrays are static: Once created, their size can't change.
Elements are ordered: They are stored in a specific sequence, which makes searching efficient.
Once the arrays are created, their size can be change
None of the above
Answer explanation
Arrays are like lists of elements, each with a specific position (index) used for access.
Key points:
Arrays are static: Once created, their size can't change.
Elements are ordered: They are stored in a specific sequence, which makes searching efficient.
Indexing starts at 0: The first element is at position 0, the second at position 1, and so on.
3.
FILL IN THE BLANK QUESTION
1 min • 4 pts
Based on the two-dimensional array shown, should be typed in order to output "Alice"?
4.
FILL IN THE BLANK QUESTION
1 min • 4 pts
Based on the three-dimensional array shown, should be typed in order to output 27?
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
This question is related to Big O notation:
Which of the following is true about O(n²)?
This means the time grows much faster as the data increases, like the square of the data size. This is common in algorithms with nested loops (loops inside loops).
This means the time it takes grows directly with the amount of data.
Eg, searching a list one by one for a specific item gets slower as the list gets longer.
This means the algorithm takes the same amount of time no matter how much data it has.
Eg, finding the first item in a list is always quick, regardless of the list's length.
None of the above
6.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Which of the following examples best describes O(n)?
Imagine you're looking for a friend's house in a neighbourhood.
You know the exact address and go straight there. It takes the same amount of time whether the neighbourhood is big or small.
Imagine you're looking for a friend's house in a neighbourhood. You're lost and have to check every house on every street. This takes much longer as the neighbourhood gets bigger.
Imagine you're looking for a friend's house in a neighbourhood.You don't know the address, so you ask each house until you find the right one. The more houses, the longer it takes.
Answer explanation
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Based on the tuple shown, what shoul be typed to output 30?
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
Already have an account?
Similar Resources on Wayground
59 questions
Working with Files
Quiz
•
8th - 12th Grade
50 questions
HTML
Quiz
•
8th Grade - University
60 questions
E-BOOK
Quiz
•
KG - University
60 questions
lists and dictionaries in python smsmb
Quiz
•
11th - 12th Grade
50 questions
Uji Pengetahuan UKK TKJ 2023
Quiz
•
9th - 12th Grade
50 questions
AP CS P 5.1
Quiz
•
10th Grade - University
60 questions
Finals in Empowerment Technologies
Quiz
•
11th - 12th Grade
53 questions
Computer Servicing Ch 1-3 Review
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
