COMP3311 Week 10 Tuesday Lecture

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

In today's lecture ...

Things to do ...

Coming Up ...

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [1/17]
❖ Public Service Announcement


The Health Psychology lab in the School of Psychology at UNSW

Participants are remunerated at a rate of $25 per hour

If you are interested in learning more

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [2/17]
❖ COMP3311 Course Aims

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

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [3/17]
❖ 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
  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 ♢ [4/17]
❖ Assessment Summary


Your final mark/grade will be determined as follows:

quizzes = mark for on-line quizzes   (out of 12)
ass1    = mark for assignment 1      (out of 12)
ass2    = mark for assignment 2      (out of 16)
exam    = mark for final exam        (out of 60)
okExam  = exam >= 25                 (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 ♢ [5/17]
❖ Final Exam


Mon 1 May,   3-hour exam,   morning and afternoon sessions

Morning: arrive by 10:00am,   Afternoon: arrive by 1:20pm

Things that are NOT the same as 22T3 final exam

Things that are like 22T3 final exam
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [6/17]
❖ Final Exam (cont)

Questions ...

What you have access to ... What you do not have access to
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [7/17]
❖ Final Exam (cont)

When you login (zID/zPass) into the exam environment ...

PostgreSQL server runs on your workstation

Database: will not be huge, will not be overly complex (e.g. < 10 tables)

You do not have access to  VLab or  /localstorage  or  /home/YOU

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

For the prac questions ...

For the theory questions ... General suggestions ...
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [9/17]
❖ Final Exam (cont)





Want to know what are the questions on the exam ... ?
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [10/17]
❖ 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 ♢ [11/17]
❖ Revision

Sources for revision material:

COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [12/17]
❖ Supplementary Exams

Suplementary Exams are only available to people who

If you are awarded a Supp Exam ...
COMP3311 22T3 ♢ Week 10 Tuesday Lecture ♢ [13/17]
❖ 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 ♢ [14/17]
❖ 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 ♢ [15/17]
❖ 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 ♢ [16/17]
❖ Finally ...

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

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

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


Produced: 12 May 2023