11
PROGRAMMING PARADIGMS Jason Atkin and Graham Hutton University of Nottingham

PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

PROGRAMMING PARADIGMS

Jason Atkin and Graham HuttonUniversity of Nottingham

Page 2: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Exercise

1

Write down all the languages you have written a program in.

Page 3: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Background

2

In programming and algorithms, you learned the basics of imperative programming in C:

❚ Variables and assignments;

❚ Basic control structures;

❚ Basic data structures;

❚ Functions and parameters;

❚ Pointers and memory management.

Page 4: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Background

3

In this module, you’ll learn the basics of:

Object-oriented programming

in Java

Functional programming

in Haskelland

Page 5: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Lectures in LT2

❚ Tuesdays, 09.00 – 10.00;

❚ Tuesdays, 10.00 – 11.00;

❚ Wednesdays, 10.00 – 11.00;

❚ Thursdays, 12.00 – 13.00.

4

Labs in A32

❚ Mondays, 09.00 – 11.00.

Page 6: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Course Materials

5

Everything you need is available on moodle:

See: tinyurl.com/G51PGP-2020

Page 7: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Textbook

6

In addition to our course materials, there is also a recommended textbook for each paradigm:

Page 8: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

7

Assessment

❚ A series of short exercise sheets (10%);

❚ Two programming courseworks (15%);

❚ One 2.5-hour written examination (75%).

The exercise sheets and courseworkswill mainly be assessed in the labs.

Page 9: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Jason’s Views

Page 10: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Functional Demo

Page 11: PROGRAMMING PARADIGMS - Nottingham › ~pszgmh › PGP-intro.pdf · Programming Paradigms (COMP1009 UNUK) (SPRI 19-20) Overview In this module you'll learn the basic principles of

Object-Oriented Demo