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

An array script should be

Question # 2

Which of the following functions is used to copy a string to an array characters/

Question # 3

If fptr = fopen ("Dats.txt". "r") statement is used to open a file then what would be the necessary condition

Question # 4

If programs get input data from data file and also send output into data file, it is called

Question # 5

A stream is associated with a file using an _______ operation

Question # 6

Which of the following functions is used to read character from a file

Question # 7

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

Question # 8

There are _______ types of streams

Question # 9

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

Question # 10

In text stream, character have ________ correspondence

Question # 11

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

Question # 12

An array script should be:

Question # 13

A file is stored in?

Question # 14

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

Question # 15

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

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


Topic Test

00:00

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
  • E
    Ehtesham Mukhtar 02 - Nov - 2018 01 Min 54 Sec 55/60
  • I
    Iftikhar Ahmad 02 - Nov - 2018 02 Min 09 Sec 55/60
  • F
    fatema naveed 17 - Jun - 2026 01 Min 07 Sec 52/60
  • L
    Lubna Nadeem 17 - Jun - 2026 01 Min 47 Sec 52/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
  • A
    aamna 29 - Nov - 2018 01 Min 37 Sec 50/60
  • P
    Precious Doll 25 - Feb - 2023 02 Min 28 Sec 50/60

ECAT Computer Sciences Chapter 13 Important MCQ's

Sr.# Question Answer
1 On successfully closing a file, the fclose() returns:
A. Null
B. 0 (zero)
C. 1 (one)
D. File pointer
2 A file is stored in?
A. RAM
B. Hard disk
C. ROM
D. Cache
3 Which of the following characters is used to mark the end of the string
A. \0
B. /0
C. \a
D. \n
4 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
5 Which of the following function is used to write a string to a file?
A. puts()
B. putc()
C. fputs()
D. fget()
6 Which of the following is/ are file handling functions
A. fprintf()
B. fscanf ( )
C. Both A and B
D. Make ()
7 Which of the following functions is used to write a string to a file
A. Puts()
B. Putc ()
C. Fputs ()
D. Fqets()
8 On, successfully closing a file, the fclose () returns
A. Null
B. 0
C. 1
D. FILE pointer
9 Which of the following functions is used to read character from a file
A. getc ()
B. putc ()
C. fputs ()
D. fgets ()
10 A file is stored in
A. RAM
B. Hard Disk
C. ROM
D. Cache

Test Questions

Share your comments & questions here

Guest
  • No comments yet. Be the first to comment!