It's a good habit to give two spaces between if statement and condition.
True
False
View Answer
Correct Answer: A — True
Explanation:
Not necessary but good coders follow it.
4 practice sets · Page 1 of 1
It's a good habit to give two spaces between if statement and condition.
True
False
Correct Answer: A — True
Explanation:
Not necessary but good coders follow it.
If statement inside if statement is called Nested if statements.
True
False
Correct Answer: A — True
Explanation:
Nested if means statement inside statement.
What error does the if condition gives if not terminated with end statement?
Syntax error
Unexpected end
Expecting keyword end
All of the mentioned
Correct Answer: D — All of the mentioned
Explanation:
We will get all the three errors.
If expression. The expression can be of which type?
True
Any number
Any string
All of the mentioned
Correct Answer: D — All of the mentioned
Explanation:
The condition must be true then if statement works.