0% found this document useful (0 votes)
7 views

CC-301-–-Programming-Fundamentals-Course-outline-cslearnerr.com_

The document outlines the course CC-301 - Programming Fundamentals offered by the Institute of Computer Sciences & Information Technology at the University of Agriculture, Peshawar. It details the course structure, including credit hours, lecture schedules, and a comprehensive weekly plan covering essential C++ programming concepts. The course aims to equip students with the skills to develop small and medium programs using C++.

Uploaded by

umarg135790
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)
7 views

CC-301-–-Programming-Fundamentals-Course-outline-cslearnerr.com_

The document outlines the course CC-301 - Programming Fundamentals offered by the Institute of Computer Sciences & Information Technology at the University of Agriculture, Peshawar. It details the course structure, including credit hours, lecture schedules, and a comprehensive weekly plan covering essential C++ programming concepts. The course aims to equip students with the skills to develop small and medium programs using C++.

Uploaded by

umarg135790
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/ 4

Institute of Computer Sciences & Information Technology (ICS&IT)

Faculty of Management and Computer Science (FMCS)


The University of Agriculture, Peshawar

CC-301 – Programming Fundamentals

General Information

Instructor Engr. Waseem Ullah Khan

Credit hours 3 Units

Course delivery Lecture: 3 hours/wk

Prerequisite(s) NIL

Semester 1st Semester

Lecture hours Sec A: Monday, 11:20-12:10 (Mian Library), Wednesday, 01:30-02:20


(Computer Systems Lab 2), Thursday, 12:10-01:00 (General Purpose Lab 1)
Sec B: Monday, 01:30-02:20 (General Purpose Lab 1), Wednesday, 12:10-01:00
(Computer Systems Lab 2), Thursday, 02:20-03:10 (General Purpose Lab 1)
Sec C: Monday, 02:20-03:10 (Computer Systems Lab 2), Wednesday, 01:30-
02:20 (General Purpose Lab 1), Thursday, 11:20-12:10 (Computer Systems Lab
2)
Sec D: Monday, 12:10-01:00 (General Purpose Lab 1), Tuesday, 02:20-03:10
(Computer Systems Lab 2), Thursday, 01:30-02:20 (General Purpose Lab 1)
Online resources Google Classroom, Google Drive

Contact [email protected], Faculty Offices ICS&IT

Statement
This course is designed to develop concepts of programming language using C++, which is
important for higher level programming. After completing this course, the students will be able to
make small and medium programs.
CC 301: Programming Fundamentals

Credit Hours: 3

Contact Hours: 3

1. COURSE OUTLINE:
This course provides an introduction to computer programming. It discusses low-level and high-
level computer Languages and gives a revision of computer fundamentals. It outlines the essential
features of C++ programming language: data types, arrays, strings, records and pointers. It also
gives a detailed overview of essential programming features like control structures, repetition
statements, arrays, file I/O and recursion. It will discuss pointers and its use in data manipulation.
2. Weekly Plan

Week Contents
Week 1 • Introduction to Programming Languages
• History of C++
• Basic elements of C++
▪ C++ character set
▪ C++ words
✓ Reserve words
✓ User define words/identifier
▪ Rules for identifier
Week 2 • Basic Data Types
▪ Int
▪ Float
▪ Char
▪ Modifiers
✓ Long
✓ Signed
✓ Unsigned
✓ Double
✓ Long Double
✓ Short
Week 3 • Numbers
▪ Integer Numbers
▪ Real Numbers
• Types of identifiers
▪ Constant identifier
▪ Variable identifier
• Statement
▪ Single statement
• Compound statement Program
Week 4 • General Structure of C++ Program
• Output Statement
• Input Statement
• String/message
▪ Char/Char identifier
• Assignment Statement
• Operators
▪ Arithmetic Operators
▪ Relational Operators
▪ Logical Operators
Week 5 • Expression
• Initialization Statement
• Increment Operator (Prefix & Postfix forms)
• getche () function
• getch () function
• Escape sequences
Week 6 • Comments in C++ Program
• Pre-processor Directives
• Difference between Declaration & Definition
• Arithmetic Assignment Expression
• Priority of Operators
• Conversion of Mathematical formula into C++ expression
Week 7 • Control structures/Decision Control structure
▪ Transfer of control Statements (TOCS)
▪ Repetitive Control structure/statements (Loops)
• Conditional TOCS
▪ Single alternative if statement
✓ Nested if statement
▪ Double alternative if statement (if-else statement)
✓ Nested if-else statement
Week 8 • Conditional operator/Ternary Operator (? :)
• Switch statement/Multiple Branching statement
▪ Nested Switch statement
Week 9 • Manipulators
▪ endl manipulator
▪ setw manipulator
• Continue Statement
• Break Statement
• Go to Statement
Week 10 • Loop
▪ Types of Loop
▪ Fixed loop (count control loop)
▪ Non-fixed loop (event control loop)
▪ Fixed loop/for loop
▪ Variations in for loop
✓ Defining variable in for loop
✓ Multiple initializations in for loop
✓ Multiple inc/dec expressions in for loop
✓ Initialization outside for loop
✓ Inc/dec expression inside for loop
✓ No testing (infinite loop)
✓ Output statement inside for loop
✓ Nested for loop
Week 11 • Non-fixed loop (event control loop)
▪ While loop (pre-tested loop)
▪ Do while loop (post-tested loop)
▪ Nested while & do-while loop
Week 12 • Arrays
• Types of Array
▪ One-dimensional array
▪ Two-dimensional array
Week 13 • Sorting and searching
▪ Bubble sort
▪ Linear search
• Strings (array of characters)
Week 14 -15 • Function
• Types of Function
▪ Built-in function
▪ User-defined function
▪ Parts of user defined function
▪ Function with values and no return
▪ Function with values and return
▪ Passing values from a function
▪ Passing arguments to a function
Week 16 • Pointers Basic Concepts
• Structure
▪ Specifying structure
▪ Defining structure variable
▪ Accessing structure members

3. Resources
o TEXT BOOK
1. Deitel and Deitel, “C++ How to Program”, 7th Edition
2. Robert Lafore, Object-Oriented Programming in C++, 3rd Edition
o REFERENCE BOOKS
1. Behrouz A. Forouzan, “A Structured Programming Approach Using C++”

You might also like