Posts

HOME-WORK FOR THE "ONE WEEK HOLIDAY"

NOTE DOWN  the following Key Points in DATA FILE HANDLING : Read( ) : A function used to read a fixed number of bytes from the   specified file stream object   and puts them in the object   passed as first argument. General Syntax :     Straeam_object.read ( (char *) &Oject , sizeof(Object)); Example : …………………   code……………….. EMPLOYEE emp;   // an object/instance of class created fstream f; f.open(“EmpDetails.dat”,ios::in);// an already xisting file containing employs details opened for reading // if open succeeds   then f contains NON-ZERO VALUE i.e. an address in   main memory allocated for the   //file object….if open fails    f will be zero. if(!f)   {     cout<<” file can not be open—OPEN FAILED “;   exit(1); //send FAILURE=1   MESSAGE TO OPERATING SYATEM AND skip execution of the remaining part //of program. } While(!f.eof()) { C...
#include<iostream.h> #include<conio.h> //A program to explain NESTED CLASS Behaviour class A {      int x;         public:              class B                   {                       int y;                          public:                              class C                           ...
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 ...
HOME ASSIGNMENT FOR SUMMER VACATION     (For XII INFORMATICS PRACTICES 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 1-Revision of RDBMS CONCEPTS , SQL and DATABASE FUNDAMENTALS Studied in XI th Class.   2.REVIEW 2-    Revision of GUI PROGRAMMING IN JAVA Studied in XI th Class.      3. REVIEW 3-Revision of IT APPLICATIONS (e-Governance , e-Business , e-learning ) Studied in XI th Class 4.Solve all 4 questions   the “UNSOLVED   PROBLEMS “ given in SUMITA ARORA BOOK 7 th Edition (PAGE N0. 538 CHAPTER-14   : MySQL   Revision Tour )   5.Solve all TYPE A , TYPE B , TYPE C questions   given in SUMITA ARORA BOOK 7 th Edition (PAGE N0. 554-555 CHAPTER-15   :   DATABASE TRANSACTIONS ) 6. Solve all TYPE A , TYPE B   questions   given in SUMITA ARORA BOOK 7 th Ed...