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

1) A pointer-based string is a string object.
2) strings are always null terminated.
3) Class string member function max_size returns the maximum size for a string.
4) Class string member function at can throw an out_of_range exception.
5) Class string member function begin returns an iterator.


1. False. A string is an object that provides many different services. A pointer-based
string does not provide any services. Pointer-based strings are null terminated;
strings are not necessarily null terminated. Pointer-based strings are pointers and
strings are objects.
2. False. strings are not necessarily null terminated.
3. True.
4. True.
5. True (it returns a string::iterator).

Computer Science & Information Technology

You might also like to view...

You cannot insert new data into a named range

Indicate whether the statement is true or false

Computer Science & Information Technology

Structured analysis is a traditional systems development technique that uses a series of phases, called the _____, to plan, analyze, design, implement, and support an information system.

A. object-oriented (O-O) analysis B. systems development life cycle (SDLC) C. transaction processing (TP) system D. enterprise resource planning system (ERP)

Computer Science & Information Technology

The CompactLogix members of the ControlLogix family include the 1768 and the 1769 CompactLogix platforms. Both platforms use the same ____________________ modules.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

__________ considers the execution history of a related group of processes along with the individual execution history of each process in making scheduling decisions.

A) ?TAT ? B) ?HRRN ? C) ?FSS ? D) ?FCFS

Computer Science & Information Technology