1 / 10

ICS 102 – Introduction to Computing I

ICS 102 – Introduction to Computing I. 1.1 Introduction to Java. Who am I ?!. Abdullah Khaled Al-Zamel Office: Bldg. 23, Rooom 064-8 Office Hours: TBA Phone: 7228 Email: azam @kfupm.edu.sa Web page: http://faculty.kfupm.edu.sa/ics/ azam. Course Contract!.

hedya
Download Presentation

ICS 102 – Introduction to Computing I

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ICS 102 – Introduction to Computing I 1.1 Introduction to Java

  2. Who am I ?! • Abdullah Khaled Al-Zamel • Office: Bldg. 23, Rooom 064-8 • Office Hours: TBA • Phone: 7228 • Email: azam@kfupm.edu.sa • Web page: • http://faculty.kfupm.edu.sa/ics/azam

  3. Course Contract! • Write down important notes. • Ask immediately whenever a question rises. • Nothing is a trivial questions (at least it is yours! ). • Practice.. Practice.. Practice.. • Tell your feelings, don’t repress them. • Your Signature Please __________ !!

  4. Text Book and Grading Criterion • Textbook: • “ABSOLUTE JAVA” by WALTER SAVITCH, Addison Wesley, or 2nd edition, 2005. • Grade Distribution :

  5. Course Information • Web Site: • http://www.ccse.kfupm.edu.sa/ics102 • Discussion: • webcourses.kfupm.edu.sa • Regarding Class Work.. • Homework • Quizzes • Problem Solving (Participation) ICS 102 - Introduction to Computing I

  6. Lets Begin… Salaam Shabab!!

  7. A Simple Java Program public class Example01 { public static void main(String[] args) { System.out.println(“Hello ICS 102”) } } ICS 102 - Introduction to Computing I

  8. Java Compiler ICS 102 - Introduction to Computing I

  9. Another Java Program import javax.swing.JOptionPane; public class Example02 { public static void main(String[] args) { String ans; ans = JOptionPane.showInputDialog(null, "Speed in miles per hour?"); double mph = Double.parseDouble(ans); double kph = 1.621 * mph; JOptionPane.showMessageDialog(null, "KPH = " + kph); } } ICS 102 - Introduction to Computing I

  10. Thank you for Your Concentration! Wait to see you next class 

More Related