Exam 9: Character Strings
Exam 1: Introduction to Computer Programming44 Questions
Exam 2: Getting Started in C Programming46 Questions
Exam 3: Processing and Interactive Input48 Questions
Exam 4: Selection44 Questions
Exam 5: Repetition47 Questions
Exam 6: Modularity Using Functions: Part I51 Questions
Exam 7: Modularity Using Functions: Part II49 Questions
Exam 8: Arrays48 Questions
Exam 9: Character Strings51 Questions
Exam 10: Data Files50 Questions
Exam 11: Arrays, Addresses, and Pointers49 Questions
Exam 12: Structures48 Questions
Exam 13: Dynamic Data Structures49 Questions
Exam 14: Additional Capabilities55 Questions
Exam 15: A Brief Introduction to C++49 Questions
Select questions type
Using string library functions requires that the file string.h be included in your program before the function is called.
(True/False)
4.7/5
(31)
The function strtok(string, char) locates the position of the first occurrence of the char within string; it returns the address of the character.
(True/False)
4.9/5
(34)
When you use any of the four functions, printf(), scanf(), sprintf(), or sscanf(), the control string containing the conversion control sequences need not be explicitly contained within the function.
(True/False)
4.8/5
(42)
When using #include, the characters ____, tell the compiler to start looking in the default directory where the program file is located.
(Multiple Choice)
5.0/5
(41)
Good programming practice requires that you end the last output display with a newline escape sequence, usually as the single character '\n'.
(True/False)
4.9/5
(36)
A(n) ____ is any sequence of characters enclosed in double quotes.
(Multiple Choice)
4.8/5
(46)
The ____ function reads a set of characters up to either a blank space or a newline character.
(Multiple Choice)
4.8/5
(43)
Programs that use the gets() routine must include the ____ header file.
(Multiple Choice)
4.7/5
(43)
The string "Good Morning!" is stored in memory using a character array of size ____.
(Multiple Choice)
4.8/5
(31)
Showing 41 - 51 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)