ECAT Computer Science MCQS Set 11

ECAT Computer Science MCQS Page 3


How many primary keys can a table have
One
At least one but not more than two
Between 1-5
No limit

A primary key that consists of more than one attribute is called a
Composite key
Foreign key
Multi-valued key
Global key

A process of assigning initial value to a variable at the time of declaration is called:
Initializing
Assigning
Naming
setting

The exponential notation consists of:
A and B
Mantissa
Exponent
Range

Variable and constant names can not contain a(n):
Number
Underscore
Upper case letter
Lower case letter

C is strongly typed language, it means that:
Every variable must be declared before it is being used
Every program must be compiled before execution
The variable declaration also defines the variable
Sufficient data types are available to manipulate each type of data

Another way to write the value 3452211903 is:
3.45E+09
3.45E-09
3.452211903
3.45E+18

The number of digits after a decimal point is called:
Precision
Significance
Range
Scope

The float, long float and double data types are known as:
Real data
Integer data
character data
Integral data

Which of the following is a valid character constant?
‘6’
a
Hello
=

The number of bytes used by int data type in C is:
2
8
12
16

a+=b is equivalent to
a=a+b
a+=b
a=+b
b=b+a

Continue Reading Go to Next Page

Be the first to comment

Leave a Reply

Your email address will not be published.


*