Math Patterns - JavaScript 1

Math Patterns - JavaScript 1

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

??? ( condition ) { } else { }

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

4 years ago

Date created

Mar 1, 2020

Cards (34)

Section 1

(34 cards)

??? ( condition ) { } else { }

Front

if

Back

var x = 1; x--; x equals?

Front

0

Back

var x = 2 * 3; x equals?

Front

6

Back

To access the first item in an array, provide the number, array[ ? ].

Front

0

Back

if ( ??? ) { } else { }

Front

condition

Back

var x = 4 % 2; x equals?

Front

0

Back

In loops, starting condition variables are accessible outside of the loop.

Front

false

Back

for (starting; ending; ???) {}

Front

increment

Back

To access the second item in an array, provide the number, array[ ? ].

Front

1

Back

var x = 4 / 2; x equals?

Front

2

Back

var x = "0"; type?

Front

string

Back

document.body. ???

Front

innerHTML

Back

Comments begins with which marks?

Front

//

Back

var x = (9 - 3) / (4 / 2); x equals?

Front

3

Back

if ( condition ) { } ??? { }

Front

else

Back

In loops, starting condition variables are only accessible inside of the loop.

Front

true

Back

??? x = 0;

Front

var

Back

In a conditional, to check if two conditions are true (logical and), you use?

Front

&&

Back

var x = 0; type?

Front

integer

Back

In programming, creating a compound word where the first word is lower case and the second and following words are upper case, like getName or setVariableValue, is called?

Front

camel case

Back

for (starting; ???; increment) {}

Front

ending

Back

var x = 1; x++; x equals?

Front

2

Back

var x = '1' + '2'; x equals?

Front

12

Back

for ( ???; ending; increment) {}

Front

starting

Back

Putting strings together, like 'First' + ' ' + 'Last';, is called?

Front

concatenation

Back

In a conditional, to check if either of two conditions are true (logical or), you use?

Front

||

Back

How do you include ' in a string, like '''?

Front

\'

Back

document. ??? .innerHTML

Front

body

Back

var x = 1 + 2; x equals?

Front

3

Back

In a conditional, to check if two numerical variables are equal, you use?

Front

==

Back

var list = new ???( 1, 2, 3, 4 );

Front

Array

Back

var x = 1 - 2; x equals?

Front

-1

Back

What is the name of the JavaScript library for handling mathematical functions?

Front

Math

Back

In a conditional, to check if two string variables are equal, you use?

Front

===

Back