IT-104 Programming Fundamental Course Outline
IT-104 Programming Fundamental Course Outline
li
University of Gujrat
Faculty of CS & IT
Course outline for BS (IT)
A
Title Programming Fundamental
Code IT-103
Credit Hours 4 (3+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
za
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/C++ programming language.
Design, create, test and debug C/C++programs.
Developed programs that are both syntactically and logically correct.
The student will be able to understand basic designing techniques of programming language.
am
Hands on experience of different C/C++ constructs.
PROGRAMMING FUNDAMENTAL: Overview of computers and programming. Overview of language for e.g. C/C++ language,
structured and Modular programming. Basic Algorithms and problem solving, development of basic algorithms, analyzing problem,
Syllabus designing solution, testing designed solution. Fundamental programming constructs, translation of algorithms to programs, data types,
control structures, functions, arrays, records, files, testing programs.
Reference Material
C. Hanly Koffman – Problem Solving & Program Design in C – Addison Wesley 3rd addition.
Instructional
Aids/Resources
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
Sessional 25% Mid 25% Final 50% Total 100%
Assessment Criteria Quizzes and Test Paper 25 Paper50 100
Project, Assignments and Presentations
Attendance and class Participation
A
za
am
H
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
QUIZZES CAN BE
Frame
Work
ANNOUNCED OR
UNANNOUNCED
Source Recommendations for
A
Week Lecture Topic
(Book-Chapter No. Section No.) Learning Activities
INTRODUCTION
Course Policies
Overview
Course Contents
Course Objectives
1
INTRODUCTION TO COMPUTER:
Computer hardware components
za
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
C/C++ language
2 Program Life Cycle
Steps for creating, compiling and executing a C/C++ program
am
C/C++programming environment.
Sample C/C++ program
PROBLEM SOLVING
Software development method.
Problem analysis. Assignment #1
3
Design and algorithm representation – flowchart, pseudo code. Quiz #1
Testing and verification & Implementation.
Program documentation.
2
GETTING STARTED WITH C/C++:
The C/C++ character Set
H
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
C/C++PROGRAM STRUCTURE:
li
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++.
A
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:
za
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
am
BASIC C OPERATORS:
Arithmetic operators.
Assignment operators.
9
Equalities and relational operators.
Logical operators.
Conditional operators.
5
THE DECISION CONTROL STRUCTURE USING IF:
The if statement.
Flow chart of if statement.
10
Multiple statements within if.
H
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
THE DECISION CONTROL STRUCTURE USING IF-ELSE:
The if-else statement.
Flow chart of if-else statement.
11
Multiple if-else Statements.
Nested if-else’s.
A
The break statement.
6
THE DECISION CONTROL STRUCTURE USING SWITCH-CASE:
Syntax of Switch-case statements.
12 Difference of switch case with multiple if-else statements.
Benefits and limitations of switch-case statements.
Examples and Exercise.
za
THE REPETITION CONTROL STRUCTURE USING FOR LOOP:
What is a loop?
Elements or components of a loop.
13
Syntax of for loop.
Flow chart of for loop to understand it’s working.
for loop as counter controlled loop?
7
THE REPETITION CONTROL STRUCTURE USING WHILE LOOP:
Syntax of while loop.
14 Flow chart of while loop to understand its working.
am
What is a counter/sentinel controlled loop?
Sentinel value controlled loop vs. counter controlled loop.
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
Why use functions?
Standard functions.
User defined functions.
19
Signature of the functions.
Function prototype.
A
Function definition.
10 Function call.
THE FRUITFUL & PARAMETERIZED FUNCTIONS:
Functions that return a value.
Parameters and use of arguments to pass data to a function.
20
Formal / Actual parameters.
Parameters vs. arguments.
Passing values between functions.
za
THE FUNCTIONS & SIMPLE RECURSION:
Using more than one function.
Local and global variables.
21
What is recursion?
Example using recursion.
Recursion vs. iteration.
11
am
THE ARRAYS CONSTRUCT I:
Concept of arrays – why, how, advantages.
22
Array declaration and initialization.
A simple program using array.
Referring to individual elements of the array.
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
THE STRING CONSTRUCT II:
String handling library functions:
25 strlen()
strcpy()
strcat()
A
strcmp()
13
THE POINTERS CONSTRUCT:
Concept of pointers.
26 Pointers overview.
Pointer declaration and control.
Pointer operator (& and *).
Parameter passing by pointers.
za
THE STRUCTURES CONSTRUCT:
Why use structures.
Structures declaration.
27 Structure variables declaration.
Initializing structure variables.
Accessing structures elements.
14 Referencing structure members.
15 End-Of-File.
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!
University of Gujrat
li
REVISIONS :
31
16 Tying-up loose ends.
PRESENTATIONS:
32
Demonstration of student’s projects.
A
za
am
H
This document was uploaded by Hamza Ali. For any query and contribution(Sending any past papers, updated outlines, Lectures etc) , contact [email protected]. Best regards!