Which of the following is NOT true about functions in programming? Functions are reusable programming abstractions., Functions help reduce the complexity of writing and maintaining programs., Functions cannot make calls to other functions within the same program., Functions help break a problem into logical chunks., Once defined, a function can be called many times from different parts of a program.
AP Computer Science Principles Unit 3

Flashcard
•
Computers
•
10th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

11 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
Functions cannot make calls to other functions within the same program.
2.
FLASHCARD QUESTION
Front
What is one important naming convention of functions?
Back
A function name should be as descriptive as possible to indicate what the function does.
3.
FLASHCARD QUESTION
Front
Which one of the following statements about functions is TRUE:
A function can change names over the course of a program.
Code can be added or removed dynamically from a function while the program is running.
Functions can be called using different names depending on where in the program they are called.
Two functions can be given identical names as long as their code is identical.
Two functions in a single program can have different names but contain identical code.
Back
Two functions in a single program can have different names but contain identical code.
4.
FLASHCARD QUESTION
Front
Which of the following will call the function drawStar? Options: drawStar; drawStar(); function drawStar (){ for (var i=0; i<5; i++){ moveForward(100); turnLeft(36); } } function drawStar; function drawStar();
Back
drawStar();
5.
FLASHCARD QUESTION
Front
For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing out the letters of a word "HELLO"
Back
Function(s)
6.
FLASHCARD QUESTION
Front
For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing 100 tiny dots in a line
Back
Loop
7.
FLASHCARD QUESTION
Front
For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions) to handle the task: Drawing a circle of any size at any point on the screen
Back
Function(s)
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
Unit 4 Assessment Day

Flashcard
•
9th - 12th Grade
10 questions
Programming Overview

Flashcard
•
8th - 12th Grade
12 questions
Inverse Functions

Flashcard
•
9th - 12th Grade
10 questions
Unit3L10and11The Draw Loop and Movement

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

Flashcard
•
9th - 12th Grade
13 questions
Identify Inverse from a Graph

Flashcard
•
9th - 12th Grade
9 questions
Intro to Python Unit 6 Vocabulary Flashcards

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

Flashcard
•
9th - 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