Programming Fundamental Lab IT-105
Programming Fundamental Lab IT-105
University of Gujrat
Faculty of C & IT
Course Objectives, Content and Weekly Plan
Title Programming Fundamental (Lab)
Code IT-105
Credit Hours 1
Prerequisite No
Prerequisite Skills No
Category Core
The course is designed to familiarize students with the basic structured programming skills. It emphasizes upon problem analysis,
algorithm designing, program development and testing. They will also be exposed to the C++ programming language commands, syntax
and functions in text based environment. They will learn to define, solve, code, test and document programming problems using the C++
language.
Upon completing this course, students should be able to:
Prepare programs using top-down structured design.
Aims and Objectives Perform problem solving skills.
Understand the syntax and concepts of C++ programming language.
Design, create, test and debug C++ programs.
Developed programs that are both syntactically and logically correct.
The student will be able to understand basic designing techniques of programming language.
Hands on experience of different C/C++ constructs.
INTRODUCTION
Course Policies
Overview
Course Contents
Course Objectives
1
INTRODUCTION TO COMPUTER:
Computer hardware components
Computer software components.
Operating systems, compiler, interpreter, editor, application
1 Source file and object file
INTRODUCTION TO PROGRAMMING:
Programming languages
Machine language, assembly, high level programming language
2 C/C++ language
Program Life Cycle
Steps for creating, compiling and executing a C program
C programming environment.
Sample C program
PROBLEM SOLVING
Software development method.
3 Problem analysis.
Design and algorithm representation – flowchart, pseudo code.
Testing and verification & Implementation.
2 Program documentation.
GETTING STARTED WITH C/C++:
The C Character Set
4 Constants, Variables and Keywords
Types of C constants and variables
C character set and tokens – reserved words, identifiers
Constants, string literals.
‘]]’
[‘
University of Gujrat
C PROGRAM STRUCTURE:
Preprocessor directives.
Types of Preprocessor directives.
5 Main function and body of the main function.
Statements, compound statements.
Standard Input-Output functions in C/C++.
3 Comments and types of comments.
CONCEPT OF DATA TYPES:
Data types causes and reasons.
Classification of data and their supportive type’s analogy.
6
Data types supported by C/C++.
Range and Limitations of different data types.
Type casting and conversion.
VARIABLES DECLARATIONS AND INITIALIZATION:
How to declare a variable in C/C++.
How to initialize the variable.
7 Defining the variables.
Naming conventions and variables description.
Rules for declaring the name of variables.
4 Escape Sequence characters.
STANDARD INPUT-OUTPUT FUNCTIONS IN C/C++:
What is standard input and Output?
Input and out functions supported by C/C++.
8
REVISIONS :
16 31, 32
Tying-up loose ends.