ZDTE - MCQs -
Advanced_Cybersecurity_Services Part 1
Newest 2025/2026 With Complete
Questions And Correct Answers
|Already Graded A+||Brand New
1) To test whether a character is a numeric digit character, use this function.
A) isnumber
B) notAlpha
C) isnumeric
D) isdigit
E) None of these
- Correct Answer :isdigit
2) To test whether a character is a printable character, use this function.
A) isprint
B) isprintable
C) isprintok
D) isoktoprint
E) None of these –
Correct Answer :isprint
A+ TEST BANK 1
, Advanced_Cybersecurity_Services
3) This is the escape sequence representing the null terminator.
A) \n
B) \t
C) \0
D) nullptr
E) None of these
- Correct Answer :\0
4) The null terminator stands for this ASCII code.
A) 57
B) 100
C) 1000
D) 0
E) None of these
- Correct Answer :0
5) 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).
A) numchar
B) strlength
C) strlen
D) countstring
E) None of these
A+ TEST BANK 2
, Advanced_Cybersecurity_Services
- Correct Answer :strlen
6) The strcpy function's arguments are:
A) two C-strings
B) two addresses
C) three pointers
D) one array and one pointer
E) None of these
- Correct Answer :two addresses
7) A library function that can find one C- string inside another is:
A) strcmp
B) strstr
C) strfind
D) strsearch
E) None of these
- Correct Answer :strstr
8) This function accepts a C-string as an argument and converts the string to a long integer.
A) atol
B) strlong
C) strtolong
D) stringlong
A+ TEST BANK 3
, Advanced_Cybersecurity_Services
E) None of these
- Correct Answer :atol
9) This function converts a C-string to an integer and returns the integer value.
A) atoint
B) strtoint
C) strint
D) atoi
E) None of these
- Correct Answer :atoi
10) Which statement converts the string "10" to the integer value 10?
A) itoa("ten")
B) atoi("ten")
C) atoi("10")
D) itoa(10)
E) None of these
- Correct Answer :atoi("10)
11) This function will return true if its argument is a printable character other than a digit, letter, or space.
A) isprint
B) ispunct
A+ TEST BANK 4