0% found this document useful (0 votes)
84 views3 pages

Course Outline Prog Fundamental Session2014

This document outlines the BS-CS Programming Fundamental-1 course at GC University Lahore. The course is worth 4 credit hours and introduces students to basic programming concepts like variables, data types, operators, input/output, decision statements, repetition structures, arrays, functions, pointers, strings, file handling, structures, and classes. By the end of the course students will be able to understand and apply these fundamental programming concepts and design algorithms to solve problems. The course will be taught through lectures and includes quizzes, assignments, class participation, and a final exam as evaluation components.

Uploaded by

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

Course Outline Prog Fundamental Session2014

This document outlines the BS-CS Programming Fundamental-1 course at GC University Lahore. The course is worth 4 credit hours and introduces students to basic programming concepts like variables, data types, operators, input/output, decision statements, repetition structures, arrays, functions, pointers, strings, file handling, structures, and classes. By the end of the course students will be able to understand and apply these fundamental programming concepts and design algorithms to solve problems. The course will be taught through lectures and includes quizzes, assignments, class participation, and a final exam as evaluation components.

Uploaded by

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

GC UNIVERSITY , LAHORE

BS-CS Course Outline

Programming Fundamental-1
Course Code: CS-1102

Credit Hour: 4 (3+1)

Instructor: Muhammad Safyan Email: [email protected]

Yahya Khurram [email protected]

Muhammad Rehan [email protected]

Course Goals:

At the end of the course, students are able to


• Understand the basic programming concepts.
• Understand the use of arrays to store lists and tables of values.
• Use pointers and Strings.
• File handling
• Understand the close relationships among pointers, arrays and strings.
• Understand the notion of data abstraction and ADTs
• Divide a problem into its logical set of components.
• Understand how a good program design can reduce coding and debugging time.
• Design and code most mid-level problems from the start.
.
Text Book:

 C++ Programming, D.S Malik, Fifth Edition

Reference books

 A structured Programming Approach using C++ by Behrouz A Forouzan


 Problem Solving with C++ by Walter Savitch

Introduction  Programming Language and its importance, procedural process,


Programming, Skill needed to programming, How to design a program,
Software types, Tools to develop a program(editor, Compiler and
Interpreter, Debugger, linker, loader )
Variables  variable name, type , size, value, Assignment operator, arithmetic operator ,
module operator , integer division, precedence, reserved word list, case
sensitivity
I/O  How to reading and write on the output screen, assigning value to variable
from output screen, analysis of problems, average no example, quadratic
equation example, proper use of parenthesis and its precedence.

Decision statement  Decision statement


 if…else Selection Statement , switch Multiple-Selection Statement , break
and continue Statements , infinite condition and exit condition ,Logical
Operators, Flow Chart, Nested-If, unary Operator, Multi-way decision
statement, , unconditional branch( go to statement), bitter truth for break
continue and go-to
Repetitive Structure  Repetitive Structure
 while Repetition Statement
 Formulating Algorithms
 Compound Assignment Operators
 Increment and Decrement operator
 for Repetition Statement, overflow with the loop variable
 do…while Repetition Statement

Arrays  Arrays
 Declaring and Creating Arrays
 Examples Using Arrays
 Multidimensional Arrays
Functions  Functions (encapsulation, information hiding)
 Program Modules in C
 Declaring and using Functions
 Passing arguments by values and by reference
 Recursive functions
 Argument Promotion and Casting
 Math library functions
 Scope of Declarations (Local and Global),
 Header file,
Pointer  Pointer
 Pointer, Pointer type,
 Dereferencing, call by reference,
 Use of const in pointer,
 pointer increment , decrement,
 Pointer and arrays,
 Pointer arithmetic,
 Manipulation arrays handling with pointers,
 String Arrays
 Multi-Dimension array,
 Single dereferencing , Double dereferencing,
 Pointer to pointer,
 Array of pointer,
 Command line argument,
String Handling  String Handling
 String manipulation function,
File Handling  File handling, All functions used in file handling (Read, Write, Append,
Delete etc)
Structure  Structure

Preprocessor  Preprocessor Directive,


Directive  Header files,
Dynamic Memory  Dynamic memory allocation
Allocation  Void pointer,

Introduction to  Introduction to Classes


Classes (Optional)  Object,
 Constructor, Destructor,
 Member function,
 Data function,
 Access specifier

Weightage:

Quizzes : 20%

Assignments : 15%

Class Participation : 5%

Final : 60%

You might also like