Programming paradigms

1.Course titleProgramming paradigms
2.CodeF23L3W038
3.Study programme
4.Organizer of the study programme (unit, institute, department)Faculty of Computer Science and Engineering
5.Degree level (first, second, third cycle)First cycle
6.Academic year / semester7 / Winter
7.Number of ECTS credits6
8.Teacher
9.Prerequisites for enrolling in the courseАлгоритми и податочни структури или Примена на алгоритми и податочни структури
10.Course objectives (competences)The aim of this course is to acquaint students with programming paradigms other than imperative and object-oriented, with a focus on declarative and functional programming paradigms. After completing the course, students should be able to: Compare different programming paradigms and choose the appropriate one for a given problem, Use a logical programming language to implement efficient algorithms, Use a logical programming language for knowledge representation and manipulation, Use a functional programming language for writing of programs without side effects, Understand and use first and higher order functions, functional closures, lazy evaluation and sequence abstraction, Understand and write simple concurrent programs
11.Course contentLectures:
1. Overview and comparison of imperative, object-oriented, declarative, and functional programming paradigms.
2. Introduction to the declarative programming paradigm. Expression evaluation. First-order predicate logic.
3. Fundamentals of a Logic Programming Language. Unification. Backtracking Search.
4. Clausal representation of data structures and algorithms. Recursion. Termination. Negation.
5. Representation and manipulation of knowledge with a logic programming language.
6. Introduction to the functional programming paradigm. Programming without side effects.
7. Structured data types and their processing.
8. Functions as first-class objects. Anonymous functions.
9. Higher-order functions. Functional closures. Currying. Partial functions.
10. Lazy evaluation. Infinite sequences. Sequence abstraction.
11. Competitiveness and Parallelism 1
12. Competitiveness and Parallelism 2
12.Learning methodsLectures using presentations, interactive lectures, exercises (using equipment and software packages), teamwork, case studies, guest lectures, independent preparation and defense of a project assignment and a seminar paper.
13.Total available time6 ECTS x 30 hours = 180 hours
14.Distribution of the available time30 + 45 + 15 + 15 + 75 = 180 hours
15.Forms of teaching activities
15.1.Lectures – theoretical teaching30 hours
15.2.Exercises (laboratory, auditory), seminars, team work45 hours
16.Other forms of activities
16.1.Project assignments15 hours
16.2.Individual assignments15 hours
16.3.Home study75 hours
17.Grading
17.1.Tests10 points
17.2.Seminar paper / project (presentation: written and oral)15 points
17.3.Activity and participation10 points
17.4.Final exam70 points
18.Grading criteria (points / grade)
up to 50 points5 (five) (F)
from 51 to 60 points6 (six) (E)
from 61 to 70 points7 (seven) (D)
from 71 to 80 points8 (eight) (C)
from 81 to 90 points9 (nine) (B)
from 91 to 100 points10 (ten) (A)
19.Requirements for signature and taking the final examActivities 15.2 and 16.1 completed
20.Language of instructionMacedonian and English
21.Method of monitoring teaching qualityinternal evaluation and survey mechanism
22.Literature
22.1.Required literature
1. John C. Mitchell | Concepts in Programming Languages | Cambridge University Press | 2002
2. Maurizio Gabbrielli and Simone Martini | Programming Languages: Principles and Paradigms (Undergraduate Topics in Computer Science) | Springer | 2010
3. Neal Ford | Functional Thinking: Paradigm Over Syntax | O`Reilly Media | 2014
4. Ivan Bratko | Prolog Programming for Artificial Intelligence, 4/E | Pearson Education | 2011
22.2.Additional literature
No. Author Title Publisher Year