COMPUTER PROGRAMMING FUNDAMENTALS
WHAT IS PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
conditionals
|
|
nested loop
|
|
command
|
|
refactor
|
Detailed explanation-1: -Conditional statements help you to make a decision based on certain conditions. These conditions are specified by a set of conditional statements having boolean expressions which are evaluated to a boolean value of true or false.
Detailed explanation-2: -A conditional statement is a statement that can be written in the form “If P then Q, ” where P and Q are sentences. For this conditional statement, P is called the hypothesis and Q is called the conclusion. Intuitively, “If P then Q” means that Q must be true whenever P is true.
Detailed explanation-3: -A conditional statement is also called implication.
Detailed explanation-4: -We will see five conditionals: zero, first, second, third and mixed. A conditional sentence is formed by a main clause (the consequence), a conjunction (if), and a conditional clause (the condition).