wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Coding 1 Diagnostic

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

What is an algorithm in programming?

a)

a) The final output of a program.

b)

b) A step-by-step set of instructions for solving a problem.

c)

c) A specific type of data.

2.

In programming, what does the term code refer to?

a)

a) The rules of a programming language.

b)

b) A collection of data types.

c)

c) The written set of instructions given to a computer.

3.

What is a program in the context of coding?

a)

a) A collection of code used for testing.

b)

b) A software application.

c)

c) A collection of code that can be executed to perform a task or solve a problem.

4.

What does syntax mean in programming?

a)

a) The layout of code in a text editor.

b)

b) The rules that govern the structure and format of code.

c)

c) A specific type of data.

5.

In coding, what is a variable?

a)

a) A symbolic name used to store data or values.

b)

b) A control structure for making decisions in code.

c)

c) A type of loop.

6.

Which term describes the data type of a variable?

a)

a) The process of identifying and fixing errors in code.

b)

b) A classification specifying what data the variable can hold.

c)

c) A collection of code.

7.

What is a conditional statement in programming?

a)

a) A specific type of loop.

b)

b) A programming construct that allows you to make decisions in your code.

c)

c) A collection of code.

8.

Which control structure allows a set of instructions to be repeated multiple times?

a)

a) Function

b)

b) Loop

c)

c) Algorithm

9.

What is a function in coding?

a)

a) A type of data.

b)

b) A reusable block of code that performs a specific task.

c)

c) A control structure for making decisions in code.

10.

What does debugging involve in programming?

a)

a) Creating a variable.

b)

b) Identifying and fixing errors in code.

c)

c) Writing conditional statements.

11.

What is the purpose of variable assignment in programming?

a)

a) Creating a variable.

b)

b) Repeating a set of instructions.

c)

c) Giving a variable a specific value.

12.

What is a comment in coding?

a)

a) A classification specifying what data the variable can hold.

b)

b) An explanatory note or description within code that is not executed.

c)

c) A specific type of loop.

13.

What is algorithmic thinking in programming?

a)

a) The process of identifying and fixing errors in code.

b)

b) The ability to break down a problem into smaller steps and create an algorithm to solve it.

c)

c) The layout of code in a text editor.

14.

What is a Boolean in programming?

a)

a) A type of variable.

b)

b) A symbolic name used to store data.

c)

c) A data type that represents true or false values.

15.

What is iteration in coding?

a)

a) The process of identifying and fixing errors in code.

b)

b) The process of repeating a set of instructions in a loop.

c)

c) A control structure for making decisions in code.

16.

What are debugging tools in programming?

a)

a) A collection of code.

b)

b) Software or features that help programmers identify and fix errors in their code.

c)

c) A specific type of data.

17.

What does IDE stand for in programming?

a)

a) Integrated Debugging Environment

b)

b) Integrated Data Editor

c)

c) Integrated Development Environment

18.

What is UI in the context of software development?

a)

a) A type of data.

b)

b) The visual and interactive elements of a software application.

c)

c) A control structure for repeating code.

19.

What does UX refer to in software development?

a)

a) The rules that govern the structure and format of code.

b)

b) The overall quality of the user's interaction with a software application.

c)

c) A type of loop.

20.

What is algorithm complexity in programming?

a)

a) The layout of code in a text editor.

b)

b) The measure of how efficient or resource-intensive an algorithm is.

c)

c) The final output of a program.