CSIT 105 Foundations of Computer Science
Getting a jump on the Fall 2020 Semester
A possible approach...
- peek at the slides and overview for Chapter 1
- download and install the Java JDK and NetBeans software
- do Lab 1 Hello World
- Peek at the first group of slides from Chapter 2 that explains the Hello World file
- download the Ch 2 demo files and open in NetBeans ( see note below on TripCalculator.java and Payroll.java )
- ^^^ getting that far is fantastic as a way to prepare for the course. Look at the rest of Chapter 2 only if you are comfortable with it.
Software
Material - 1st two chapters
Chapter 1 - Introduction
Don't get bogged down with all of the terms, just focus on these High Level ideas:
- A program is a series of instructions that tell the CPU what to do
- An algorithm is a series of steps to solve a problem
- Programming Languages use keywords and when programming in a language, the programmer must follow the syntax rules
- A compiler is a program that translates source code into an executable form
- A "true compiler" translates source code into machine code. Java is not a "true compiler"
- Java Compiler translates .java code into .class file that contains bytecodes
- Java Virtual Machine (JVM) interprets bytecodes
Slides: Slides for Chapter 1
Lab 01 - Hello World
Don't feel you need to know what your typing ( that will happen in a later chapter ) - Point of Lab is just to use the NetBeans editor
Lab 1 Sheet: Lab 1 - DRAFT
Lab 1 Addendum: Lab 1 Addendum - DRAFT
Chapter 2 - Java Fundamentals
The focus is on the fundamentals of the Language - The chapter/slides begin by explaining the commands from Lab 1
Slides: Slides for Chapter 2
Demo files from slides that accompany Ch 2: CSIT105DemoChapter02F20.zip
extract the CSIT105DemoChapter02F20 folder from inside the .zip file into the NetBeansProjects folder
in class, two of the first files I demo are TripCalculator.java and Payroll.java
- they both:
- get input from the user
- calculate something
- display results
Playing a video game that harmlessly launches bunnies? When you hit the button it triggers a piece of code...it may need to get data ( what level are we on...does the
bunny launcher have bunnies...where is the bunny launcher aimed ) then after showing the bunny, in a loop - calculate new position
- display bunny.
(No bunnies were harmed in this example.)
Book
Book is 6th edition of Starting out with Java: Early Objects by Tony Gaddis ISBN-13: 9780134462011 [ cover picture has pea pod with peas ]
Picture of Book: 
Questions?
If you have any questions, please ask!