Answer the following statements true (T) or false (F)

1. A variable declared within a function block is said to be local to the function.
2. Consider two blocks, one within another. If an identifier is declared as a variable in the inmost of these two blocks, one can access this variable from the outer block.
3. Consider two blocks, one within another. C++ prohibits an identifier to be declared as a variable in each of these blocks.
4. Calling something a black box is a figure of speech that conveys the idea that you
cannot see inside. You know its behavior and interface but not its implementation.


1. True
2. False
3. False
4. True

Computer Science & Information Technology

You might also like to view...

Which method allows you to display text on an HTML page?

a. onload b. show() c. display() d. write()

Computer Science & Information Technology

When you use someone else's computer, it is proper computer ________ to return it to the condition that you found it

Fill in the blank(s) with correct word

Computer Science & Information Technology

Forward, Filter, Translate, Queue management, and Archive messages are functions of an interface engine

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following statements about conditional expressions is false?

A. Conditional expressions contain two operators. B. Conditional expressions contain three operands. C. Conditional expressions evaluate to less than, equal to, or greater than. D. Conditional expressions are two-way selections. E. Conditional expressions can be used in an assignment expression.

Computer Science & Information Technology