Download presentation
Presentation is loading. Please wait.
1
CSc 2310 Principles of Programming (Java)
Dr. Xiaolin Hu
2
Make sure you are in the right class
Check the CRN of your registration
3
Syllabus Instructor: Xiaolin Hu (xhu@cs.gsu.edu) Textbooks
Prerequisites: CSc2010 The course includes lectures, lab sessions, programming assignments (homework), and written exams.
4
TAs Introduce the four TAs
5
Class webpage http://www.cs.gsu.edu/xhu/CSC2310
Homework Submission: Desire2Learn’s Dropbox function Be familiar with it (make sure the submission is successful when submitting your homework).
6
Course Description This course introduces the fundamental principles of computer programming using Java. We will pick up from where the CSc 2010 class finished (last semester). That is, we will start with the Schneider/ Gersting book and alternate it with the King's book. As an initial plan (subject to change), we will start with the former from Chapter 5 and continue into Chapters 6, 7, 9 & 10 and the latter from Chapter 6 and continue into chapters 7, 8, 9, 10, 11, 13 & 14. The main focus will be on Java programming based on King’s book.
7
Grading Test 1 – 20% Test 2 – 20% Final exam – 20% Assignments – 40%.
The final letter grade will be determined based on the following criteria: A - 90 and above B - 80 thru 89 C - 70 thru 79 D - 60 thru 69 F - less than 60
8
Homework Assignments You have 3-5 days from the homework is given to turn in your homework. Specific due date will be given when the homework is announced. Turn in the source code file only, i.e., the java file. The java file name should be exactly the same as stated in the homework requirements. We will compile your java file and then run the class file to see your results. For example, if you are asked to turn in a HelloWorld.java file, you should submit this file only. Make sure the file name is HelloWorld.java and make sure you can compile it by typing “javac HelloWorld.java” in command line because this is how we will grade your homework.
9
General Grading Rules Assuming the full score of a problem is 3 points
The java code is unrelated – 0 point Cannot compile the java file (due to reasons such as incorrect java code, incorrect file name, adding unnecessary package and/or folder structures…) – 0 point Can compile, cannot execute (e.g., exceptions) or the result is totally wrong - 1 point Can compile, can execute, result is incorrect but meaningful – 2 points Can compile, can execute, correct result – 3 points
10
Lab Sessions Adding the lab session is one of the major changes from how CSC2310 is previously taught. Based on CSC2010, the lab session has shown be to effective for students’ learning. Make sure you go to the right lab session (check your CRN). More details about the lab sessions will be announced as we move on.
11
Different Levels of Learning
Students have different levels of programming skills. The pace of this class will be based on the progress of the majority students in the class.
12
Class Policies Policy on academic honesty
Homework Exams No make up test or assignments will be given Attendance Drop within the first week; last date for withdrawal Other issues – cell phone, walk in/out of classroom 40 38
13
Questions
14
Review of Chapter 1-5 of King’s Book
Define a class Class name, instance variable, instance method How to use a class Object reference, access method, access variable The Facebook class exercise Simple Array How to declare and initialize an array Array of Objects The LakeData exercise
15
Exercise Define a Facebook Class with one variable content (String) and one method updateContent(). Define a FacebookPerson Class with two variables myname and mood, and two methods setMood() and getMood(). Define a Test Class that 1) creates an instance of FacebookPerson and an instance of Facebook; 2) calls the setMood() of the FacebookPerson instance and the updateContent() of the Facebook instance. Copyright © 2000 W. W. Norton & Company. All rights reserved.
16
Exercise We have 60 students in our class. Define an array to store the # of attendance for each student, and set the initial values to be 1. Copyright © 2000 W. W. Norton & Company. All rights reserved.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.