
Computational Thinking Unit 1
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Jennie Phipps
Used 56+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an important step to take before beginning to write the code for a program?
Randomly generate the variable names to be used in the program
Write on paper or a whiteboard all the code you intend to type
Plan the logic and anticipated input/output of the code
Plan an update and maintenance schedule for the program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following could be considered part of the beginning “state” of a Scratch program?
Visibility of sprites
The background image
The value of a variable
All of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
As part of the lifecycle of a program, after a computer programmer writes the code, it is then compiled and usually used to create an executable file to be run on the CPU. The code that is run through the compiler is known as what?
Machine Code
Source Code
Source Code (C) Binary Code
RAM
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following two algorithms are designed to find the minimum value in a list of integers.
Algorithm I: Create a variable min, and set this to the first value in the list. Compare each subsequent value in the list against the value of min, and if it is smaller than or equal to the current value, set min to this value. When the end of the list is reached, display the value of min.
Algorithm II: Create a variable min, and set this to 0. Compare each value in the list against the value of min, and if it is smaller than the current value, set min to this value. When the end of the list is reached, display the value of min.
Which of the following statements correctly demonstrates that the two algorithms are NOT equivalent?
Both algorithms will correctly display the minimum value of the list [-1, 3, -4, 8]
Neither algorithm will correctly display the minimum value of the list [0, 5, 6, 2]
Algorithm I will correctly display the minimum value of the list [4, 10, 6, 1], but Algorithm II will not
Algorithm II will correctly display the minimum value of the list [-4, 2, 3, 2], but Algorithm I will not
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Many tasks, large and small, can be solved by performing a specific set of actions and making a particular set of decisions in very precise ways. These sets of actions and decisions are known as what?
Abstraction
Algorithms
Building Blocks
Processes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An office building has two floors. A computer program is used to control an elevator that travels between the two floors. Physical sensors are used to set the following Boolean variables.
Variable 1: onFloor1 Description: Set to true if the elevator is stopped on floor 1; otherwise set to false
Variable 2: onFloor2 Description: Set to true if the elevator is stopped on floor 2; otherwise set to false
Variable 3: callTo1 Description: Set to true if the elevator is called to floor 1; otherwise set to false
Variable 4: callTo2 Description: Set to true if the elevator is called to floor 2; otherwise set to false
The elevator moves when the door is closed and the elevator is called to the floor that it is not currently on. Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move?
(onFloor1 AND callTo2) AND (onFloor2 AND callTo1)
(onFloor1 AND callTo2) OR (onFloor2 AND callTo1)
(onFloor1 OR callTo2) AND (onFloor2 OR callTo1)
(onFloor1 OR callTo2) OR (onFloor2 OR callTo1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following types of languages is optimized for machine processing and may be written and expressed as a series of binary digits (e.g., ones and zeros), making it difficult for humans to read and write?
Natural language
Pseudocode
High-level programming language
Low-level programming language
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
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
11 questions
BTEC DIT C3 B1 - Threats to Data
Quiz
•
11th Grade
15 questions
Ethical and Social Issues in ICT
Quiz
•
10th Grade
20 questions
Quiz Informatika Bab 3 & 4
Quiz
•
10th Grade
12 questions
limbajul pascal
Quiz
•
10th Grade
16 questions
Java by Mr Sam
Quiz
•
10th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
15 questions
J808 LO1 and LO2 planning project keywords / terms
Quiz
•
9th - 11th 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
