Which of the following keywords marks the begining of the function block in Python?

Subroutines: Python Basics

Quiz
•
Computers
•
12th Grade
•
Medium
Andrew Duckworth
Used 127+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Func
define
def
function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What term is used to describe data passed into/out of a program?
Variable
Loop
Constant
Parameter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leo wants to create a subroutine that will roll a dice. Which syntax is correct?
def dice roll ():
def diceroll ()
def diceroll ():
def diceroll []:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the output be from the program shown here? (assuming that the user enters "John" and "Smith"
John
Smith
John Smith
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would the output be from this program?
Error
Hello
Hello, World
World
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program if the user enters "Han" and then "Solo"?
An error
Nothing
first surname
Han Solo
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of these are types of subroutines?
for loop
function
procedure
while loop
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Technical Quiz R2

Quiz
•
12th Grade
10 questions
Functions In Python

Quiz
•
12th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
12 questions
Python Functions 2

Quiz
•
11th - 12th Grade
14 questions
p5.js Week1 PREtest

Quiz
•
7th - 12th Grade
10 questions
Python Review - Functions

Quiz
•
9th - 12th Grade
11 questions
Python Function

Quiz
•
11th - 12th Grade
20 questions
TN +2 -LESSON1 FUNCTIONS

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University