Você está na página 1de 3

GC UNIVERSITY , LAHORE

BS-CS Course Outline

Programming Fundamental-1
Course Code: CS-1102

Credit Hour: 4 (3+1)

Instructor: Muhammad Safyan Email: m.safyan@seecs.edu.pk

Yahya Khurram yahyakhuram@gmail.com

Muhammad Rehan maliksktcs@gmail.com

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%

Você também pode gostar