Ders Bilgileri

#### Ders Tanımı

Ders Kodu Yarıyıl T+U Saat Kredi AKTS
PROGRAMMING FOR PHYSICISTS FIZ 236 4 4 + 0 4 6
Ön Koşul Dersleri None
 Dersin Dili Türkçe Dersin Seviyesi Lisans Dersin Türü ZORUNLU Dersin Koordinatörü Dr.Öğr.Üyesi HACI AHMET YILDIRIM Dersi Verenler Dersin Yardımcıları Teaching Assistants of Physics Department Dersin Kategorisi Dersin Amacı To show both flow charts and the relevant commands necessary for programming at the basic level and to master them with examples. Dersin İçeriği Number Bases, Algorithms, Programming Systems and Their Languages, Solving a Problem via Computers, Flowing Charts, C++ Programming Language, Functions, New Types (Classes), Arrays, Character Strings, Vector Operations, Matrices, Foto-electric Effect, Calculation of Equivalent
 Dersin Öğrenme Çıktıları Öğretim Yöntemleri Ölçme Yöntemleri 1 - He/She establishes the connection between the working principle of computers and base 2 in math. 1 - 2 - B - 2 - He/She distinguishes between variable types. 1 - 2 - A - 3 - He/She defines a variable and to assign a value to it. 1 - 2 - 4 - A - 4 - He/She establishes the connection between memory and definition of a variable. 1 - 2 - B - 5 - He/She writes down the main elements of a C++ programming. 1 - 2 - A - 6 - He/She uses mathematical, relational and logical operators in C++ programming. 1 - 2 - 4 - A - C - 7 - He/She knows if-else statements and uses them in the programming 1 - 2 - 4 - A - C - 8 - He/She uses loop statements 1 - 2 - 4 - A - C - 9 - He/She finds the answers of simple physics problems by coding in C++. 1 - 2 - 4 - A - C - 10 - He/She utilizes computers in operations with vectors and matrices 1 - 2 - 4 - A - C - 11 - He/She uses functions in C++ language, 1 - 2 - 4 - A - C - 12 - He/She defines new variable types in C++ language, 1 - 2 - 4 - A - C - 13 - He/She develops programming strategies in solving physics problems 1 - 2 - 4 - A - C - 14 - He/She convert physical laws, theories and formulae into programming 1 - 4 - A - C - 15 - He/She finds solutions of a given physics problem using programming. 1 - 4 - A - C -
 Öğretim Yöntemleri: 1:Lecture 2:Question-Answer 4:Drilland Practice Ölçme Yöntemleri: B:Oral Exam A:Testing C:Homework

#### Ders Akışı

Hafta Konular ÖnHazırlık
1 Number Bases, Algorithm, Programming Systems and Their Languages [1] Page 3-10, 447-456
2 Flowing Charts, Variable-Memory Relation, Variable Types, Assign a Value to a Variable, Constants [2] Page 1-4, [1] Page 27-40
3 First C++ Program [1] Page 11-16
4 Assignment and Mathematical Operators, Basic and Complex if Statements, Logical Operators [1] Page 41-60
5 Iteration using Loop-goto Commands, While Loop, Continue-Break Commands, Do-while and For Loops, Switch Statements [1] Page 111-130
6 Recitation
7 Arrays, Programming For Vectoral Operations [1] Page 225-229, [2] Page 80-82
8 Multi Dimensional Arrays: Matrices and Matrice Operations, Character Strings [2] Page 87-90, [1] Page 239-242
9 Midterm Exam
10 Function Structure, Definition of Local Variables in Functions, Returning Values in Functions and Function Overloading [1] Page 61-66, 69-75
11 New Types and Defining an Object of a New Type, Accessing to Class Members, General and Special Members [1] Page 85-90
12 Implementing Class Methods, Constructors and Deconstructors [1] Page 91-97
13 Defining Particle and Light Classes and Their Applications [2] Page 90-99
14 Programming Physical Problems: Photoelectric Effect, Equivalent Resistivity Calculation [2] Page 95-99

#### Kaynaklar

Ders Notu [1] Liberty, J., C++ in 24 Hours, second edition, SAMS, 1999
[2] Course Not
Ders Kaynakları [3] Stroustrup, B., The C++ Programming Language, Addison-Wesley, 1997
[4] Yanık, M., Borland C++ Builder BETA BASIM YAYIM 2003
[5] Güngören, B., C ++ ile Nesnel Tabanlı ProgramlamaSEÇKİN yay. - 2004

#### Dersin Program Çıktılarına Katkısı

No Program Öğrenme Çıktıları KatkıDüzeyi
1 2 3 4 5
1 Having enough background in engineering topics related to mathematics, science and their fields. Skill of using theoretical and applied knowledge with engineering solutions in the field, X
2 Identifing, determining, formulating and solving engineering problems. With this purpose choosing and applying analytical methods and modelling techniques, X
3 To analyze a system, a part of a system or a process itself and the skill of design under the given constrains in order to fulfill the specifications. In that direction, the skill of applying modern design techniques X
4 Skill of choosing and applying the modern techniques and vehicles needed by the engineering applications. Skill of using the information technology effectively. X
5 Skill of designing and performing an experiment, data acquisition, analyzing and interpreting results, X
6 Ability of accessing information and doing research. Skill of using databases and other information sources. X
7 Effective working ability both as an individual and as a part of a multi-disciplinary team, self-esteem on taking responsibility, X
8 Ability to make oral or written communication in Turkish. At least one foreign language knowledge, X
9 Consciousness of the necessity of the life time learning, following the developments in science and technology and ability of ones’ continous self renewal. X
10 Consciousness of occupational and ethical responsability, X
11 Consciousness on the subjects of project management, field applications, employees health, environment and work safety; awareness on legal consequences of engineering applications, X

#### Değerlendirme Sistemi

YARIYIL İÇİ ÇALIŞMALARI SIRA KATKI YÜZDESİ
AraSinav 1 60
KisaSinav 1 15
KisaSinav 2 15
Odev 1 10
Toplam 100
Yıliçinin Başarıya Oranı 50
Finalin Başarıya Oranı 50
Toplam 100

#### AKTS - İş Yükü

Etkinlik Sayısı Süresi(Saat) Toplam İş yükü(Saat)
Course Duration (Including the exam week: 16x Total course hours) 16 4 64
Hours for off-the-classroom study (Pre-study, practice) 16 3 48
Mid-terms 1 5 5
Quiz 2 5 10
Assignment 1 5 5
Final examination 1 10 10
Toplam İş Yükü 142
Toplam İş Yükü /25(s) 5.68
Dersin AKTS Kredisi 5.68
; ;