Podcast
Questions and Answers
The sting method changes every occurrence of a given character and returns a new string
The sting method changes every occurrence of a given character and returns a new string
- substring
- replace (correct)
- trim
- chartAt()
These are control statements placed in another control statement used to control the flow of more complicated programs
These are control statements placed in another control statement used to control the flow of more complicated programs
- if else
- combined control structures
- for loop and if statements
- Nested control structures (correct)
this structure of statements in a program execute a series of statements in order
this structure of statements in a program execute a series of statements in order
- control structure
- sequential structure (correct)
- program statement
- program execution
which is the correct form of doa? while loop?
which is the correct form of doa? while loop?
which control structure executes a particular series of statements depending on a given condition?
which control structure executes a particular series of statements depending on a given condition?
These are statements grouped together in curly braces
These are statements grouped together in curly braces
This string method returns the index of the first occurrence of the specified string within a string
This string method returns the index of the first occurrence of the specified string within a string
This repetition structure repeats the execution of a series of statements in a definite number of times
This repetition structure repeats the execution of a series of statements in a definite number of times
This is form by a set of characters and written in code enclosed in quotation marks
This is form by a set of characters and written in code enclosed in quotation marks
This refers to how a computer evaluates a logical expression from left to right then stops when the value of the condition is determined
This refers to how a computer evaluates a logical expression from left to right then stops when the value of the condition is determined
This method removes all the first and last white spaces in a string
This method removes all the first and last white spaces in a string
which repetition of structure executes the loop body first before evaluating the expression
which repetition of structure executes the loop body first before evaluating the expression
which string method returns the character in a string based on the specified index
which string method returns the character in a string based on the specified index
which statement is used to skip the remainder of the loop body and reevaluate the loop condition?
which statement is used to skip the remainder of the loop body and reevaluate the loop condition?
Which is the correct form of an if statement?
Which is the correct form of an if statement?