MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

MACHINE LEARNING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
if-then statement
A
repeat a set of statements, never stopping until you click on the red stop
B
used to let one part of the code or project communicate with another part
C
decides whether certain statements need to be executed or not
D
continuous statement
Explanation: 

Detailed explanation-1: -if statement is the most simple decision-making statement. It is used to decide whether a certain statement or block of statements will be executed or not i.e if a certain condition is true then a block of statement is executed otherwise not.

Detailed explanation-2: -It is also called as branching as a program decides which statement to execute based on the result of the evaluated condition.

Detailed explanation-3: -Conditional Statements. A conditional statement (also called an If-Then Statement) is a statement with a hypothesis followed by a conclusion. Another way to define a conditional statement is to say, “If this happens, then that will happen.” The hypothesis is the first, or “if, ” part of a conditional statement.

Detailed explanation-4: -conditional statement: A statement that uses a condition to determine which statements to execute.

Detailed explanation-5: -“If” statements: where if a condition is true it is used to specify execution for a block of code. “Else” statements: where if the same condition is false it specifies the execution for a block of code.

There is 1 question to complete.