
Python-M6-Term2-Q1-Finals

Quiz
•
Business
•
12th Grade
•
Hard
Mr. P.Imperio
Used 10+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if the user enters "Jan" and then "Lisa"?
def myname(first, surname):
name = first + " " + surname
return name
first = input("Enter your name")
surname = input("Enter your surname")
name = myname(first, surname)
print(name)
An error
Nothing
First surname
Jan Lisa
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if the user enters "apple" and then "banana"?
def fruitname(first, second):
name = first + " and " + second
return name
first = input("Enter your first fruit")
second = input("Enter your second fruit")
name = fruitname(first, second)
print(name)
An error
Nothing
First and second
apple and banana
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if the user enters "red" and then "blue"?
def colorname(first, second):
name = first + " and " + second
return name
first = input("Enter your first color")
second = input("Enter your second color")
name = colorname(first, second)
print(name)
An error
Nothing
First and second
red and blue
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if the user enters "dog" and then "cat"?
def animalname(first, second):
name = first + " and " + second
return name
first = input("Enter your first animal")
second = input("Enter your second animal")
name = animalname(first, second)
print(name)
An error
Nothing
First and second
dog and cat
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program be when it is run?
def helloworld ():
print (“ Hello, world”)
nothing
Hello,World
It will generate an error
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the following output be from this program?
def printmessage ():
message = message + “ , World”
print(message)
message = “ Hello”
printmessage()
Error
Hello, World
Hello
World
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Actual values that the parameters take when the sub program is called.
parameters
subroutine
define
arguments
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Digital Advertising and Content Marketing Unit Review

Quiz
•
9th - 12th Grade
25 questions
Vocabulary Set 3

Quiz
•
9th - 12th Grade
35 questions
HTML और CSS प्रश्नोत्तरी

Quiz
•
12th Grade
30 questions
Intro to Business - Outcome 1

Quiz
•
9th - 12th Grade
30 questions
MS Excel - Concepts Review 1

Quiz
•
9th - 12th Grade
35 questions
Unit 1 Investing Review

Quiz
•
9th - 12th Grade
30 questions
Marketing Essentials Chapter 19 Vocabulary Preview

Quiz
•
12th Grade
30 questions
Long Quiz in POM

Quiz
•
12th 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