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 2. (Group) a) Demonstration 10 Week 1 b) Project Report 30 Week 1 Test 2-Week 12 to 13 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. AHMAD IHSAN MOHD YASSIN T2-A13-1A 03-553 6118 3. HUSNA ZAINOL ABIDIN (COORDINATOR) TA-A13-10A 03-553 612. NAIMAH MAT ISA T2-A18-1A 03-5521 1897 5. ROSLINA MOHAMAD T2-A13-1C 03-553 6068 6. SHURIA SAAIDIN T2-A16-5A 03-5521 1898 7. MEOR MOHD AZREEN MEOR HAMZAH T2-A13-3A 03-5535083 8. MOHD ASRI MANSOR T2-A13-8A 03-553 5089 9. MOHD. AZRI ABDUL AZIZ T2-A16-1A 03-553 5057
LESSON PLAN: SEMESTER MARCH - JUNE Overview Introduction to computer, internet, programming language. Flowgorithm and Code::Blocks IDE. Types, Operators and Expressions Variables names 1 WEEK 1-2 25/02 08/03 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 Test 1 conditional expression standard input and output Selection Control Structure if, if..else WEEK 3 - switch...case 2 11/03 22/03 Control Flow 8 Repetition Control Structure while do...while for break and continue
3 WEEK 5 6 25/03 05/0 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 08/0 19/0 Arrays 8 Basic arrays (one dimensional arrays) Multidimensional arrays Test 2 WEEK 9 Relationships between arrays and pointer 5 22/0 26/0 Arrays, Functions & Pointers Functions and arrays passing by reference Simple pointer mathematics 6 WEEK 10 29/0 03/05 WEEK 11 File Processing Character pointer File processing (Text files) Reading from files Writing to files Basic structures Structures and usage in functions titles will be given. Test 2 7 06/05 10/05 Structures Array of structures Pointer to structures Enumeration and Union 8 WEEK 12 13/05 17/05 Object Oriented Basic concepts of OOP, classes and objects Types of Constructors Constructor overloading Test 2 Destructors TEST 2 (Will be announced)
9 WEEK 13 20/05 2/05 Object Oriented Introduction to Inheritance and Polymorphism Base class and derived class Virtual member and pure virtual member functions 10 27/05 07/06 SEMESTER BREAK 11 WEEK 1 10/06 1/06 2018 Demonstration and Report Submission CO3-PO5 REVISION WEEK (17/06/ 20/06/) EXAMINATION WEEK (21/06/ 1/07/)