Instructor:
  Ameen Abdel Hai
Office:
  BL-217
Email:
  aabdelha AT sju DOT edu

CSC120 - Computer Science I

This course is based on the fundamentals of computer programming using the Java programming language.

Course goals and objectives:
  • Develop and enhance your Computational Thinking
  • Develop a basic understanding of computer programming
  • Understand basic program structures
  • Develop basic algorithmic problem solving skills
  • Become proficient at the Java programming language

Textbook: Absolute Java by Walter Savitch (Sixth Edition).
Prerequisites: None (this course will cover all programming concepts from scratch).
TA: Yifan Chen, yc689980@sju.edu
Software: you are free to use any IDE/software to compile and run Java programs. However, it will be your responsibility to learn how to use other IDEs. In class, I will introduce how to work with Eclipse only.
Requirements
It is likely that JDK is already installed on your system. To determine if you already have a JDK on Windows or Mac, go to CMD (windows) or Terminal (mac) and type java --version .
If you see a version (e.g., Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)), that means you already have it installed.

CSC-120 welcomes you!

Major Topics

  • Variables, Expressions, and Statements
  • Conditional Execution/Code
  • Functions
  • Loops & Iterations
  • Strings
  • Arrays
  • ArrayLists
  • Classes
  • Error Handling
  • Files
  • Stack/HashMap
  • Object Oriented Programming (OOP) -
    if time allows

Course Curriculum

Chapter Readings & Assignments Source Code/Sample Programs
Chapter 1:
Getting started with Java
click here for slides/presentation
Assignment 1
Source Code
Chapter 2:
Console Input and Output
Click here for slides/presentation Source Code
Chapter 3:
Flow of Control
Click here for slides/presentation
Assignment 2
TempConverter: while loop/error handling
Source Code
Chapter 6:
Arrays
Click here for slides/presentation Source Code
HashMap & enum Assignment 3 HashMap
enum
Chapter 4:
Defining Classes I
Click here for slides/presentation
Assignment 4
Source Code
Chapter 5:
Defining Classes II
Click here for Slides/Presentation
Assignment 5
Source Code
Chapter 7:
Inheritance
Click here for slides/presentation Source Code
Chapter 8:
Polymorphism and Abstract Classes
Click here for slides/presentation Source Code
Chapter 9:
Exception Handling
Click here for slides/presentation Source Code
Chapter 10:
Files I/O
Click here for slides/presentation Source Code

Grading:
Please note that, the followings are approximate.
grade distribution: Labs/Assignments: 20%, quizzes: 15%, midterm Exam:30 final exam: 35%

Final gradings will be given according to the following scale:

Undergraduate students

A 96+
A- 90 - 95
B+ 85 - 89
B 80-84
B- 78-79
C+ 75-77
C 71-74
C- 65-70
D 61-64
F 0-60

Rules & Regulations

Accommodations for Disabilities: Reasonable academic accommodations may be provided to students who submit appropriate documentation of their disability. Students are encouraged to contact Dr. Christine Mecke in the Office of Student Disability Services, Bellarmine, B-10, at cmecke@sju.edu; or at 610.660.1774 for assistance with this issue. The university also provides an appeal/grievance procedure regarding requested or offered reasonable accommodations through Dr. Mecke's office. More information can be found at: www.sju.edu/sds.

Class room and meetings: Go back to the main page or click here for classrooms, meeting times, and office hours. If you have any further queries, please do not hesitate to contact me via email or pop in to my office during office hours. If you need to see me urgently and office hours are not suitable for you, please email me and we will organize a meeting.

Assignments/Lateness: Email your assignments to me and our TA on or before midnight on the day they are due. If the assignment is a coding assignment, please be sure to include your source code as well as the output of sample test runs. Work may be turned in up to one week late. Late work will be penalized by 50%. After one week late, work will not be accepted. In case of an emergency, please contact me and I will examine whether I can postpone your assignment.

Academic Honesty: This course will follow the University's standard policy on academic honesty. In particular, any cheating (including plagiarism) or assisting another student's cheating on any assignment, test, or the final exam will be penalized by either a zero on the test, or by failure of the course, at my discretion. Finally, if you cheat twice during this course, you will fail the course. Remember that the University may inflict further penalties other than those listed here under the provisions of the published Academic Honesty Policy. Clarification: Webster.com defines plagiarizing as, "to steal and pass off (the ideas or words of another) as one's own : use (another's production) without crediting the source." Therefore, if you cut-and-paste something from the web, you are plagiarizing. If you copy another student's work, you are plagiarizing. If you have someone else do your work for you, you are plagiarizing.
You may work as a partner with another student on an assignment to an extent. Two identical solutions are not considered. If I receive identical solutions from two students, both students will be lose credit for their homework or might not get any credit for it. Note, I consider copying solutions from online sources to be cheating. Please contact me whether you have any queries in regard to assignments due. If you have any questions or face any difficulties, ask me before the deadline

Mobile Devices (i.e., phones, laptops, and tablets): Mobile devices (cell phones) are not permitted, Laptops can be used for note taking or any other purposes related to class activated, such as writing code and solving technical problems. All other uses are not permitted in class.

Attendance: You are encouraged to attend every lecture. Attendance is not mandatory. However, if you do not attend lectures/classes, I will consider this as you are comfortable with the materials and able to write exams and pass the course. Note, if you do not attend regularly, I will not be able to go over the materials again during office hours. However, if you attend, make an effort, work hard, I will be delighted to explain and go over any topics or solve any difficulties faced during the course.


"WRITING PROGRAMS OR PROGRAMMING IS A VERY CREATIVE AND REWARDING ACTIVITY YOU CAN WRITE PROGRAMS FOR MANY REASONS RANGING FROM MAKING YOUR LIVING TO SOLVING A DIFFICULT DATA ANALYSIS PROBLEM TO HAVING FUN TO HELPING SOMEONE ELSE SOLVE A PROBLEM THIS BOOK ASSUMES THAT {\EM EVERYONE} NEEDS TO KNOW HOW TO PROGRAM AND THAT ONCE YOU KNOW HOW TO PROGRAM, YOU WILL FIGURE OUT WHAT YOU WANT TO DO WITH YOUR NEWFOUND SKILLS WE ARE SURROUNDED IN OUR DAILY LIVES WITH COMPUTERS RANGING FROM LAPTOPS TO CELL PHONES WE CAN THINK OF THESE COMPUTERS AS OUR PERSONAL ASSISTANTS WHO CAN TAKE CARE OF MANY THINGS ON OUR BEHALF THE HARDWARE IN OUR CURRENT-DAY COMPUTERS IS ESSENTIALLY BUILT TO CONTINUOUSLY AS US THE QUESTION WHAT WOULD YOU LIKE ME TO DO NEXT OUR COMPUTERS ARE FAST AND HAVE VASTS AMOUNTS OF MEMORY AND COULD BE VERY HELPFUL TO US IF WE ONLY KNEW THE LANGUAGE TO SPEAK TO EXPLAIN TO THE COMPUTER WHAT WE WOULD LIKE IT TO DO NEXT IF WE KNEW THIS LANGUAGE WE COULD TELL THE COMPUTER TO DO TASKS ON OUR BEHALF THAT WERE REPTITIVE INTERESTINGLY, THE KINDS OF THINGS COMPUTERS CAN DO BEST ARE OFTEN THE KINDS OF THINGS THAT WE HUMANS FIND BORING AND MIND-NUMBING" - Dr. Charles Severance