
Intro to Programming - Functions

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a JavaScript function?
Back
A block of code that performs a specific task
2.
FLASHCARD QUESTION
Front
What is the purpose of parameters in a JavaScript function?
Back
To provide input values for the function
3.
FLASHCARD QUESTION
Front
Using functions allows coders to...
Back
fix mistakes more easily, spend less time coding, better organize their code.
4.
FLASHCARD QUESTION
Front
What does “calling” a function mean?
Back
Using your function in your code by writing its name and defining the values of the parameters
5.
FLASHCARD QUESTION
Front
After creating a new function in your code what do you have to do to see the function run?
Back
Call the function in your code
6.
FLASHCARD QUESTION
Front
Which of the following is true regarding naming functions? Options: Function names can be reused multiple times, A function name should be as descriptive as possible to indicate what the function does., Function names should be organized alphabetically, The function name should begin with a number that indicates the order in which it should be executed.
Back
A function name should be as descriptive as possible to indicate what the function does.
7.
FLASHCARD QUESTION
Front
Why are parameters useful when programming?
Back
Parameters allow for more flexible, generalized behaviors in functions.
8.
FLASHCARD QUESTION
Front
What is a good name for the function? Options: score, totalPoints, backgroundChanges, angryBackground
Back
backgroundChanges
9.
FLASHCARD QUESTION
Front
The values that are passed on to the function when it is called.
Back
Argument
Similar Resources on Wayground
10 questions
AP CSP Semester Exam

Flashcard
•
9th - 12th Grade
7 questions
Intro to Python Project Stem Unit 7 Flashcards

Flashcard
•
9th - 12th Grade
8 questions
U2L3 #6 [Functions - Default Parameters]

Flashcard
•
University
15 questions
Binomial Distribution (Calculating)

Flashcard
•
10th - 12th Grade
13 questions
AP CS A - Unit 4 Assessment

Flashcard
•
KG
7 questions
IST Practice JS

Flashcard
•
9th - 12th Grade
13 questions
Functions and Parameters

Flashcard
•
9th - 12th Grade
10 questions
AP CSP Semester Exam Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade