Türkçe | English
FACULTY of ENGINEERING / DEPARTMENT of METALLURGICAL and MATERIALS ENGINEERING

Course Catalog
http://www.muhfak.ktu.edu.tr/metalurji/
Phone: +90 0462 3772932
MF
FACULTY of ENGINEERING / DEPARTMENT of METALLURGICAL and MATERIALS ENGINEERING /
Katalog Ana Sayfa
  Katalog Ana Sayfa  KTÜ Ana Sayfa   Katalog Ana Sayfa
 
 

MET1000Computer Programming2+1+0ECTS:3
Year / SemesterSpring Semester
Level of CourseFirst Cycle
Status Compulsory
DepartmentDEPARTMENT of METALLURGICAL and MATERIALS ENGINEERING
Prerequisites and co-requisitesNone
Mode of Delivery
Contact Hours14 weeks - 2 hours of lectures and 1 hour of practicals per week
LecturerÖğr. Gör. Dr Zafer YAVUZ
Co-LecturerPROF. DR. LEVENT GÜMÜŞEL,
Language of instructionTurkish
Professional practise ( internship ) None
 
The aim of the course:
In this course, it is aimed that students gain the necessary knowledge and skills to solve academic and real life problems with computer programming language.
 
Learning OutcomesCTPOTOA
Upon successful completion of the course, the students will be able to :
LO - 1 : Understands the structure of the program and can analyze the written codes.2,3,8
LO - 2 : Can understand the operation of program conditional statements.2,3,8
LO - 3 : An ability to develop algorithms to solve engineering problems2,3,8
LO - 4 : An ability to identify run-time error and test a program for debugging purposes 2,3,8
LO - 5 : An ability to write a program using appropriate selection statements such as if-else and switch.2,3,8
LO - 6 : An ability to write a program using appropriate looping statements such as while, for and do-while2,3,8
LO - 7 : An ability to write a program using functions with parameters passed by value and by reference2,3,8
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
Introduction to programming, variables, operators, conditional statements, loop statements (for, while), lists and list operations, strings and string operations, functions, 3rd party library usuage, File operations
 
Course Syllabus
 WeekSubjectRelated Notes / Files
 Week 1What is programming? Installation of the selected programming language, introduction to coding
 Week 2syntax, simple variables and operators, comment, constant values
 Week 3Conditional expressions, logical and comparison operators
 Week 4Loops-1 (for) and sample programs
 Week 5Loops-2 (while) and sample programs
 Week 6Arrays and array operations
 Week 7Strings and string operations
 Week 8Variables and data types, numbers and strings, type conversions, getting data from the user
 Week 9Mid-term exam
 Week 10Loops-3 (nested loops)
 Week 11Advanced array operations (2D arrays, indexing)
 Week 12Introduction to Modular Programming and Functions
 Week 13Functions-2 (parameter transfer and return value)
 Week 14Creating and using a 3rd party library
 Week 15Input/Output with Files
 Week 16End-of-term exam
 
Textbook / Material
1Learn Python Programming - Second Edition, Fabrizio Romano.
2https://www.python.org/
 
Recommended Reading
 
Method of Assessment
Type of assessmentWeek NoDate

Duration (hours)Weight (%)
In-term studies (second mid-term exam) 6,7,8,9,10 8 50
End-of-term exam 16 1.5 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 3 14 42
Sınıf dışı çalışma 3 14 42
Laboratuar çalışması 1 10 10
Arasınav için hazırlık 8 1 8
Arasınav 1.5 1 1.5
Ödev 1 5 5
Dönem sonu sınavı için hazırlık 15 1 15
Dönem sonu sınavı 1.5 1 1.5
Total work load125