Return to Topic Menu | Computer Science Main Page | MathBits.com | Terms of Use | Resource CD
Multiple Choice C++ Quiz Library Functions
2. The library function isalpha( ) requires the header file
3. The built-in library function isalnum( ) is testing to determine if the argument is
4. When using atoi( ) with an apstring variable,
5. The built-in library function ceil(x) requires the header file
6. To raise any number to a power, use
7. time_t is
8. The function time(NULL) returns the number of seconds elapsed since 00:00:00 hours
9. The rand( ) built-in library function
10. In the formula used for generating random numbers within a specific range (int number = a + rand( ) % n;), the n represents
11. To create random numbers between 28 and 52 inclusive, use the formula
12. The built-in library function srand( ) is
13. Which of the following lines of code will ensure that a different random sequence will occur with each run of the program in the Visual C++ programming language?
14. The purpose of the code answer = toupper(ans); is to ensure that
15. Which of the following is not a member function of the apstring class?