12th Class Computer Science MCQS Chapter 10

Google Ads1

12th Class Computer Science MCQS


Which escape sequence is used to erase a character left to the cursor position?
b
c
f
del

Which escape sequence can be used to insert a tab in c:
n
a
t
b

How many variables can be used in one printf function?
One
Ten
Many
Two

In an E-R diagram a rectangle represents
Record
Arttibute
Entity
None of them

A disadvantages of partitioning is
Extra space and update time
Both a & b
Simplicity
None of them

The format specifier for output are:
%d for int and %f for float
All
%s for string
%c for char

An advantages of partitioning is
None of them
Efficiency
Both a & b
Extra space and update time

Which of the following format specifiers is used for string?
%f
%d
%c
%s

%f is used for:
Short
Double
Integer
Float

The number of variables that can be used in printf ( ) function are
Three
Zero
One
Many

Continue Reading Go to Next Page

Google Ads