PYTHON BASICS FREQUENTLY TESTED ACTUAL EXAM
QUESTIONS WITH CORRECT ANSWERS
Question 1.
Algorithm
ANSWER
A set of precise step by step instructions to achieving a specific outcome.
Question 2.
Debug
ANSWER
To find and fix errors in code.
Question 3.
Sequence
ANSWER
A set of actions or events that must be carried out in the same order every time.
Question 4.
Selection
ANSWER
A decision or choice. It is the place where an algorithm or program branches in different
directions.
Question 5.
Iteration
ANSWER
Loop or repetition. Sections of code or algorithmic instructions that are repeated.
1/6
, Question 6.
Python
ANSWER
A coding language that you are using to create programs.
Question 7.
=
ANSWER
Assigning variables
Question 8.
Variable
ANSWER
Data that is store in a named location. These can change or be changed.
Question 9.
Input
ANSWER
Data entered INTO a program or computer system.
Question 10.
Output
ANSWER
Information coming OUT of program. Often this is achieved using print command.
Question 11.
Import
ANSWER
Accesses modules of code from the python library
2/6
QUESTIONS WITH CORRECT ANSWERS
Question 1.
Algorithm
ANSWER
A set of precise step by step instructions to achieving a specific outcome.
Question 2.
Debug
ANSWER
To find and fix errors in code.
Question 3.
Sequence
ANSWER
A set of actions or events that must be carried out in the same order every time.
Question 4.
Selection
ANSWER
A decision or choice. It is the place where an algorithm or program branches in different
directions.
Question 5.
Iteration
ANSWER
Loop or repetition. Sections of code or algorithmic instructions that are repeated.
1/6
, Question 6.
Python
ANSWER
A coding language that you are using to create programs.
Question 7.
=
ANSWER
Assigning variables
Question 8.
Variable
ANSWER
Data that is store in a named location. These can change or be changed.
Question 9.
Input
ANSWER
Data entered INTO a program or computer system.
Question 10.
Output
ANSWER
Information coming OUT of program. Often this is achieved using print command.
Question 11.
Import
ANSWER
Accesses modules of code from the python library
2/6