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
ICS Part 2 Computer Science Chapter 10 Online Test MCQs With Answers
Question # 1
Which function is used to input data in C program?
Choose an answer
scanf
getch()
gets()
All
Previous
Skip
Next
Question # 2
A disadvantages of partitioning is
Choose an answer
Simplicity
Extra space and update time
Both a & b
None of them
Previous
Skip
Next
Question # 3
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 # 4
Organizing the database in computer disk storage is done in
Choose an answer
Logical design
Physical design
Analysis
Implementation
Previous
Skip
Next
Question # 5
Which escape sequence can be used to beep from speaker in c:
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 6
Which of the following format specifiers is used for float data type?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 7
The escape sequence for backslash is:
Choose an answer
\
\b
\ \
\t
Previous
Skip
Next
Question # 8
Which of the following symbol is used with % sign to display output left-justified:
Choose an answer
-
/
\
L
Previous
Skip
Next
Question # 9
The number of variables that can be used in printf ( ) function are
Choose an answer
One
Many
Three
Zero
Previous
Skip
Next
Question # 10
The format specifier for output are:
Choose an answer
%d for int and %f for float
%c for char
%s for string
All
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
A factor consider when choosing a file organization is
Choose an answer
Fast data retrieval
Security
Efficient storage
All of them
Previous
Skip
Next
Question # 13
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 # 14
Which escape sequence can be used to begin a new line in C?
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 15
The escape sequence for backspace is
Choose an answer
\
\b
\\
\t
Previous
Skip
Next
Question # 16
Which of the following is not a valid escape code?
Choose an answer
\t
\r
\y
\f
Previous
Skip
Next
Back