COURSE OUTLINES FACULTY OF ELECTRICAL ENGINEERING UNIVERSITI TEKNOLOGI MARA SHAH ALAM PROGRAMMES COURSE CREDIT HOUR EE21, EE22 ECE31 COMPUTER PROGRAMMING 3 (3 hrs. lecture, 1 hr. tutorial/laboratory) per week SEMESTER 2 / 3 SYNOPSIS This course introduces a disciplined approach to solving problems by applying software methods. A structured language is studied and used to achieve this objective. Topics include the description of data types, control structures, functions, arrays and pointers, structures, file processing and object-oriented programming. COURSE OUTCOMES (CO) CO1 Analyse program statements to produce the required output(s). C3 CO2 Develop programs to solve selected engineering problems. C6 CO3 Perform programming tasks in solving selected engineering problem. P3 PROGRAM OUTCOMES (PO) PO2 Identify, formulate, research literature and analyse complex electrical/electronics engineering problems reaching substantiated conclusions. (PROBLEM ANALYSIS) PO5 Ability to create, select and apply appropriate techniques, resources, and modern engineering and IT tools, including prediction and modelling, involving complex electrical/electronics engineering activities. (TECHNIQUES, RESOURCES AND TOOLS) CO-PO MATRIX PO2 CO1 CO2 CO3 PO5
COURSE ASSESMENT Course Work Percentage Timing 1. Tests (2) 30 Test 1-Week 6 to 7 -Week 12 to 13 2. (Group) a) Demonstration 10 Week 1 b) Report 30 Week 1 3. Quizzes (min. 3) 15 Week 2 to 10. Assignments (min. 2) 15 Week to 12 Total Marks 100% TEXTBOOK Tony Gaddis, Starting Out with C++: From Control Structures through Objects, Pearson, 2012-7th Edition REFERENCES 1. Gary J. Bronson, C++ : Principles and Practices for Scientists and Engineers, Course Technology, 2013 th Edition 2. Walter Savitch, Absolute C++, Addison-Wesley, 2012 5th Edition 3. Stanley Lippman, Josee Lajoie, Barbara Moo, C++ Primer, Pearson, 2012 5th Edition. D.S. Malik, C++ : From Problem Analysis to Program Design, Course Technology, 2011 5th Edition, LECTURERS No. Lecturer s Name Groups Room No. Phone 1. Mohd Uzir Kamaluddin T2-A13-12C 03-553 5019 2. Dr. Mohd. Asri Hj. Mansor T2-A13-8A 03-553 5089 3. Roslina Mohamad T2-A13-1C 03-553 6068. Syed Farid Syed Adnan TA-A19-7C 03-553 600 5. *Mohd Azri Abdul Aziz T2-A16-1A 03-553 5057
LESSON PLAN: SEMESTER SEPTEMBER - DECEMBER NO. WEEK/DATE SYLLABUS/TOPIC Overview Introduction to computer, internet, programming language. Flowgorithm and Code::Blocks IDE. Types, Operators and Expressions Variables names 1 WEEK 1-2 3/09 1/09 Introduction & Basic of C++ 8 data types and sizes constant declaration arithmetic operators type conversions increment and decrement operators bitwise operators assignment operators and expressions conditional expression Test 1 standard input and output Selection Control Structure if, if..else WEEK 3 - switch...case 2 17/09 28/09 Control Flow 8 Repetition Control Structure while do...while for break and continue
NO. WEEK/DATE SYLLABUS/TOPIC 3 WEEK 5 6 1/10 12/10 Functions & Pointers 8 Basic functions (passing by value) Pointers and alias Basic functions (passing by reference) Global/local scopes of variables Test 1 TEST 1 (Will be announced) WEEK 7-8 15/10 26/10 Arrays 8 Basic arrays (one dimensional arrays) Multidimensional arrays WEEK 9 Relationships between arrays and pointer 29/10 2/11 Arrays, Functions & Pointers Functions and arrays passing by reference Simple pointer mathematics Character pointer 5 5/11 11/11/ WEEK 10 12/11 16/11 WEEK 11 File Processing SEMESTER BREAK File processing (Text files) Reading from files Writing to files Basic structures Structures and usage in functions titles will be given. 6 19/11 23/11 Structures Array of structures Pointer to structures Enumeration and Union
NO. WEEK/DATE SYLLABUS/TOPIC 7 WEEK 12 26/11 30/11 Object Oriented Basic concepts of OOP, classes and objects Types of Constructors Constructor overloading Destructors TEST 2 (Will be announced) 8 WEEK 13 3/12 7/12 Object Oriented Introduction to Inheritance and Polymorphism Base class and derived class Virtual member and pure virtual member functions 9 WEEK 1 10/12 1/12 Demonstration and Report Submission REVISION WEEK (17/12/ 25/12/) EXAMINATION WEEK (26/12/ 20/1/2019)