Jan2010-110003 Computer Programming and Utilization
Jan2010-110003 Computer Programming and Utilization
______
Q.1 (a) Draw the Block Diagram of Computer Architecture and explain each 07
block with its functions.
(b) Give comparison of 07
1. C and C++ Programming language.
2. Flow charts and Algorithms
Q.3 (a) Define Object and Class and Give comparison of Object Oriented 07
Language and Procedural Language.
(b) What is the use of Constructor and Destructor in C++? Write a C++ 07
program to demonstrate the use of Constructor and Destructor.
OR
Q.3 (a) What is a User Defined Data type? What is the scope and life time of 07
variable? Explain using C++ program
(b) Describe the features of OOP Language 07
Q.4 (a) Write a C program to find out Armstrong Numbers between 0 and 999. 07
Example : 153 is an Armstrong number because 13+53+33=153
(b) Give examples of various string operation functions demonstrate them 07
using an example program.
OR
Q.4 (a) What is Friend function? Write a C++ Program to show usage of 07
Friend Function.
(b) What is Pointer? How to initialize the pointer and how it is different 07
from Array?
Q.5 (a) Give comparison of Static Memory Allocation and Dynamic Memory 07
Allocation with a code snippet.
(b) Write C++ program to explain the concept of 07
1. Polymorphism
2. Inheritance
OR
Q.5 (a) Describe various types of Inheritance 07
(b) Explain branching and looping in with example code 07
***********