COMP3311 Week 10 Tuesday Lecture

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [0/15]
❖ Week 10 Tuesday

In today's lecture ...

Things to do ...

Coming Up ...

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [1/15]
❖ COMP3311 Course Aims

At the end of this course you should be able to:

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [2/15]
❖ Syllabus Overview

  1. Data modelling and database design
    • Entity-relationship (ER) design, relational data model
    • Relational theory   (algebra, dependencies, normalisation)
  2. Database application development
    • SQL for querying, data definition and modification   (PostgreSQL's version)
    • extending SQL   Queries, Functions, Aggregates, Triggers
    • PostgreSQL,   psql (an SQL shell),   PLpgSQL (procedural SQL)
    • SQLite,   sqlite3 (an SQL shell)
    • Python3,   Psycopg2,   accessing data programmatically
    • functional languages & DB,   logic languages & DB
  3. DBMS theory/technology
    • relational algebra,   functional dependencies,   normalization
    • performance tuning,   catalogues,   access control
    • DBMS architecture,   query processing,   transaction processing
Things in gray will definitely not be examined.
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [3/15]
❖ Assessment Summary


Your final mark/grade will be determined as follows:

quizzes = mark for on-line quizzes   (out of 15)
ass1    = mark for assignment 1      (out of 15)
ass2    = mark for assignment 2      (out of 20)
exam    = mark for final exam        (out of 50)
okExam  = exam >= 20                 (after scaling)
mark    = quizzes+ ass1 + ass2 + exam
grade   = HD|DN|CR|PS  if mark >= 50 && okExam
        = FL           if mark <  50 && okExam
        = UF           if !okExam

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [4/15]
❖ Final Exam

Fri 25 Nov, 3-hour exam in the CSE Labs, morning and afternoon sessions

Questions ...

What you have access to ... And using your own VLab/db2 setup

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [5/15]
❖ Final Exam (cont)


Make sure that you have a PostgreSQL server set up on  db2

Review the Prac 02 instructions if not

To avoid  db2  600 MB disk quota issues:

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [6/15]
❖ Final Exam (cont)





Want to know what are the questions on the exam ... ?
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [7/15]
❖ Final Exam (cont)

Questions are as follows:

  1. an SQL query
  2. another SQL query
  3. yet another SQL query
  4. a PLpgSQL function
  5. a Python3/Psycopg2 script
  6. some random analysis/synthesis question
  7. another random analysis/synthesis question
  8. etc. etc. etc.
Note that the database for Q1-5 will be available in advance.
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [8/15]
❖ Revision

Sources for revision material:

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [9/15]
❖ Supplementary Exams

Suplementary Exams are only available to people who

If you are awarded a Supp Exam ...
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [10/15]
❖ Assessment

Assessment is about determining how well you understand the syllabus.

If you can't demonstrate your understanding, you won't pass.

In particular, I don't pass people just because ...

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [11/15]
❖ Assessment (cont)

Of course, assessment isn't a "one-way street" ...

MyExperience evaluations are online (via MyUNSW) NOW

Several evaluations: course, lecturer, tutor

Telling us good things is ok.

Telling us things to improve is very useful.

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [12/15]
❖ Some Thoughts ...

You need to learn for life, not just the exam.

In particular, learn to find answers for yourself.

No single correct answer. (Solutions range from poor to excellent)

Take pride in your work. (Aim for quality, not just correctness)

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [13/15]
❖ Finally ...

[Diagram:Pics/misc/thats-all-folks.jpg]

Good Luck with the Exams ... and Life ...

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [14/15]
❖ Extras


Things I forgot to put on the slides ...

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [15/15]


Produced: 16 Apr 2023