This is a Question Papers of Mumbai University for B.Sc.IT Student of Semester - I [Introduction To Programming C] (Old Course). [Year - April / 2014] . . .Solution Set of this Paper is Coming soon..
[Question Paper] Introduction To Programming C (Old Course) [April / 2014]
1. I n t r o d u c t i o n T o P r o g r a m m i n g C
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d C o u r s e ]
1 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Time: 3 Hours Total Marks: 100
N.B.: (1) Question 1 is Compulsory.
(2) Answer any 4 from the remaining questions.
(2) All questions carry equal marks.
Q.1 Attempt the following Question: (20 Marks)
(A) What is an Unsigned Integer Constant? What is the significance of declaring a
Constant Unsigned?
(10)
(B) What are the qualifiers that can an Int can have at a time? (10)
Q.2 Attempt the following Question: (20 Marks)
(A) Find errors, if any in the following Arithmetic Expression:
X=y=z=0.5, 2.0, -5. *5;
S=/5;
A=b++ -C*2
(10)
(B) Which of the following arithmetic expressions are valid, give the value of the
expression otherwise give reason.
21%(int)4.5
-14%3
+9/4 +5
(10)
Q.3 Attempt the following Question: (20 Marks)
(A) In what ways does a switch statement differ from an if statement? (10)
(B) Write a program to read the age of 100 persons and Count the number of persons in
the age group of 50 to 60. Use for and Continue Statement.
(10)
Q.4 Attempt the following Question: (20 Marks)
(A) Explain? : Operator with suitable example. (10)
(B) What is the difference between while loops and do-while loop. Give suitable
example.
(10)
Q.5 Attempt the following Question: (20 Marks)
(A) Distinguish between the following with suitable example:
getc and getchar
printf and fprintf
fcof and ferror
(10)
(B) What is the significance of EOF? (10)
2. I n t r o d u c t i o n T o P r o g r a m m i n g C
Q u e s t i o n P a p e r ( A p r i l – 2 0 1 4 ) [ O l d C o u r s e ]
2 | Page
M u m b a i B . S c . I T S t u d y
F a c e b o o k | T w i t t e r | I n s t a g r a m | G o o g l e + | Y o u T u b e
– Kamal T.
Q.6 Attempt the following Question: (20 Marks)
(A) Write a program using pointers to complete the sum of all elements stored in an
array.
(10)
(B) How does a structure differ from an array? (10)
Q.7 Attempt the following Question: (20 Marks)
(A) Distinguish between the following with suitable example:
Actual and Formal Arguments.
Global and Local Variable.
(10)
(10)