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

1. The only difference between C-strings and string objects is how they are declared and internally stored. They are used exactly the same way.
2. The cin object lets the user enter a string that contains embedded blanks.
3. When a C++ expression is evaluated, binary operations are performed before unary
4. In C++, the 5 basic arithmetic operators are
addition (+), subtraction (-), multiplication (*), division (/), and exponentiation (^).

5. The following two expressions evaluate to the same thing:
c + a * b
c + (a * b)


1. FALSE
2. FALSE
3. FALSE
4. FALSE
5. TRUE

Computer Science & Information Technology

You might also like to view...

Why are some system interfaces implemented by dedicated system calls (to the kernel), and others on top of message-based system calls?

What will be an ideal response?

Computer Science & Information Technology

?More damaging than power outages are power ____.

A. ?sinks B. ?crashes C. ?fluctuations D. ?platforms

Computer Science & Information Technology

The item marked 3 in the accompanying figure can be used to browse Outlook folders using all of the following views EXCEPT ____.

A. Mail B. Messages C. Contacts D. Tasks

Computer Science & Information Technology

Matt, a security administrator, has noticed that the website and external systems have been subject to many attack attempts. To verify integrity of the website and critical files, Matt should:

A. Require all visitors to the public web home page to create a username and password to view the pages in the website B. Configure the web application firewall to send a reset packet to the incoming IP from where an attack or scan signature has been detected. C. Create file hashes for website and critical system files, and compare the current file hashes to the baseline at regular time intervals. D. Reboot the web server and database server nightly after the backup has been completed.

Computer Science & Information Technology