Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS2012 Introduction to CS 2012.

Similar presentations


Presentation on theme: "CS2012 Introduction to CS 2012."— Presentation transcript:

1 CS2012 Introduction to CS 2012

2 Course Intro Call me John, especially outside class.
If that’s too informal for you, you can call me “Instructor” (replies will come from a different address) Office hours listed at

3 CS2012 CS 2012: Intro to Programming With Java, Part II is the second course in the three-term Java Programming sequence. This is a crucial course for CS majors. All the programming classes you take after this will build on this material. Accordingly, this course will be demanding. Course time will be split roughly equally between lectures and lab time, with more lectures near the beginning of the course and more labs near the end. Some sections split each class meeting and others have one lecture meeting and one lab meeting per week

4 CS2012 All information on the course is on CSNS Course schedule and Software Download Links USE ORACLE JDK 8! I am serious about this! You will have problems if you use any other JDK! Textbook Info Grading policies Assignments

5 CS2012 Grading: A, B, C, (with + and -), NC.
If you don’t get at least a C- (undergraduate) or B (graduate), you get an NC. Any undergraduate who receives a C- will get credit, but will need to repeat the course before taking CS2013. See the grading scale on the syllabus

6 This Course is Difficult!
Non-CS majors who take this course are doing it voluntarily, so they are honorary CS majors for purposes of this slide. Like CS2011, this class is essential to your success as a CS major. You won’t get any farther without learning this material thoroughly. In a typical term, about 35% of my CS2012 students drop the course or receive NC. Around half of those put significant effort into the course, but still did not succeed. If you are performing poorly in the class and do not want to drop for financial aid/visa/whatever reasons, don't just stop showing up, keep trying. Under the new WU (unauthorized withdrawal) policy, it is generally better for you to receive NC than WU.

7 CSNS and LAN Homework assignments and some quizzes will be linked from CSNS, which is also where you will hand in everything. If you have not previously used CSNS, go to csns.calstatela.edu and login using your CIN as both username and password. Change your password. Let me know immediately if you have any difficulties with this. If you don’t have a logon to the local network, get one at the IT desk in the library right away

8 Checkpoints There will be six checkpoint assignments, which will test your understanding of key concepts taught in the course. Checkpoint assignments will be completed in class, on paper, on a closed-book, closed-notes basis. If you fail a checkpoint, you need to review the material urgently, or you will probably not understand the rest of the course. A checkpoint assignment may not be made up except in case of a documented emergency.

9 Final Exam The final exam will be taken on paper on a closed-book, closed-notes basis. There will be no midterm exam.

10 Lab Exercises and Quizzes
Lab Exercises will be done on paper during the class period, on an open-book, open-note, but closed-internet basis. Most lab exercises will be taken from the textbook. Quizzes will be taken on CSNS or on paper. Some quizzes will test your knowledge of readings from the textbook, including material that is not covered in the lectures.

11 Homework Homework assignments will be larger problems written by the instructor and will challenge your ability to put together different concepts we learn in the course. Homework assignments will be done in Eclipse and turned in on CSNS. They will not be accepted after the deadline has passed. Homework problems receive relatively little weight in the course grading, but this is only because of the prevalence of cheating. In my opinion, they are the most important part of the course. If you want to learn programming, as opposed to just passing your courses, take the homework seriously.

12 Textbook Liang, Daniel, Introduction to Java® Programming, Comprehensive Version, Eleventh Edition Be careful to get the right edition; there are other books with very similar titles. Be sure to get the Eleventh Edition. Book costs about $140 on Amazon.com. Amazon and coursesmart.com also offer limited-time rentals. A .pdf copy will be fine. Unverified rumors abound that some past students have DRM-free .pdfs, but don’t ask me to help you find one. Unfortunately, you are not likely to find an international edition for this edition.

13 Textbook The book contains a great deal of material that I will not cover in the lectures. However, you are responsible for all the material in the book. This is particularly important because the in-class exercises will be taken from the book, and the checkpoints (50% of your course grade!) will be modelled on exercises from the book. Quizzes will often ask about textbook material. There will be a quiz on ch. 9 in week 2. Be sure you are ready for it.

14 Don’t Cheat! CS2012 is a foundational course in a practical field in which you are presumably considering making a career. If you can't pass this class without cheating, you should change your major. Presenting an answer that is copied from any source other than your brain is always cheating. You may not copy code from other students or allow anyone to copy your code. I will punish all students involved in copying equally, even though it is usually obvious who copied from whom. This is the only way to stop competent students from letting others copy their work. If someone asks to copy your work, s/he is asking you to risk failing the class for his/her gain.

15 Eclipse IDE IDE = Integrated Development Environment
An IDE provides services that make it easier for you to program Editor with syntax checking, automatic formatting, etc One-step compile and run Debugging Organization An IDE uses a compiler and other tools in the background, so you must have a JDK installed and working for your IDE to work

16 Eclipse IDE The IDE most often used for Java programming is called Eclipse. Eclipse is the standard IDE at CSULA. Eclipse supports many different programming languages with available plug-ins, but it is mostly used for Java Eclipse is open-source; you can get it at Get the “Eclipse IDE for Java Developers” Other IDEs that are popular with Java developers include NetBeans, JBuilder, and many others, but don’t expect me to help you with any IDE other than Eclipse.

17 Eclipse: Create a Project

18 Eclipse: Create a Project

19 Eclipse: Create a Code Package

20 Eclipse: Create a Java Class

21 Eclipse: Write Code

22 Eclipse: Run Project

23 Eclipse: Check Run Configuration

24 Eclipse: Check Run Configuration

25 Eclipse: Window Preferences

26 Important Definitions
Software The instructions and data that are necessary for operating a computer Program A software application, or a collection of software applications, designed to perform a specific task Algorithm A set of instructions that will solve a problem in a finite amount of time A program normally implements one or more, and usually many, algorithms

27 Expense Resources are not free; in programming lingo, they are said to be expensive Programmers’ time CPU usage Memory Storage Minimizing expense is a key part of programming Use as little CPU capacity, memory, storage, etc. as possible Use programmers’ time as productively as possible


Download ppt "CS2012 Introduction to CS 2012."

Similar presentations


Ads by Google