CH4 - Python

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Klea h
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
Midterm prep 10 gr

Quiz
•
10th Grade - University
45 questions
HTML

Quiz
•
11th Grade
42 questions
Cybersecurity Sem 2

Quiz
•
9th Grade
41 questions
REMIDIAL AIJ XII TKJ

Quiz
•
12th Grade
50 questions
Newsom Nest PLTW CSE Midterm

Quiz
•
9th Grade
50 questions
IGCSE Quiz -- Focus on SQL, Programming, and Hardware

Quiz
•
10th Grade
50 questions
Strings in python - Test

Quiz
•
11th Grade
50 questions
Swift Y9 Summative Assessment Term 2

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade