NEW
Font size
WorksheetsBasic Programming Concepts
Total questions: 10
Worksheet time: 5mins
Q1. You can plan an algorithm using step by step instructions and _________________ .
diagrams
pseudocode
programming languages
flowcharts
Q2. Which variable data type would you use to store the value ‘Sultan?
integer
boolean
string
float
Q3. Which programming construct is used to repeat programming instructions?
Loop
Function
Variable
Condition
Q4. A _______________ is a small section of a program that performs a specific task and outputs a result.
function
loop
array
variable
Q5. Repetition allows you to make programs simpler and more efficient.
Repetition is not useful in programming.
Repetition is only for advanced programmers.
True
Repetition makes programs more complex and slower.
Q6. What is the main purpose of a variable in programming?
To store and manage data values in a program.
To display output to the user.
To execute functions in a program.
To define the structure of a program.
Q7. Which of the following is a common programming language?
Python
CSS
HTML
JavaScript
Q8. What does 'debugging' refer to in programming?
The method of optimizing a program's performance.
The process of compiling code into machine language.
The act of writing code without errors.
The process of identifying and fixing bugs in a program.
Q9. In programming, what does 'syntax' mean?
The method of debugging code errors.
The set of rules governing the structure of code in a programming language.
The style of writing comments in code.
The process of compiling code into machine language.
Q10. What is an array used for in programming?
To store multiple values in a single variable.
To perform mathematical calculations only.
To create a single value variable.
To define functions in programming.
