subject

1. this decision control structure enables the program to execute a statement or block of codes if and only if the boolean expression is true
select one:
a. both if-then and switch
b. switch
c. if-then
d. neither if-then and switch
2. the following are the branching statements in java except:
select one:
a. finalize
b. continue
c. return
d. break
3. the if statement enables a program to selectively execute other statements, based on some criteria. these criteria must be
select one:
a. java identifiers
b. integer data type
c. boolean expression
d. string data type
4. the do-while is the other name for while loop.
select one:
true
false
5. using if-statement without curly braces makes the code shorter, easy to read and less prone to errors.
select one:
true
false
6. the else keyword of the if-else statement, is similar to the keyword of the switch-case statement.
select one:
a. break
b. default
c. goto
d. continue
7. the statement causes the program flow to exit from the body of the switch construct.
select one:
a. goto
b. continue
c. break
d. default
8. these are programming blocks that are used to redirect the flow of your program.
select one:
a. expressions
b. decision structure
c. conditions
d. control structures
9. the return keyword is used to return a value based on the return type of the method.
select one:
true
false
10. the loop executes a given statement or block of statements repeatedly as long as the value of the expression is true.
select one:
a. for
b. do-while
c. while
d. all of the choices

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
Which cultural aspect does this type of song best portray? a german polka dance
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 22.06.2019 23:20
How can you tell if someone sent you a text message to your email instead of a email
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
How to do this programming flowchart?
Answers: 3
You know the right answer?
1. this decision control structure enables the program to execute a statement or block of codes if a...
Questions
Questions on the website: 13722367