Question
a.
while ( statement1 ) statement2
b.
while ( statement1 ) else statement2
c.
while ( statement1 ) do statement2
d.
while ( statement2 ) doelse statement2
Posted under R Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of the following R syntax is correct for while loop?
Similar Questions
Discover Related MCQs
Q. Which of the following R code generate a uniform random number?
View solution
Q. Point out the wrong statement?
View solution
Q. _______ is used to break the execution of a loop.
View solution
Q. Which of the following R code generate a sequence of integers from 1 to 10?
View solution
Q. Which of the following statement can be used to explicitly control looping?
View solution
Q. Which of the following should be preferred for evaluation from list of alternatives?
View solution
Q. Which of the following code skips the first 20 iterations?
View solution
Q. Point out the correct statement?
View solution
Q. _________ initiates an infinite loop right from the start.
View solution
Q. Which of the following R code snippet stops loop after 20 iterations?
View solution
Q. Point out the wrong statement?
View solution
Q. _______ is used to skip an iteration of a loop.
View solution
Q. Which of the following R code can be used to avoid numeric problems such as taking the logarithm of a negative number?
View solution
Q. R has ________ statements that provide explicit looping.
View solution
Q. The syntax of the repeat loop is _________
View solution
Q. Point out the correct statement?
View solution
Q. Point out the correct statement?
View solution
Q. Which of the following R code will print “Neither”?
View solution
Q. R has ________ basic indexing operators.
View solution
Q. The syntax of the for loop is?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond R Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!