Iconuserslogin Login    Mailbox e-Mail    Iconinfo Ελληνικά

Computer Programming & Computational Physics

General

Code: ΗΥΥ201
Semester: 2
Hrs/week: 3
ECTS Credits: 5

Content

Structure of the PC (CPU, ALU, registers, memory types, addresses and addressing, binary and hexadecimal numerical systems). Problem analysis with flowcharts/pseudocode (quadratic equation, number sorting, gambling - Monte Carlo method, root finding). Source code, compiling and linking, executable programs, variables and types of variables, string and logical expressions (operands). Program flow control (conditional branching, loops). Exercises on program flow control. Functions (call with copy/reference, default variables, iterative call), scope of variables (local/global), input/output files. Exercises on functions. Data collections (tables, structures), pointers and dynamic memory management. Exercises on data collections. Physics applications: projectile motion, elastic collision in two dimensions, photon transport (propagation).

Suggested literature:

Additional suggested literature:

Teacher(s)


CALENDAR

<<September>>
SunMonTueWedThuFriSat
          1
2
3
4
5 6 7 8
9
10
11
12
13
14
15
16
17
18
19
20 21
22
23
24
25
26
27
28
29
30