DD1361 Programming Paradigms 7.5 credits

Programmeringsparadigm

Offering and execution

Course offering missing for current semester as well as for previous and coming semesters

Course information

Content and learning outcomes

Course contents *

Functional programming: concept of function, higher-order functions, currying, strategies of evaluation, streams, pattern matching, overloading, polymorphism, interpreting, types and classes.

Logic programming: unification, backtracking, negation and cuts as well as non-deterministic programming and block diagram.

Formal languages and syntax analysis: automata, regular expressions, grammars, lexical analysis, recursive descent, language classes.

Internet programming.

Language Translation: interpreting, compilation and linking.

Intended learning outcomes *

After the course the student should be able to

  • apply and explain common concepts in programming: recursion, control flow, interpreting, paradigms
  • apply and explain basic concepts of functional programming: higher-order functions, currying, lazy evaluation, pattern matching, types and classes
  • apply and explain basic concepts of logic programming: unification, backtracking, cuts, negation and different programming techniques such as generate-test
  • apply and explain basic concepts in formal languages and syntax analysis: automata, regular expressions, grammars, lexical analysis, and recursive descent
  • write their own client-server and use protocols and explain how they are interpreted and written

in order to

  • get a broader perspective on programming,
  • judge which paradigm and which programming language that is appropriate for solving a specific task,
  • use the appropriate style of programming in the selected programming paradigm,
  • actively participate in discussions about programming paradigms, programming language history, language definition, properties of type systems, principles of language design, language translation, programming principles and programming concepts.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites *

For single course students: completed upper secondary education including documented proficiency in Swedish corresponding to Swedish B, English corresponding to English A. Furthermore: 7,5 hp in mathematics and 6 hp in computer science or programming technics.

Recommended prerequisites

For those studying at KTH: DD1337, DD1338 and DD1350 Logic for Computer Science (can be taken in parallell) or equivalent.

Equipment

No information inserted

Literature

To be announced at least 4 weeks before course start at the web page for the course. Last year material produced at the department was used.

Examination and completion

Grading scale *

A, B, C, D, E, FX, F

Examination *

  • LAB2 - Laboratory Work, 4.5 credits, Grading scale: A, B, C, D, E, FX, F
  • TEN2 - Examination, 3.0 credits, Grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

In this course all the regulations of the code of honor at the School of Computer science and Communication apply, see: http://www.kth.se/csc/student/hederskodex/1.17237?l=en_UK.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Per Austrin

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DD1361

Offered by

EECS/Computer Science

Main field of study *

Technology

Education cycle *

First cycle

Add-on studies

DD2481 Principles of Programming Languages, DD2372 Automata and Languages, DD2457 Program Semantics and Analysis, ID2213 Logic Programming

Contact

Marcus Dicander, e-post: dicander@kth.se

Ethical approach *

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.