You are on page 1of 27

University of Dar es Salaam

CS 234: Object-Oriented
Programming in Java
Course Introduction

Aron Kondoro
University of Dar es Salaam
Course Information
• Course Code: CS 234
• Course Name: Object Oriented Programming in Java
• Prerequisite: CS 175 Programming in Java
University of Dar es Salaam
Course Staff
• Lecturer
• Aron Kondoro (kondoro.aron@udsm.ac.tz)
• Practical Assistants
• Dr. Charles Tarimo (ndekarisho@gmail.com)
• Mr. Marco Masembo (marcomasembo1@gmail.com)
University of Dar es Salaam
Delivery Mode
• Lectures
• PowerPoint slides posted weekly in the LMS
• Supplemental video demonstrations
• Lab exercises designed to help students practice and master the
material
University of Dar es Salaam
Course Schedule
• Lecture
• Monday, 1800 – 1955, D01 Luhanga Hall
• Lab Practicals
• Wednesday, 0700 – 0855, B106
• Thursday, 1800 – 1955, B106
University of Dar es Salaam
Assessment
• Test (20)
• Lab Assignments (20)
• You will be asked to write code that produces specific outputs and/or behaves
in very specific ways.
• Examination (60)
• The final examination will be a 3 hours on-site exam and will be administered
during the examination period at the end of the term.
University of Dar es Salaam
Course Requirements
• Students are required to attend lectures and complete labs and any
assignments.
• No makeup lab/assignment/exam will be accepted unless there is an
emergency, in which case documented evidence may be required.
• All students in this course must register in the LMS and complete the
online registration form.
• All work must be submitted by the due date/time.
University of Dar es Salaam
Student Responsibilities
• Students should log into the LMS at least once weekly (and preferably
more)
• For maximum success, students should read the lectures, watch the
video demonstrations, do lab exercises, and read the textbook
• No type of academic dishonesty will be tolerated. If you are caught
cheating (on the assignments or exams) the punishment will be the
most severe penalty allowed by the university policy
University of Dar es Salaam
Course Description
• Introduces object-oriented programming using the Java programming
language
• The course focuses on the understanding and practical mastery of
object-oriented concepts such as classes, objects, data abstraction,
methods, method overloading, inheritance and polymorphism
University of Dar es Salaam
Learning Outcomes
• Understand the key features of the Java programming language
• Apply object-oriented programming techniques using Java
• Explain the principles behind good object-oriented design
• Use and manipulate different Built-In Java Classes and APIs
• Write Java code to produce simple Java applications
University of Dar es Salaam
Content of the Course
• Introduction to OOP • Abstraction
• Java Basics • Object-Oriented Design
• Classes and Objects Principles
• Inheritance • Collections
• Polymorphism • Exceptions
• Encapsulation • Generics
• GUI components in Java
University of Dar es Salaam
Introduction to OOP
• Introduction to programming paradigms
• What is OOP?
• A brief history of OOP
• Advantages of using OOP
University of Dar es Salaam
Java Basics
• Overview of Java programming language
• Installation and setup
• Creating your first Java program
• Variables, data types, and operators in Java
• Control flow statements (if-else, loops, switch)
• Methods and functions in Java
University of Dar es Salaam
Classes and Objects
• What are classes and objects?
• Defining and creating classes in Java
• Creating and using objects in Java
• Constructors in Java
• Object initialisation
University of Dar es Salaam
OOP Concepts
University of Dar es Salaam
Collections
University of Dar es Salaam
Exceptions
University of Dar es Salaam
GUI
University of Dar es Salaam
Java Frameworks
University of Dar es Salaam
Recommended Readings
• Books
• Horstman, Cay. Big Java Early Objects 6th Edition. New York: John Wiley &
Sons, Inc. (4rd and 5th Editions are also acceptable) [This is a great
introduction to the Java programming language.]
• Schildt, Herbert. Java 7: A Beginner's Guide. McGraw-Hill, Inc., 2010.
• Bates, Bert, and Kathy Sierra. Head First Java Second Edition. (2021).
University of Dar es Salaam
Online Resources
• https://www.youtube.com/playlist?list=PL9DF6E4B45C36D411
• https://www.w3schools.com/java/java_oop.asp
• https://www.w3resource.com/java-exercises/
• https://java-programming.mooc.fi/
University of Dar es Salaam
Preparatory Tasks
• Familiarise yourself with the LMS and enrol yourself on CS 234
• https://lms.udsm.ac.tz/
• Fill in the registration form
• Set up Java on your computer
• Setup a GitHub account if you do not have one already
• Accept the assignment (by clicking the link in the LMS)
• Do assignments 0 and 1
University of Dar es Salaam
Registration Link

bit.ly/udsm-cs234
University of Dar es Salaam
Software Required
• Java Development Kit (Java 8.0 or later)
• An IDE such as IntelliJ IDEA, Eclipse, Netbeans, or a suitable text
editor such as Visual Studio Code
University of Dar es Salaam
GitHub
University of Dar es Salaam
GitHub Classrooms
University of Dar es Salaam
Assignments/Labs
• Each assignment will be distributed in the form of repositories
• If you experience problems while uploading assignments, email me
your work for grading IMMEDIATELY AND BEFORE THE DUE
DATE/TIME, along with a screenshot of the upload error.
• Unless otherwise stated, no assignments will be accepted late.

You might also like