C Language Pyq
C Language Pyq
BCA-02/DIT-06
Introduction to Computer Programming Using C
Diploma/Bachelor of Computer Application
(BCA-11/16/17)
st
1 Semester, Examination June 2022
Note : This paper is of eighty (80) marks divided into two (02)
Sections A and B. Attempt the questions contained in
these sections according to the detailed instructions
given therein.
Section-A
(Long Answer-type questions)
Note: Section 'A' contains Five (05) long-answer-type
questions of Twenty (20) marks each. Learners are
required to answer any two (02) questions only.
(2 x 20=40)
C-979 1
Q.3 What are the different types of data files, for future
reference and analysis in c programming language?
Explain. Write a program to read a notepad file and
display its contents on the computer screen.
Section-B
(Short Answer-type questions)
Note: Section 'B' contains Eight (08) short-answer-type
questions of Ten (10) marks each. Learners are
required to answer any four (04) questions only.
(4 x 10=40)
Q.1 Write a program that opens a file and close a file under
file handling.
P.T.O.
C-979 2
Q.3 What is the difference between "break" and "continue"
statement in 'c' programming language?
C-979 3