100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Introduction to Java R683,00   Add to cart

Class notes

Introduction to Java

 24 views  0 purchase

The notes were taken from all the lectures (including SIPP) since the beginning of the semester. Notes will be regularly up dated with time. Notes are concise and easy to read. They are a summation of the key points from the slides and the lecturers.

Preview 4 out of 39  pages

  • August 27, 2023
  • 39
  • 2023/2024
  • Class notes
  • Salfla aslam
  • All classes
book image

Book Title:

Author(s):

  • Edition:
  • ISBN:
  • Edition:
All documents for this subject (6)
avatar-seller
nicholasmavundlhajesussaves
CSC1016SLectureNotes
CSC1016S Lecture 09


CSC1016S Lecture 09.pdf 86 kB




CSC1016S Lecture 16
Topic: Assignment 6
Course: CSC1016S
Date: 25/08/2023
Professor/Speaker: Aslam Safla


Summary
Announcement
Assignment 5 due on Monday 10am and late submission due on Wednesday
Prac test 1 second sitting taking place next week in Scilab A, 40 minutes after
the quiz
Theory test 1 on Wednesday, make sure to sign up for a venue and have
Lockdown Browser installed on your laptop
Assignment 6 due on the 4th of September
Assignment 6: Class Declarations with Encapsulation
A continuation from assignment 5
Correct version of the CarPark class will be uploaded on Wednesday
The exact names of instance variables and any additional methods you might
add do not matter
Use exact signature for the required methods
Exercise 1
Look at the constructor to get an idea of what the definitions of the instance
variables should be

, lowerBound() and upperBound() methods are 'get' methods which return
Duration values
includes() checks if duration is within the lower bound (inclusive) and the upper
bound (exclusive)
Time periods need to be adjacent, and lower limit is included and upper limit is
excluded
precedes() checks if this time precedes the other time period
adjacent() checks if time period is adjacent to the other time period
Exercise 2
Goes hand in hand with exercise 3
Store a time period and tariff in an adjacent order
Use TimePeriod and Cost as your instance variables
Exercise 2 will be manually marked
Exercise 3
Use constructor to identify what type of instance variables are to be included in
class




SIPP Lecture 05
Topic: Introduction to Values
Course: CSC1016S
Date: 24/08/2023
Professor/Speaker: Maria Keet


Summary

Teleology
Teleological theories give priority to "the good" over "the right"
They evaluate actions by the goal or consequences that they achieve.
Correct actions are those that produce the most good or optimise the
consequences of choices, E.g. Voltaire’s “best of all possible worlds”
Wrong actions are those that do not contribute to the good.
Action-Based Approaches
Ethical egoism : 'good/happiness' to self
Utilitarianism : 'good/happiness' to the most

,Altruism : 'good/happiness' to the other
Ethical egoism
Egoism focuses on self-interest
Ethical egoism claims that it is necessary and sufficient for an action to be
morally right that it maximize one's self-interest.
“Does the action benefit me, as an individual, in any way?”
Utilitarianism
Utilitarianism embodies the notion of operating in the public interest rather
than for personal benefit.
An action is right if it maximises benefits over costs for all involved, everyone
counting equal
Altruism
Altruism
“A decision results in benefit for others, even at a cost to some”
an action is ethically right if it brings good consequences to others (even at the
cost to yourself)
Altruists choose to align their well-being with others — so they are happy when
others thrive, sad when others are suffering.
Utilitarianism vs. Deontology
In utilitarianism what makes an action right/wrong is outside the action
It’s the consequences that make it right/wrong
For deontologists:
It’s the principle inherent in the action
If the action done from a sense of duty &
If the principle can be universalised, then
the action is right
Ubuntu
Ubuntu means humanness/humanity in isiZulu
When we want to give high praise to someone we say, Yu, u nobuntu; ‘Hey, so
and-so has ubuntu’. Then you are generous, you are hospitable, you are
friendly and caring and compassionate. You share what you have.
“My humanity is caught up, is inextricably bound up in yours.”
I am, because we are; and since we are, therefore I am
Ubuntu as an Ethical or Moral Principle
Ubuntu morality:
An action is right just insofar as it promotes shared identity among people
grounded on good-will

, An act is wrong to the extent that it fails to do so and tends to encourage
the opposites of division and ill-will.
What is data mining/knowledge discovery?
Data mining is a process of exploration and analysis of large quantities of data,
by automatic or semi-automatic means.
To discover meaningful patterns and rules.
Note: in many cases, the data was not collected primarily for the purpose of
data mining
Professional Responsibility
Two underlying issues (1/2)
(1) Problem of ‘many hands’:
Situation where multiple actors are involved in the development and
deployment of technologies, which makes it hard to identify who exactly
did what.
Negatively affects the process of assigning blame when a technological
accident occurs, as well as who to praise for its success
Two underlying issues (2/2)
(2) Trustworthy Software:
The enhancement of the overall software and systems culture, with the
objective that software should be designed, implemented and maintained
in a trustworthy manner




CSC1016 Lecture 15
Topic: Design and UML Class Diagram
Course: CSC1016S
Date: 23/08/2023
Professor/Speaker: Aslam Safla


Summary
Announcements
Sign-ups for theory test 1 will be opening today, for both 5pm and 6pm sitting
Those who have unreliable laptops should sign up for scilab venue
There's a lecture on Friday
Student.java and UCT.java (uploaded to Amathuba)
Java requires a return statement for every non-void method

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller nicholasmavundlhajesussaves. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R683,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

60434 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R683,00
  • (0)
  Buy now