Fall 2016CISC124 - Prof. McLeod1 CISC124 “Introduction to Computing Science II” Course Web Site: Lecture notes, and other stuff will be and is posted. Today: Course Intro. and Overview. Note
Fall 2016CISC124 - Prof. McLeod2 CISC124 Introduction – Who? Me: Prof. Alan McLeod –GOO550 (office hours will be on course web site) TA’s: –David Andrews –John Martin –Mike Kennelly –Peter Scherzinger
Contacting Me is the best way. Use the address. Please don’t Prof. David McLeod does not want to hear from you! Use your queensu address only. I will not guarantee a response to non-queensu addresses. And I don’t respond well to “Hey…”. Be polite and respectful. Be descriptive in the subject line and concise in the body of the . Identify yourself and your course. Fall 2016CISC124 - Prof. McLeod3
Fall 2016CISC124 - Prof. McLeod4 Grading Grading scheme –24% - three quizzes, (weeks 4, 8 and 11) –25% - five assignments, (due weeks 4, 6, 8, 10 and 12) –51% - one final exam
Quizzes Must be written in the lab. 30 to 60 minutes. Limited. In onQ. Read and write Java code. T/F, multiple choice, short answer. You can use an IDE during the quiz, but no other aids. But will you have time to play with your code? Fall 2016CISC124 - Prof. McLeod5
Final Exam Three hours long. On paper – no aids. Read and write Java code. Short answer as well. Old exams in exam bank and on exam prep page: An exam prep page including an exact list of examinable topics will be provided near the end of the course. Fall 2016CISC124 - Prof. McLeod6
Assignments Not trivial! First four are already posted. Electronic submission to onQ. Web site describes policy of diminishing returns for late submission. One submission per person, please! TAs will mark assignments. Fall 2016CISC124 - Prof. McLeod7
Fall 2016CISC124 - Prof. McLeod8 Assignment Rules Assignments are graded out of 20 – your marks and comments will be uploaded to onQ by your TA. Late submission: –Your mark will be reduced by 2 marks per day late for five days, unless you can prove extenuating circumstances, such as a serious illness or a Queen’s activity. –Minimum of 2 marks removed after 7pm Friday. –Late assignments will not be accepted by onQ after the following Wednesday. –Don’t leave your assignment to the night before!!!
Fall 2016CISC124 - Prof. McLeod9 Assignment Rules, Cont. “Group Efforts”: –I encourage you to discuss your difficulties with your peers, myself and your TAs. –You may look at other people’s code. –You cannot copy other people’s code! –Submissions may be electronically and physically checked for code duplication. –If you are caught with duplicated code – all parties with such code will get zero on the assignment for starters, and you may get prosecuted for a failure of academic integrity. –You will not learn anything if you copy someone else's code!
Exercises Nothing is graded or handed in. But, the exercises are designed to prepare you to do the assignments, and Some exercise topics (Console I/O and File I/O) will not be taught in class. Fall 2016CISC124 - Prof. McLeod10
Labs Get help from your TA on lecture material, exercises, assignment work, quiz prep, exam prep, etc. No lab this week. Fall 2016CISC124 - Prof. McLeod11
onQ Site Please Check your login – if the course does not show up for you, let me know. –Submit assignments to onQ Dropbox. –Write quizzes in onQ. –View grades. –Use the forums. Fall 2016CISC124 - Prof. McLeod12
onQ Survey Please fill out a onQ quiz called “Lab Section Survey” to indicate which lab section you will attend. Not graded. This is especially important for quizzes. You must write your quiz in the lab you have indicated. And you know which TA will be grading your assignments. Fall 2016CISC124 - Prof. McLeod13
Summary - What’s Where Course Web Site (public) –Resources. –Lecture topics. –Lecture notes and sample code. –Assignment statements and sample solutions. –Exercises. –Grading scheme. –Non-urgent notices. Fall 2016CISC124 - Prof. McLeod14 onQ (login) –Forums. –Lecture Videos. –Urgent Notices in News Forum. –Assignment submission. –Quizzes. –Quiz and assignment grades. –Assignment feedback.
Fall 2016CISC124 - Prof. McLeod15 CISC124 Introduction, Cont. Resources –Recommended Textbook:
Fall 2016CISC124 - Prof. McLeod16 Eclipse IDE Preferred development environment: –Multiplatform, open source, free. –Available from –See the Resources web page. –Works well with JavaFX for GUI construction and testing.
JavaFX We will learn to build GUIs with JavaFX. Swing has been effectively depreciated – replaced by this new technology. JavaFX does a great job of separating design from functionality by using separate css and fxml files See the Resources page for configuring Eclipse to use JavaFX. Fall 2016CISC124 - Prof. McLeod17
Other IDEs (What does “IDE” stand for anyways? Netbeans, for example. Others are listed or linked off the Resources page. Your TA will not (and should not) know what tool was used to aid the development and testing of your code. Fall 2016CISC124 - Prof. McLeod18
Fall 2016CISC124 - Prof. McLeod19 Eclipse – Normal Working View
Scene Builder In Eclipse Fall 2016CISC124 - Prof. McLeod20
Fall 2016CISC124 - Prof. McLeod21 Java, Version “8.0” The JDK or “Java Development Kit” is available from oracle.com The JDK and Eclipse are available in Jeff lab (and many other labs, in Goodwin and WLH). Install the JDK first and then Eclipse. See the Resources page. You might also wish to download the API docs.
Fall 2016CISC124 - Prof. McLeod22 Purpose of CISC124 What the course is about: (Why are you here?) To learn how to program in Java. To increase your programming proficiency. To learn OOP principles with a modern, object oriented programming language. To transition to a second language. To improve your programming style. To practice modular program design. To explore GUI programming.
Fall 2016CISC124 - Prof. McLeod23 Why Java? Not Vendor - Specific. Platform independent. Most fundamentally sound application of OOP principles. Huge community support base. Many free, mature development tools. Once you have learned Java, you will find it easy to pick up any other OOP language (like C++ or C#).
Compared to Other Languages In terms of web-visible activity, see the Tiobe Index: ci/index.html Fall 2016CISC124 - Prof. McLeod24
Fall 2016CISC124 - Prof. McLeod25 Syllabus See the course web site – the “Lecture Topics” page.
What You Need to Do Next Review course web site. Check onQ login. Add photo please. Fill out lab section quiz in onQ. Install Eclipse, if you want to use this IDE – see the Resources page. Start Exercise 1. This covers console I/O and will not be discussed in class. At a minimum – do Exercises 1 and 3 before starting assignment 1. Fall 2016CISC124 - Prof. McLeod26
Fall 2016CISC124 - Prof. McLeod27 First Example – “Hello World” in Java Let us have a quick look at Eclipse, create an empty project and add a program that displays “Hello World” to the console window.