B.Tech.
(Computer Science and Engineering)
Semester: II
Subject: Computer Programming in C++(DCO 001A)
Assignment #1
SECTION A(2*5=10 Marks)
1. What is Procedure Oriented Programming ?
2. What is an Object?
3. Define Polymorphism ?
4. Write the use of scope resolution operator ?
5. Write any two applications of object oriented programming?
SECTION B(7*3=21 Marks)
1. Differentiate between procedure oriented programming language and object oriented
programming language ?
2. What do you mean by Abstract data type? Explain with suitable example .
3. Explain Type Casting in c++ with example.
SECTION C(11*3=33 Mark)
1. What do you mean by actual and formal parameters? Write a program to pass parameters to a
function.
2. Write the characteristics of object oriented programming. Explain encapsulation feature of
OOP with example .
3. Write short note on :
(i) Class
(ii) Reference variable
(iii) Token