Вы находитесь на странице: 1из 2

Subject : Design and Technolgy Name:

Grade: 7 Section:
Choose the correct answer

What is Python? What is this operator? + The user can type in a value
with
1. Algorithm 1. Addition
2. programming language 2. Subtract 1. input ()
3. decoder 3. Division 2. output ()
4. Complicated Calculator 4. Multiply 3. int(), str() float
4. numbers
What does the command print Which of the following is an
do? integer? -99 is a ....... data type

1. Develop 1. OL10 2AA 1. String


2. Scan 2. A1.B2.C3.D4.E5 2. Boolean
3. Display 3. 0778370460 3. Integer
4. Save 4. Awesome 4. Float

What does the command Input Which of the following is a myname="Hilary" - which is the
do? String? variable?

1. Allows you to input 1. OL10 2AA 1. myname


data 2. 01706 120001 2. name
2. Allows you to input a 3. 0778512005 3. Hilary
CD 4. 123987465 4. None
3. Allows you to save
What is this operator? / cost=15 - which is the value?
information
4. Its useless 1. Addition 1. cost
2. Subtract 2. =
How do you print 'hello' to the
3. Division 3. 15
screen?
4. Multiply 4. none
1. text.print("hello")
Which command forces a new Which one of these is float?
2. print("hello")
line:
3. print(hello) 1. 54
4. text.write("hello") 1. \\n 2. -7
2. /nextline 3. 5.4
Which is NOT a valid data type?
3. /n 4. none
1. Float 4. \n
2. String Identify this Operator !=
A FLOAT is
3. Integer
1. Equal to
4. Function 1. A decimal number 2. End Line
2. has a value of 'True' or 3. Not equal to
What does an integer store?
'False'
4. Does not mean
1. A Decimal number 3. A whole number
anything
2. A whole number 4. Made up of letters and
3. Text only numbers What is a constant?
4. Any combination of
An ___ statement comes at the 1. A value that can
characters
end.
change
Which of the following is NOT a
1. else 2. A value that doesn't
valid operator in Python?
2. or exist
1. != 3. if 3. A value that cannot
2. <= 4. why change.
3. =<
4. ==
Subject : Design and Technolgy Name:
Grade: 7 Section:

Вам также может понравиться