
Understanding Basic Programming Concepts
Authored by John Miller
Information Technology (IT)
7th Grade
DOK Level 2: Skill/Concept covered

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term for a sequence of instructions that a computer can execute?
Algorithm
Variable
Function
Loop
Tags
DOK Level 1: Recall
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a data type used to represent true or false values?
Integer
Boolean
String
Float
Tags
DOK Level 1: Recall
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a loop in programming?
To store data
To repeat a block of code
To define a function
To declare a variable
Tags
DOK Level 1: Recall
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the correct syntax to declare a variable in Python.
`int x = 10;`
`x := 10`
`x = 10`
`var x = 10;`
Tags
DOK Level 2: Skill/Concept
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of a conditional statement?
`for`
`if`
`while`
`def`
Tags
DOK Level 1: Recall
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet? ```python x = 5 y = 10 print(x + y) ```
15
510
5
10
Tags
DOK Level 2: Skill/Concept
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain why functions are used in programming.
To increase code redundancy
To organize code into reusable blocks
To slow down program execution
To make code less readable
Tags
DOK Level 2: Skill/Concept
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?