Anda di halaman 1dari 2

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO DEPARTMENT OF ELECTRONIC ENGINEERING

Title of Subject : Disciplines : Term : Effective : Pre-requisites : Assessment : Marks : Credit Hours : Minimum Contact Hours :
Aims Objectives : :

Computer Programming Electronic Engineering

(1st Term) 10ES-Batch and onwards Sessional Work: 20% Theory: 100 4
52

Co-requisite: Written Examination: 80% Practical: 50 2


26

Learning step-by-step processing of computer applications, Learning of C++ at application level in devising solution of problems. Familiarizing computer processing: Compile variety of programs in text-user-interface computer language. Enable to differentiate structured and non-structured computer languages. To improve Basic Programming Skills. To work around filing system in C++ for database application.

Contents: Software Utilities: Types of Software, System Software and Application Software, Office Suit, Disc Manager, Windows Tools I.E. (Check Disc, De-Fragmentation, Backup) Software Installation Procedure, Internet Services. Operating System: Concept of Operating Systems, Types of Operating System, Features of Operation System. Basics of C++ Programming: Constants and variables, -Keywords, Identifiers, Variable Types: Integer, Long, Float, Double and Character, Types of Variables: Automatic/Local, Static, External/Global, Standard and user defined function. Input and Output Function: INPUT: Single Character, Word and Multiword, OUTPUT: Single Character and other Data Types, Strings, Format specifiers, Field Width Specifiers, Escape Sequence, Printing Strings, Character and Graphic characters. Operators: Address Operator (&), Arithmetic Operators, -Operator Precedence, Arithmetic Assignment Operator, Special Assignment Operators, Relational Operators, -Increment and Decrement Operator. Decision-Making Statements: The if Statement, The If-Else Statement, The Else-If Construct, Switch Statement, Goto Statement, Conditional Operator. Loops: The for Loop, Nested for Loop, The While Loop, The Do While Loop, Continue & Break Statement. Arrays & Strings: Define An Array, Initializing An Array, Multidimensional Arrays, Arrays As Function Arguments, Strings, Null Character, String Functions. Functions and Structures: Introduction to Function, Difference Between Pre-Defined/Standard Function and User Defined Function, Using More Than One Function, Use of External Variable, Prototype, Function that return a value, Using arguments to pass data to a function.

Pointers: Pointer variable, returning multiple values from functions, Pointers and arrays, Pointers arithmetic, Pointers and strings, Double indirection: Pointers to pointers. Structures, Nested structures, Arrays structures, Object Oriented programming concepts. Objects and Classes: Objects and classes, Encapsulation, Inheritance, Polymorphism. Operator Overloading: The operator keyword, Overloading unary operators, Overloading binary operators, Constructors as conversion routines, Converting between BASIC & user defined types, Thoughts on overloading. Files: Standard File I/O, Character, String and formatted I/O, Block I/O, Binary and Text file modes, System level I/O, Random access, & redirection. Books Recommended:

Lafore R, Object-Oriented Programming in C++, Prentice Hall Latest Edition, ISBN: 0-672-32308-8. 2. Schildt. H, C++: The Complete Reference, McGraw-Hill Latest Edition, ISBN: 007148860X. 3. Deitel D, C++: How to Program, Prentice Hall, Latest Edition, ISBN: 0-13-111881-1.
1. Approval: Board of Studies Board of FEEC Engineering Academic Council Res. No. 27.2 (a) Res. No. 5.5 (a) Res. No. 73.14 Dated: 22-08-2009 Dated: 18-12-2009 Dated: 09-01-2010

Anda mungkin juga menyukai