Computer Science 2: First Semester in Java
Series of +/-45 minute lessons in Java
|
email
[email protected] |
Getting Started
Past Material
Past Material
Past Material
csonequiz10-1-2021.doc | |
File Size: | 43 kb |
File Type: | doc |
Past Material
Program breakdown, System.out.println()
Assignment
CodeHS 1.2.7-1.2.8 (1.2.9 Extra Credit) 1.3.1-1.3.5 |
Java Variables and Some Math 11/24-11/25/2020Assignment
CodeHS Sections 1.3.6 - 1.3.10 CodeHS Sections 1.4.1-1.4.5 |
Java Math 12/1-12/2/2020
Assignment
CodeHS 1.4.6-1.4.8 CodeHS 1.5.1-1.5.4 |
Compound Assignment Operators 12/3-12/9/2020Assignment
CodeHS 1.5.5 - 1.5.6 CodeHS 1.6.1-1.6.5 |
Java input 12/10-12/11/2020Assignment
CodeHS 1.6.6-1.6.7 CodeHS 1.7.1-1.7.2 |
Type Casting Integer.MAX_VALUE, Integer.MAX_VALUE 12/15-12/16/2020
Assignment
CodeHS 1.7.4, 1.7.8 CodeHS 1.8 Unit 1 Practice Test |
Unit 1 Review and Exam 12/17-12/18/2020
Review Input/Math + Setting up OnlineGDB 1/5-1/6/2020
Complete any ONE of the following
1) Mile to inch Input: The number of miles traveled Output: The equivalent distance converted to inches 5280 feet per mile, 12 inches per foot 2) Fahrenheit to Celsius Input: The current temperature in Fahrenheit Process: c = 5/9(F-32) Output: The temperature converted to Celsius 3) Chirp Temp Input: The number of times a cricket chirps in one minute Process: Temp = 50 + (chirps-40)/4 (Dolbear’s law) Output: The temperature in Fahrenheit |
Some more Math + Fix it 1/7-1/13/2020
Assignment: (In OnlineGDB)
1) Fix: Ave of 2 Complete any one of the following (In OnlineGDB) 1) Quadratic formula Input: a, b and c (of type double) Output: The positive root (-b + sqrt(b^2 – 4ac))/(2a) 2) Distance formula Input: The x and y coordinates for two points Output the distance between the points: Distance = sqrt((x2-x1)^2 + (y2-y1)^2) Push: Calculate the distance between two points that are on a 3-D grid. That is they have an x, y, and z value. 3) Triangle Area: Given the lengths of three sides of a triangle, find the area of the triangle. Find a way to calculate this even if it is not a right triangle. (Do a little research, this is NOT a = 1/2(bh)) Complete and take notes on CodeHS 3.1.1-3.1.5 |
If Day One 1/14-1/15/2020Assignment: Complete any ONE of the following options
1) Freezing: (OnlineGDB) Input a temperature. Output whether, or not, it is freezing 2) Score to grade (OnlineGDB) Input a test score from 1 to 100. Output the grade. 90 and above is an ‘A’, 80 and above is a ‘B’, 70 + ‘C, 60 +’D’ and below 60 an ‘F’. 3) CodeHS Option CodeHS 3.2.6 |
CodeHS Support MaterialCodeHS Support Material
3.2.1-3.2.5 |
if..else 1/19-1/20/2021
Assignments
1) Fix two in order 2) Programming: Complete any one of the following a) Teen Check Input: A person’s age Output: Whether the person is a teenager. Example: Enter 14, You are a teenage Enter 10: You are not a teenager b) Three in order Input: Three numbers Output: The numbers in order, low to high c) CodeHS 3.3.5 |
CodeHS Support Material
3.3.1-3.3.4 |
More ifs, not and Random 1/21-1/22/2021
Assignment:
Complete any one of the following 1) Random compliment generator Hard code in at least three compliments, when you run the program it will randomly select one of the compliments to display. 2) CodeHS 3.4.6 3) CodeHS 3.4.7 |