Font size
WorksheetsPython as a Programming Language Y7
Total questions: 10
Worksheet time: 5mins
We can use the ___________ function to display a statement on the screen
printline
input
run
Write the function that can be used to display the statement "Good morning"
print(Good morning)
print("Good morning")
print("Good morning
Print "Good morning"
To write a computer program, we use a____________
programming language
software
hardware
application
A program is made up of set ____________that tells the computer what to do
programs
instructions
software
applications
Give me examples of programming language
Python
Microsoft word
Microsoft excel
Windows
Python is an example of a ____________
programming language
languages
programs
instructions
There are many programming languages that we can use. Some examples of programming languages are:
(Select more than one option)
Python
Microsoft word
Java
Operating system
What instruction do you type in the Python to output the phrase "Programming in Python"
print("Programming in Python")
print programming in python
"Programming in Python"
How can you use variables to multiply x=4 and y=5 in Python and display the result z?
x = 4
y = 5
z = x * y
print(z)
x = 4
y = 5
print(z)
x = 4
y = 5
z = x * y
Using the variables a = 8 and b = 2, assign the difference of a and b
to a new variable c. Then print the value of c
a= 8
b=2
c=a-b
print(c)
a= 8
b=2
print(c)
a= 8
b=2
c=a-b
