True/False and Quiz #2

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

A printf function will always make use of its data list.

False

A scanf function is composed of a format string and a data list.

False

A single scanf function call can be used to display the prompt for input to the user and accept the input from the user.

False

In addition to alphabetic and digits characters it is acceptable to use underscores, dashes, and periods as part of an identifier.

False

Multi-line comments can be nested, one inside of another.

False

The precision modifier can specify the number of digits to display on both sides of the decimal-point with a floating-point value.

False

A literal constant is data that is not represented by any other symbol in a given expression.

True

A printf function is composed of a format string and a data list.

True

A program that does not compile cannot be successfully submitted for grading.

True

A variable that is not initialized at the time it is declared will be storing an unknown value.

True

A width modifier is used to reserve a given number of spaces to assist with the alignment of the value being displayed.

True

An identifier cannot begin with a digit character.

True

Any compiler warnings remaining in a submission will result in a loss of points.

True

In most cases the definition of symbolic/defined constants will not terminate with a semi-colon.

True

Multi-line comments cannot be nested.

True

No memory is necessary for a symbolic/defined constant.

True

The data type of a variable will determine the amount of memory that is necessary to reserve for it.

True

The implementation of advanced concepts, those yet to be introduced in lecture, is not permitted in an assignment.

True

The operators that can be applied to a value are restricted by its data type.

True

The selection of a conversion code in a format string depends on the type of value it will represent.

True

The use of literal constants should be minimized and the use of symbolic/defined constants should be maximized in your program.

True

The use of symbolic/defined constants can improve the documentation of a program.

True

While commonly used in a printf function the scanf function would not make use of the '\n' character.

True


Ensembles d'études connexes

Environmental chapter 13 study quide

View Set

3CX Academy, Intermediate Certification

View Set

Knowledge of Capital Markets - Offerings

View Set

MANAGEMENT AND ORGANIZATION BMGT 35

View Set

ISTQB Foundation Level CTFL_001 emily

View Set