Türkçe | English
FACULTY of ENGINEERING / DEPARTMENT of ELECTRICAL and ELECTRONICS ENGINEERING
(30%) English
Course Catalog
http://www.ktu.edu.tr/eee
Phone: +90 0462 3253154 , 3772906
MF
FACULTY of ENGINEERING / DEPARTMENT of ELECTRICAL and ELECTRONICS ENGINEERING / (30%) English
Katalog Ana Sayfa
  Katalog Ana Sayfa  KTÜ Ana Sayfa   Katalog Ana Sayfa
 
 

ELK1000Computer Programming3+0+1ECTS:6
Year / SemesterSpring Semester
Level of CourseFirst Cycle
Status Compulsory
DepartmentDEPARTMENT of ELECTRICAL and ELECTRONICS ENGINEERING
Prerequisites and co-requisitesNone
Mode of Delivery
Contact Hours14 weeks - 3 hours of lectures and 1 hour of laboratory per week
LecturerDr. Öğr. Üyesi Mehmet ÖZTÜRK
Co-LecturerDOCTOR LECTURER Mehmet ÖZTÜRK,
Language of instructionTurkish
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 OutcomesCTPOTOA
Upon successful completion of the course, the students will be able to :
LO - 1 : Understand the general concepts of programming languages, programming and algorithms.3,5,6,121,3,4
LO - 2 : develop basic problem solving skills with computer programming in order to solve simple problems. 3,5,6,121,3,4
LO - 3 : Understand the logical features that characterize the correct behavior of a program.3,5,6,121,3,4
LO - 4 : Know the commands necessary to control the program flow and how to use them.3,5,6,121,3,4
LO - 5 : Define the functions, learn the array logic, and use the address variables.3,5,6,121,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

 
Contents of the Course
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
 WeekSubjectRelated Notes / Files
 Week 1An Overview of C
 Week 2Variables, Constant and Operators
 Week 3Expressions, Data Types, Declaration of Variables
 Week 4Program Control Statements(True and Fallse in C)
 Week 5if (Nested if, The if-else-if ladder, the ? ternary operator)
 Week 6Switch and nested switch
 Week 7Loops, for
 Week 8Loops, for(continued), do/while,break exit(), continue
 Week 9Mid-term exam
 Week 10Arrays
 Week 11Functions
 Week 12Pointers
 Week 13Pointers(continued)-File(s) in C
 Week 14Structure in C (continued)
 Week 15exercise, make-up exam
 Week 16End of term exam
 
Textbook / Material
1Deitel, P. J.,‎ Deitel, H., 2017; C How to Program (10th Edition), Pearson, England
 
Recommended Reading
1Kızılören, T., 2012; Her Yönüyle C (7/e), KodLab
 
Method of Assessment
Type of assessmentWeek NoDate

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 workDuration (hours pw)

No of weeks / Number of activity

Hours in total per term
Yüz yüze eğitim 6 14 84
Sınıf dışı çalışma 0 0 0
Laboratuar çalışması 4 14 56
Arasınav için hazırlık 0 0 0
Arasınav 2 1 2
Uygulama 2 14 28
Klinik Uygulama 0 0 0
Ödev 0 0 0
Proje 0 0 0
Kısa sınav 0 0 0
Dönem sonu sınavı için hazırlık 0 0 0
Dönem sonu sınavı 2 1 2
Diğer 1 0 0 0
Diğer 2 0 0 0
Total work load172