Download Presentation

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Computer Programming II
Textbook Proposal – 2015
Computer Programming II
• Designed to be a transition from Computer Programming I to a more formal
and in-depth look at Java
• Computer Programming I used Alice to transition from an Object Oriented
approach to the Java programming language
Why Java?
• Java is found virtually everywhere and a staple of programming
• IoT initiative – Internet of Things
• Huge push for java to become language for IoT
• Your alarm clock could sync with your coffee pot to begin
brewing
• Jobs, Jobs, Jobs
• Android Apps are written in Java
Examples of Java Based Careers
(Aligned to multiple DASD Career Pathways)
• NASA – World Wind Software Development Kit
• Robotics – Self Driving Cars
• Internet of Things
• Doctor Online – virtual house calls
• Game/App Creation
• Web Design
Need for a Textbook
• Java is a very rich and deep language
• The textbook will provide both the teacher and student the structure
needed for reference as the difficulty increases
• The text selected will lay the groundwork for a possible future AP course
Textbook Review/Selection
•
•
•
Very Few HS Computer Programming Textbooks available
Compared 2 texts based on organizational features,
content, examples, problem sets and other features
Liang provided best resources to supplement book
•
•
•
•
Teacher and Student Presentations
Sample Projects
Extra Exercises
Program Traces
Trace a Program Execution
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
// Assign a radius
radius = 20;
// Compute area
area = radius * radius * 3.14159;
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
7
Trace a Program Execution
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
allocate memory
for radius
radius
no value
// Assign a radius
radius = 20;
// Compute area
area = radius * radius * 3.14159;
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
8
Trace a Program Execution
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
// Assign a radius
radius = 20;
memory
radius
no value
area
no value
allocate memory
for area
// Compute area
area = radius * radius * 3.14159;
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
9
Trace a Program Execution
assign 20 to radius
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
radius
area
20
no value
// Assign a radius
radius = 20;
// Compute area
area = radius * radius * 3.14159;
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
10
Trace a Program Execution
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
// Assign a radius
radius = 20;
// Compute area
area = radius * radius * 3.14159;
memory
radius
area
20
1256.636
compute area and assign it
to variable area
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
11
animation
Trace a Program Execution
public class ComputeArea {
/** Main method */
public static void main(String[] args) {
double radius;
double area;
memory
radius
area
20
1256.636
// Assign a radius
radius = 20;
// Compute area
area = radius * radius * 3.14159;
print a message to the
console
// Display results
System.out.println("The area for the circle of radius " +
radius + " is " + area);
}
}
12
The Present and Future of Programming
• On a given day there are over 16,000 job vacancies in Java
• Opportunities continue to grow
• Java has been named one of top 10 skills hiring managers are looking for by
Dice H.I.
Resources
https://blog.newrelic.com/2014/12/08/10-ways-java-money/
•
Jobs listings
• http://www.infoworld.com/article/2868654/it-jobs/java-developers-hot-jobmarket.html
•
More in Java Jobs