NEW
Font size
WorksheetsU1 Coding & Digital Tools
Total questions: 20
Worksheet time: 10mins
What is coding?
Writing instructions for a computer or robot using a programming language.
A visual representation of data.
A command that pauses a program.
A type of electrical circuit.
What is a variable?
A value that can change and be reused during a program.
A loop that repeats code.
A function.
A CAD object.
Which of the following is a loop type?
Repeat X times
Boolean
Variable
Comparator
What is a function (subprogram)?
A reusable section of code that performs a specific task.
A variable.
A loop.
A Boolean operation.
What does a local variable mean?
A variable usable only within a specific function.
A variable that stores numbers.
A Boolean statement.
A function.
What is the purpose of an If/Then statement?
To execute code if a condition is true.
To store a variable.
To repeat a loop.
To combine CAD shapes.
Which file type is commonly used for 3D printing?
STL
DOCX
JPG
What does Boolean operation do in CAD?
Combines or subtracts shapes (Union, Subtract, Intersect)
Stores values in a variable.
Executes a loop.
Pauses program execution.
What is block coding?
Visual drag-and-drop coding.
A type of 3D model.
A mathematical formula.
A loop.
What is implementation in coding?
The act of building and writing the program.
A Boolean comparison.
A loop type.
A CAD dimension.
Select the coding term being defined as, a code that tells the robot or program to wait in its current state for the specified time.
Delay
Wait
Timer
Hold
A variable can contain all of the following information
Text and Number
Color and Boolean
Text and Boolean
Text, Number, Boolean, and Color
Coding concepts are used in all kinds of programs and products. What coding concept can be used in Onshape to allow for customizable configurations?
Boolean
Variable
Function
Comparator
If/Then/Else statements give the program two or more sets of code to execute depending on which conditional statements are true. If none of the stated conditions are true, which section of the If/Then/Else statement will be executed?
If
Then
Else
None of the above
There are three types of loops that can be used in a program: Loop “X” times, Loop Forever, and ...
Loop 5 Times
Loop Until
Loop Never
Loop Twice
The implementation of a program’s requirements and design using statements and data is called
Logic
IfElse
Loops
Comparators
A ______________ is a variable inside of a function that can only be used inside the function.
Global Variable
Local Variable
Variable
Parameter
A variable can be __________ inside of a program.
Changed
Retreved
Changed and Retreved
None above
A variable can contain all of the following information....
Text and Number
Color and Boolean
Text and Boolean
Text, Number, Boolean, Color
A function, also known as a subprogram, helps coders to ....
Organize their code
Easily reuse sections of code
Organize their code and easily reuse sections of code
None are true
