Home > General Knowledge > Page 12
Q 111.

Study the following statements:

for(i=3; i<15; i+=3)

{ printf(“%d”, i);

++i;

}

What will be the output ?

A)  3 6 9 12
B)  3 6 9 12 15
C)  3 7 11
D)  3 7 11 15
Q 112.

The following program fragment:

int a= 4, b= 6;

printf(“%d”,a=b);

 

A)  Outputs an error message
B)  Prints 0
C)  Prints 1
D)  None of the above
Q 113.

The following program fragment

int a=4, b=6;

printf(“%d”,a!=b);

 

A)  Outputs an error message
B)  Prints 0
C)  Prints 1
D)  None of the above
Q 114.

Study the following statement:

printf(“%f”,(float)9/5);

What will it print ?

A)  1.0
B)  1.8
C)  2.0
D)  None of these
Q 115.

Study the following statement:

printf(“%f”,9/5);

What will it print ?

A)  1.0
B)  1.8
C)  2.0
D)  None of these
Q 116.

Which one of the following would be the BEST to use to produce 100 letters to clients ?

A)  Personal information manager
B)  Email Group
C)  Desktop Publisher
D)  Mail Merge
Q 117.

Opening the hole on a 3.5″ disk will

A)  Copy protect the data
B)  Re-protect the data
C)  Back-up the data
D)  Write protect the data
Q 118.

Which one of the following types of storage devices uses a laser ?

A)  Zip Drive
B)  Magnetic Tape
C)  CD Drive
D)  Hard Drive
Q 119.

The BEST description of the usual directory and folders structure on a computer is a

A)  Tree
B)  Loop
C)  Chain
D)  List
Q 120.

Which one of the following software applications would be the MOST appropriate for performing numerical and statistical calculations ?

A)  Database
B)  Document Processor
C)  Graphics Package
D)  Spreadsheet