12th class (Fsc) computer unit 14 MCQs

chapter 14 MCQs 12th Class computer

File Handling in “C”:

a. ROM
b. RAM
c. Cache
d. Hard Disk

d. Hard Disk

a. Input stream
b. Text stream
c. Output stream
d. Binary stream

b. Text stream

a. Binary stream
b. Input stream
c. Output stream
d. Text stream

d. Text stream

a. “r+”
b. “w”
c. “a+”
d. “w+”

d. “w+”

a. 3
b. 1
c. 4
d. 2

d. 2

a. Argument
b. Variable
c. Pointer
d. Parameter

b. Variable

a. Argument
b. Multiplication
c. Sentinal
d. Pointer

d. Pointer

a. 1(one)
b. NULL
c. FILE pointer
d. 0(zero)

d. 0(zero)

a. 1 (One)
b. Null
c. File pointer
d. 0 (Zero)

d. 0 (Zero)

a. “r+”
b. “w”
c. “a+”
d. “w+”

d. “w+”

a. fputs()
b. getc()
c. fgets()
d. putc()

b. getc()

a. fputs()
b. getc()
c. fgets()
d. putc()

d. putc()

a. Fputs()
b. Putc( )
c. Fgets()
d. Putc()

b. Putc( )

a. double
b. Int
c. An array
d. Float

b. Int

a. \a
b. \0
c. \n
d. /0

b. \0

a. Strycp
b. Strcpy
c. Strpcy
d. None

b. Strcpy

a. Fputs()
b. Puts()
c. Fgets()
d. Pute()

a. Fputs()

a. The file must contain valid student data
b. The file must already exist
c. The type of file must be read only
d. The file should be data file only

b. The file must already exist

a. Fprintf( )
b. Fscanf()
c. Both A & B
d. None

c. Both A & B

Click here to go directly on chapter no.1

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *