Türkçe | English
FACULTY of ENGINEERING / DEPARTMENT of COMPUTER ENGINEERING
(30%) English
Course Catalog
https://www.ktu.edu.tr/bilgisayar
Phone: +90 0462 377 2080
MF
FACULTY of ENGINEERING / DEPARTMENT of COMPUTER ENGINEERING / (30%) English
Katalog Ana Sayfa
  Katalog Ana Sayfa  KTÜ Ana Sayfa   Katalog Ana Sayfa
 
 

COM1002Programming - II3+0+0ECTS:4
Year / SemesterSpring Semester
Level of CourseFirst Cycle
Status Compulsory
DepartmentDEPARTMENT of COMPUTER ENGINEERING
Prerequisites and co-requisitesDC must have been achieved from COM1003-Programming - I
Mode of DeliveryFace to face, Practical
Contact Hours14 weeks - 3 hours of lectures per week
LecturerDr. Öğr. Üyesi Beste ÜSTÜBİOĞLU
Co-LecturerDOCTOR LECTURER Selen AYAS,
Language of instruction
Professional practise ( internship ) None
 
The aim of the course:
The course intends to teach the students the basic programming principles. For this purpose, it will let the students learn how to program in C Programming language. It will also teach students how to analyze an engineering problem and develop effective solutions.
 
Learning OutcomesCTPOTOA
Upon successful completion of the course, the students will be able to :
LO - 1 : build a program flow diagram and understand the basic structure of C programs2,3,4,61,6
LO - 2 : have knowledge on loops and decision mechanism to control operation of program.2,3,4,61,6
LO - 3 : see what the arrays and strings are about2,3,4,61,6
LO - 4 : interpret the advantages of pointer2,3,4,61,6
LO - 5 : interpret the advantages of functions2,3,4,61,6
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
Overall classification of high-level programming languages. Introduction to algorithms. Flow charts. Pseudo codes. The Turbo C Programming Environment. C Building Blocks. Loops. Decision structures. Functions. Arrays and Strings. Pointers. File I/O.
 
Course Syllabus
 WeekSubjectRelated Notes / Files
 Week 1Hardware and software. Computer organization. Machine language. Assembly language.
 Week 2High-level languages. C program development environment.
 Week 3Introduction to algorithm formulation.
 Week 4Flow charts. Pseudo codes.
 Week 5Structure of a simple C program. Decision structures: if, if-else, switch, conditional operator.
 Week 6Loops: for, do-while, while. break and continue statements.
 Week 7Preprocessor directives
 Week 8Mid-term exam
 Week 9Modular C programming. Function definitions. Function prototypes. Header files.
 Week 10Calling functions by value and by reference. Random number generation. Scope rules.
 Week 11Introduction to arrays. Array definitions. Passing arrays to functions.
 Week 12Sorting Arrays. Searching arrays.
 Week 13Pointer variable definitions and initialization. Pointer operators. Passing arguments to functions by address.
 Week 14const qualifier. sizeof operator. Pointer arithmetic. Arrays of pointers.
 Week 15File Input/Output
 Week 16End-of-term exam
 
Textbook / Material
1P. Deitel, H. Deitel, "C How to Program", Sixth Edition, Pearson.
 
Recommended Reading
1B. W. Kernighan, D. M. Ritchie, "The C Programming Language", Prentice Hall Software Series
 
Method of Assessment
Type of assessmentWeek NoDate

Duration (hours)Weight (%)
Mid-term exam 8 31/03/2013 2 50
End-of-term exam 16 26/05/2013 2 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 4 14 56
Sınıf dışı çalışma 1 14 14
Laboratuar çalışması 0 0 0
Arasınav için hazırlık 5 1 5
Arasınav 2 1 2
Uygulama 7 14 98
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 14 1 14
Dönem sonu sınavı 2 1 2
Diğer 1 0 0 0
Diğer 2 0 0 0
Total work load191