# Topic: Chapter 11: Functions (Test 1)

Topic: Chapter 11: Functions
Q.1
Which of the following header file defines the standard I/O predefined functions ?
A. stdio.h
B. math.h
C. string.h
D. ctype.h
Explaination / Solution:
No Explaination.

Workspace
Report
Q.2
Which function is used to check whether a character is alphanumeric or not.
A. isalpha()
B. isdigit()
C. isalnum()
D. islower()
Explaination / Solution:
No Explaination.

Workspace
Report
Q.3
Which function begins the program execution ?
A. isalpha()
B. isdigit()
C. main()
D. islower()
Explaination / Solution:
No Explaination.

Workspace
Report
Q.4
Which of the following function is with a return value and without any argument ?
A. x=display(int, int)
B. x=display()
C. y=display(float)
D. display(int)
Explaination / Solution:
No Explaination.

Workspace
Report
Q.5
Which is return data type of the function prototype of add(int, int); ?
A. int
B. float
C. char
D. double
Explaination / Solution:
No Explaination.

Workspace
Report
Q.6
Which of the following is the scope operator ?
A. >
B. &
C. %
D. ::
Explaination / Solution:
No Explaination.

Workspace
Report
Q.7
The functions which are available by default known as
A. User-defined functions
B. Built-in functions
C. Empty functions
D. Loop functions
Explaination / Solution:
No Explaination.

Workspace
Report
Q.8
Reads a string from standard input and stores it into the string pointed by the variable.
A. gets() function
B. isalnum() function
C. isalpha() function
D. isdigit() function
Explaination / Solution:
No Explaination.

Workspace
Report
Q.9
This function is used to check whether a character is alphanumeric or not.
A. gets() function
B. isalnum() function
C. isalpha() function
D. isdigit() function
Explaination / Solution:
No Explaination.

Workspace
Report
Q.10
Used to check whether the given character is an alphabet or not.
A. gets() function
B. isalnum() function
C. isalpha() function
D. isdigit() function