NEW
Font size
WorksheetsCoding Basics
Total questions: 46
Worksheet time: 23mins
In Pencil Code, what will happen if you enter the code rt 90
the turtle will turn in the opposite direction
the turtle will turn 90 degrees
the turtle will become red
nothing, because rt is not a command
A name that refers to a value. Stores a piece of data, and gives it a specific name.
declaration
variable
operator
source
In Pencil Code, where can you find the command write?
Text
Operators
Move
Snippets
Any finite sequence of characters (i.e., letters, numerals, symbols and punctuation marks).
String
Commenting
Casting
Boolean
A list of step by step instructions that can be performed with or without a computer.
Code
Algorithm
Binary
Processing
To carry out an instruction or program.
run
execute
compute
calculate
In base 2, what number does 10 represent?
2
7
3
10
Which symbol is used to indicate a comment?
&
@
=
#
One or more commands or algorithms designed to be carried out by a computer. The created text or blocks of the program.
Code
Command
Operation
Memory
In base 2, what number does the following represent: 11001
32
53
29
25
In base 2, what number does the following represent: 111100
120
86
118
60
In base 2, what number does the following represent: 101
3
2
7
5
The study of using the power of computers to solve problems.
Computer programming
Computer knowledge
Computer science
Coding
In Pencil Code, where can you find the pen red?
move
sprites
art
color
A set of rules that defines the combinations of symbols that are considered to be a correctly structured document or fragment in that language.
code
algorithm
syntax
shortcut
True or False: Computers think in the language of Binary
True
False
An instruction for the computer. Many commands, together, makeup algorithms and computer programs.
execute
command
abstraction
processing
Anything that comes out of a computer. (ex. Display to monitor, sound, printing, etc.)
output
input
data entry
coding
To break a problem down into smaller pieces.
decompose
code
command
abstracting
A detailed, yet readable, description of what a computer program or algorithm must do, expressed in languages that humans use naturally rather than in a programming language.
Pseudocode
Decomposition
Computation
Camel Casting
How would you read the following: score = 250
the score is 250
2
250 is the score
score gets the value 250
A bit is
strings of X's and O's
a small piece of an apple
simple pieces of information made up of 1's and 0's used in programming language.
none of the above
What is the output of the following line of code:
write "5" + "5"
"10"
"5"
55
25
Information that can be collected. Often, quantities, characters, or symbols that are the inputs and outputs of computer programs.
symbols
command
codes
data
What is the difference in Modular Division and Regular Division?
it only returns the remainder
there is no difference
it doubles the answer
it's always 0
True or False:
The 1 in binary represents Off.
True
False
To create a successful computer program, how many computational thinking techniques are required?
15
3
4
2
Which of the following is the symbol for an assignment?
&
( )
=
+
In base 2, what number does the following represent:
11111111
258
305
125
255
The data type Boolean, has two possible outputs, they are:
on or off
true or false
in or out
up or down
A collection of instructions (algorithms) that performs a specific task when executed by a computer.
syntax
processing
computer program
event
Pulling out specific differences to make one solution work for multiple problems.
abstraction
ergonomics
adjusting
decomposing
Which is an example of a string?
2+5
"cow"
-5
moo
According to base 2, what number is missing?
1 2 4 8 16 64 128
6
10
32
72
True or False:
Computer Programming, often simply called programming, is the process of developing executable computer programs that will do everything from making everyday task easier to complex computations.
True
False
Data to be entered into a computer for processing (commands or info that you type in).
input
data
output
execution
How many bits does ASCII use?
5
10
2
7
A byte is
a group of dots
a group of 8 bits
a group of pixels
none of the above
Which of the following is NOT one of the three main types of programming languages?
Machine
Computer
High Level
Assembly
What does ### represent?
a series of numbers
the end of the code
multi-line comment
single line comment
What are the four components of Computational Thinking?
Decomposition, Abstraction, Pattern Matching, Algorithm
Decomposition, Algorithm, Programming, Computing
Abstraction, Critical Thinking, Algorithm
None of the Above
Which of the following is a representation of the data type number:
34
-50
3
all of the above
The computer program reads from:
left to right
top to bottom
side to side
up and down
True or False:
The 0 in binary represents Off.
True
False
ACSII stands for
Allegiance of Simple Computer Interchange
American Society of Computer Interchange International
American Standard Code for Information Interchange
All Simple Computer Initiate Intelligence
A generic data type that represents numerical values.
(ex. integers, floats, and doubles)
data
number
variable
boolean
