
Python Basics
Authored by Josan Tamayo
Computers
University
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insert the missing part of the code below to output "Hello World".
____________("Hello World!")
x=
raw_input
input
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named carname and assign the value Volvo to it.
carname = "Volvo"
carname = Volvo
Volvo="carname"
Volvo=carname
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable named x and assign the value 50 to it.
x=50
x="50"
50=x
"50"=x
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Create a variable called z, assign x + y to it.
x = 5
y = 10
_______
z=x+y
sum=x+y
x+y=sum
x+y=z
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Command to input a text or string?
raw_input
raw-input
input
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines has error?
- fname="josan"
- mi="d"
- age=30
- print("you are " +age + " years old")
4
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following lines has error?
- x=15
- y=10
- difference=x-y
- print(diff)
4
1
2
3
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?
Similar Resources on Wayground
10 questions
ICT 1202-B-2021-Q1
Quiz
•
University
11 questions
Latex
Quiz
•
University
10 questions
Tree and Planar Graph
Quiz
•
University
10 questions
Quis 1 APSI
Quiz
•
University
10 questions
Quiz 1
Quiz
•
University
12 questions
Python Quiz 1.4
Quiz
•
University
10 questions
Perangkat komputer
Quiz
•
University
10 questions
Logika Fuzzy
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University