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
Computer Science Ics Part 2 Chapter 9 Online Test MCQs With Answers
Question # 1
The number of bytes used by double data type in C is:
Choose an answer
2
8
12
16
Previous
Skip
Next
Question # 2
DBA Stands for
Choose an answer
Database application
Database accumulator
Database administer
Database administration
Previous
Skip
Next
Question # 3
C is strongly typed language, it means that:
Choose an answer
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
Previous
Skip
Next
Question # 4
The number of bytes used by char data type in C is:
Choose an answer
2
1
121
16
Previous
Skip
Next
Question # 5
a+=b is equivalent to
Choose an answer
a+=b
a=+b
a=a+b
b=b+a
Previous
Skip
Next
Question # 6
Which of the following is NOT a valid identifier?
Choose an answer
return
myInt
myInteger
total3
Previous
Skip
Next
Question # 7
The number of bytes used by float data type in C is:
Choose an answer
2
4
121
16
Previous
Skip
Next
Question # 8
the integer, long and short data types are known as:
Choose an answer
Integer data types
Non-integral data types
float data types
Non-numeric data types
Previous
Skip
Next
Question # 9
Variables are created in
Choose an answer
Ram
Rom
Hard disk
Cache
Previous
Skip
Next
Question # 10
What happens when the result of a calculation exceeds the capacity of data type?
Choose an answer
System error
Logic error
Syntax error
Over flow
Previous
Skip
Next
Question # 11
Which of the following is used to separate each variable while declaring more than one variable on the same line?
Choose an answer
Commas
Colons
Pipes
Semicolons
Previous
Skip
Next
Back