1 / 19

Introduction to java programming

Introduction to java programming. 1 st lab. Rules. Csc111 course has (3 hours lecture+1 hour Tutorial +2 hours Lab). You should check our announcements at our blog many times every day http://csc111java1.wordpress.com /

halima
Télécharger la présentation

Introduction to java programming

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. Introduction to java programming 1st lab Afnan Al-Hindi

  2. Rules • Csc111 course has (3 hours lecture+1 hour Tutorial +2 hours Lab). • You should check our announcements at our blog many times every day http://csc111java1.wordpress.com/ • We will upload a sheet every week to print it ,read it , prepare it and understand it very well then we will evaluate you by 1 question randomly during lab time. Afnan Al-Hindi

  3. Attendance & evaluation • Make sure that you attend on your lab as your schedule on time. • Make sure you attend on time on your right lab because at the beginning of each lab we will check attendance of all students. • At the beginning of each lab you can ask TA if you have any question about sheet. • Make sure that you don’t leave the lab until you finish your programming code and until your TA evaluate your code. Afnan Al-Hindi

  4. sheets * You should submit your sheet to your TA in the beginning of your lab time (any late will not be accepted for any reason) * Make sure that you submit the (hard copy +soft copy of your solution) <<if you forget any one of them then your sheet will not be corrected. hard copy: print (you code+ sample run on paper) soft copy: save your java files on CD or floppy disk(any flash memory will not accepted) * You should print cover page for each sheet * Don’t forget to write your full information on (cover page, top of your code and at your CD\Floppy) Name: ID: Serial no # Sheet# Section# Your TA name: * Any sheets will not be accepted if you put it under TA’s office door. * After we correct your sheets we will return it to you, then you have 1 week to discuss your sheet’s grade with your TA. Afnan Al-Hindi

  5. Code • Your code should be very well organized . • Your code should have comments to explain your code. • Your file should have a right name. • Your sheet is an individually assignment, so you should solve it alone . • Make sure that cheating is not allowed for any course and first of all it is forbidden. • If we discover any cheating between 2 students then each 2 students will take -10 out of 10 • We will not accept any late sheets for any reason • If you want to be absent one day, send your sheet with your friends or submit it before a day to your TA hand by hand with your medical report. Afnan Al-Hindi

  6. When you want to ask your TA • Make sure that you go to your TA’s lab • Check your TA’s office hours on her schedule at office door. • Don’t noise any body in the office , just knock the door and go directly to your TA. • Also, make sure that your question is about sheets. • If you have any question about your lecture you can ask your lecturer. Afnan Al-Hindi

  7. You need to download: • 1- Java Development Kit (JDK) • (Non-Mac users) • 2- jGRASP Hanan Al-Hindi

  8. 1- (JDK) • http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html Hanan Al-Hindi

  9. http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.htmlhttp://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.html Hanan Al-Hindi

  10. Hanan Al-Hindi

  11. Name of class is the same name of file Hanan Al-Hindi

  12. compile Hanan Al-Hindi

  13. Run Hanan Al-Hindi

  14. Example 1 • Design an algorithm that converts a Temperature from Celsius to Fahrenheit Given that F= 9/5*C+32

  15. algorithm 1- get the temperature in Celsius. 2- find the temperature in Fahrenheit using the Fahrenheit = 9/5*Celsius+32. 3- output the temperature in Fahrenheit.

  16. Example 2 To make a profit, prices of the items sold in a book store are marked up 60%. Design an algorithm to find the selling price of an item sold at the book store.

  17. algorithm 1- get the original price. 2- calculate the selling price using the formula selling price = original price + original price *0.60. 3- output the selling price.

  18. Contact Information • Name: Afnan al-Hindi • Email:aalhindi@ksu.edu.sa • Name: Maha al-Sayyari • Email: maha_ksu_edu@yahoo.com • Name: Malakal-Mojaly • Email:malmojaly@ksu.edu.sa Hanan Al-Hindi

  19. Good luck with CSC111 course = ) Afnan Al-Hindi

More Related