Exam 11: Structured Data

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

This function concatenates the contents of one C-string with another C-string.

(Multiple Choice)
4.8/5
(28)

To use the strlen function in a program, you must also write #include ______________.

(Multiple Choice)
4.9/5
(38)

This library function reverses the order of a C-string.

(Multiple Choice)
4.9/5
(41)

Although C++ provides ample library functions to handle numeric values, we must write all of our own functions to manipulate character values.

(True/False)
4.8/5
(30)

This function accepts a C-string containing a number as its argument and returns the integer equivalent.

(Multiple Choice)
4.8/5
(37)

To change a character argument from lower to upper case, use this function.

(Multiple Choice)
4.8/5
(42)

This function accepts pointers to two C-strings and an integer argument, which indicates how many characters to copy from the second C-string to the first.

(Multiple Choice)
4.7/5
(33)

By being able to pass arrays as arguments, you can write your own functions for processing C-strings.

(True/False)
4.8/5
(34)

This function converts a C-string to an integer and returns the integer value.

(Multiple Choice)
4.8/5
(35)

To test whether a character is a numeric digit character, use this function.

(Multiple Choice)
4.9/5
(32)

To determine whether a character is whitespace, use this function.

(Multiple Choice)
5.0/5
(39)

A practical application of this function is to allow a user to enter a response of 'y' or 'Y' to a prompt.

(Multiple Choice)
4.9/5
(46)

The itoa function is similar to atoi, but it works in reverse.

(True/False)
4.8/5
(34)

The statement char var1 = tolower('A'); Will result in:

(Multiple Choice)
4.9/5
(38)

The ftoa function converts a floating-point value to an ASCII value.

(True/False)
4.8/5
(40)

"Whitespace" encompasses which of the following?

(Multiple Choice)
4.7/5
(32)

The strcpy function's arguments are:

(Multiple Choice)
5.0/5
(39)

When using the strcat function, you must be careful not to overwrite the bounds of an array.

(True/False)
4.9/5
(33)

To test whether a character is a printable character, use this function.

(Multiple Choice)
4.7/5
(38)

A test using the isupper function will return false if the argument is an uppercase character.

(True/False)
4.8/5
(32)
Showing 21 - 40 of 43
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)