Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
A First Book of ANSI C
Quiz 6: Modularity Using Functions: Part I
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
True/False
Terms used as synonyms for arguments are actual arguments and actual parameters.
Question 2
True/False
Pass by value is also referred to as pass by reference.
Question 3
True/False
Parameters are sometimes referred to as actual parameters.
Question 4
True/False
Parameters are sometimes referred to as formal arguments.
Question 5
True/False
The function declarator is sometimes referred to as function prototype.
Question 6
True/False
Random numbers are a series of numbers whose order cannot be predicted.
Question 7
True/False
Pseudorandom numbers are numbers which are not really random, but are sufficiently random for the task at hand.
Question 8
True/False
In earlier versions of C, function prototypes were required.
Question 9
True/False
In earlier versions of C, if a function header line omitted a return data type, the return value was, by default, implicitly declared as being of type void.
Question 10
True/False
In C, it is permitted to nest one function inside another.
Question 11
True/False
Each C function is a separate and independent entity with its own parameters and variables.
Question 12
True/False
When you write a function, you are formally creating a function definition.
Question 13
True/False
The function's prototype, along with pre- and postcondition comments should provide a programmer with all the information necessary to call the function successfully.
Question 14
True/False
Postconditions are any set of conditions required by a function to be true if it is to operate correctly.
Question 15
True/False
All preprocessor directives, variables, named constants, and functions, except main(), must be either declared or defined before they can be used.
Question 16
True/False
A function returning a value must specify, in its header line, the data type of the value that will be returned.
Question 17
True/False
The parentheses in a return statement are required.
Question 18
True/False
Failure to exactly match the return value with the function's declared data type can lead to undesired results because the return value is always converted to the data type declared in the function's header line.