Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS-0401 INTERMEDIATE PROGRAMMING USING JAVA Prof. Dr. Paulo Brasko Ferreira Fall 2014.

Similar presentations


Presentation on theme: "CS-0401 INTERMEDIATE PROGRAMMING USING JAVA Prof. Dr. Paulo Brasko Ferreira Fall 2014."— Presentation transcript:

1 CS-0401 INTERMEDIATE PROGRAMMING USING JAVA Prof. Dr. Paulo Brasko Ferreira Fall 2014

2

3 Chapter Outline The importance of learning how to program Programming languages out there Why learn Java Why do we need to compile Java Evolution History Text Editors versus IDEs General Instructions on Installing Netbeans IDE

4 The question of the Day Why do we need to learn how to program?

5 Why Program? The computer is a tool used by many professionals: Accountant: balance books, analyze profits, tax reports Mechanic: control manufacturing machines Nutritionist: compute calories and plot weight loss Computers can do those tasks because they are programmable!

6 What devices can we program?

7

8 Programming Languages

9 Basic Fortran Cobol Pascal C C++ C# Java JavaScript Perl Php Python Ruby Visual Basic

10 Why is Java an important programming language to learn? Developing in Visual Basic Uses lots of MS Windows functions in his code It took him a couple of years to develop his code His code is closely coupled with Windows Environment The program is finally ready for sale/download over the internet Hi! My name is Tom!

11 Meet the customers over the globe Great Software! Next Bill Gates! It did not run on my Mac! Can I download it into my Droid?

12 Meet Tom’s Angry Boss Our code should work on any computer platform and smart devices!!!

13

14

15

16

17 Why do we need to compile?

18 int hours = 40; Double payRate = 25.0; public class Payroll 011001? 0xFF2E? Your code Microprocessor How can we help?

19 We need a translator, i.e., a compiler

20

21

22 Java API API: “Java Application Programming Interface” Collection of all Java packages, classes and interfaces You don't need to create them from scratch again or how they were implemented by Sun Window frame: Since it is very popular, Sun has written the code for one, and all that you have to do is import the package that contains the window frame, and use it Java API contains many packages for many different purposes Applets GUI I/O SQL (databasing)

23

24 “Which editor should we use to write our Java code?”

25 You could use notepad-like editors

26

27

28

29 https://netbeans.org/community/releases/71/install.ht ml#startdownload

30 NetBeans Installation Instructions

31 Any Questions? 31


Download ppt "CS-0401 INTERMEDIATE PROGRAMMING USING JAVA Prof. Dr. Paulo Brasko Ferreira Fall 2014."

Similar presentations


Ads by Google