Unit Test Answers

5 verified answers1 views
1
Free Preview

Which choices correctly describe an Else statement? Check all that apply.

A
a conditional statement that will show different information if the answer to the If statement is true
B
a conditional statement that will show different information after the If statement answer is false
C
a statement that contains the code to be executed when the If value is false or zero
D
a conditional statement that runs a piece of code when all program statements are true
2
Free Preview

If the grade is 60, which action will be executed?

A
[none]
B
Go skating with friends
C
Go skating alone
D
Study with tutor
3

Which choices correctly describe Else statements? Check all that apply.

A
They are considered false statements.
B
They include an action to be taken when the If condition is false.
C
They allow decision-making to be a part of the computer program.
D
They execute the Else action when the If condition is false.
4

If the grade is 60, which action will be executed?

A
[none]
B
Go skating with friends
C
Study with friend
D
Study with tutor
5

Which sentence describes Elif statements?

A
The program stops after the first false answer.
B
The program can have only one statement.
C
The program runs after a false Elif expression.
D
The program needs one true answer to run after the If statement is false.

Did you find these answers helpful?

Unit Test Answers — VA-Information Technology…