More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Chapter 10 Online Test MCQs With Answers
Question # 1
A disadvantages of partitioning is
Choose an answer
Simplicity
Extra space and update time
Both a & b
None of them
Previous
Skip
Next
Question # 2
Which escape sequence can be used to begin a new line in C?
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 3
Which of the following is used to define objects and describe their characteristics
Choose an answer
Attributes
Relationship
Both a & b
None of them
Previous
Skip
Next
Question # 4
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 5
Which escape sequence can move the cursor at the beginning of current line
Choose an answer
\a
\b
\t
\n
Previous
Skip
Next
Question # 6
The function getche( ) is defined in
Choose an answer
stdio.h
string.h
math.h
conio.h
Previous
Skip
Next
Question # 7
Which of the following symbol is used with % sign to display output left-justified:
Choose an answer
-
/
\
L
Previous
Skip
Next
Question # 8
The format specifier % d is used for
Choose an answer
Int
Unsigned short
Unsigned float
Unsigned long int
Previous
Skip
Next
Question # 9
Which of the following format specifiers is used for float data type?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 10
How many variables can be used in one printf function?
Choose an answer
One
Two
Many
Ten
Previous
Skip
Next
Question # 11
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 12
Which escape sequence is used to erase a character left to the cursor position?
Choose an answer
\b
\del
\f
\c
Previous
Skip
Next
Question # 13
Which of the following format specifiers is used for string?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 14
The general form of format specifier for floating point value:
Choose an answer
%m.nf
m.n%
m%.nf
m.n%f
Previous
Skip
Next
Question # 15
The format specifier %u is used for:
Choose an answer
Integer
Unsigned short
Unsigned float
Unsigned long int
Previous
Skip
Next
Back