COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

INPUTOUTPUT DEVICES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A command that performs different actions depending on whether a condition is true or false.
A
Unconditional statements
B
True statements
C
Conditional statements
D
Condition your hair
Explanation: 

Detailed explanation-1: -The if statement is also known as a decision making statement, as it makes a decision on the basis of a given condition or expression. The block of code inside the if statement is executed is the condition evaluates to true.

Detailed explanation-2: -The If (IF) command is used to state a condition that, if true, specifies a statement or group of statements in the program or procedure to be run. The Else (ELSE) command can be used with the IF command to specify a statement or group of statements to be run if the condition expressed by the IF command is false.

There is 1 question to complete.