
Intro to Programming - Functions
Flashcard
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
8 questions
Accounting Concepts
Flashcard
•
11th Grade
8 questions
MATHEMATICS 10 - Graph of Polynomial Functions PART 1
Flashcard
•
10th Grade
8 questions
Climate 2.2 Anthropogenic factors contributing to climate change
Flashcard
•
9th - 12th Grade
4 questions
Z Transform of a Signal
Flashcard
•
KG
3 questions
Basic Questions
Flashcard
•
KG
4 questions
sign
Flashcard
•
9th - 12th Grade
10 questions
Printing Press
Flashcard
•
9th - 12th Grade
12 questions
Trennbare Verben
Flashcard
•
KG
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade