wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

U1 Coding & Digital Tools

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is coding?

a)

Writing instructions for a computer or robot using a programming language.

b)

A visual representation of data.

c)

A command that pauses a program.

d)

A type of electrical circuit.

2.

What is a variable?

a)

A value that can change and be reused during a program.

b)

A loop that repeats code.

c)

A function.

d)

A CAD object.

3.

Which of the following is a loop type?

a)

Repeat X times

b)

Boolean

c)

Variable

d)

Comparator

4.

What is a function (subprogram)?

a)

A reusable section of code that performs a specific task.

b)

A variable.

c)

A loop.

d)

A Boolean operation.

5.

What does a local variable mean?

a)

A variable usable only within a specific function.

b)

A variable that stores numbers.

c)

A Boolean statement.

d)

A function.

6.

What is the purpose of an If/Then statement?

a)

To execute code if a condition is true.

b)

To store a variable.

c)

To repeat a loop.

d)

To combine CAD shapes.

7.

Which file type is commonly used for 3D printing?

a)

STL

b)

DOCX

c)

PDF

d)

JPG

8.

What does Boolean operation do in CAD?

a)

Combines or subtracts shapes (Union, Subtract, Intersect)

b)

Stores values in a variable.

c)

Executes a loop.

d)

Pauses program execution.

9.

What is block coding?

a)

Visual drag-and-drop coding.

b)

A type of 3D model.

c)

A mathematical formula.

d)

A loop.

10.

What is implementation in coding?

a)

The act of building and writing the program.

b)

A Boolean comparison.

c)

A loop type.

d)

A CAD dimension.

11.

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.

a)

Delay

b)

Wait

c)

Timer

d)

Hold

12.

A variable can contain all of the following information

a)

Text and Number

b)

Color and Boolean

c)

Text and Boolean

d)

Text, Number, Boolean, and Color

13.

Coding concepts are used in all kinds of programs and products. What coding concept can be used in Onshape to allow for customizable configurations?

a)

Boolean

b)

Variable

c)

Function

d)

Comparator

14.

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?

a)

If

b)

Then

c)

Else

d)

None of the above

15.

There are three types of loops that can be used in a program: Loop “X” times, Loop Forever, and ...

a)

Loop 5 Times

b)

Loop Until

c)

Loop Never

d)

Loop Twice

16.

The implementation of a program’s requirements and design using statements and data is called

a)

Logic

b)

IfElse

c)

Loops

d)

Comparators

17.

A ______________ is a variable inside of a function that can only be used inside the function.

a)

Global Variable

b)

Local Variable

c)

Variable

d)

Parameter

18.

A variable can be __________ inside of a program.

a)

Changed

b)

Retreved

c)

Changed and Retreved

d)

None above

19.

A variable can contain all of the following information....

a)

Text and Number

b)

Color and Boolean

c)

Text and Boolean

d)

Text, Number, Boolean, Color

20.

A function, also known as a subprogram, helps coders to ....

a)

Organize their code

b)

Easily reuse sections of code

c)

Organize their code and easily reuse sections of code

d)

None are true