12th Class Computer Science MCQS Chapter 9

Google Ads1

12th Class Computer Science MCQS


Relational operators are used to
Construct compound condition
Compare two values
Establish a relationship among variables
Performs arithmetic operators

Which of the following is not a good primary key
Order number
Social security number
Zip code
STD ID number

Which of the following is NOT a valid identifier?
myInt
return
myInteger
total3

Variable are created in:
USB
Hard Disk
ROM
RAM

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

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

The number of bytes used by char data type in C is:
16
2
121
1

Which of the following statements is NOT legal?
char ch=’0′
char ch=’b’;;
char ch=”cc”
char ch=65;

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

Which of the following is the valid character constant
6
=
A
B

<—————>

Continue Reading Go to Next Page

Google Ads