
Computational Thinking Unit 1
Authored by Jennie Phipps
Computers
10th - 12th Grade
Used 56+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
Bài 11. Tệp và quản lý tệp
Quiz
•
10th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
20 questions
Teknik Pengolahan Audio dan Video
Quiz
•
12th Grade
20 questions
Remidi XI TKJ2 UH 2 Teknologi Jaringan WAN
Quiz
•
11th Grade
19 questions
Hardware and Components
Quiz
•
5th - 11th Grade
20 questions
UNIT 3- DATA COMMUNICATION
Quiz
•
12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
15 questions
Vocabulary of Computer
Quiz
•
12th Grade
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