Upgrade to remove ads
Terms in this set (29)
If you want to execute one set of statements when a condition evaluates to a truthy value and another set of statements when the condition evaluates to a falsy value, you need the ____ statement.
Each piece of data contained in an array is called a(n) ____.
Each repetition of a looping statement is called a(n) ____.
A single statement that declares a variable and specifies array values as its content is called an array ____.
Unlike the while statement, the statements in a ____ statement always execute once, before a conditional expression is evaluated.
The ____ statement is used to execute specific programming code if the evaluation of a conditional expression returns a truthy value.
A ____ statement is a a control flow statement that repeatedly executes a statement or a series of statements while the value of a specific condition is truthy or until the value of a specific condition becomes truthy.
A(n) ____ statement is used to end the execution of a switch statement.
Contains a set of data represented by a single variable name
A single statement that declares a variable and specifies array values as its content
An element's numeric position within an array
Returns the number of elements in an array
The most common type of decision-making statement
A set of statements contained within a set of braces
Compares the value of an expression to a value contained within a special statement called a case label
A variable that is incremented or decremented with each iteration of a loop statement
The ____ label contains statements that execute when the value returned by the switch statement expression does not match a case label.
A(n) ____ label in a switch statement represents a specific value and is followed by one or more statements that are executed if the value of the label matches the value of the switch statement's expression.
You use a(n) ____ when you want to store a group or a list of related information in a single, easily managed location.
d. conditional statement
A case label consists of the keyword case, followed by a literal value or variable name, followed by a ____.
One of the simplest types of loop statements is the ____ statement, which repeats a statement or series of statements as long as a given conditional expression evaluates to a truthy value.
The ____ statement is used to repeat a statement or series of statements as long as a given conditional expression evaluates to a truthy value.
Which method returns a collection of references to all instances of a certain element in an HTML document?
The ____ statement controls program flow by executing a specific set of statements, depending on the value of an expression.
Which of the following references the second element in the newsSections array?
The conditional expression in the while statement is enclosed within ____ following the keyword while.
A set of statements contained within a set of braces is known as a(n) ____ block.
A ____ statement restarts a loop with a new iteration.
THIS SET IS OFTEN IN FOLDERS WITH...
Quiz Ch 1
Quiz Ch. 4
OTHER SETS BY THIS CREATOR
Quiz Ch. 15
Quiz Ch. 10
Ch. 14 Quiz
Quiz Ch. 12
OTHER QUIZLET SETS
Vascular Quiz 2
Intro To Mass Media First Semester Exam 2020
1ere - Enseignement scientifique - La répartition…