HOME ASSIGNMENT
FOR SUMMER VACATION
(For XII COMPUTER
SCIENCE 2012-13)
NOTE—Make a separate
book for HOME ASSIGNMENT and submit it on the first day of the commencement of
the Vidyalaya after summer vacation.
1.REVIEW-Revision
of C++ Studied in XI th Class.
1.1 What are the
escape sequences in C++ ?
1.2 What are the
different types of operators in C++, what is their priority and associativity
(order of execution when two operators have same priority in an expression) ?
1.3 What are different data types in C++ ? What
is it’s size (in Bytes) and range of values(MINIUM to MAXIMUM) it can handle ?
1.4 Define and give example of all user-defined
data types (class , structure ,union , Enumeration ) and what are their
advantages/purposes in C++ ?
1.5 What is type
conversion and how many ways we can convert a data type ?
1.6 What is
difference between conditional operator(?:) and if-else statement ? Give
examples?
1.7 What is
difference between switch-case statement and if-else statement ? Give examples?
1.8 Describe
Jump/Branch statements (return,goto,break,continue statements) and their
syntax/format of use with examples?
1.9 Describe CONSOLE
I/O OPERATIONS and what are the I/O
functions to support in C++;
1.10 Derive a
formula to find out Physical Adreess of
an element present/stored at [i][j] th
location in a 2-Dimensional array. Base
Adrees and Size of each element is given
.
2.What are the
OOP Concepts ?Describe with example .
3.What are the
advantages of FUNCTION overloading ? How
compiler decides the best match when exact match is not possible.Explain with
the help of examples?
4.What is the
scope of private , protected and public members (function and data members)of a
class. What about their accessibility in other class and in main() ?
5.Write an OOP in
C++ to perform the following mathematical operations on complex numbers.
.Addition .Subtraction
.Multiplication
.Division .Conjugate
.polar form .absolute vale /relative
6.Write an OOP
that enters Employees information (NAME,ADDRESS,BASIC SALARY, DOB) and
processes its information to find the NET SALARY , INCOME TAX and displays it.
7.Write an OOP
and implement following in it :
1.Default
Constructor
2. Parameterized
constructor
3.Copy constructor
4.Destructor
5.Function
overloading
8.Write code in
C++ to implement the following types of
inheritance :
.Single Inheritance
.Multiple Inheritance
.Hierarchical Inheritance
.Multilevel
Inheritane
.Hybrid Inheritance
9. Give examples
to implement various types of visibility modes? How the affect the scope of the
inherited members in a derived class?
10. Why the
argument to a copy constructor is passed by reference? What is the disadvantage
of passing object by value ?
11. State and
prove all BASIC THEOREMS and DE Morgan’s Theorem OF BOOLEAN ALGEBRA using Truth
Tables.
12. Draw the
circuit diagram using basic gates for the following functions:
F(X,Y,Z)=(X+Y).(X’
+Z’).(Y+Z)+X+Z’
F(X, Y, Z) =(X+Y)+(X’ +Z’).(Y+Z)+X+Z’
F(X,Y,Z)=(X+Y)’ . (X’
+Z’).(Y’.Z’)+X+Z’
F(X,Y,Z)=((X+Y).(X’
+Z’))’+(Y.Z)
FS(X,Y,Z)=(Y.(X’
+Z’)).(Y’.Z’).X+Z’
For any queries/doubts
feel free to contact
me …
Email ID :
HSYADAV.KVS@GMAIL.COM