Review of Structured Programming principles in C; Review of C fundementals, Expressions, Data Types, Variable Initializations; Functions, return types, passing paramaters by value and by reference and introduction of pointer concept; Functions ( Program modules in C, Math library functions, Function definition and prototypes, Header files, Calling functions, Recursion versus iteration); C Arrays (Passing arrays to functions, multiple subcripted arrays) C Pointers (pointer operators, calling functions by reference, pointer arithmetic, arrays of pointers); C Characters and Strings (standard Input/output Library functions, string handling library functions); Formatted Input/output (streams, formatting output with printf) C structures, Unions, Bit Manipulation and Enumerations C File processing (Data hierarchy, files and streams, sequential and random-access files); C Data structures (self-referencing structures, Dynamic memory allocation, Linked lists, stacks, queues, trees); The C Preprocessor (include and define directives).
Prerequisite(s)
IE2002 Introduction to Programming
Corequisite(s)
-
Special Requisite(s)
The minimum qualifications that are expected from the students who want to attend the course.(Examples: Foreign language level, attendance, known theoretical pre-qualifications, etc.)
Instructor(s)
Lecturer Dr. Oğuz AKALIN
Course Assistant(s)
-
Schedule
The course is not offered in this semester.
Office Hour(s)
The course is not offered in this semester.
Teaching Methods and Techniques
Lectures are presented by using power point slides, problems related to each chapter are solved in lab sessions. Students are forced to study individually by assigning home works.
Principle Sources
H. M. Deitel, P.J. Deitel, “C How to Program”, Pearson Education International, Forth Edition.
Other Sources
Course Schedules
Week
Contents
Learning Methods
1. Week
Review of C fundementals, Expressions, Data Types, Variable Initializations
Laboratory
2. Week
Review of C fundementals, Expressions, Data Types, Variable Initializations
Laboratory
3. Week
cont'd
Laboratory
4. Week
Functions ( Program modules in C, Math library functions, Function definition and prototypes, Header files, Calling functions, Recursion versus iteration)
Laboratory
5. Week
cont'd
Laboratory
6. Week
C Arrays (Passing arrays to functions, multiple subcripted arrays)
Laboratory
7. Week
C Pointers (pointer operators, calling functions by reference, pointer arithmetic, arrays of pointers)
Laboratory
8. Week
C Characters and Strings (standard Input/output Library functions, string handling library functions)
Laboratory
9. Week
MIDTERM
10. Week
Formatted Input/output (streams, formatting output with printf) C structures, Unions, Bit Manipulation and Enumerations C File processing (Data hierarchy, files and streams, sequential and random-access files)
Laboratory
11. Week
C Data structures (self-referencing structures, Dynamic memory allocation, Linked lists, stacks, queues, trees)
Laboratory
12. Week
List, Stack, and Queues, ADT's -list, stack, queue. Lists - Array implementation, link list, doubly link list, circularly linked lists.
Ability to apply theoretical and practical knowledge gained by Mathematics, Science and their engineering fields and ability to use their knowledge in solving complex engineering problems.
PO-2
Ability of determining, defining, formulating and solving complex engineering problems; for that purpose develop the ability of selecting and implementing suitable models and methods of analysis.
PO-3
Ability of designing a complex system, process, device or product under real world constraints and conditions serving certain needs; for this purpose ability of applying modern design techniques
PO-4
Ability of selecting and using the modern techniques and devices which are necessary for analyzing and solving complex problems in engineering implementations; ability of efficient usage of information technologies.
PO-5
Ability of designing experiments, conducting tests, collecting data and analyzing and interpreting the solutions to investigate of complex engineering problems or discipline-specific research topics.
PO-6
Ability of working efficiently in intra-disciplinary and multi-disciplinary teams; individual working ability and habits.
PO-7
Ability of verbal and written communication skills; and at least one foreign language skills, ability to write effective reports and understand written reports, ability to prepare design and production reports, ability to make impressive presentation, ability to give and receive clear and understandable instructions
PO-8
Awareness of importance of lifelong learning; ability to access data, to follow up the recent innovation in science and technology for continuous self-improvement.
PO-9
Conformity to ethical principles; knowledge about occupational and ethical responsibility, and standards used in engineering applications.
PO-10
Knowledge about work life implementations such as project management, risk management and change management; awareness about entrepreneurship and innovativeness; knowledge about sustainable development.
PO-11
Knowledge about effects of engineering applications on health, environment and security in global and social dimensions, and on the problems of the modern age in engineering; awareness about legal outcomes of engineering solutions.
Learning Outcomes
LO-1
Use the logical operators, break and continue program control statements.
LO-2
Recognize how to construct programs modularly from small pieces called functions, Express the mechanisms used to pass information between functions, Use arrays to store, sort and search lists and tables of values, Use pointers to pass arguments to functions using call-by-reference.
LO-3
Create and use structures, unions and enumerations.
LO-4
Create, read, write and update files.
LO-5
Explain sequential access file processing and random access files processing.
LO-6
Form linked data structures using pointers, self-referential structures and recursion, Create and manipulate linked lists, queues and stacks, Allocate and free memory dynamically for data objects.