Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Cs102 course outline
1. DHA Suffa University
CS 102–Problem Solving and Computer
Programming
Fall 2015
Course Name: Problem Solving and Computer Programming
Course Code: CS - 102
Pre-requisites: -
Credit Hours: 3 + 1
Course Staff:
Name: Dr. Muhammad Mobeen Movania
Email: mobeen.movania@dsu.edu.pk
Office Hours: 12:00 am to 2:00 pm week days
Description: This course provides an introduction to computer programming and problem
solving. An introductory programming course in the core Computer Science course stream,
focusing purely on basic problem solving and logic building. The C programming language
will be used as a tool to implement the designed solutions.
Teaching Methodology: Along with conventional teaching methodology with class demos
and presentation, interactive class activities will be conducted.
Learning Outcomes: After taking this course, students will be:
able to create programs in C language to solve common problems
well-equipped with various problem solving tools and techniques
able to design efficient solutions given any real-world problem scenario
equipped with all basic constructs of programming languages
Textbooks:
Primary:
o “The C Programming Language”, Second Edition by Brian W. Kernighan, Dennis M.
Ritchie
Reference:
o “C How to Program”, 7th Edition, by Paul Deitel & Harvey Deitel
o "Problem Solving and Program Design in C", 7th Edition, by Jeri R. Hanly & Elliot B.
Koffman
2. Plagiarism Policy:
Zero tolerance towards cheating/plagiarism!! Both offenders get -10 marks. This holds for
sessional exams, assignments, labs and quizzes as well.
Assignments:
Ensure that all assignments are submitted on or before allotted time. Late submissions get
0 marks.
Quizzes:
At least one surprise quiz per-week to ensure that you are studying regularly.
Grading Scheme:
Instrument % of grade
Quizzes (5~7) + CP 10%
Assignments (5~7) 10%
Sessional exams (3) 30%
Final exam (1) 50%
Labs:
Weekly labs will be conducted to materialize the programming concepts and exercises
discussed in the class. Lab handouts will be given in the labs that will aid students in
solving problems. Note that all labs are graded and attendance is mandatory!
Lecture Plan:
The course is tentatively scheduled as follows:
S. No. Topics Lecture #
1 Introduction to Computer Science 1
2 What is an Algorithm? 2
3 Programming in Scratch 3-4
4 Algorithm Design Constructs 5
5 Pseudocode 6
6 Flow Chart 7
7 Introduction to C Programming 8
8 Program Execution steps (Compiler + Linker + Loader) 9
9 Basic Data Types (variables) 10
10 Input in C (scanf) 11-12
11 Output in C (printf) 13-14
12 Format specifiers 15
13 Conditional Statements 16-17
14 Looping Constructs 18-20
15 Functions 21-24
3. 16 Arrays 25-27
17 C strings 28-30
18 Pointers 31-34
19 Static and Dynamic Memory Allocation 35-36
20 Structures 37-38
21 Introduction to C++ 39-42
Legend
Topics in Sessional 1
Topics in Sessional 2
Topics in Sessional 3
Teacher’s Advice:
Study regularly
Work hard and be proactive
Be honest
Practice