Python Console Basics 1.1

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Michele Templeton Freeman
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, print refers to:
the function used to display the output to the console
the function for performing mathematical calculations
the keyword used to define a new variable
the method for reading user input
Answer explanation
In Python, the print function is used to display output to the console.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the line of Python code will display the words Hello World!
print_Hello_World!
print"Hello World!"
print('Hello World!')
print(Hello World!)
Answer explanation
The correct choice is print('Hello World!') because it uses the correct syntax to display the words 'Hello World!'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function is:
A mathematical equation
A block of code that performs a specific task
A type of variable
A conditional statement
Answer explanation
A function is a block of code that performs a specific task.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The syntax for calling a function is
function_name( )
function_name("")
function name:
function name( )
Answer explanation
The correct syntax for calling a function is function_name( ).
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write a single line of code to display 20
Answer explanation
The correct choice is 0 because the code 'print("20")' will display the string '20'.
Similar Resources on Wayground
10 questions
DESENVOLVIMENTO DE SISTEMAS REC - 3ºTRIMESTRE

Quiz
•
11th Grade
10 questions
Java Strings

Quiz
•
1st Grade - Professio...
10 questions
Python Programming

Quiz
•
7th - 9th Grade
8 questions
Understanding Python Variables and Data Types

Quiz
•
9th Grade
10 questions
Quiz Week 6

Quiz
•
10th Grade
10 questions
Python

Quiz
•
1st - 10th Grade
10 questions
แบบทดสอบก่อน-หลังเรียน

Quiz
•
9th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade