Note: This unit is an archived version! See Overview tab for delivered versions.

COMP2022: Formal Languages and Logic (2018 - Semester 2)

Download UoS Outline

Unit: COMP2022: Models of Computation (6 CP)
Mode: Normal-Day
On Offer: Yes
Level: Intermediate
Faculty/School: School of Computer Science
Unit Coordinator/s: Godbehere, Joseph William
A/Prof Yacef, Kalina
Session options: Semester 2
Versions for this Unit:
Site(s) for this Unit:
Campus: Camperdown/Darlington
Pre-Requisites: INFO1103 OR INFO1113 OR INFO1903. INFO1105 OR INFO1905 OR COMP2123 OR COMP2823 desired
Prohibitions: COMP2922.
Brief Handbook Description: This unit provides an introduction to the foundations of computational models - including Lambda Calculus (functional approach), Automata Theory (stateful approach), and Logic calculi (propositional and predicate logic, formal proofs). Practical use is illustrated by exploring programming languages based upon them, i.e. functional programming (e.g. Haskell) and logic programming (e.g. Prolog), in contrast to the procedural languages most students will already be familiar with (e.g. C-style languages). The expressive power, and limitations, of different Automata is explored (e.g. Regular, Context-Free, and Recursively-enumerable languages), culminating with Turing machines and the notions of computability and decidability.
Assumed Knowledge: MATH1004 OR MATH1904 OR MATH1064 OR MATH2069 OR MATH2969.
Lecturer/s: Godbehere, Joseph William
A/Prof Yacef, Kalina
Timetable: COMP2022 Timetable
Time Commitment:
# Activity Name Hours per Week Sessions per Week Weeks per Semester
1 Lecture 2.00 1 13
2 Tutorial 2.00 1 13
3 Independent Study 8.00 1 13
T&L Activities: Independent Study: Students are expected to undertake the prescribed reading and work on homework exercises and assignments.

Attributes listed here represent the key course goals (see Course Map tab) designated for this unit. The list below describes how these attributes are developed through practice in the unit. See Learning Outcomes and Assessment tabs for details of how these attributes are assessed.

Attribute Development Method Attribute Developed
Design of solutions to given problems and scenarios using algorithms and techniques learned in class Design (Level 2)
Competently applies theories, principles, tools & materials of both theory of computation and logic to well-defined problems. Engineering/IT Specialisation (Level 2)
Fluent use of mathematical & scientific concepts, tools and techniques required for formal languages and logic formal proofs. Maths/Science Methods and Tools (Level 2)

For explanation of attributes and levels see Engineering & IT Graduate Outcomes Table 2018.

Learning outcomes are the key abilities and knowledge that will be assessed in this unit. They are listed according to the course goal supported by each. See Assessment Tab for details how each outcome is assessed.

Maths/Science Methods and Tools (Level 2)
1. Knowledge of basic discrete maths, theorems and formal proofs
2. Understanding of lambda calculus
3. Understanding of Propositional Logic
4. Understanding of Predicate Logic
Engineering/IT Specialisation (Level 2)
5. Ability to use Languages/Tools for Propositional Logic
6. Understanding of Functional Programming concepts
7. Awareness of the Chomsky hierarchy, Turing machines, and the notions of decidability and intractability.
Design (Level 2)
8. Understanding of the concept of propositional and first order logic as a model of facts and of reasoning.
9. Understanding of the concept of formal language as a set of strings, and of operations on formal languages, in particular union, concatenation, and Kleene closure.
10. Ability to use regular languages and their representations by DFAs, NFAs, regular expressions, and regular grammars.
11. Ability to use context-free grammar as a model of formal language.
Assessment Methods:
# Name Group Weight Due Week Outcomes
1 Weekly exercises No 9.00 Multiple Weeks 1, 2, 3, 4, 6, 7, 8, 9, 10, 11,
2 Assignment 1 No 10.00 Week 6 (Sunday, 11 pm) 1, 2, 6, 10,
3 Assignment 2 No 16.00 Week 10 (Sunday, 11 pm) 1, 9, 11,
4 Assignment 3 Yes 5.00 Week 12 (Sunday, 11 pm) 1, 3, 5, 8,
5 Final exam No 60.00 Exam Period 1, 2, 3, 4, 6, 7, 8, 9, 10, 11,
Assessment Description: Weekly in-class exercises: short exercises to do in-class at the beginning of each tutorial.

Assignments: the first 2 are individual assignments, which consist of a report and a programming part. The 3rd assignment is a formal proof, to be done individually or in pairs.

Final Exam: 2 hour exam, paper-based
Assessment Feedback: Assignments are handed back within 2 weeks with written feedback. General feedback given in the lecture or in the tutorial.

Solutions of tutorials are posted each week.
Grading:
Grade Type Description
Standards Based Assessment Final grades in this unit are awarded at levels of HD for High Distinction, DI (previously D) for Distinction, CR for Credit, PS (previously P) for Pass and FA (previously F) for Fail as defined by University of Sydney Assessment Policy. Details of the Assessment Policy are available on the Policies website at http://sydney.edu.au/policies . Standards for grades in individual assessment tasks and the summative method for obtaining a final mark in the unit will be set out in a marking guide supplied by the unit coordinator.
Minimum Pass Requirement It is a policy of the School of Computer Science that in order to pass this unit, a student must achieve at least 40% in the written examination. For subjects without a final exam, the 40% minimum requirement applies to the corresponding major assessment component specified by the lecturer. A student must also achieve an overall final mark of 50 or more. Any student not meeting these requirements may be given a maximum final mark of no more than 45 regardless of their average.
Policies & Procedures: IMPORTANT: School policy relating to Academic Dishonesty and Plagiarism.

In assessing a piece of submitted work, the School of IT may reproduce it entirely, may provide a copy to another member of faculty, and/or to an external plagiarism checking service or in-house computer program and may also maintain a copy of the assignment for future checking purposes and/or allow an external service to do so.

Other policies

See the policies page of the faculty website at http://sydney.edu.au/engineering/student-policies/ for information regarding university policies and local provisions and procedures within the Faculty of Engineering and Information Technologies.
Recommended Reference/s: Note: References are provided for guidance purposes only. Students are advised to consult these books in the university library. Purchase is not required.
Online Course Content: USyd Canvas

UniKey Login Required

Only current University of Sydney students may view this content.

If you are an existing student, please login with your UniKey here.

Course Relations

The following is a list of courses which have added this Unit to their structure.

Course Year(s) Offered
Bachelor of Advanced Computing (Computer Science) 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Computer Science) - Mid-Year 2021, 2022, 2023, 2024, 2025
Advanced Computing / Science 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Advanced Computing / Science (Medical Science) 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Computational Data Science) 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Advanced Computing / Commerce 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Computational Data Science) - Mid-Year 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Cybersecurity) 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Cybersecurity) - Mid-Year 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Information Systems) (not offered from 2022+) 2018, 2019, 2020, 2021
Bachelor of Advanced Computing (Software Development) 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Bachelor of Advanced Computing (Software Development) - Mid-Year 2021, 2022, 2023, 2024, 2025
Bachelor of Computer Science and Technology 2015, 2016, 2017, 2025
Aeronautical Engineering / Science 2014
Aeronautical Engineering (Space) / Science 2014
Biomedical Engineering / Science 2014
Chemical & Biomolecular Engineering / Science 2014
Civil Engineering / Science 2014
Electrical Engineering / Science 2014
Electrical Engineering (Computer) / Science 2014
Electrical Engineering (Power) / Science 2014
Electrical Engineering (Telecommunications) / Science 2014
Aeronautical / Science 2015, 2016, 2017
Aeronautical with Space / Science 2015
Biomedical Engineering (mid-year) 2016, 2017, 2018, 2019, 2020
Biomedical Engineering 2016, 2017, 2018, 2019, 2020
Biomedical /Science 2015, 2016, 2017
Chemical & Biomolecular / Science 2015
Civil / Science 2015
Electrical / Science 2015
Mechanical / Science 2015, 2016, 2017
Mechanical with Space / Science 2015
Mechatronic / Science 2015, 2016, 2017
Mechatronic with Space / Science 2015
Software Engineering (mid-year) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Software / Project Management 2019+ 2023, 2024, 2025
Software Engineering 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025
Software / Arts 2023+ 2023, 2024, 2025
Software / Commerce 2023+ 2023, 2024, 2025
Software / Science 2023, 2024, 2025
Software / Science - Mid Year 2023, 2024, 2025
Software / Law 2023+ 2023, 2024, 2025
Mechanical Engineering / Science 2014
Mechanical Engineering (Space) / Science 2014
Mechatronic Engineering / Science 2014
Mechatronic Engineering (Space) / Science 2014
Software Engineering / Science 2014

Course Goals

This unit contributes to the achievement of the following course goals:

Attribute Practiced Assessed
Maths/Science Methods and Tools (Level 2) Yes 37.7%
Engineering/IT Specialisation (Level 2) Yes 16.3%
Design (Level 2) Yes 46%

These goals are selected from Engineering & IT Graduate Outcomes Table 2018 which defines overall goals for courses where this unit is primarily offered. See Engineering & IT Graduate Outcomes Table 2018 for details of the attributes and levels to be developed in the course as a whole. Percentage figures alongside each course goal provide a rough indication of their relative weighting in assessment for this unit. Note that not all goals are necessarily part of assessment. Some may be more about practice activity. See Learning outcomes for details of what is assessed in relation to each goal and Assessment for details of how the outcome is assessed. See Attributes for details of practice provided for each goal.