
JavaScript Functions and Parameters
Authored by Hodan Roble
Computers
9th - 12th Grade
Used 130+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A string;
Expresses a true false statement
can contain letters, numbers, spaces, and symbols.
takes in an input, does something with it, and then returns an output.
Runs a boolean (true/false) statement based on data entered
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What surrounds a string?
Quotations
Curly Brackets
Parenthesis
Square Brackets
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we write functions?
Make our code easier to understand
Avoid writing repeated code
Make our code reusable
All of these
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Is JavaScript exactly the same as Java?
No
Yes
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add a rectangle named rect to the screen, which command do you need to give?
add(rect);
new(rect);
put(rect);
rect();
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
JavaScript must adhere to specific rules of grammar called_________.
syntax
binary code
compiler
operator
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The conditional statement, in Javascript, begins with the word _______.
Then
Else
If
OK
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?