12th Class Computer Science MCQS Chapter 10

Google Ads1

12th Class Computer Science MCQS


Which character signifies the beginning of an escape sequence?
//
{
/

The format specifier %u is used for:
Unsigned short
Integer
Unsigned float
Unsigned long int

The header file that contains input and output functions is
Math.h
Graphic.h
Conio.h
Stdio.h

Which escape sequence can be used to beep from speaker in c:
n
m
a
b

Print() function can show
Constants
Value of variable
Text
All

The function used to input data in C program is
Main ()
Print ()
Scanf ()
Sqrt ()

The escape sequence for backspace is
\
t
b

Which of the following is NOT legal element of control string in printf statement?
Variables
Format specifier
Ordinary characters
Escape sequence

A factor consider when choosing a file organization is
Fast data retrieval
All of them
Security
Efficient storage

Which of the following format specifiers is used for character data type?
%f
%d
%c
%s

Continue Reading Go to Next Page

Google Ads