ECAT Pre Computer Science MCQ Test For Computer Chapter 13 With Answer

MCQ's Test For ECAT Computer Science Chapter 13 Fundamentals of C Language

Try The MCQ's Test For ECAT Computer Science Chapter 13 Fundamentals of C Language

  • Total Questions15

  • Time Allowed15

ECAT Computer Science Chapter 13 Fundamentals of C Language

00:00
Question # 1

Which of the following functions is used to write character to a file

Question # 2

Which of the following is/ are file handling functions

Question # 3

There are _______ types of streams

Question # 4

In text stream, character have ________ correspondence

Question # 5

A file is stored in?

Question # 6

On, successfully closing a file, the fclose () returns

Question # 7

An array script should be:

Question # 8

Which of the following function is used to write a string to a file?

Question # 9

On successfully closing a file, the fclose() returns:

Question # 10

Which mode opens only an existing file for both reading and writing

Question # 11

A file is stored in?

Question # 12

A stream is associated with a file using an _______ operation

Question # 13

In file handling, sequence of characters refers to _______

Question # 14

A file is stored in

Question # 15

Which mode opens only an existing file for both reading and writing:

Prepare Complete Set Wise ECAT Computer Science Chapter 13 Fundamentals of C Language MCQs Online With Answers


Top Scorers Of ECAT Computer Science Chapter 13 Fundamentals of C Language MCQ`s Test

  • A
    Abdullah 30 - Jan - 2024 00 Min 56 Sec 60/60
  • S
    Shahzaib 10 - Apr - 2023 02 Min 27 Sec 60/60
  • S
    Suleman Zeeshan 06 - Jul - 2021 03 Min 54 Sec 60/60
  • M
    maryam 25 - Oct - 2018 10 Min 54 Sec 60/60
  • M
    Muhammad Saim 14 - Sep - 2018 00 Min 44 Sec 55/60
  • M
    Muneeba Riaz 25 - Aug - 2022 01 Min 02 Sec 55/60
  • I
    isha 11 - Jul - 2018 01 Min 19 Sec 55/60
  • U
    Umar Ali 11 - Jul - 2018 01 Min 23 Sec 55/60
  • S
    sana hashmi 06 - Aug - 2018 01 Min 41 Sec 55/60
  • E
    Ehtesham Mukhtar 02 - Nov - 2018 01 Min 54 Sec 55/60
  • I
    Iftikhar Ahmad 02 - Nov - 2018 02 Min 09 Sec 55/60
  • S
    Sobia 03 - Aug - 2018 04 Min 45 Sec 55/60
  • M
    magi 14 - Feb - 2019 00 Min 30 Sec 50/60
  • F
    Fatima 05 - Feb - 2019 00 Min 49 Sec 50/60
  • S
    Saad Aziz 15 - Feb - 2019 01 Min 12 Sec 50/60
Sr.# Question Answer
1 On, successfully closing a file, the fclose () returns
A. Null
B. 0
C. 1
D. FILE pointer
2 If programs get input data from data file and also send output into data file, it is called
A. Files
B. File processing
C. Data files
D. File Handling
3 If fptr = fopen ("Dats.txt". "r") statement is used to open a file then what would be the necessary condition
A. The file must already exist
B. The file should be data file only
C. The file must contain valid student data
D. The type of file must be read only
4 Which of the following functions is used to write character to a file
A. Putc ()
B. puts ()
C. fputs ()
D. fgets ()
5 On successfully closing a file, the fclose() returns:
A. Null
B. 0 (zero)
C. 1 (one)
D. File pointer
6 Which mode opens only an existing file for both reading and writing
A. "W"
B. "W+"
C. "r+"
D. "a+"
7 In file handling, sequence of characters refers to _______
A. Text stream
B. File stream
C. Binary stream
D. Character stream

Test Questions

Is this page helpful?