Answer the following statement(s) true (T) or false (F)
1. Program execution begins with the first statement in the body of the main() function.
2. The stream manipulator lowercase displays hexadecimal digits and the exponent in scientific notation in lowercase.
3. Numbers sent to cout are normally displayed left-justified in the display field.
4. In addition to outputting integers in decimal notation, the oct and hex manipulators are used for conversions to octal and hexadecimal.
5. The display of integer values in one of the three possible number systems (decimal, octal, and hexadecimal) doesn’t affect how the number is stored in a computer.
1. True
2. False
3. False
4. True
5. True
You might also like to view...
To create a layer mask, Photoshop provides a(n) ____ button on the status bar of the Layers panel.
a. Create layer mask b. New mask c. Add layer mask d. Make mask
Which of the following statements is false?
a. The method’s return type specifies the type of data returned to a method’s caller. b. Empty parentheses following a method name indicate that the method does not require any parameters to perform its task. c. When a method that specifies a return type other than void is called and completes its task, the method must return a result to its calling method d. Classes often provide public methods to allow the class’s clients to set or get private instance variables; the names of these methods must begin with set or get.
The method ____ pushes character values back onto the input stream.
A. cin.ignore() B. cin.put() C. cin.putback() D. cin.peek()
You can locate a presentation that contains slides you want to reuse by clicking the ____________________ link in the Reuse Slides pane.
Fill in the blank(s) with the appropriate word(s).