IT102 If Else Statement Flashcards
In java, selection statements are also known as ____________ or conditional or decision-making statements.
branching statements
In java, ______________ are also known as branching statements or conditional or decision-making statements.
selection statements
In java, selection statements are also known as branching statements or conditional or ______________
decision-making statements.
In java, selection statements are also known as branching statements or _______ or decision-making statements.
conditional
These statements allow the program to execute different lines of code depending on the scenario, whether a particular condition is _______
true or false.
These statements allow the 1.______ to 2.___________ depending on the scenario, whether a particular condition is true or false.
1.program
2.execute different lines of code
These statements allow the program to execute different lines of code depending on the 1.______, whether a particular _____ is true or false.
1.scenario
2.condition
It is used to select part of a program to be 1._____ based on 2.______.
1.executed
2.condition
It is used to select part of a _____ to be executed based on condition.
program
These are vital for controlling the 1.__________ that enables the developers to create the logic that can respond dynamically to the 2._____ or the 3.____,which further helps in making the 4._____ more 5.____ and 6.____.
1.flow of a program
2.data
3.input
4.program
5.powerful
6.flexible
There are ______ types of Java conditional statements.
five
What are the five types of Java conditional statements.
- Java If Statement
- Java If-Else Statement
- Java If-Else-If Ladder Statement
- Java Nested If Statement
- Java Switch Statement
_______ is the most simple decision-making statement.
IF statement
IF statement is the ____________ statement.
most simple decision-making
IF statement is the most simple decision-making statement. It is used to decide whether a certain statement or block of statements will be 1._________ i.e. if a certain condition is 2.___ then a block of statements is executed otherwise not.
1.executed or not
2.true