Description of Individual Course Units
 Course Unit Code Course Unit Title Type of Course Unit Year of Study Semester Number of ECTS Credits 180104001104 COMPUTER PROGRAMMING Compulsory 1 1 5
Level of Course Unit
First Cycle
Objectives of the Course
to teach the fundamental of computer programming and the algorithm development, to provide the ability being able to solve Engineering and Math problems using a computer program
Name of Lecturer(s)
Dr.Melih YILDIZ
Learning Outcomes
 1 -being able to solve the problem with Octave program by defining the main mathematics and engineering problems, 2 -being able to perform mathematical operations by using Octave command window, 3 -have the ability to code for a main computer program.
Mode of Delivery
Daytime Class
Prerequisites and co-requisities
no prerequisites
Recommended Optional Programme Components
Course Contents
The stages of a solving process in computer programming, algorithm, flow diagrams, loops. With Octave program: the defination of variables, arithmetic operators, the commands for input and output parameters, conditional statements, Loops, user-defined functions, anonymous functions, symbolic math operations, external data transfer, plots; 2d, bar graphs and subplots.
Weekly Detailed Course Contents
 Week Theoretical Practice Laboratory 1 Introduction to computer programming, The stage of solving process in programming Programming languages 2 Algorithm and design of Algorithms Samples for Algorithms, Problems and solutions with algorithms 3 Introduction to Octave program language Introducing the interface of Octave; windows Arithmetic operations Introduction to Octave program language Introducing the interface of Octave; windows Arithmetic operations 4 Definition of variables, Definition of input parameters, Display of output parameters Definition of variables, Definition of input parameters, Display of output parameters 5 Relational operators Logical operators Conditional Statements: if-end and if-else-end structures Relational operators Logical operators Conditional Statements: if-end and if-else-end structures 6 Conditional statements: if-elseif-else end structures switch-case structures Conditional statements: if-elseif-else end structures switch-case structures 7 First Exam 8 Loops for-end structures Loops for-end structures 9 Loops for-end structures 10 Loops: while-end structure break and continue commands Loops: while-end structure break and continue commands 11 Loops: while-end structure break and continue commands 12 User-defined functions&files Anonymous functions User-defined functions&files Anonymous functions 13 Symbolic mathematical operations 2d Plots: bar graph, subplots Symbolic mathematical operations 2d Plots: bar graph, subplots 14 2d Plots: bar graph, subplots 15 Final Exam
Amos Gilat.2013. MATLAB An Introduction with Applications (5th. Edition),Wiley Erhan Çoşkun. 2018. Octave ile Sayısal Hesaplama ve Kodlama,KTÜ, Matematik Bölümü
Planned Learning Activities and Teaching Methods
Assessment Methods and Criteria
 Term (or Year) Learning Activities Quantity Weight Midterm Examination 1 100 SUM 100 End Of Term (or Year) Learning Activities Quantity Weight Final Examination 1 100 SUM 100 Term (or Year) Learning Activities 40 End Of Term (or Year) Learning Activities 60 SUM 100
Language of Instruction
Turkish
Work Placement(s)