This is a Question Papers of Mumbai University for B.Sc.IT Student of Semester - I [Introduction To C++ Programming] (Revised Course). [Year - ,May / 2016] . . .Solution Set of this Paper is Coming soon..
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
[Question Paper] Introduction To C++ Programming (Revised Course) [May / 2016]
1. I n t r o d u c t i o n T o C + + P r o g r a m m i n g
Q u e s t i o n P a p e r ( M a y – 2 0 1 6 ) [ R e v i s e 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) All Questions are Compulsory.
(2) Figure To right indicate Full Marks.
Q.1 Attempt Both The Question: (10 Marks)
(A) Define Algorithm. What are the characteristics of Algorithm? (5)
(B) Explain and draw different symbols of Flowchart. Write advantages and disadvantages
of Flowchart.
(5)
Q.2 Attempt Any Three From The Following: (15 Marks)
(A) How to declare Variable? Write down rules to name the variable, Explain with
example.
(5)
(B) Write note on Program Design Process. (5)
(C) Draw flowchart to check number is positive or negative. (5)
(D) Write algorithm to display reverse of the number. (5)
Q.3 Attempt Any Three From The Following: (15 Marks)
(A) Write a note on Insertion and Extraction Operator with example. (5)
(B) What are data types in C++? (5)
(C) State following statements are valid or not: –
1) B* 10 2) Emp name 3) Stud_no2 4) P.F.Number 5) marks
(5)
(D) What do you mean by Reference Variable? Explain with example. (5)
Q.4 Attempt Any Three From The Following: (15 Marks)
(A) Explain simple 'if statement, 'if...else' statement, and 'nested if' statement with syntax
and example.
(5)
(B) Explain 'while' loop with syntax and example. (5)
(C) Write a program in C++ to display series of odd numbers from 1 to 100. (5)
(D) Explain 'break' and 'continue' statement with example. (5)
Q.5 Attempt Any Three From The Following: (15 Marks)
(A) Write a note on Function Recursion. (5)
(B) Explain getchar() , puts() ,. getch() , gets() , putchar() functions. (5)
(C) Explain with example, the difference between call by value and call by reference for
Function Calls.
(5)
(D) Write a program in C++ to check number is prime or not using function. (5)
2. I n t r o d u c t i o n T o C + + P r o g r a m m i n g
Q u e s t i o n P a p e r ( M a y – 2 0 1 6 ) [ R e v i s e 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 Any Three From The Following: (15 Marks)
(A) Write a note on Pointers. (5)
(B) What is an Array? How do you initialize and access elements in an Array? (5)
(C) How to Pass Array Elements to a Function? (5)
(D) Write a program in C++ to input 20 elements in Array, find out sum and average of
element.
(5)
Q.7 Attempt Any Three From The Following: (15 Marks)
(A) Explain any two String Handling Functions with the help of examples. (5)
(B) Write a note on Structures. Explain with example. (5)
(C) What is a Vector? How do you access elements in Vectors? (5)
(D) Write a program in C++– to search given character in the given String. (5)