
python Intro
Quiz
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Yara Rabea
Used 1+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the input() function do in Python?
It prints output to the screen.
It takes input from the user.
It stores data in a file.
It checks whether the user input is valid.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code do?
name = input("Enter your name: ")
print("Hello, " + name)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct syntax for taking an input from the user?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the type of value returned by the input() function?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print?
age = input("Enter your age: ")
print("You are " , age , " years old.")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will correctly display the string "Python is fun!"?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you ask the user to enter a number and store it in a variable called num?
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
12 questions
Adventure game project
Quiz
•
7th - 8th Grade
10 questions
What is a program slides(6:16)
Quiz
•
8th - 12th Grade
10 questions
Pre-Test: Search Engine
Quiz
•
7th Grade
10 questions
Pioneers of Computer
Quiz
•
7th - 8th Grade
10 questions
Learning Task #1 & #2
Quiz
•
5th - 6th Grade
10 questions
Quiz Komponen Komputer
Quiz
•
1st Grade - University
10 questions
Scratch
Quiz
•
8th Grade
10 questions
Scratch
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
