C (1st) Dec2018 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 Roll No.


24336 24336 24336 24336 24336 Total24336
No. of Pages
24336 : 02 24336

Total No. of Questions : 07


B.Sc. (IT) (2015 & Onward)/BCA (2013 & Onward) (Sem.–1)
24336 24336 24336 24336 24336 24336 24336 24336 24336
PROGRAMMING IN C
Subject Code : BSIT/BSBC-102
Paper ID : [B1109]
24336 24336 24336 24336 24336 24336 24336 24336 24336
Time : 3 Hrs. Max. Marks : 60

INSTRUCTION TO CANDIDATES :
24336 24336 24336 24336 24336 24336 24336 24336 24336
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains SIX questions carrying T EN marks each and a student has
to attempt any FOUR questions.
24336 24336 24336 24336 24336 24336 24336 24336 24336

SECTION-A
24336 24336 24336
Q1 Answer briefly :
24336 24336

o m 24336 24336 24336 24336

24336 24336
(a) Define data type.
24336 24336
.r c
24336 24336 24336 24336 24336

(b) List any four keywords.


p e m
pa o
.r c
24336 24336 (c) What is use of jumping
24336 24336 statement?
24336 24336 24336 24336 24336

24336 24336 24336


br
(d) What are various input/output statements?
24336
(e) Define local and global variable.
24336

p e
24336 24336 24336 24336

p a
24336 24336
(f) What is use of nested structure?
24336 24336 24336

br 24336

(g) Write a C language program to swap two given numbers.


24336 24336 24336

(h) How pointers are initialized?


24336 24336 24336 24336 24336 24336 24336 24336 24336

(i) Write a C language program to print first 10 even numbers.

24336 24336 (j) What is function prototyping?


24336 24336 24336 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336

1|M - 1 0 0 44 (S3)-1741

24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336


24336 24336 24336 24336 24336 24336 24336 24336 24336

SECTION-B
24336 24336 24336 24336 24336 24336 24336 24336 24336

Q2 Define Program. Write and explain various steps involved in development of the
program.
24336 24336 24336 24336 24336 24336 24336 24336 24336
Q3 What is operator and expression? Explain various types of operators available in C
language.
24336 24336
Q4 What is24336 24336
Call by value? 24336
How it is different 24336
from call 24336
by reference? 24336
Explain with suitable 24336

example.

24336 Q5
24336 Write and
24336explain a C24336
language program
24336 to transpose
24336a matrix. 24336 24336 24336

Q6 Write notes on the following :


24336 24336 24336 24336 24336 24336 24336 24336 24336
(a) Pointers

(b) Processing a data file


24336 24336
Q7
24336 24336
Differentiate the following :
24336

o m 24336 24336 24336 24336

24336 24336
(a) Structure and union
24336 24336
.r c
24336 24336 24336 24336 24336

e
(b) While and do-while statement.
p m
pa o
.r c
24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 24336 24336


br 24336 24336

p e
24336 24336 24336 24336

p a
24336 24336 24336 24336 24336

br 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336

2|M - 1 0 0 44 (S3)-1741

24336 24336 24336 24336 24336 24336 24336 24336 24336

24336 24336 24336 24336 24336 24336 24336 24336 24336

You might also like