Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.The body of a do/while loop is always executed at least once. True or False? 2.Which of the following statements adds the value oak as

1.The body of a do/while loop is always executed at least once.

True or False?

2.Which of the following statements adds the value "oak" as the third element of the trees array?

trees[3] = "oak"

trees += "","","oak";

trees[2] + "oak"

trees += "oak"

3.The following will evaluate display false. var a = 1; var b = "1"; console.log(a === b);

True or False?

4.What is the value of a after executing the following code snippet? var a = 1; a += 1;

1

undefined

2

0

5.Which of the following properties returns the number of elements in an array?

length

elements

size

indexes

6.We track the progress of a loop with a(n) ___________________.

decrement

counter

increment

iteration

7.The ______________ statement halts a looping statement and restarts the loop with a new iteration.

break

halt

restart

continue

8.What is the correct syntax for creating an empty array named taxRules?

var taxRules;

var taxRules[5];

var taxRules= {};

var taxRules= [];

9.Operators at the same level of precedence associate(evaluate) from right to left.

True or False?

10.The following code will display true. var a = 1; var b = 2; console.log(a === b);

True or False?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

What is paper chromatography?

Answered: 1 week ago

Question

Explain the cost of capital.

Answered: 1 week ago

Question

Define capital structure.

Answered: 1 week ago