Question: Javascript Chapter 2 1. JavaScript provides a thing called a binding...this is also known as a ___ ? a. A variable b. A test c.

Javascript Chapter 2
1. JavaScript provides a thing called a binding...this is also known as a ___ ?
a. A variable
b. A test
c. A constant
d. A mess
2. The console.log function is used to create a log file of everything the code is doing.
a. true
b. false
3. When a function produces a value it is said to return that value.
a. true
b. false
4. When the code statements are executed as if they are a story, from top to bottom , this is called ?
a. Flow control
b. Code order
c. Moving thru code
d. Dunno
5. The if statement is an example of what programming concept?
a. Maybe loop
b. Possible execution
c. I have no idea
d. Conditional execution
6. When using an if statement, the programmer can use a separate key word to specify what to do if the condition is false....what is that other part called?
7. If you have more than two paths to choose from, you can chain multiple if/else pairs together.
a. true
b. false
8. A ___ loop is a pre-test loop, meaning the condition is tested before the loop is entered.
9. A ___loop is a post-test loop, meaning the loop is tested at the bottom of the loop.
10.A ___loop works well when there is a finite number of iterations that the loop performs.
11. It is required to provide very specific indents when writing your code.
a. true
b. false
12. You can exit a loop at any time by executing a break statement
a. true
b. false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!