How To Exam?

a knowledge trading engine...


B.Sc-B.Sc Animation 3rd Sem Paper – II : INTRODUCTION TO PROGRAMMING LANGUAGES(University of Pune, Pune-2013)

Thursday, 27 November 2014 11:00Nitha

F.Y. B.Sc. (Animation) Examination, 2013
Paper – II : INTRODUCTION TO PROGRAMMING LANGUAGES
C PROGRAMMING
(2011 Course)


Time : 3 Hours                                                                                            Max. Marks : 80

Note : I) All questions are compulsory.

II) Figures to right indicate full marks.

III) Neat diagrams must be drawn wherever necessary.

1. Answer any ten of the following : (2×10=20)
a) What is identifier ? Give two example of valid identifier.
b) What do you mean by keyword ? List any four example of keyword.
c) Explain the use of getchar ( ) function.
d) What is the use of puts( ) function ?
e) What is main difference between variable and constant ?
f) What is syntax error ?
g) Assume that we are executing following Code
a = 10
b = 24.0
For each of the following expression, write the value of the expression and
type of value
1. b/4
2. a/5.0
h) Explain ‘in’ operator used with list in python.
i) What is interpreter ? How it work ?
j) Assume that we execute following assignment statement
E = ‘X’
For each of the following expression, write the value of the expression and
type of the value.
1. E + ‘E’
2. E * 5

k) Explain any two logical operators in C.
l) What will be the output of the following program ?
main ( )
{
int i = 3 ;
printf (“%d\n”, i++) ;
i + + ;
printf (“%d ”, i) ;
}
2. Answer any three of the following : (5×3=15)
a) Explain syntax and use of Do-while loop in C program.
b) Explain continue and goto statement with example in C programming.
c) Write a note on recursion.
d) Explain syntax and use of printf and scanf function in C programming.
e) Explain bitwise operators with suitable example.
3. Answer any three of the following : (5×3=15)
a) Write a note on program error in python.
b) Write a note on event driven programming in python.
c) What is array ? How to initialize and access elements of array ?
d) What is Header file ? Explain use of stdio.h and string.h.
e) Explain strcmp( ) and strcat( ) function with proper syntax in C programming.
4. Answer any three of the following : (5×3=15)
a) Write a ‘C’ program to display first ‘n’ even numbers.
b) Write a ‘C’ function to calculate xy.
c) Write a ‘C’ program to read a string and find the length of the string.
d) Write a program [Python Script] to accept name of the student, marks obtain
in four subjects, calculate percentage and print percentage and name [Max.
marks in each subject is 100].
e) Write a Python Script to calculate and print simple interest.

5. Answer any three of the following : (5×3=15)
a) What are the different types of conversion functions ? Explain any three.
b) Explain list operator with an example.
c) Explain any four dictionary method.
d) What is pointer ? Explain pointer arithmetic.
e) Write a note on multi dimensional array.
————————
B


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER B.Sc-B.Sc Animation 3rd Sem Paper – II : INTRODUCTION TO PROGRAMMING LANGUAGES(University of Pune, Pune-2013)