For All Human Beings.......

Saturday, July 26, 2008

Looping in C++

Presentation on Looping Constructs in C++

Looping
Dear Students

I am posting one presentation on LOOPING Concepts in C++. Presentation covers following :
  • while Loop
  • do-while Loop
  • for Loop

Monday, July 14, 2008

Computer Fundamentals : Functional Components and interconnection

Dear Students

Please follow the link for ASSIGNMENT (Computer Fundamentals)

Last Date for Submission : 4th August, 2008

Practice Assignment : File Handling in C++


Dear Students

I am posting assignment on file handling for practice. Do attempt the questions given and you can test your understanding by attempting the same.


Assignment-1

Assignment-2

File Handling in C++

Dear students, Now that we have discussed about binary and text file in c++, I feel confident that you can develop the functions for various file operations mentioned below:
  • 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)
Click at link for some file handling Modules.............
NEW

Tuesday, July 8, 2008

Getting Started with C++

Dear students (Class XI),
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

Modification of Files

File Handling in C++

Dear students I am posting a slide show which will help you in understanding File Concepts in C++

Saturday, May 24, 2008

Computer Science : Project ( C++ )

I am posting this information because students have not decided about the project topics so far. This is to help them in deciding the same. students should feel free to share any other idea that comes to their mind. So far only three students have send their project topics for approval and I am waiting for more response from students in coming week.........

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

• School Management Systems
  • 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++

Posting the assignment on structure (User defined Data type). The questions are to be done in assignment register.

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
For Functions on ARRAYS Click Here ..........

Monday, April 7, 2008

LIST OF PROGRAMS FOR CLASS XII (2008-09)

The programs which are to be completed during the session 2008-09 are given in pdf format. These programs are listed topic wise and are to be completed during practical sessions. For Complete list of programs


click Here......

Assignment : 1D Array & 2D Array



Posting the assignment covering 1D and 2D Arrays. The functions are to be written in assignment register. This assignment will help in attempting questions in theory paper also.

Date Of Submission : 15th April, 2008
(Class XII C)