|
|
| ELK1000 | Computer Programming | 3+0+1 | ECTS:6 | | Year / Semester | Spring Semester | | Level of Course | First Cycle | | Status | Compulsory | | Department | DEPARTMENT of ELECTRICAL and ELECTRONICS ENGINEERING | | Prerequisites and co-requisites | None | | Mode of Delivery | | | Contact Hours | 14 weeks - 3 hours of lectures and 1 hour of laboratory per week | | Lecturer | Dr. Öğr. Üyesi Mehmet ÖZTÜRK | | Co-Lecturer | DOCTOR LECTURER Mehmet ÖZTÜRK, | | Language of instruction | Turkish | | Professional practise ( internship ) | None | | | | The aim of the course: | | To provide a hands-on introduction to the C programming language. To teach the basic C language syntax, variable declaration, basic operators, program flow and control, defining and using functions, file and operating system interface. |
| Learning Outcomes | CTPO | TOA | | Upon successful completion of the course, the students will be able to : | | | | LO - 1 : | Understand the general concepts of programming languages, programming and algorithms. | 1.3 - 2.2 - 3.1 - 5.3 | 1,3,4 | | LO - 2 : | develop basic problem solving skills with computer programming in order to solve simple problems. | 1.3 - 2.2 - 3.1 - 5.3 | 1,3,4 | | LO - 3 : | Understand the logical features that characterize the correct behavior of a program. | 1.3 - 2.2 - 3.1 - 5.3 | 1,3,4 | | LO - 4 : | Know the commands necessary to control the program flow and how to use them. | 1.3 - 2.2 - 3.1 - 5.3 | 1,3,4 | | LO - 5 : | Define the functions, learn the array logic, and use the address variables. | 1.3 - 2.2 - 3.1 - 5.3 | 1,3,4 | | CTPO : Contribution to programme outcomes, TOA :Type of assessment (1: written exam, 2: Oral exam, 3: Homework assignment, 4: Laboratory exercise/exam, 5: Seminar / presentation, 6: Term paper), LO : Learning Outcome | | |
| An Overview of C: The origin of C, the form of a C program: Variables, Constants, Operators, and Expressions: identification of names, data types, declaration of variables, assignment statements, constants, operators, bitwise operators. Program Control Statements: ?true? and ?false? in C, C statements, conditional statements, if(), switch(), loops while(), do/while(), break, exit() , continue. Functions: The return statements, scope rules of functions, function arguments, function prototypes, recursion, pointer to functions. Arrays: single-dimensional arrays, passing single-dimension arrays to functions, two-dimensional arrays, multidimensional arrays, arrays and pointers. Pointers: Pointers are addresses, pointer variables, the pointer operators, pointer expressions, pointers and arrays, initializing pointers, pointer to functions. Input, Output, and Disk Files: streams and files, console I/O, formatted console I/O. Structures. |
| |
| Course Syllabus | | Week | Subject | Related Notes / Files | | Week 1 | An Overview of C | | | Week 2 | Variables, Constant and Operators | | | Week 3 | Expressions, Data Types, Declaration of Variables | | | Week 4 | Program Control Statements(True and Fallse in C) | | | Week 5 | if (Nested if, The if-else-if ladder, the ? ternary operator) | | | Week 6 | Switch and nested switch | | | Week 7 | Loops, for | | | Week 8 | Loops, for(continued), do/while,break exit(), continue | | | Week 9 | Mid-term exam | | | Week 10 | Arrays | | | Week 11 | Functions | | | Week 12 | Pointers | | | Week 13 | Pointers(continued)-File(s) in C | | | Week 14 | Structure in C (continued) | | | Week 15 | exercise, make-up exam | | | Week 16 | End of term exam | | | |
| 1 | Deitel, P. J., Deitel, H., 2017; C How to Program (10th Edition), Pearson, England | | | |
| 1 | Kızılören, T., 2012; Her Yönüyle C (7/e), KodLab | | | |
| Method of Assessment | | Type of assessment | Week No | Date | Duration (hours) | Weight (%) | | Mid-term exam | 9 | | 1 | 30 | | Laboratory exam | 15 | | 1 | 10 | | Homework/Assignment/Term-paper | 4 5 6 7 8 10 11 12 13 14 | | | 10 | | End-of-term exam | 16 | | | 50 | | |
| Student Work Load and its Distribution | | Type of work | Duration (hours pw) | No of weeks / Number of activity | Hours in total per term | | Yüz yüze eğitim | 6 | 14 | 84 | | Laboratuar çalışması | 4 | 14 | 56 | | Arasınav | 2 | 1 | 2 | | Uygulama | 2 | 14 | 28 | | Dönem sonu sınavı | 2 | 1 | 2 | | Total work load | | | 172 |
|