Home / Practice / Class 10 / Computer Science / Programming basics
Programming basics
6 Class 10 Computer Science questions with answers and explanations.
Printable worksheet with answer key
All questions with answers
-
A step by step set of instructions to solve a problem is an:
- 1 Network
- 2 Output
- 3 Algorithm
- 4 Browser
Show answer
Correct answer: Algorithm
An algorithm lists steps in order.
Report a mistake
-
In a flowchart, a diamond shape represents a:
- 1 Input
- 2 Process
- 3 Decision
- 4 Start
Show answer
Correct answer: Decision
A diamond shows a yes or no decision.
Report a mistake
-
Which of these is a loop structure?
Show answer
Correct answer: for
A for loop repeats a block.
Report a mistake
-
An error in the logic or syntax of a program is called a:
- 1 Bit
- 2 Byte
- 3 Bug
- 4 Browser
Show answer
Correct answer: Bug
Errors in code are called bugs.
Report a mistake
-
A variable is a:
- 1 Output device
- 2 Named storage location
- 3 Type of cable
- 4 Menu
Show answer
Correct answer: Named storage location
A variable holds a value in memory.
Report a mistake
-
In Python, the output of print(2 + 3) is:
Show answer
Correct answer: 5
The expression is evaluated first, giving 5.
Report a mistake
More Computer Science topics