Use Conditional Statements Answers

7 verified answers4 views
1
Free Preview

Select the best word or phrase that completes the sentence from the drop-down menu.Readable code includes the use of .

A
capital letters for all words
B
meaningful variable names
C
random variable names
D
lower case letters for all words
2
Free Preview

Helpful comments include information that .

A
makes the program code interesting to read
B
entertains the person updating the code
C
is helpful to anyone reviewing the code
D
has meaning only to the original programmer
3

is used to make the program easier to follow.

A
Indentation
B
Bold formatting
C
Italic formatting
4

Select the best word or phrase that completes the sentence.A helpful comment is a comment that

A
helps to document the program.
B
lets future programmers know how the original programmer was feeling at the time.
C
breaks up the flow of code so it is not boring.
D
includes important events that were occurring at the time the original program was written.
5

Select the best word or phrase that completes the sentence.Indentation and line breaks can be used to

A
make sure the code takes up the entire screen at all times.
B
create a decorative pattern within the code itself.
C
make it easier to follow the code and identify which parts of the code belong together.
6

Why is readable code important? Choose all that apply.

A
It is more fun to write.
B
It makes the purpose and flow of a program easier to understand and follow.
C
Anyone needing to work with the code in the future will have an easier time.
D
It will save time when it is time to update the program.
7

What are the best ways to improve the readability of code? Choose all that apply.

A
Be consistent when naming variables, procedures, classes, and methods while you are writing.
B
Use comments to include helpful information about the program for future use.
C
Use indenting and line breaks to keep your code from being a solid block of information that is difficult to follow.
D
Use # symbols as the first character of all variable names.

Did you find these answers helpful?

Use Conditional Statements Answers…