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 of the following function is used to input data in C programs?
Choose an answer
Scanf
Printf
Get()
getch()
Previous
Skip
Next
Question # 2
Which character signifies the beginning of an escape sequence?
Choose an answer
{
\
/ /
/
Previous
Skip
Next
Question # 3
Which escape sequence can move the cursor at the beginning of current line in C?
Choose an answer
\a
\b
\m
\r
Previous
Skip
Next
Question # 4
Which of the following are basic data distribution strategies
Choose an answer
Centralized
Partitioned
Replication
All of them
Previous
Skip
Next
Question # 5
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 # 6
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 # 7
Which escape sequence can be used to begin a new line in C?
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 8
Which escape sequence can move the cursor at the beginning of current line
Choose an answer
\a
\b
\t
\n
Previous
Skip
Next
Question # 9
Which of the following things are determined by format specifier?
Choose an answer
Data type
Field width
Format of the value
All of these
Previous
Skip
Next
Question # 10
Which of the following format specifiers is used for float data type?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 11
The format specifier %u is used for:
Choose an answer
Integer
Unsigned short
Unsigned float
Unsigned long int
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
In an E-R diagram a rectangle represents
Choose an answer
Entity
Arttibute
Record
None of them
Previous
Skip
Next
Question # 14
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 15
Format specifier is started with symbol:
Choose an answer
?
%
&
*
Previous
Skip
Next
Back