Course details

Scripting Languages

ISJ Acad. year 2023/2024 Summer semester 5 credits

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.

Guarantor

Course coordinator

Language of instruction

Czech, English

Completion

Examination (written)

Time span

  • 26 hrs lectures
  • 26 hrs projects

Assessment points

  • 51 pts final exam (written part)
  • 9 pts mid-term test (written part)
  • 40 pts projects

Department

Lecturer

Course Web Pages

Learning objectives

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).
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.

Why is the course taught

The content of the course goes far beyond the basic programming courses. Even though we start with regular expressions and cornerstones of Python, these topics are presented briefly to enable approaching conceptually interesting and new topics that students do not know from system languages such as C. We focus on general concepts of high-level dynamic scripting languages that are relevant not only for Python, Ruby and other currently popular languages but also for that one that has appeared recently.

Recommended prerequisites

Study literature

Syllabus of lectures

  1. Introduction, a brief history of scripting languages, pros and cons, comparison of languages
  2. Regular expressions and their support in scripting languages
  3. Simple scripting for OS Unix, automating system administration
  4. Names in Python, basic data structures and their implementation
  5. Dictionary (hash structure) and its implementation in Python
  6. Functions and their arguments, modules, exception handling
  7. Object-oriented programming  in scripting languages
  8. Advanced concepts of object-oriented programming in Python, multiple inheritance and method resolution order
  9. Ruby basics through comparison with Python
  10. Function and class decorators
  11. Iteration protocol and iterables
  12. Generators and their use in functions
  13. Concurrency and parallelism

Syllabus - others, projects and individual work of students

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. 

Progress assessment

  • Mid-term test - up to 9 points.
  • Individual project - up to 40 points.

 


The evaluation includes a mid-term test and an individual project. The mid-term test does not have a correction option. The minimal total score of 17 points gained out of the project assignments and the mid-term test, with the minimum score for the project is 13 points.

Exam prerequisites

  • Getting at least 20 points from projects

Schedule

DayTypeWeeksRoomStartEndCapacityLect.grpGroupsInfo
Mon exam 2024-05-06 D0206 D105 09:0011:50 1. termín
Mon exam 2024-05-20 D105 13:0014:50 2. termín
Mon exam 2024-06-03 E112 17:0018:50 3. termín
Thu exam 2024-04-11 D105 08:0019:35 Půlsemestrální test
Thu lecture 1., 2., 3., 4., 5., 6., 7., 8., 10., 11., 12. of lectures D105 08:0009:50316 1BIA 1BIB 2BIA 2BIB 3BIT xx Smrž
Thu lecture 2024-04-04 G202 08:0009:50316 1BIA 1BIB 2BIA 2BIB 3BIT xx Smrž
Thu lecture 2024-05-02 D0206 08:0009:50316 1BIA 1BIB 2BIA 2BIB 3BIT xx Smrž

Course inclusion in study plans

  • Programme BIT, 1st year of study, Elective
  • Programme BIT (in English), 1st year of study, Elective
  • Programme IT-BC-3, field BIT, 1st year of study, Elective
Back to top