Week 1
Week 1
2
Grading
Evaluation
3
CONTENT This Week
Course Purpose
Computer and Software
Algorithm and Programming Languages
Python Programming Language Basics
Features and Advantages of Python
4
COMPUTER SCIENCE AND PROGRAMMING MAIN OBJECTIVE OF THE
COURSE
5
OS
● The operating system is a low-level system program that
manages computer resources (CPU, memory, hard disk, other
devices) and provides communication between the user and the
computer.
Makine
Program İşlemci
Dili
Algorithm
● A set of steps that describe how to do a problem or a particular job is
called algorithm. An algorithm is a sequential, precise (explicit) set of
executable steps that describe a finite process.
● eg:
● Cooking → recipes
● Finding an address → Directions
● Laundry → Machine operating instructions
(This shapeCagiltay,Selbes, Tokdemir and Turhan's Introduction to Programming lecture note from
Chapter 1fromtaken.)
Programming Process
Programming Process
Program
Algorithm The program is Installation
An algorithm is coded with a The compiled
Problem developed to selected program is installed
solve the programming on the computer and
problem. language. made ready for use.
Compilers (1/2)
● Converter programs whose source language is a high-level language and
whose target language is a low-level language are called compilers. A
low-level language is usually a symbolic machine language.
(source: http://www.ias.ac.in/resonance/Dec1998/pdf/Dec1998p43-54.pdf)
Classification of Programming Languages (3/3)
● Programming languages can be listed as follows
according to their usage areas:
1. Expression Power(expressivity)
2. Data Types and Structures(Datatypes and Structures)
3. Ease of Entry/Exit(Input/Output facilities)
4. Portability(portability)
5. Sub-Programming Ability(madularity)
6. Productivity(efficiency)
7. Legibility(readability)
8. Flexibility(Flexibility)
9. Ease of Learning(pedagogy)
10. Generality(generality)
11. Structurality(Support for Structuralprogramming)
12. Article Orientation (Objectorientation)
BASICS OF THE PYTHON PROGRAMMING LANGUAGE
20
FEATURES OF THE PYTHON PROGRAMMING
LANGUAGE
▪Compilable
21
Features of the Python Language
2
WHERE TO USE THE PYTHON PROGRAMMING LANGUAGE
▪Database Programming
▪Internet Programming
23
Python Installation
22.02.2024
JetBrains Pycharm Foundation
22.02.2024
Python2 and Python3
22.02.2024
Differences between Python2 and
Python3
Use of the print function.
Integer division differences.
Unicode differences and byte type usage.
Use of xrange() and next() functions.
Use of circular variables.
Use of input() and raw_input() functions.
Use of rounding operations.
22.02.2024
CONTENT Next Week
Python Programming Language Basics
Features and Advantages of Python
Variables in Python Language
Python Operators
Python Data Types
28