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

C Rpogramming 2020

This document is an examination paper for a BCA course on Programming in 'C', consisting of a total of three pages. It includes a compulsory question and a selection of additional questions from four units covering various topics related to the C programming language. The questions address concepts such as string constants, operators, loops, functions, and variable scope.

Uploaded by

anshudhiman203
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)
5 views3 pages

C Rpogramming 2020

This document is an examination paper for a BCA course on Programming in 'C', consisting of a total of three pages. It includes a compulsory question and a selection of additional questions from four units covering various topics related to the C programming language. The questions address concepts such as string constants, operators, loops, functions, and variable scope.

Uploaded by

anshudhiman203
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

Roll No. ..........................

Total Pages : 03

BCA/D-20 1195
PROGRAMMING IN ‘C’
BCA-116
Time : Three Hours] [Maximum Marks : 80

Note : Attempt Five questions in all. Q. No. 1 is compulsory.


In addition to compulsory question, attempt four more
questions selecting one question from each Unit.

(Compulsory Question)

1. (a) How is string constant different from character


constant ?
(b) List the operators having right to left associativity.
(c) How infinite loop is created ?
(d) Can formal arguments and actual arguments have
the same name ?
(e) What is the default storage class of the variable ?
(f) What are the inherent dangers of using external
variables ? 4,2,2,2,2,4

(3)L-1195 1
Unit I

2. Explain the characteristics and limitations of ‘C’ language.


16

3. (a) What are the rules for naming identifier ?


(b) Explain the purpose of various, backslash characters
available in ‘C’. 6,10

Unit II

4. (a) Discuss the hierarchy of operators ?


(b) Differentiate between automatic types conversion
and type casting. 10,6

5. Explain switch statement. Compare it with nested IF


structure. 16

Unit III

6. (a) Explain continue statement. Differentiate between


continue statement and break statement.
(b) Write a program to print prime numbers between 1
and 200. 6,10

7. Define function. How is it declared, called and defined ?


Explain. 16

(3)L-1195 2
Unit IV

8. Explain the following :


(a) Scope of auto and static variables
(b) Lifetime of static and External variables 8,8

9. (a) How a linear array is declared and initialized ?


How are the elements accessed ?
(b) Write a program to find largest and smallest among
n array elements. 6,10

(3)L-1195 3 ___

You might also like