COMPUTER FUNDAMENTALS

COMPUTER ARCHITECTURE

INPUTOUTPUT DEVICES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Type of processing that if something is true, do something else.
A
If/Then
B
Comparing
C
Matching
D
Counting
Explanation: 

Detailed explanation-1: -The if / then statement is a conditional statement that executes its sub-statement, which follows the then keyword, only if the provided condition evaluates to true: if x < 10 then x := x+1; In the above example, the condition is x < 10, and the statement to execute is x := x+1 .

Detailed explanation-2: -To write an if statement, write the keyword if, then inside parentheses () insert a boolean value, and then in curly brackets write the code that should only execute when that value is true . That code is called the body of the if statement.

There is 1 question to complete.