True or false part 1

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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

False

You should declare multiple variables on one line.

False

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

False

the return statement in main will return control back to the first statement in main.

False

A C program begins with a section for preprocessor directives.

True

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 variable that is not initialized at the time it is declared will be storing an unknown value.

True

All code found between { and } should be indented two additional spaces.

True

All variables should commented to the right of the each declaration.

True

An identifier cannot begin with a digit character.

True

Comments are added to a program to improve its level of documentation intended for other programmers.

True

Do not single (or double) space the entire program, use blank space lines when appropriate

True

Every program must have exactly one function named main

True

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

True

Multi-lined comments cannot be nested.

True

Rarely are single character identifiers considered meaningful for variables in a program

True

Select meaningful identifiers (names) for all variables in your program.

True

The course program header are multi-lined comments.

True

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

True

The files stdio.h and math.h are libraries that contain standard functions for our use.

True

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

True

The preprocessor is a part of the compiling process and prepares your code for the remainder of the process.

True

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

True

The use of symbolic/defined constants will not terminate with a semi-colon.

True

There is no need to include example output with you submission.

True

Variable declarations will NEVER be permitted in the global section this semester.

True

Within each function the local declarations and executable statements must NOT be permitted to overlap

True

You should place a single space between all operator and operands.

True

the return 0; statement will be the final statement in the main function

True


संबंधित स्टडी सेट्स

Hist.152 UH Manoa - Final Exam study guide

View Set

Intro to Business chapter 5 and 6

View Set

3. Different Types of Neural cells

View Set

COMM4308 (Intercultural Comm) Quizzes

View Set

Anatomy & Physiology Bio 168 Chapter 3

View Set

Becoming a World Power, 1872-1917, American History Chapter 5 Lesson 1 and 2

View Set

Pollution Responder 5.0 Recommended Enforcement Actions *

View Set