
CSP - UNIT 6
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is true of algorithms?
Algorithms may have an infinite set of instructions
Algorithms must be expressed using a programming language
Every algorithm can be constructed using combinations of sequencing, selection, and iteration
Every problem can be solved with an algorithm
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following algorithm is followed by a person every morning when they get up from bed to go to school
Wake up
Brush teeth
Put on shirt
Put on pants
Put on socks
Put on shoes
Tie shoes
Which concept does this algorithm BEST demonstrate?
Sequencing
Selection
Iteration
Execution
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these algorithms will move the robot along the same path as the algorithm below?
REPEAT 2 TIMES
{
REPEAT 3 TIMES
{
MOVE_FORWARD()
}
ROTATE_LEFT()
MOVE_FORWARD()
ROTATE_RIGHT()
}
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A town government is designing a new bus system and are deciding where to put the different bus stops. They want to pick the collection of locations that minimizes the distance anyone needs to walk in order to get to at least one bus stop. What term best defines the kind of problem?
A decision problem
An optimization problem
An undecidable problem
An efficiency problem
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The algorithm below is used to find the largest element in a list of numbers.
By modifying one of the lines in the program it is possible to make the algorithm find the SMALLEST element. Which line would need to be modified and how?
01 target <- list[1]
02 FOR EACH num IN list
03 {
04 IF(num > target)
05 {
06 target <- num
07 }
08 }
09 DISPLAY(target)
Line 01 becomes target <- list[2]
Line 04 becomes IF (num < target)
Line 04 becomes IF (num = target)
Line 01 becomes list[0] <- target
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following algorithms is the same as the flowchart shown below?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
This graph shows the efficiencies of two different algorithms that solve the same problem. Which of the following is most efficient?
These algorithms are equally efficient
Algorithm A is more efficient than algorithm B
Algorithm B is more efficient than algorithm A
The algorithms have different efficiencies depending on the input size
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
11 questions
Access
Quiz
•
10th Grade - University
12 questions
1.8 Computing Legislation TRUE or FALSE
Quiz
•
10th - 11th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
20 questions
Google SketchUp Tool
Quiz
•
KG - University
10 questions
Cyber Security
Quiz
•
1st - 10th Grade
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
