Skip to main content

Introduction to Programming (5 cr)

Code: 5051111-3032

General information


Enrollment

02.12.2021 - 21.01.2022

Timing

11.01.2022 - 01.06.2022

Number of ECTS credits allocated

5 op

Mode of delivery

Contact teaching

Teaching languages

  • Finnish

Seats

0 - 25

Teachers

  • Matti Kuikka

Objective

After completing the course the student can:
- describe the most important software application types and their typical features
- discuss the selection of a proper solution technology
- define the main concepts of programming such as source code, compiler, variable and data type
- read program code written by someone else
- utilize the most important decision and control structures
- recognize basic object-oriented concepts (class and its members, object, reference, exceptions)
- design and implement simple software applications
- draw a flow chart of the program.

Content

- software application structure
- development environment and tools
- variables and data types
- functions
- decision and control structures
- arrays and lists

Content scheduling

Implementation contents:
- Python basics: arithmetic operators, indentation, comments, print-function, variables, python keywords
- Data types: built-in data types, type-function, len-function, mutable/immutable, iterables
- Strings: string data type
- Conversion: conversion/casting, input
- If-statement: if, elif, else, pass, nested if-statements
- Booleans: boolean data type, comparison/logical/identity/membership/bitwise/assignment operators
- For and while loops: for, while, break, continue, nested loops, flow chart
- Functions: functions/procedures, return, parameters/arguments, built-in functions
- Scope: global/local variable, nested functions, global/nonlocal-keywords
- Lists: list data type, unpacking, slicing, list operators, nested lists, list comprehensions, list methods
- Tuples: tuple data type
- Dictionaries and sets: dictionary, set, frozen set
- Modules (optional): modules/importing, packages/pip, namespace
- Classes (optional): classes, objects, attributes, methods, dunder methods, decorators, inheritance

Evaluation scale

H-5

Qualifications

Basic computer skills and high school or vocational school mathematics curriculum or equivalent skills.