
AP CS P CodeHS Unit 5

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Shannon Walsh
Used 80+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
________ allow us to break our programs into smaller parts
decisions
functions
methods
loops
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which is the correct header of a function names double_number that takes one parameter
def double number (x)
def double_number(x)
def double_number(x):
def double_number(int x):
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Everything in a function is indented by _____
One Level
Two Levels
Three Levels
In Curly Brackets ({})
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To call a previous written function, you use the
function return type
function name without the ()
function name with () and included parameters
function name with ()
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The tasks included in a function definition are referred to as the function _______.
method
body
statements
parameters
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The variables written inside the () of a functions definition are the _____
return types
arguements
variables
parameters
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
When functions have multiple parameters, the variables are separated with
commas
colons
simi-colons
periods
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
21 questions
Python Programming Quiz

Quiz
•
12th Grade
30 questions
HTML and JavaScript

Quiz
•
12th Grade
30 questions
AP CSP Programming Basics

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

Quiz
•
9th - 12th Grade
26 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Quiz
•
9th - 12th Grade
21 questions
P5.js Exam 1

Quiz
•
9th - 12th Grade
24 questions
AGAD: UNIT 4_C# & UNITY

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade