
C++ Chapter 10
Authored by Colleen Chattaway
Computers
9th - 12th Grade
Used 41+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
43 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To test whether a character is a numeric digit character, use this function.
isnumber
notAlpha isnumeric isdigit None of these
isnumeric isnumeric isdigit None of these
isdigit
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To test whether a character is a printable character, use this function.
isprint
isprintable
isprintok
isoktoprint
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is the escape sequence representing the null terminator.
\n
\t
\0
/NULL
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The null terminator stands for this ASCII code.
57
100
1000
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This function accepts a pointer to a C-string as an argument, and it returns the length of the C-string (not including the null terminator).
numchar
strlength
strlen
countstring
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The strcpy function's arguments are:
two C-strings
two addresses
three pointers
one array and one pointer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A library function that can find one C- string inside another is:
strcmp
strstr
strfind
strsearch
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?