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

1. The ostream class method setf(ios::fixed) is equivalent to the stream manipulator setiosflags(fixed).
2. Assignment statements can be used to perform arithmetic computations.
3. In C++, all functions, by definition, can directly return at most one value.
4. Using a mathematical library function without including the preprocessor statement #include is a common programming error in C++.
5. A common programming error in C++ consists of separating all variables passed to cin with an extraction symbol, >>.


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

Computer Science & Information Technology

You might also like to view...

How is data, or a value, retrieved from a data dictionary?

a. Using a key to find the associated value in a key-pair b. Data is retrieved from the front of the data dictionary c. Data is retrieved by traversing the list of elements d. Data is retrieved from within an array

Computer Science & Information Technology

How many times will the following code print out the message?

What will be an ideal response?

Computer Science & Information Technology

Which of the following is a command you would find in an antispoofing ACL for network 172.31.0.0/16?

A. permit  ip any 172.31.0.0 0.0.255.255  log B. deny TCP 172.31.0.0 0.0.0.0 any log C. deny ip 172.31.0.0 0.0.255.255 any log D. permit icmp any any redirect

Computer Science & Information Technology

________ is the largest and most popular wiki on the Internet

Fill in the blank(s) with correct word

Computer Science & Information Technology