0% found this document useful (0 votes)
74 views3 pages

C Language Pyq

This document is a 3 page exam for an Introduction to Computer Programming Using C course. It contains 2 sections - Section A with 5 long answer questions worth 20 marks each, and Section B with 8 short answer questions worth 10 marks each. Students must answer 2 questions from Section A and 4 questions from Section B. The questions cover topics like storage classes in C, functions, data files, data types, operators, file handling, recursion, dynamic memory allocation, variable lifetimes, and reserved words.

Uploaded by

tanmaykarki14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views3 pages

C Language Pyq

This document is a 3 page exam for an Introduction to Computer Programming Using C course. It contains 2 sections - Section A with 5 long answer questions worth 20 marks each, and Section B with 8 short answer questions worth 10 marks each. Students must answer 2 questions from Section A and 4 questions from Section B. The questions cover topics like storage classes in C, functions, data files, data types, operators, file handling, recursion, dynamic memory allocation, variable lifetimes, and reserved words.

Uploaded by

tanmaykarki14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Total pages : 03 Roll No. ..............

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

Time : 2 Hours Max. Marks:80

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)

Q.1 What are storage classes in c programming? Explain


various types of storage class.

Q.2 Define function? State the types of functions depending


upon the categories of arguments and return statements
with suitable examples.
P.T.O.

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.

Q.4 What are Elementary data types. Explain various


elementary data types used in c programming language
with suitable examples.

Q.5 What is an operator ? Explain the arithmetic, relational,


logical and bitwise operators in C language.

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.

Q.2 Write a pseudo code to find the factorial of a given


number.

P.T.O.
C-979 2
Q.3 What is the difference between "break" and "continue"
statement in 'c' programming language?

Q.4 Explain the difference between "call by value" and "call


by reference" function calling.

Q.5 What is Recursion? Explain it.

Q.6 Discuss the Dynamic memory allocation.

Q.7 Explain the term of "life time of variable" with suitable


example.

Q.8 What are the reserved words in 'C' programming


language? Explain the significance of the same.
*********

C-979 3

You might also like