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, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
What is one reason why indoor air pollution has become an increasing problem.
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
You know the right answer?
1. this decision control structure enables the program to execute a statement or block of codes if a...
Questions
question
History, 23.10.2019 12:50
question
Mathematics, 23.10.2019 12:50
question
Chemistry, 23.10.2019 12:50
Questions on the website: 13722362