ICS Part 2 Computer Science Chapter 8 Online Test With Answers

image
image
image

ICS Part 2 Computer Science Chapter 8 Online Test

Sr. # Questions Answers Choice
1 Which of the following header file contains information about common mathematical functions? stdio.h math.h conio.h None of these
2 Which header file contains information about standard input/output function? stdio.h math.h Both A and B None
3 The extension of the header file is: .CPP txt .c .h
4 The name of header file is written between: [ ] ( ) < > << >>
5 conio stands for : Character input output Consoleinput output Commoninput output Complexinput output
6 Stdio stands for: Standard input output Symbolicinput output Simpleinput output Stringinput output
7 stdio.h is part of: Comment section C standard library Compiler Main function
8 The expression may be: Contant Arithmetic expression String All
9 Which of the following syntax is used to include header file? #include<name of header file> #include"name of header file" Both a or b None of these
10 Which of the following symbol is used to denote a pre-processor statement? % $ # @
11 Which of the following is a compiler directive? #include<stdio.h> Using namespace std; main() All
12 Header file in C contain: Compiler commands Library functions Header information of C programs Operations for files
13 The expression in define directive: Can only be changed at the end of the program Cannot be changed but can be redefined Cannot be assigned a value Cannot be changed
14 Preprocessor directives are command for: Microprocessor Language processor C Preprocessor Loader
15 The basic structure of C program consists of: Preprocessor Directive Main () function Program body All
Download This Set