ICS Part 2 Computer Science Online Test With Answers

image
image
image

ICS Part 2 Computer Science Online Test

Sr. # Questions Answers Choice
1 a+=b is equivalent to: b+=a a=+b a=a+b b=b+a
2 C is strongly typed language, it means that: Every program must be compiled before execution Every variable must be declared before it is being used The variable declaration also defines the variable Sufficient data types are available to manipulate each type of data
3 Which of the following operations has lowest precedence? ! + = ==
4 Which of the following is a valid character constant? a "Hello" '6' =
5 A memory location with some data that cannot be changed is called: Constant Variable Keyword Address
6 Variable are created in: RAM ROM Hard Disk USB
7 A memory location with some data can be changed is celled: Constant Variable Named constant Address
8 Which of the following header file contains information about common mathematical functions? stdio.h math.h conio.h None of these
9 Which header file contains information about standard input/output function? stdio.h math.h Both A and B None
10 The extension of the header file is: .CPP txt .c .h
11 The name of header file is written between: [ ] ( ) < > << >>
12 conio stands for : Character input output Consoleinput output Commoninput output Complexinput output
13 Stdio stands for: Standard input output Symbolicinput output Simpleinput output Stringinput output
14 stdio.h is part of: Comment section C standard library Compiler Main function
15 The expression may be: Contant Arithmetic expression String All
16 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
17 Which of the following symbol is used to denote a pre-processor statement? % $ # @
Download This Set