Türkçe | English
FACULTY of SCIENCE / DEPARTMENT of PHYSICS

Course Catalog
http://www.ktu.edu.tr/fizik
Phone: +90 0462 +90 462 377 2507
FENF
FACULTY of SCIENCE / DEPARTMENT of PHYSICS
Katalog Ana Sayfa
  Katalog Ana Sayfa  KTÜ Ana Sayfa   Katalog Ana Sayfa
 
 

FIZ3023Python Programming2+0+1ECTS:4
Year / SemesterFall Semester
Level of CourseFirst Cycle
Status Elective
DepartmentDEPARTMENT of PHYSICS
Prerequisites and co-requisitesNone
Mode of Delivery
Contact Hours14 weeks - 2 hours of lectures and 1 hour of laboratory per week
LecturerDr. Öğr. Üyesi Özge TEZEL
Co-Lecturer
Language of instructionTurkish
Professional practise ( internship ) None
 
The aim of the course:
This course aims to equip students with the knowledge and skills necessary to solve academic and real-life problems using the Python programming language.
 
Learning OutcomesCTPOTOA
Upon successful completion of the course, the students will be able to :
LO - 1 : Understands program structure and can analyze written code.6 - 71,4,
LO - 2 : Can understand how conditional statements in programs work.6 - 71,4,
LO - 3 : Can understand how program loops work and comprehend loop statements.6 - 71,4,
LO - 4 : Can use arrays and strings.6 - 71,4,
LO - 5 : Can understand the advantages of using functions.6 - 71,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
Introduction to Programming, Variables, Operators, Conditional Statements, Loop Statements (for, while), Lists and List Operations, Strings and String Operations, Functions, Standard and Third-Party Libraries (datetime, math, NumPy)
 
Course Syllabus
 WeekSubjectRelated Notes / Files
 Week 1What is Programming?, Installation, Introduction to Python Programming
 Week 2Python Syntax, Basic Variables and Operators, Comments, Constants, VariableTypes
 Week 3Variables and Data Types, Numbers and Strings, Type Conversions, Getting User Input
 Week 4Conditional Statements, Logical and Comparison Operators
 Week 5Loops-1 (for, in, range)
 Week 6Loops-2 (while) and Loop-Related Problems
 Week 7Loops-3 (Nested Loops)
 Week 8Lists and List Operations
 Week 9Midterm Exam / Assignment
 Week 10Functions
 Week 11Recursive Functions
 Week 12Problems Related to Functions and Recursive Functions
 Week 13Introduction to Modular Programming and Functions
 Week 14NumPy Library
 Week 15NumPy Library
 Week 16Final Exam
 
Textbook / Material
1Romano, F. 2018; Learn Python Programming: The no-nonsense, beginner's guide to programming, data science, and web development with Python 3.7 - Second Edition, Packt Publishing
2Downey, A. B. 2015; Think Python, O'Reilly Media, Inc, USA
3https://www.w3schools.com/
 
Recommended Reading
1Karaçay, T. 2017; Yeni Başlayanlar İçin Python 3 Temel Kavramlar, Seçkin Yayıncılık
 
Method of Assessment
Type of assessmentWeek NoDate

Duration (hours)Weight (%)
Mid-term exam 9 /11/2025 1 50
End-of-term exam 16 /01/2026 1 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 2 14 28
Arasınav için hazırlık 4 4 16
Arasınav 1 1 1
Dönem sonu sınavı için hazırlık 4 6 24
Dönem sonu sınavı 1 1 1
Total work load112