Course detail
Scripting Languages
FIT-ISJAcad. year: 2022/2023
Basic concepts: scripts and scripting, scripting versus programming, an overview of scripting languages, macro languages, scriptable objects and components are, basics of Python, Unix system hacking, object-oriented programming in scripting languages, concurrency and parallelism.
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Learning outcomes of the course unit
Students will get acquainted with modern scripting languages, having successfully completed the course, students will be able to demonstrate knowledge and understanding of the nature of scripting and the role of scripting languages, the syntax and semantics of Python, write simple scripts to automate system administration tasks using appropriate languages and rapidly develop simple applications using appropriate tools. The students will learn to solve problems in Python through regular projects. They will also improve their programming skills and their knowledge of modern development tools.
Prerequisites
Co-requisites
Planned learning activities and teaching methods
Assesment methods and criteria linked to learning outcomes
- Mid-term test - up to 9 points.
- Individual project - up to 40 points.
Course curriculum
Work placements
Aims
To examine the topic of scripting languages and their applications. To understand the complementarity of the class of languages to systems languages, their strengths and weaknesses. To conceive basics of regular expressions, using appropriate data structures and approaches primarily in Python (and partially Ruby and others).
Specification of controlled education, way of implementation and compensation for absences
The evaluation includes a mid-term test and an individual project. The mid-term test does not have a correction option.
Recommended optional programme components
Prerequisites and corequisites
- recommended prerequisite
Operating Systems - recommended prerequisite
Introduction to Software Engineering - recommended prerequisite
Introduction to Programming Systems
Basic literature
Recommended reading
Beazley, D.M.: Python - Podrobná referenční příručka pro programovací jazyk Python. Neocortex.
Driscoll, M: Python 201: Intermediate Python. Amazon Digital Services LLC, ASIN: B01LMUAYSO, 2016.
Harms, D., Macdonald, K.: Začínáme programovat v jazyce Python. Computer Press, ISBN 80-7226-799-X.
Lutz, M., Ascher, D.: Naučte se Python - Pohotová příručka. Grada, 2003, ISBN 80-247-0367-X.
Elearning
Classification of course in study plans
- Programme BIT Bachelor's 1 year of study, summer semester, elective
- Programme BIT Bachelor's 1 year of study, summer semester, elective
- Programme IT-BC-3 Bachelor's
branch BIT , 1 year of study, summer semester, elective
- Programme BAK-MIn Bachelor's 2 year of study, summer semester, elective
- Programme VUB Bachelor's
branch VU-D , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-D , 2 year of study, summer semester, elective
branch VU-VT , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
branch VU-D , 2 year of study, summer semester, elective
branch VU-IDT , 2 year of study, summer semester, elective
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
- Introduction, a brief history of scripting languages, pros and cons, comparison of languages
- Regular expressions and their support in scripting languages
- Simple scripting for OS Unix, automating system administration
- Names in Python, basic data structures and their implementation
- Dictionary (hash structure) and its implementation in Python
- Functions and their arguments, modules, exception handling
- Object-oriented programming in scripting languages
- Advanced concepts of object-oriented programming in Python, multiple inheritance and method resolution order
- Ruby basics through comparison with Python
- Function and class decorators
- Iteration protocol and iterables
- Generators and their use in functions
- Concurrency and parallelism
Project
Teacher / Lecturer
Syllabus
Projects consist of general problems to be solved, mostly by writing medium-sized scripts in Python. Electronic submission of assignments are required using IS FIT. Instead of one or a few large projects, 8 mini-projects are assigned in the course, i.e. from the 3rd lecture almost every week. There is a server that automatically evaluates projects before the official submission via WIS, so you can find out in advance how many points will be for the current solution. The midterm test and exam are directly linked to the topics you will try within the projects.
Elearning