ECAT Computer Science MCQS Page 6
The function getche() is defined in:
conio.h
stdio.h
string.h
math.h
A factor consider when choosing a file organization is
All of them
Fast data retrieval
Security
Efficient storage
The function used to input data in C program is
Scanf ()
Print ()
Sqrt ()
Main ()
The function that is used to display output on screen is called:
printf
scanf
pow
Display
The escape sequence for backspace is
\b
\
\\
\t
Which of the following format specifiers is used for integer data type?
%d
%s
%c
%f
Which of the following is NOT legal element of control string in printf statement?
Variables
Ordinary characters
Escape sequence
Format specifier
Which character signifies the beginning of an escape sequence?
\
{
//
/
A disadvantages of partitioning is
None of them
Simplicity
Extra space and update time
Both a & b
The format specifier for output are:
All
%d for int and %f for float
%c for char
%s for string
Which escape sequence can be used to beep from speaker in c:
\a
\b
\m
\n
Which of the following is used to define objects and describe their characteristics
Both a & b
Attributes
Relationship
None of them
Continue Reading Go to Next Page
Google Ads
Leave a Reply