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
Which character signifies the beginning of an escape sequence?
Choose an answer
{
\
/ /
/
Previous
Skip
Next
Question # 2
The function getche( ) is defined in
Choose an answer
stdio.h
string.h
math.h
conio.h
Previous
Skip
Next
Question # 3
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 4
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 # 5
Which of the following format specifiers is used for string?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 6
Organizing the database in computer disk storage is done in
Choose an answer
Logical design
Physical design
Analysis
Implementation
Previous
Skip
Next
Question # 7
The function used to show the output on screen is
Choose an answer
Printf()
Scanf()
Sqrt()
Main()
Previous
Skip
Next
Question # 8
Which escape sequence can be used to beep from speaker in c:
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 9
Which of the following is displayed by printf function?
Choose an answer
Text
Constant or values of variable
A and B
Graphics
Previous
Skip
Next
Question # 10
Which of the following is a possible value of flag?
Choose an answer
-
+
Space
All
Previous
Skip
Next
Question # 11
The number of variables that can be used in printf ( ) function are
Choose an answer
One
Many
Three
Zero
Previous
Skip
Next
Question # 12
The format specifier % d is used for
Choose an answer
Int
Unsigned short
Unsigned float
Unsigned long int
Previous
Skip
Next
Question # 13
%f is used for:
Choose an answer
Double
Float
Integer
Short
Previous
Skip
Next
Question # 14
Which of the following format specifiers is used for integer data type?
Choose an answer
%d
%s
%c
%f
Previous
Skip
Next
Question # 15
Which escape sequence can be used to insert a tab in c:
Choose an answer
\a
\b
\t
\n
Previous
Skip
Next
Question # 16
A disadvantages of partitioning is
Choose an answer
Simplicity
Extra space and update time
Both a & b
None of them
Previous
Skip
Next
Question # 17
The statement printf ("%10d",n) will display the value of n:
Choose an answer
Right justified in ten-character space
Left justified in ten-character space
Center-justified in ten-character space
None of these
Previous
Skip
Next
Question # 18
The statement printf ("%-10d",n) will display the value of n:
Choose an answer
Right justified in ten-character space
Left justified in ten-character space
Center-justified in ten-character space
None of these
Previous
Skip
Next
Question # 19
Which of the following is not a valid escape code?
Choose an answer
\t
\r
\y
\f
Previous
Skip
Next
Question # 20
In an E-R diagram a rectangle represents
Choose an answer
Entity
Arttibute
Record
None of them
Previous
Skip
Next
Back