Intro to Python & Variables

Quiz
•
Computers
•
5th Grade
•
Hard
Diliara Khalikova
Used 4+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the print() function used for?
input data from the keyboard
output data on the screen
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are the items inside the print() function called?
text
symbol
parameter / argument
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output:
print("I'm", 'Just', 'Ken', "!")
I'mJustKen!
Im Just Ken !
ImJustKen!
I'm Just Ken !
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output:
print('Hello, it's me!')
Hello, it's me!
'Hello, it's me!'
Hello, it
there will be an error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code output:
print(NayPyiTaw, - , is, the, capital, of, Myanmar)
NayPyiTaw, - , is, the, capital, of, Myanmar
NayPyiTaw - is the capital of Myanmar
NayPyiTaw-is thecapitalofMyanmar
error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the input() function used for?
input data from the keyboard
output data on the screen
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
a = input()
b = input()
c = input()
print(a, b, c)
if the input will be the following stings:
Moscow
Tokio
Yangon
Moscow
Tokio
Yangon
a b c
MoscowTokioYangon
Moscow Tokio Yangon
abc
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
a = "Don't worry"
b = 'Be happy'
print('a')
print('b')
Don't worry
Be happy
'a'
'b'
Don't worry Be happy
a
b
Error
Answer explanation
Look at the quotes inside the print() function!
It will output text 'a' and 'b' not the variables a and b.
print('a')
print('b')
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output?
a = 'Leave me alone'
b = "I'm coding"
print(a)
print(b)
a
b
'Leave me alone'
"I'm coding"
Leave me alone
I'm coding
'a'
'b'
error
Similar Resources on Wayground
11 questions
How Computers Work - #5

Quiz
•
4th - 6th Grade
10 questions
CodeTigers Python 101

Quiz
•
KG - Professional Dev...
7 questions
Python Programming Quiz

Quiz
•
4th - 6th Grade
10 questions
Prueba Diagnóstica de ED. a través de tecnologías digitales

Quiz
•
1st Grade - University
10 questions
Media and Information Literacy

Quiz
•
1st Grade - University
10 questions
Perangkat Komputer

Quiz
•
1st - 12th Grade
10 questions
Quiz1_HPB2021_2010t1

Quiz
•
1st - 12th Grade
11 questions
Milestone SD5-6

Quiz
•
5th - 6th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade