More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
ICS Part 2 Computer Science Online Test MCQs With Answers
Question # 1
An array subscript should be
Choose an answer
Int
Float
Double
An array
Previous
Skip
Next
Question # 2
Storing the same information in two different ways or forms is called
Choose an answer
database integrity
redundant information
homonyms
mutually exclusive data
Previous
Skip
Next
Question # 3
Two or more attributes with different name but same meaning create a problem:
Choose an answer
Homonyms
Synonyms
Aliases
Alternate attributes
Previous
Skip
Next
Question # 4
The table columns describe the ?
Choose an answer
data type
actual data
unique name
all
Previous
Skip
Next
Question # 5
The number of bytes used by double data type in C is:
Choose an answer
2 (8) 8
12
6
Previous
Skip
Next
Question # 6
Which character signifies the beginning of an escape sequence?
Choose an answer
{
\
//
/
Previous
Skip
Next
Question # 7
Which is a numeric data type ?
Choose an answer
float
int
Both a and b
char
Previous
Skip
Next
Question # 8
The ------------------- translates the source program into the machine code or object code
Choose an answer
compiler
assembler
interpreter
all of them
Previous
Skip
Next
Question # 9
The keyword 'break' cannot be used within:
Choose an answer
Do-while
If-else
For
While
Previous
Skip
Next
Question # 10
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 11
The function used to input data in C program is
Choose an answer
Print ()
Scanf ()
Sqrt ()
Main ()
Previous
Skip
Next
Question # 12
_______ function is used to copy a string to an array of characters
Choose an answer
fputs()
Strepy
fgets
gets()
Previous
Skip
Next
Question # 13
The case block ends with:
Choose an answer
End select
End case
Break;
Case else
Previous
Skip
Next
Question # 14
Another way to write the value 3452211903 is:
Choose an answer
3.452211903e09
3.45221193e-09
3.452211903
×09
3452211903e09
Previous
Skip
Next
Question # 15
Which escape sequence can be used to begin a new line in C-language?
Choose an answer
\a
\b
\n
\n
Previous
Skip
Next
Question # 16
The types of files from usage point of view include
Choose an answer
master file
transaction file
back up file
all of them
Previous
Skip
Next
Question # 17
The value of expression in switch statement must be type of
Choose an answer
int
char
float
both a and b
Previous
Skip
Next
Question # 18
Any array script should be:
Choose an answer
Int
Float
Double
Array
Previous
Skip
Next
Back