12th class (Fsc) computer unit 9 MCQs

chapter 9 MCQs 12th Class Computer

Elements of “C”:

a. My Integer
b. Return
c. Total3
d. My Int

b. Return

a. Hard disk
b. RAM
c. Cache
d. ROM

b. RAM

a. Comments
b. Reserved word
c. Identifier
d. Special word

b. Reserved word

a. 34
b. 30
c. 36
d. 32

d. 32

a. 155 character
b. 25 characters
c. 55 characters
d. 255 characters

d. 255 characters

a. Named constant
b. Constant
c. Variable
d. None

c. Variable

a. Upper-case letter
b. Number
c. Lower-case letter
d. Underscore

b. Number

a. Long
b. Integer
c. Not Long enough
d. Both B & C

d. Both B & C

a. 32898
b. -1.1
c. “123”
d. None

d. None

a. Keyword
b. Variable name
c. Data type
d. Both B & C

d. Both B & C

a. Pipes
b. Commas
c. Semicolons
d. Colons

b. Commas

a. Double salary;
b. Int marks;
c.Int a,b,c;
d. All

d. All

a. Naming
b. Assigning
c. Initializing
d. None

c. Initializing

a. Char grade=’a’;
b. Int n=100;
c. Int x=50, y=75;
d. All

d. All

a. Char n[ ]=”hello word”;
b. Int=100;
c. Const int N=100;
d. Long population=15000

b. Int=100;

a. Int continue =5.0;
b. Float num1;num2;
c. String black=’white’;
d. Int day, night

d. Int day, night

a. Some Char=”A”;
b. Some Char=’A’;
c. Some Char=A;
d. Both A and C

b. Some Char=’A’;

a. Comments
b. Reserved words
c. Special words
d. None

b. Reserved words

a. Car ch=97;
b. Char ch=’a’;
c. Char ch=”a”;
d. Char ch=’ab’;

b. Char ch=’a’;

a. Day Of Week
b. _customer_num
c. 2d Graph
d. Jan2009

c. 2d Graph

a. Real
b. Int
c. Float
d. None

c. Float

a. Back to front
b. Left to right
c. Top to bottom
d. None

b. Left to right

a. Underflows
b. Overflows
c. Exceeds expectations
d. None

b. Overflows

a. Compiler directives
b. Comments
c. None
d. Reserved words

d. Reserved words

a. ‘6’
b. a
c. =
d. b

a. ‘6’

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *