Python Lesson 39 Functions and Outputs

Quiz
•
Computers
•
8th Grade
•
Hard
Brian Curran
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the function charlie() print when called?
Charlie is so fun and smart!
Charlie
Nothing
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the function start_game() if the user inputs "yes"?
Initialization Complete
Initialization Failed
No output
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the function start_game() if the user inputs "no"?
Initialization Complete
Initialization Failed
No output
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function farmer() print when called?
45
5
9
14
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the function numBot() output if the user inputs the number 3?
HelloHelloHello
Hello 3
HelloHelloHelloHelloHelloHelloHelloHelloHello
Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the function hungryForApples() if the user inputs 'apple'?
appleappleapple
apple
apple apple apple
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the function surface_area() in the provided code?
25
30
5
125
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
3. Variables and Operators

Quiz
•
8th Grade
13 questions
Program Development - Python: Errors

Quiz
•
8th - 10th Grade
10 questions
HTML introduction

Quiz
•
8th - 9th Grade
10 questions
Class 8 HTML Introduction

Quiz
•
7th - 8th Grade
10 questions
Q&A – Repetition & Indefinite Loops (Primary 4 – 4CT.01)

Quiz
•
4th Grade - University
8 questions
Intro to coding

Quiz
•
8th Grade
10 questions
Q&A – Repetition Makes Algorithms Concise (Primary 4 – 4CT.03)

Quiz
•
4th Grade - University
13 questions
JavaScript Variables

Quiz
•
3rd Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th 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
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade