Thursday, September 25, 2008
Wednesday, September 10, 2008
Some Interesting Links for students (C++)
- Conditional Operator
- Increment and Decrement Operators
- The WHILE Loop
- Ending a Program or Loop Early
- The DO-WHILE Loop
- The FOR Loop
- Which Loop Should I Use?
- Nested FOR Loops
- Using Functions in C++
- Creating User-Defined Functions
- Style 1: void functionName(void)
- Style 2: void functionName(argument(s))
- Style 3: non-void functionName(void)
- Style 4: non-void functionName(argument(s))
Tuesday, September 9, 2008
Increment and Decrement Operators in C++
Saturday, July 26, 2008
Monday, July 14, 2008
Computer Fundamentals : Functional Components and interconnection
Please follow the link for ASSIGNMENT (Computer Fundamentals)
Last Date for Submission : 4th August, 2008
Practice Assignment : File Handling in C++

Dear Students
Assignment-1
Assignment-2
File Handling in C++
- Creating a text file
- Displaying contents of text file
- Creating Binary File
- Showing Contents of binary files
- Adding more records at the end of file (app mode)
- Updating binary files
- deletion of a record from file (2 file method)
- Modification of a record (using two files)
- insertion of a record in sequential file ( using 2 file)
Tuesday, July 8, 2008
Getting Started with C++
This mind map is to help students who are starting with C++ Programming Language.
Introduction to C++
C++ originated with Bjarne Stroustrop. In the simplest sense, if not the most accurate, we can consider it to be a better C. Although it is not an entirely new language, C++ represents a significant extension of C abilities. We might then consider C to be a subset of C++. C++ supports essentially every desirable behavior and most of the undesirable ones of its predecessor, but provides general language improvements as well as adding OOP capability. Note that using C++ does not imply that your are doing OOP. C++ does not force you to use its OOP features. You can simply create structured code that uses only C++'s non-OOP features.
Monday, July 7, 2008
File Handling in C++
Saturday, May 24, 2008
Computer Science : Project ( C++ )
Project content (Class XII)
Project for class XII should ensure the coverage of following areas of curriculum:
a. Problem Solving
b. Data Structure
c. Object Oriented Programming in C++
d. Data File Handling
Theme of the project can be
• Any subsystem of a System Software or Tool
• Any Scientific or a fairly complex algorithmic situation.
• Business oriented problems like
Banking,
Library information system,
Hotel management system,
Hospital management system,
Transport query system
Result Processing
LAB Management System (Chem. , Phy. Computer Lab etc)
Pay Roll
• Quizzes/Games
• Tutor/Computer Aided Learning Systems
The aim of the project is to highlight the abilities of algorithmic formulation, modular programming, optimized code preparation, systematic documentation and other associated aspects of Software Development.
The assessment would be through the project demonstration and the Project Report, which should portray Programming Style, Structured Design, High Cohesion, Good documentation of the code to ensure readability and ease of maintenance.
To Know about Computer Project report --> Click Here <--
Friday, May 9, 2008
Summer Vacations : Assignment
KULACHI HANSRAJ MODEL SCHOOL
CLASS XII
COMPUTER SCIENCE (083)
HOLIDAYS HOMEWORK(2008-09)
Q1. Complete and submit a CD with programs and assignment register on following subtopics from the given list of programs:
- Series
- Structures
- Enumerated data types
- Macro
- Classes
- Constructors
The printout to be taken in school lab after the school reopens. Submit the practical file with above-mentioned programs by 10th July ’2006.
Q2. Declare appropriate classes and design the menu for the project topics alloted to your group.
The Subprogram must be submitted on the CD.
Saturday, April 26, 2008
typedef
USER DEFINED DATA TYPES : typedef
We have already seen a data type that is defined by the user (programmer): The structures. But in addition to these there are other kinds of user defined data types:
Definition of own types (typedef)
C++ allows us to define our own types based on other existing data types. In order
to do that we shall use keyword typedef, whose form is:
typedef existing_type new_type_name ;
where existing_type is a C++ fundamental or any other defined type and new_type_name is the name that the new type we are going to define will receive. For example:
typedef char C;
typedef unsigned int WORD;
typedef char * string_t;
Click here for detailed notes.........
Tuesday, April 22, 2008
Assignment : Structure in C++
Click Here for Assignment(pdf format).........
User Defined Data Type in C++ : Structure
Structures in C++
A structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Structures are declared in C++ using the following syntax: struct structure_name
{
member_type1 member_name1;
member_type2 member_name2;
member_type3 member_name3;
:
:
} object_names;
example :
struct product
{
int weight;
float price;
} ;
product apple;
product banana, melon;
Subtopics Covered
Defining a Structure
Declaring structure variables
Accessing structure elements
Passing structure to Functions as value and reference argument/parameter
Function returning structure
Array of structures
passing an array of structure as an argument/ a parameter to a function
Tuesday, April 15, 2008
Data Structures (1 D & 2 D Arrays)
Array
It is a static data structure. It is a homogeneous collection of data. The elements in the array are stored on consecutive memory locations. Array is also known as a subscripted variable, e.g., A[i] is ith element of the array A (i.e., i is the subscript with variable A). As we know that the elements of the array are stored on consecutive memory locations, it becomes convenient to find out the address of memory location of ith element, for given base address (address of first element) and W (i.e. the number of memory locations required by one element).
Different Operations on 1 D ARRAYS
- Creation
- Traversal
- Insertion
- Deletion
- Searching
- Linear
- Binary Search
- Sorting
- Bubble Sorting
- Selection Sorting
- Insertion Sorting
- Merging
Different Operations on 2 D ARRAYS
- Creation
- Printing (Traversal)
- Addition of two Matrix
- Difference Matrix
- Multiplication of Matrix
- Row / Col Sum
- Diagonal Sum
- Transpose Matrix

