Sunday, February 1, 2009
VIVA-VOCE QUESTIONS FOR C++ CLASS XII
UNIT –I : PROGRAMMING IN C++
Q.1 Define following terms Array, Structure, Class, data-hiding, data abstraction, polymorphism, inheritance, pointers, constructor, destructor, parameterized constructor, default constructor, copy constructor, temporary instance,library functions and their header files.
Q.2 Differentiate between ‘IS-A’ , ‘HAS-A’ and ‘HOLDS-A’ relationship in inheritance .
Q.3 What are visibility modes ? Diffrentiate between them.
Q.4 Define various types of inheritance .
Q.5 How is memory allocated to data members and member function?
Q.6 What is static data member and static member function. What is its use ?
Q.7 How are constructor and destructor executed in inheritance ?
Q.8 How are data-hiding, data-abstraction, encapsulation, polymorphism implemented in c++.
Q.9 What contributes to function overloading – function signatures or return type of function.
Q.10 Difference between array and structures, array and classes
Q.11 Preprocessor directives- #include and #define.NOTE : REVISE CLASS XI C++ PROGRAMMING DATA FILE HANDLING
Q.1 Use of data-files.
Q.2 Definition of stream, different stream classes, member functions of these stream classes. Significance of ios flags.
Q.3 difference between text and binary files, get() and read() functions, put() and write() functions
Q.4 use and significance of seekg(),seekp(),tellg(),tellp(),
Q.5 how does eof() works.
UNIT –II : DATA STRUCTURES
Q.1 Differentiate between arrays, stacks and queues.
Q.2 Application of stacks and queues.
Q.3 Merits and demerits of linear and binary search, bubble, selection and insertion sort.
Q.4 Allocation and de-allocation operator new and delete.
Q.5 Linked list, linked stack, linked queue, circular queue, doubly linked queue.
UNIT –III SQL AND DATABASES
Q.1 Definition of database,relation,,DBMS,RDBMS, domain, field, tuple, attribute, cardinality, degree, primary key, alternate key.
Q.2 Operations on relation – selection, projection, union ,Cartesian product
Q.3.Difference between create table and alter table , create table and create view commands, delete table and drop table.
Q.4 Group functions – sum(), max(), min(), avg(), count()
Q.5 Differentiate between DDL and DML commands with example.
UNIT-IV BOOLEAN ALGEBRA
Q.1 Universal gates – NAND and NOR . Why are they called universal gates.
Q.2 Main theorems of Boolean Algebra, principle of duality
UNIT –V COMMUNICATION AND NETWORKING
Q.1 Definitions of network,Internet,switching techniques-Circuit, Message, Packet, Transmission media- Twisted, coaxial cable, optical fibre, micro wave, radio wave, satellite, buad rate, bandwidth,LAN,MAN,WAN,totplogies,hub,switch,router,bridge,repeater,firewall,cookies
Q.2 FULL forms of HTTP, FTP,TCP/IP,SLIP/PPP, MODEM,CDMA,WLL,SMS,WWW,URL
NOTE - ANY QUERIES CAN BE POSTED ON COMMENTS
ALL THE BEST FOR FORTH COMING BOARD EXAMINATIONS.
Friday, December 19, 2008
TIPS FOR USER-DEFINED FUNCTION in c++
THEY ARE BROADLY CATEGORISED IN TWO CATEGORIES -
1. Standard Library functions ( Bulid-in functions) - Are provided by the language itself.
2. User Defined function - Are made by the user .
Every UDF has three statements-
1. Function declaration or function prototype.
eg - void trunc( float, int &, int &);
2. Function definition block or function body.
eg - void trunc( float a, int &b, int &c)
{-------- }
3. Function call.
eg- trunc(a,b,c)
NOTE_ ORDER AND NUMBER OF PARAMETERS SHOULD MATCH THE FUNCTION HEADER.
Each of these staements consists of following parts-
1. return type of the function - is a valid data type . In case no value is returned by the function the return type will be void .
2. Function name - Any name adhering to the valid identifier naming rules should be used.
NOTE - DO NOT USE BUILD_IN FUNCTIONS NAMES FOR USER-DEFINED FUNCTIONS.
3. Parameter list - consist of varaibles with their data-type seperated by comma. If no parameters exists then this list is void.
eg- 1. void prn(void) or void prn() - No return-type & no parameters.
2. void prn(int, float, char) - - No return -type & three paameters.
3. float prn ( ) - Return type float and no parameters.
4. float prn( float, int) - return type float and two parameters.
NOTE- Depending on the problem the function will be defined using these four possible ways.
Possible function styles -
1. Function body appears before function call(usually in main()) , then function prototype or declaration is omitted. (Refer- page no. 338 in 'C.Sc with c++ 'by Sumita Arora class XI)
2. Function body appears after the function call(usually in main()) , then function prototype or declaration becomes mandatory. (Refer- page no. 338 in 'C.Sc with c++ 'by Sumita Arora class XI).
Parameters of function can be-
1. Passed by value - Hence original parameters are not effected by change of formal parameters.
2. Passed by reference - Hence original parameters are changed by change of formal parameters. & is prefixed in the parameter name.
3. Default parameters - Function call may miss the defaulted parameter, but if given default value will be overwritten.
NOTE- DEFAULTING OF PARAMETERS IS DONE FROM RIGHT TO LEFT.
4. Constant parameters- const qulifier appears in the parameter list. No change on this parameter is acceptable.
Function may return -
1. A value - In this case function call will be written with cout statement or will appear on the right hand side of assignment statement.
2. A reference - In this case function call will appear at the left hand side of the assignment statement.
NOTE- THIS IS USED TO RESET THE VALUE OF THE REFERNCE PASSED THRU FUNCTION.
Tuesday, April 29, 2008
Wednesday, April 9, 2008
Wednesday, April 2, 2008
ACTIVITIES OF COMPUTER SCIENCE DEAPRTMENT

- ORGANISING IT FEST - ATHENEAUM - 2007 ON THE THEME- " WATER A LIFE-LINE"
- ORGANISING CYBER OLYMPIAD
Since 2001 Cyber Olympiad has been a regular feature of the school. It is conducted for classes III to XII every year . Many students had cleared the second level and were awarded a merit certificates and medals. Such competitions, stimulate, motivate, inculcate and enhance the logical aptitude. It also develops problem-solving capabilities of students.
- ORGANISING INTERNATIONAL INFORMATICS OLYMPIAD
IIO was conducted for classes I to XII for the first time. 1223 students appeared in the exam. Mock test was conducted for class I students. The response was overwhelming. Many students had cleared to the second level. The Rank holders had received merit certificates and medals. Students with international ranking(1-15) were awarded a parker pen. Our school Principal Mrs. Sneh Verma was awarded the ‘BEST PRINCIPAL’ and ‘ The School IIO coordinator Mrs. Vandita Munjal was awarded the ‘BEST COORDINATOR ‘ for the school’s excellent performance in IIO,2007. This award comprised of a shield, merit certificate and a cash prize.
- PUBLISHING IT MAGZINE - PUSHPANJALI BYTES
Thursday, March 27, 2008
MINDMAP(s) IN C++ and VB FOR CLASS XI-XII
- CONTROL STRUCTURES IN C++ http://freemindshare.com/map/cfi259CMRY/
- Control Structures in VB http://freemindshare.com/map/knuv3CGJKL/