
CH4 - Python
Authored by Klea h
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Boolean operator that means "not equal to" is
XX
!=
<>
_
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is correct?
if num1=10:
if num1==10:
if num1==10;
if num="10";
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When writing an if/else statement, you
always indent the line after the condition
never indent the line after the condition
capitalize every word
put a colon at the beginning and the end
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is correct?
if num1==42:
print("You have discovered the meaning of life!")
if num1==42...
print("You have discovered the meaning of life!")
if num1==42:
print "You have discovered the meaning of life!"
if num1==42:
print( You have discovered the meaning of life!)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, repetition is another word for a:
loop
variable
function
command
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
a type of graphics
A box(memory location) where you store values
Data type
a type of memory
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
name = "Dariya"
print (name)
(name)
Dariya
name
Nothing
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?