Conditional Expressions in Python Flashcards

1
Q

It is usually used in
imperative programming languages

A

conditional statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

are features of a programming language that
perform various computations or situations on whether the Boolean condition specified by the programmer is true or false.

A

Conditional expressions
and Conditional constructs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Is a programming statement that is executed just if a specific condition is met.

A

Conditional Expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

are used when the program has conditional choices to execute a code block.

A

Program Decision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Consists of a Boolean expression using which data is compared and a decision is made based on the result of the comparison and can be followed by one or more statements.

A

If statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

allows you to check multiple expressions for TRUE and execute a code block as soon as one of the conditions is evaluated for TRUE

A

Elif statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

There may be a situation where you want to check for another condition after the condition is true. In such a case, you can use the ______________

A

Nested If statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly