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
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 2
Which of the following format specifiers is used for string?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 3
In an E-R diagram a rectangle represents
Choose an answer
Entity
Arttibute
Record
None of them
Previous
Skip
Next
Question # 4
Which character signifies the beginning of an escape sequence?
Choose an answer
{
\
/ /
/
Previous
Skip
Next
Question # 5
Which function is used to input data in C program?
Choose an answer
scanf
getch()
gets()
All
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
An advantages of partitioning is
Choose an answer
Efficiency
Extra space and update time
Both a & b
None of them
Previous
Skip
Next
Question # 8
Print() function can show
Choose an answer
Text
Value of variable
Constants
All
Previous
Skip
Next
Question # 9
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 10
The escape sequence for backspace is
Choose an answer
\
\b
\\
\t
Previous
Skip
Next
Question # 11
Format specifier is started with symbol:
Choose an answer
?
%
&
*
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
The number of variables that can be used in printf ( ) function are
Choose an answer
One
Many
Three
Zero
Previous
Skip
Next
Question # 14
As ampersand before the name of a variable denotes:
Choose an answer
Actual value
Variable name
Address
Data type
Previous
Skip
Next
Question # 15
Which of the following is NOT legal element of control string in printf statement?
Choose an answer
Ordinary characters
Escape sequence
Format specifier
Variables
Previous
Skip
Next
Question # 16
How many variables can be used in one printf function?
Choose an answer
One
Two
Many
Ten
Previous
Skip
Next
Back