Course Name Code Semester T+U Hours Credit ECTS
Programming For Physicists FIZ 236 4 4 + 0 4 6
Precondition Courses None
Recommended Optional Courses
Course Language Turkish
Course Level Bachelor's Degree
Course Type Compulsory
Course Coordinator Doç.Dr. HÜSEYİN YASİN UZUNOK
Course Lecturers Doç.Dr. HÜSEYİN YASİN UZUNOK,
Course Assistants Teaching Assistants of Physics Department
Course Category Field Proper Education
Course Objective To show both flow charts and the relevant commands necessary for programming at the basic level and to master them with examples.
Course Content 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
# Course Learning Outcomes Teaching Methods Assessment Methods
1 He/She establishes the connection between the working principle of computers and base 2 in math. Lecture, Question-Answer, Oral Exam,
2 He/She distinguishes between variable types. Question-Answer, Lecture, Testing,
3 He/She defines a variable and to assign a value to it. Drilland Practice, Question-Answer, Lecture, Testing,
4 He/She establishes the connection between memory and definition of a variable. Question-Answer, Lecture, Oral Exam,
5 He/She writes down the main elements of a C++ programming. Question-Answer, Lecture, Testing,
6 He/She uses mathematical, relational and logical operators in C++ programming. Drilland Practice, Question-Answer, Lecture, Testing, Homework,
7 He/She knows if-else statements and uses them in the programming Drilland Practice, Question-Answer, Lecture, Homework, Testing,
8 He/She uses loop statements Drilland Practice, Question-Answer, Lecture, Homework, Testing,
9 He/She finds the answers of simple physics problems by coding in C++. Drilland Practice, Question-Answer, Lecture, Homework, Testing,
10 He/She utilizes computers in operations with vectors and matrices Drilland Practice, Question-Answer, Lecture, Homework, Testing,
11 He/She uses functions in C++ language, Drilland Practice, Question-Answer, Lecture, Homework, Testing,
12 He/She defines new variable types in C++ language, Drilland Practice, Question-Answer, Lecture, Homework, Testing,
13 He/She develops programming strategies in solving physics problems Drilland Practice, Question-Answer, Lecture, Homework, Testing,
14 He/She convert physical laws, theories and formulae into programming Drilland Practice, Lecture, Homework, Testing,
15 He/She finds solutions of a given physics problem using programming. Drilland Practice, Lecture, Homework, Testing,
Week Course Topics Preliminary Preparation
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
Resources
Course Notes [1] Liberty, J., C++ in 24 Hours, second edition, SAMS, 1999<br>[2] Course Not
Course Resources [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
Week Documents Description size
0 Programlama_ders_1 0.42 MB
0 Programlama_ders_2 0.3 MB
Order Program Outcomes Level of Contribution
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
Evaluation System
Semester Studies Contribution Rate
1. Ara Sınav 40
1. Ödev 20
2. Ödev 20
3. Ödev 20
Total 100
1. Yıl İçinin Başarıya 60
1. Final 40
Total 100
ECTS - Workload Activity Quantity Time (Hours) Total Workload (Hours)
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
Total Workload 142
Total Workload / 25 (Hours) 5.68
dersAKTSKredisi 6