Course detail

Creative Programming 1

FaVU-KREAP1Acad. year: 2023/2024

The course introduces theoretically and practically the basic concepts of programming (data types, conditions, loops, classes) and their form and specifics in the Python 3 programming language. The course will also touch on related areas of software development: working with the command line, editors, code management, documentation and forms of online collaboration.

 

Language of instruction

Czech

Number of ECTS credits

2

Mode of study

Not applicable.

Entry knowledge

Basic user knowledge of Windows, Mac, or Linux.


Rules for evaluation and completion of the course

Credit is granted if the following conditions are met:

  • at least 60% active participation in lectures with exercises, or substitution by a programming assignment as individually arranged,
  • completion of the final programming assignment (correction of 2 broken scripts with explanation),
  • submission of a final programming project (program of your choice).

 


Classes are held in the classrooms of the BUT FaVU in the hours determined by the timetable. Attendance is compulsory (5 unexcused absences allowed). Higher number of absences can be compensated by submitting an alternative assignment after agreement with the lecturers.

 

Aims

The aim of the course is to introduce students to the basic concepts of programming both practically and theoretically. The learner will acquire the ability to create scripts in the open-source programming language Python 3 at a basic, but practically applicable level. Learners will understand the concepts of variables, conditions, loops, collections, classes, objects, have an understanding of and be able to use basic built-in Python functions and modules.

 


By completing the course, students will gain knowledge of basic programming concepts (variables, loops, conditions, functions, classes) and learn to use them practically, they will be able to write scripts in Python 3 at a basic but practically usable level, they will gain competences for automation, data-mining, data analysis, interactive text programs, working with files, which will expand the range of skills usable in creative authoring practice.

 

Study aids

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

Začátečnický kurz. Nauč se Python [online]. Praha: pyvec.org, 2019 [cit. 2019-03-10]. Dostupné z: https://naucse.python.cz/course/pyladies/

Recommended reading

HARMS, Daryl D. a Kenneth MCDONALD. Začínáme programovat v jazyce Python. 2., opr. vyd. Přeložil Ivo FOŘT, přeložil Lubomír ŠKAPA. Brno: Computer Press, 2008. ISBN 978-80-251-2161-0.
MARTIN, Robert C. Clean code: a handbook of agile software craftsmanship. Upper Saddle River, NJ: Prentice Hall, c2009. ISBN 978-0-13-235088-4.

Elearning

Classification of course in study plans

  • Programme VUB Bachelor's

    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-D , 1 year of study, winter semester, elective
    branch VU-D , 2 year of study, winter semester, elective
    branch VU-D , 3 year of study, winter semester, elective
    branch VU-D , 4 year of study, winter semester, elective
    branch VU-VT , 1 year of study, winter semester, elective
    branch VU-VT , 2 year of study, winter semester, elective
    branch VU-VT , 3 year of study, winter semester, elective
    branch VU-VT , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-D , 1 year of study, winter semester, elective
    branch VU-D , 2 year of study, winter semester, elective
    branch VU-D , 3 year of study, winter semester, elective
    branch VU-D , 4 year of study, winter semester, elective
    branch VU-IDT , 1 year of study, winter semester, elective
    branch VU-IDT , 2 year of study, winter semester, elective
    branch VU-IDT , 3 year of study, winter semester, elective
    branch VU-IDT , 4 year of study, winter semester, elective
    branch VU-D , 1 year of study, winter semester, elective
    branch VU-D , 2 year of study, winter semester, elective
    branch VU-D , 3 year of study, winter semester, elective
    branch VU-D , 4 year of study, winter semester, elective

  • Programme DES_B Bachelor's 2 year of study, winter semester, elective

Type of course unit

 

Lecture

13 hod., compulsory

Teacher / Lecturer

Syllabus

  1. Introduction to the course: installation and environment preparation: installation of Python IDLE, VS Code editor, introduction to the command line, Hello world!, Python interactive mode
  2. Introduction to Python programming: what is a program (input, output, run control, data storage), interpreted vs. compiled language, creating and running a Python script
  3. Variables and data types: variable vs. value, basic data types (int, float, str, bool, None), input() function, comparing values, logical operators: "or", "and", "not".
  4. Control structures: "if" condition, WHILE and FOR loops, "continue" and "break" keywords
  5. Functions, built-in functions, creating custom functions
  6. Collections: tuples, lists, sets
  7. Collections: dictionaries, some other operations with collections
  8. Importing a module, useful built-in modules, practicing
  9. Object-oriented programming: classes, methods
  10. References, copy module, shallow and deep copies, copy and deepcopy functions
  11. Absolute and relative paths, working with files - reading and writing
  12. Other built-in modules, debug mode in IDLE
  13. Final project

Exercise

13 hod., compulsory

Teacher / Lecturer

Elearning