0% found this document useful (0 votes)
25 views1 page

C (1st) Dec11

c lanaguage

Uploaded by

satya
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)
25 views1 page

C (1st) Dec11

c lanaguage

Uploaded by

satya
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/ 1

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

Total No. of Questions : 07] [Total No. of Pages : 01


B.Sc. IT (Sem. – 1st)
PROGRAMMING IN C
SUBJECT CODE : BS - 105
Paper ID : [B0403]
Time : 03 Hours Maximum Marks : 60
Instruction to Candidates:
1) Section - A is Compulsory.

ity
2) Attempt any Four questions from Section - B.

Section - A

rs
Q1) (10 × 2 = 20)
a) What are data type qualifiers?

ve
b) What is the difference between structure and union?
c) What is the difference between call by value and call by reference?

ni
d) What are preprocessor statements?
e) Can modulus operator be applied to float variables?
f)
g) lU
What is the importance of main () in C language?
What do you mean by structured programming approach?
ca
h) What is the use of size of operator?
i) Differentiate between array of pointers and pointer to an array.
j) What are escape sequences?
ni

Section - B
ch

(4 × 10 = 40)
Q2) What are different data types of available in C? Explain each one of them.
Q3) a) Differentiate between while and do – while loop with an example of
Te

each.
b) Write a program to add first n terms of the series:
1/1! + 2/2! + 3/3! +4/4! + …….+ n/n!
ab

Q4) Explain file handling. Write a program to create a file and display its
contents.
Q5) What is a storage class? Discuss in detail the differences between all
nj

storage classes with suitable examples.


Pu

Q6) How do you create multidimensional arrays in C? Write a program to


multiply two matrices and print the result.
Q7) Differentiate between a structure and a union. Explain in detail using
suitable example program for each.

J - 161 1

You might also like