0% found this document useful (0 votes)
239 views8 pages

IT-104 Programming Fundamental Course Outline

The document outlines a course on Programming Fundamentals for a BS in IT degree. The course introduces students to basic structured programming skills using the C programming language. Over the semester, students will learn about problem analysis, algorithm design, and programming concepts like data types, control structures, and functions. They will practice developing, testing, and documenting programs in a text-based environment. Assessment includes quizzes, midterm and final exams, assignments, and class participation.

Uploaded by

abbassameer076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
239 views8 pages

IT-104 Programming Fundamental Course Outline

The document outlines a course on Programming Fundamentals for a BS in IT degree. The course introduces students to basic structured programming skills using the C programming language. Over the semester, students will learn about problem analysis, algorithm design, and programming concepts like data types, control structures, and functions. They will practice developing, testing, and documenting programs in a text-based environment. Assessment includes quizzes, midterm and final exams, assignments, and class participation.

Uploaded by

abbassameer076
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

University of Gujrat

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.

A. C++ How to program by DEITEL AND DEITEL


Text Book/s

B. Let us C by Yashwant Kantaker


H

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

Constants, Variables and Keywords


4
Types of C/C++ constants and variables
C/C++ character set and tokens – reserved words, identifiers
Constants, string literals.

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

Examples and Exercise.


The goto statement.

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.

8 15, 16 Mid Term Examinations

THE REPETITION CONTROL STRUCTURE USING DO-WHILE LOOP:


Syntax of do-while loop.
17 Working of do-while loop using Flow chart.
Difference between while and do-while.
An application of do-while loop for data validation.
H

9 THE NESTED REPETITION CONTROL STRUCTURES & CONTINUE


STATEMENTS:
What is nested loop?
18 Working of nested loop using flow chart.
Nested for loop.
Infinite loop.
The continue statement.

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

THE SIMPLE FUNCTIONS:

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.

THE ARRAYS CONSTRUCT II:


Operation on arrays – simple sorting and Searching.
23
Passing arrays to the functions as argument.
Initializing a two-Dimensional array.
Multidimensional arrays.
12
H

THE STRING CONSTRUCT I:


String and String constant.
24
String variables.
The string I/O functions gets() and puts()
Initializing strings.

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.

THE STRUCTURES AND UNION CONSTRUCT:


am
Nested structures.
28 Uses of structures.
Concept of Unions.
Unions vs. structures.
Unions of structures.

THE FILE HANDLING I:


Basic of files.
Types of Disk I/O.
29
Standard Input/output.
Binary Mode and Text Mode.
File operators.
H

15 End-Of-File.

THE FILE HANDLING II:


Opening and closing a file.
30 Writing to a file.
Reading from a file.
Error condition.
Record input/output.

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!

You might also like