100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
Introduction to Java €36,86
In winkelwagen

College aantekeningen

Introduction to Java

 24 keer bekeken  0 keer verkocht
  • Vak
  • Instelling
  • Boek

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.

Voorbeeld 4 van de 39  pagina's

  • 27 augustus 2023
  • 39
  • 2023/2024
  • College aantekeningen
  • Salfla aslam
  • Alle colleges
avatar-seller
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

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

Verzekerd van kwaliteit door reviews

Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper nicholasmavundlhajesussaves. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €36,86. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 52510 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€36,86
  • (0)
In winkelwagen
Toegevoegd