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

1) Empty parentheses following a function name in a function definition indicate that the function does not require any parameters to perform its task
2) Data members or member functions declared with access specifier private are accessi- ble to member functions of the class in which they’re declared.
3) Variables declared in the body of a particular member function are known as data mem- bers and can be used in all member functions of the class.
4) Every function’s body is delimited by left and right braces ({ and }).
5) The types of arguments in a function call must be consistent with the types of the cor- responding parameters in the function’s parameter list.


1.True.
2.True.
3.False. Such variables are local variables and can be used only in the member function in which they’re declared.
4.True.
5.True.

Computer Science & Information Technology

You might also like to view...

The INFO service manages a potentially very large set of resources, each of which can be accessed by users throughout the Internet by means of a key (a string name). Discuss an approach to the design of the names of the resources that achieves the minimum loss of performance as the number of resources in the service increases. Suggest how the INFO service can be implemented so as to avoid performance bottlenecks when the number of users becomes very large.

What will be an ideal response?

Computer Science & Information Technology

he attribute specifying a blue background is

a. bgcolor=#000000 b. background=”blue” c. style=”background-color:blue” d. bgcolor=blue

Computer Science & Information Technology

Data compression is based on a compression ratio.

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

Computer Science & Information Technology

Match each Slicer Tools command group with the corresponding description:

I. Slicer II. Slicer Styles III. Arrange IV. Buttons V. Size A. Specifies the slicer's placement in relation to other groups, such as placing a slicer on top of other slicers. B. Sets the height and width of the slicer window. C. Defines how many columns are displayed in the selected slicer and the height and width of each button inside the slicer. D. Applies a style to the slicer by specifying the color of the filtered item in the slicer. E. Enables you to change the slicer caption, display the Slicer Settings dialog box for further customization, and manage the PivotTable connected to the slicer.

Computer Science & Information Technology