Python – Lessons 1+2 Review KS3
Quiz Summary
0 of 12 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 12 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Introduction to Python 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 12
1. Question
Type in the code that would display the message “Hello everyone” on the screen when the program is run and not wait for the user to enter something on the keyboard afterwards.
Remember to take care with your spelling and use of capital/lower case letters. The code needs to be exact!
CorrectIncorrect -
Question 2 of 12
2. Question
x = “Number”
y = 3
print(x, y)What will be the output?
CorrectIncorrect -
Question 3 of 12
3. Question
x = “Number”
y = 3
print(x + y)What would be the output?
CorrectIncorrect -
Question 4 of 12
4. Question
x = “Number”
y = “Three”
print(x + y)What would be the output?
CorrectIncorrect -
Question 5 of 12
5. Question
What is a variable?
CorrectIncorrect -
Question 6 of 12
6. Question
What is meant by the term ‘assignment’, when programming.
CorrectIncorrect -
Question 7 of 12
7. Question
Type in the space below the code that would ask the following message “Enter your age”, wait for a user to input their age and store the inputted age in a variable called age.
Remember to take care with your spelling and use of capital/lower case letters. The code needs to be exact!
CorrectIncorrect -
Question 8 of 12
8. Question
In the following code, what is the name of the variable?
name = input(“What is your name? “)
CorrectIncorrect -
Question 9 of 12
9. Question
Which of the following pieces of python code will allow you to display a message on the screen, without immediately waiting for the user to type in an input?
CorrectIncorrect -
Question 10 of 12
10. Question
Which of the following pieces of python code will allow you to display a message on the screen and will immediately pause the program too, waiting for the user to type in some data?
CorrectIncorrect -
Question 11 of 12
11. Question
What would be displayed on the screen if the following code was run?
print(“Hi there!”)
CorrectIncorrect -
Question 12 of 12
12. Question
What would be displayed on the screen if the following code was run?
print(10)
CorrectIncorrect