COMP2511 Week 1

Introduction

  • My name is Jayden
  • 3rd Year CompSci student
  • My hobbies include playing table tennis and game hacking.
  • In the holidays, I went to NZ for around 10 days where I went skiing in queenstown
  • Email: jayden.leung@student.unsw.edu.au
  • Course Email: cs2511@cse.unsw.edu.au

Ice Breaker

Introduce the person next to you

  • ​Their name
  • Their degree
  • What they did in the holidays

How will it work?

  • 1 Hour tutorial, 2 hour lab
    • Tutorial: Tutorial questions that go over recent lecture topics 
    • Lab: Lab exercises & marking, general help, assignment check-ins (later).
  • Coursework: 15% (from your Course Outline)
    • Tutorial attendance + participation (2 marks)
      • Attend tutorial (& get name marked off) (1 mark)
      • Ask or answer questions (1 mark)
      • Sick? Need to miss tutorial? => Email me with a short explanation
    • Lab exercises (6 marks)

Git Revision

  • git add
    • Stages files
  • git commit
    • Commits the stages files as a snapshot
  • git push
    • Pushes your new commits to an online repo (gitlab, github)
  • git status
    • State of current repository & branch

Difference between Java, C and Python

  • Syntax

    • C and Java use { and } to describe code blocks (also scopes)

  • Classes:

    • Java and Python support Object Oriented programming (OOP)

      • Supports classes and inheritance

    • C does not support classes. Closest things are pure 'data classes' called structs

    • All code within Java needs to exist within a class

Code Demo

HelloWorld.java

Code demo

Course Outline Walkthrough

https://webcms3.cse.unsw.edu.au/COMP2511/22T3/outline

Made with Slides.com