5
Mohammad Ali Jinnah University Islamabad Campus Department of Mechanical Engineering CS 1123 Computer Programming Syllabus Course Designation: Core Credits: 3 No. of Sessions per week: 2 Session Duration: 80 min Semester: Summer 2012 Course Instructor Ms Maryam Kausar Room# 113, 1 st Floor A-Block Phone: 134 E-mail: [email protected] Class Schedule Monday: 1:00-2:20 Location: E2 Tuesday: 11:00-12:20 Location: E2 Thursday: 1:00-2:20 Location: E1 Friday : 9:30-10:50 Location:E2 Office Hours Monday9:00-1:00, Tuesday9:00-11:00, Thursday9:00-11:00, Friday 11:00-2:30 Catalog Data CS 1123 Computer Programming, Credits 3. Introduction to computer, data manipulation, networking, operating systems, introduction of databases, concept of algorithms, C++ coding and introduction to MATLAB. Textbook Computer Science: An Overview, 10th Edition By J. Glenn Brookshear Invitation to Computer Science, Schneider, 2 nd Ed. Beginning C++, the complete language, by Ivor Horton, Wrox Publishers. References C for Engineers & Scientists, An Interpretive Approach, by Harry Cheng How to Program in C++, Dietel and Dietel Course Objectives

CS 1123 Computer Programming Outline Updated

Embed Size (px)

Citation preview

Page 1: CS 1123 Computer Programming Outline Updated

Mohammad Ali Jinnah University Islamabad Campus

Department of Mechanical Engineering

CS 1123 Computer Programming SyllabusCourse Designation: Core

Credits: 3No. of Sessions per week: 2Session Duration: 80 min

Semester: Summer 2012Course Instructor

Ms Maryam KausarRoom# 113, 1st Floor A-BlockPhone: 134E-mail: [email protected]

Class ScheduleMonday: 1:00-2:20 Location: E2Tuesday: 11:00-12:20 Location: E2Thursday: 1:00-2:20 Location: E1Friday : 9:30-10:50 Location:E2

Office HoursMonday9:00-1:00, Tuesday9:00-11:00, Thursday9:00-11:00, Friday 11:00-2:30

Catalog DataCS 1123 Computer Programming, Credits 3. Introduction to computer, data manipulation, networking, operating systems, introduction of databases, concept of algorithms, C++ coding and introduction to MATLAB.

Textbook Computer Science: An Overview, 10th Edition By J. Glenn Brookshear

Invitation to Computer Science, Schneider, 2nd Ed. Beginning C++, the complete language, by Ivor Horton, Wrox Publishers.

ReferencesC for Engineers & Scientists, An Interpretive Approach, by Harry Cheng How to Program in C++, Dietel and Dietel

Course ObjectivesThis course is a mixture of diversified concepts is the first course in computer programming. Solution of elementary problems through computers using C++ as the programming tool will be emphasized. Visual C++ will be the environment used for this course, so that students have a foundation to build on later for object oriented and visual programming.The course objectives are as follows:

1. To introduce students to the basic concepts of Computer Science and Programming. 2. At the end of the term, the students are expected to be fairly good at basic concepts in Computer

Science and proficient in computer programming using imperative paradigm.3. The focus of the course will be on general programming principles/techniques, whereas C++ will be

the language to implement these concepts.4. Key procedural programming topics like variables, arrays, strings, functions, pointers / references will

be covered in detail.5. Demonstration of application of the First Law, Second Law, conservation of mass and properties of

substances to practical engineering systems,

Page 2: CS 1123 Computer Programming Outline Updated

Muhammad Ali Jinnah UniversityIslamabad Campus

Department of Mechanical Engineering

Course OutlineComputer Science: An Overview, 10th Edition By J. Glenn BrookshearInvitation to Computer Science, Schneider, 2nd Ed.

Chapter 1 - Introductory Concepts – Two lectures Bits and their storage Main Memory Mass Storage Binary Systems Storing Integers Storing Fractions

Chapter 2–Data Manipulation– Two lectures Computer Architectures The Von Neumann Architecture Machine Language Program Executions

Chapter 3 – Operating Systems – Two lectures Operating Systems Architecture Coordinating the Machine’s Activities

Chapter 4- Networking – One lecture Network Fundamentals The Internet

Chapter 5 –Databases–One lecture Why Databases, characteristics of data in databases, types of database management

system- relational model, hierarchical model

Chapter 6–The Concept of Algorithms– One lecture Algorithm Representations Recursive Structures

Beginning C++, the complete language, by Ivor Horton, Wrox Publishers

Chapter 1–Basic idea– One lecture Introduction to programming, C++ language. Comments Anatomy of a c++ program and how the program is compiled and linked.

Chapter 2–Basic data types and calculations– Three lectures Variables, short, long, signed, unsigned etc, Scope and lifetime of variables, Global Variables Constant Variables Arithmetic, logical, relational operators Bitwise operators, Left shit, right shift, OR, AND & XOR operations etc

Chapter 3 –More on handling basic data types– Two lectures Expressions / mixed expressions

Page 3: CS 1123 Computer Programming Outline Updated

Muhammad Ali Jinnah UniversityIslamabad Campus

Department of Mechanical Engineering

Casting (Implicit and Explicit casting) Post fix and Pre fix Operators

Chapter 4 –Choices and decisions in you programs– Two lectures Control structures. If, if-else, nested if, Switch, ternary operators

Chapter 5 –Loops: Repeating one or more statements– Two lectures

Control constructs, while, do-while, for Loop, goto,

Chapter 6– Arrays and Strings– Six lectures

Arrays (Single Dimension) Char Arrays (Single Dimension) sorting an array Multi-dimension Arrays Introduction to Strings, String manipulation

Chapter 7– Pointers– Three lectures

Pointers Passing arrays using pointers to functions Constant Pointers & Constant Data, Void Pointers

Chapter 8– Programming with functions– One lecture

Introduction to Functions & Static Variables

Chapter 9- More on functions- One lecturers

Functions (Pass by value), (Pass by reference)

Chapter 10– Program files and preprocessing directives– One lecture

File Handling.

Chapter 11– Creating your own data types– Two lectures

Structures Manipulating structures using pointers

Chapter 12- Introduction to MATLAB – One lecture

Projects /Design Activities

Page 4: CS 1123 Computer Programming Outline Updated

Muhammad Ali Jinnah UniversityIslamabad Campus

Department of Mechanical Engineering

This course contributes primarily to the students' knowledge of C++ topics. However, some of the assignment problems assigned will be design related.

Evaluation Methods1. Assignments (about 4 assignments) 16%2. Quizzes (about 8 quizzes) 16%3. Course Project 08%4. Midterm Exam 20%5. Final Exams 40%

Student Learning OutcomeStudents who pass the course will have a complete understand of the overall working of a computer and will be able to develop a project in C++ using all the concepts taught.

Homework assignmentsProblems similar to the following textbook problems

Assignment Description.1 Exercise 1.5,1.6,1.7, Chapter Review Questions

2 Model database for MAJU

3 Problem questions: Develop flow charts and write algorithms

4 Basic control structure programming exercise

ProjectPhase I Choice among the list of projects and design requirements

Phase II Develop the project using all the C++ functionalities studies in lectures.

Course Professional Outcome / Industrial UsageStudents learn to formulate and solve computational problems. Students must communicate solutions of assigned problems in a manner consistent with engineering practice.

ABET Category1. Engineering Science/ Taught 2.5 Credit2. Engineering Design/ Quiz/ Project 0.5 Credit