Posted by Fawad Ishaq on June 25, 2008
| Ask an Expert | Live Programming Help
|
Instructions
- You must have installed Microsoft Visual Studio 6.0/Microsoft Visual Studio .NET 2003/Microsoft Visual Studio .NET 2005 on your machine to try the programs.
- To develop the C++ program on Microsoft Visual Studio 6.0 please read the handout “How to create your first C++ program using Visual C++ 6.0”.
- To develop the C++ program on Microsoft Visual Studio .NET 2003 please read the handout How to create your first C++ program using Visual C++ .NET 2003.
- To develop the C++ program on Microsoft Visual Studio .NET 2005 please read the handout How to create your first C++ program using Visual C++ .NET 2005.
Exercise 01
Define a structure Patient having following data members:
- Patient id (use integer variable to store the patient id)
- Patient name (use char array of 50 elements to store the patient name)
Develop a C++ program to test the Patient structure. Declare two variable of structure Patient namely p1 and p2. Assign relevant values to p1. The program then asks the user to enter the book data which will be stored in p2 and prints the data stored both in p1 and p2 on the console separately.
Exercise 02
Define a structure Book having following data members:
- ISBN (use char array of 50 elements to store the book ISBN)
- Book Title (use char array of 50 elements to store the book title)
- Book Author (use char array of 50 elements to store the author name of the book)
- Publish Date (use char array of 50 elements to store the publish date of the book)
- Price (use double variable to store the book price)
Develop a C++ program to test the Book structure. Declare two variable of structure Book namely b1 and b2. Assign relevant values to b1. The program then asks the user to enter the book data which will be stored in b2 and prints the data stored both in b1 and b2 on the console separately.
Exercise 03
- Create two different arrays of Patient structure each capable of holding data of not less than ten patients.
- Initialize first array with relevant data.
- Add a feature that would allow the user to enter the data for ten patients.
- Add a feature that would print the data of ten patients record-by-record and in tabular format. Use setw function to format the data in tabular format.
- Create a separate C++ program for this exercise.
Exercise 04
- Create two different arrays of Book structure each capable of holding data of not less than ten books.
- Initialize first array with relevant data.
- Add a feature that would allow the user to enter the data for ten books.
- Add a feature that would print the data of ten book record-by-record and in tabular format. Use setw function to format the data in tabular format.
- Create a separate C++ program for this exercise.
How to submit
- Submit your assignments to Mr. Adeel as per the schedule announced by him.
- No assignment shall be evaluated/accepted after the due date.
- Copy assignments will be cancelled.
- There will be an individual viva of this assignment. Your evaluation is strictly based on your performance in the viva.
- Non-professional behavior during the viva may lead to assignment cancellation.



| Download PDF Here |
Posted in Object-Oriented Programming in C++ | Leave a Comment »
Posted by Fawad Ishaq on June 24, 2008
After completing this handout, you will be able to:
- Understand software process.
- Understand software engineering.
- Define software process.
- Define software engineering.
- Understand the software engineering layered technology.
- Understand software engineering phases.
- Understand software process maturity.
| Download Here |
Posted in Software Engineering | Leave a Comment »
Posted by Fawad Ishaq on June 12, 2008
After completing this handout, you will be able to:
- Understand what is software engineering.
- Understand the role of software.
- Understand the definition of software from software engineering perspective.
- Learn the software characteristics.
- Learn the software application areas.
- Learn the software crisis.
- Learn the software myths.
| Download PDF Here |
Posted in Software Engineering | Leave a Comment »
Posted by Fawad Ishaq on June 3, 2008
After reading this handout, you will be able to:
- Simple computer programs in C++.
- Write simple output statements.
- Use arithmetic operators.
- Understand the precedence of arithmetic operators.
- Use the escape sequences.
| Click here to download |
Posted in Introduction to Computer Programming | Leave a Comment »
Posted by Fawad Ishaq on June 3, 2008
Introduction
This course introduces students to computer programming using C++ programming language. C++ is one of today’s most popular software development languages and has become the implementation language of choice. During the course students will learn the basic of computer programming as well as the master the advance programming concepts such as abstraction, encapsulation, inheritance, and polymorphism. The emphasis will be on problem solving rather than just learning the programming language.
| Click Here to Download |
Posted in Course Outlines | Leave a Comment »
Posted by Fawad Ishaq on June 3, 2008
Introduction
Computer Literacy entails having knowledge and understanding of computers and its uses. As computers become an increasingly important part of daily living, many people believe that computer literacy is vital to success. You may interact directly with computers in fields such as education, finance, government, health care, science, publishing, travel and industry. Computers are now a primary means of communication for all types of people. People in today’s modern world use computers for different reasons.
| Click here to download Introduction to Computer Applications Course Outline |
Posted in Course Outlines | Leave a Comment »
Posted by Fawad Ishaq on June 3, 2008
Introduction
Software engineering is the branch of computer science that creates practical, cost-effective solutions to computing and information processing problems, preferentially by applying scientific knowledge, developing software systems in the service of mankind. This course covers the fundamentals of software engineering, including understanding system requirements, finding appropriate engineering compromises, effective methods of design, coding, and testing, team software development, and the application of engineering tools. The course will combine a strong technical focus with a capstone project providing the opportunity to practice engineering knowledge, skills, and practices in a realistic development setting with a real client.
| Click here to download Software Engineering Course Outline |
Posted in Course Outlines | Leave a Comment »
Posted by Fawad Ishaq on June 3, 2008
Introduction.
Object-oriented programming (OOP) is a currently popular and powerful programming technique. The main characteristics of OOP are encapsulation, inheritance, and polymorphism. C++ accommodates OOP by providing classes, a kind of data type combining both data and algorithms. C++ is not what some authorities would call a “pure OOP language.” C++ tempers its OOP features with concerns for efficiency and what some might call “practicality.” This combination has made C++ currently the most widely used OOP language, although not all of its usage strictly follows the OOP philosophy.
| Click here to download Object-Oriented Programming Course Outline |
Posted in Course Outlines | Leave a Comment »
Posted by Fawad Ishaq on May 9, 2008
After reading this handout, you will be able to:
- develop simple computer programs in C++.
- Write simple output statements using cout.
- Use basic arithmetic operators such as +, -, *, /, and %.
- Understand the precedence of arithmetic operators.
click Introduction to C++ to download C++ programming handout 02.
Posted in Introduction to Computer Programming | Leave a Comment »
Posted by Fawad Ishaq on May 9, 2008
After reading this handout, you will be able to:
- Understand the six steps in the program development cycle.
- Differentiate between structured and object-oriented design.
- Understand program design techniques.
click Introduction to Programming to download C++ programming handout 01.
Posted in Introduction to Computer Programming | Leave a Comment »