Ondokuz Mayıs Üniversitesi Bilgi Paketi - Ders Kataloğu

Description of Individual Course Units

Course Unit CodeCourse Unit TitleType of CourseYearSemesterECTS
BTÖ201 Programming Languages I 927001 2 3 7
Level of Course Unit
First Cycle
Objectives of the Course
To comprehend basic programming concepts and logic. To write simple programs for solving special problems.
Name of Lecturer(s)
Yrd. Doç. Dr. Polat ŞENDURUR
Learning Outcomes
  1. Basit CGI prograları yazabilir
  2. Program içerisinden SQL kullanır
  3. Bir bilgisayarda çalışan program hakkında genel bilgilere sahip olur.
  4. Bilgisayarda basit programlar yaparak bunları kullanabilme becerisine sahip olur.
  5. Öğrenci programlama mantığını kazanır.
Mode of Delivery
Formal Education
Prerequisites and co-requisities
None
Recommended Optional Programme Components
None
Recommended or Required Reading
Planned Learning Activities and Teaching Methods
Language of Instruction
Turkish
Work Placement(s)
None
Course Contents
String and number data types. Simple arithmetic operations. Defining functions. Control statements (if, if/else) and use them as inner statements, Loop statements(while, do/while, for) Efficiency and readability on programming languages, Standart functions of programming languages, Change of data types, Random number generation and their area of use, Lists and lists algorithms, File operations.
Weekly Detailed Course Contents
Week Theoretical Practice Laboratory
1.The need for learning to program? Students’ learning difficulties in learning to program. Choosing first programming language. Compiled versus interpreted languages. Why Python
2.Introduction to programming. The python interpreter. Using Python interpreter as a calculator. Why different data types? Integer, string and float data types. Type conversion. Variables and variable assignments. Keywords.
3.Functions. Function parameters. Calling functions and arguments. Return values of functions. Reading data from standard input.
4.Program flow. Using print function with different arguments.
5.While loop. List data type. Properties of lists.
6.For iteration. While-for conversion. Using for iteration in sample programs.
7.Nested lists. Tables
8.String data type. Properties of strings. Splitting and joining strings. Converting string to lists. Extract usable data from a string.
9.Dictionaries. Key-Value pair. Converting list to dictionary and vice versa. Extracting dictionary data from string. Using dictionaries within menus.
10.Midterm
11.File data type. Reading a file. Writing to a file. Reading a file and convert to usable data. Write data to file with logical structure.
12.Calsses. Defining a class and using it. Global and class variables. Inheritance. Operator overloading.
13.Exceptions. Excaption handling. SQL commands. Read data from SQL and write data to SQL.
14.CGI web programming. Get value from html form variables and write them to SQL. Present data from SQL to web.
Assessment Methods and Criteria
Term (or Year) Learning ActivitiesQuantityWeight (%)
Midterm Examination1100
SUM100
End Of Term (or Year) Learning ActivitiesQuantityWeight (%)
Final Examination1100
SUM100
Term (or Year) Learning Activities40
End Of Term (or Year) Learning Activities60
SUM100
Workload Calculation
ActivitiesQuantityTime(hours)Total Workload(hours)
Midterm Examination11515
Final Examination13030
Attending Lectures14342
Laboratory12224
Tutorial13452
Homework6424
SUM187