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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 22:40, ihatemylife0
Least square fit to polynomial write a function leastsquarefit3pol that solves a linear system of equations to find a least squares fit of a third order polynomial to an experimental data set given as two row arrays. the function leastsquarefit3pol must explicitly solve a set of linear equations and cannot use polyfit. there should be no restriction on the size of the problem that can be solved.
Answers: 1
image
Computers and Technology, 23.06.2019 01:30, solikhalifeoy3j1r
In deadlock avoidance using banker’s algorithm, what would be the consequence(s) of: (i) a process declaring its maximum need as maximum possible for each resource. in other words, if a resource a has 5 instances, then each process declares its maximum need as 5. (ii) a process declaring its minimum needs as maximum needs. for example, a process may need 2-5 instances of resource a. but it declares its maximum need as 2.
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, rose6038
Select the correct answer. peter has launched a website that features baby products. however, clients often find they are unable to access the website because the server is down. which feature of cybersecurity should peter focus on for his website? a. data authenticity b. data privacy c. data availability d. data integrity e. data encryption
Answers: 3
image
Computers and Technology, 24.06.2019 22:00, dixks
According to your study unit, what is the main reason that improved human relations skills may improve your grades?
Answers: 1
You know the right answer?
1. this decision control structure enables the program to execute a statement or block of codes if a...

Questions in other subjects:

Konu
Mathematics, 09.03.2021 01:00