adplus-dvertising
frame-decoration

Question

Point out the correct statement?

a.

Blocks are evaluated until a new line is entered after the closing brace

b.

Single statements are evaluated when a new line is typed at the start of the syntactically complete statement

c.

The if/else statement conditionally evaluates two statements

d.

Break will execute a loop while a condition is true

Posted under R Programming

Answer: (c).The if/else statement conditionally evaluates two statements

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the correct statement?

Similar Questions

Discover Related MCQs

Q. Which of the following R syntax is correct for while loop?

Q. Which of the following R code generate a uniform random number?

Q. Point out the wrong statement?

Q. _______ is used to break the execution of a loop.

Q. Which of the following R code generate a sequence of integers from 1 to 10?

Q. Which of the following statement can be used to explicitly control looping?

Q. Which of the following should be preferred for evaluation from list of alternatives?

Q. Which of the following code skips the first 20 iterations?

Q. Point out the correct statement?

Q. _________ initiates an infinite loop right from the start.

Q. Which of the following R code snippet stops loop after 20 iterations?

Q. Point out the wrong statement?

Q. _______ is used to skip an iteration of a loop.

Q. Which of the following R code can be used to avoid numeric problems such as taking the logarithm of a negative number?

Q. R has ________ statements that provide explicit looping.

Q. The syntax of the repeat loop is _________

Q. Point out the correct statement?

Q. Point out the correct statement?

Q. Which of the following R code will print “Neither”?

Q. R has ________ basic indexing operators.