MODULE 1 – FLOWCHARTING AND PROCESSING SYMBOL – rectangle;
ALGORITHMS for processing and computations. Computer Program – list of instructions that directs the computer on its operations. FLOW LINES – used to connect Programming – the act of developing a symbols computer program. ARROWHEADS – used to show Programmer – the person who develops directions (flow direction indicator) computer programs. Algorithm – finite set of instructions that specify a sequence of operations to solve a problem; a step-by-step solution to a problem. PREPARATION SYMBOL – hexagon; Flowchart – a diagram presenting the initialization of values used in the chart; logical sequence or the steps on how a also ‘initialization symbol’. certain something is performed; the graphical representation of an algorithm. SYMBOLS USED IN A FLOWCHART:
DECISION SYMBOL – diamond;
indicates yes/no or true/false paths in a TERMINAL SYMBOL – oval; designates flowchart based on conditions. start/end of chart
OFF PAGE-CONNECTOR – connects
INPUT/OUTPUT SYMBOL – one symbol to another in the same parallelogram; for input/out operations. page. OFF PAGE CONNECTOR – connects MODULE 2 – INTRODUCTION TO one symbol to another symbol on a JAVA different page. HISTORY OF JAVA AKI’S TIMELINE FOR DUMMIES: MORE INFORMATION ON POINT
• Sun Microsystems decided to Java was supposedly used for interactive
start a project for programming. television but was too advanced for it that • Green Team – Gosling, Sheridan, time. It was developed by The Green Naughton initiated it in June 1991 Team, which is comprised of 13 people, along with many others. but were led by James Gosling (main guy • Was supposed to be for TVs, but of the team), Patrick Naughton, and Mike they said yikes its better for Sheridan. All of which planned to design programming a language for set-up boxes and • Got called ‘Greentalk’ once, never televisions. The Java Language Project again because ‘Oak’ seems better initiated in June 1991 and funded by Sun (says Gosling) Microsystems, with the codename of • 1995 got renamed to JAVA Green. because copyright reasons, also Java was also later incorporated by released on the same year Netscape. The result of this 18 month • January 23, 1996 was JDK’s project in Menlo Park, California is an release interactive handheld home entertainment • In the present, Sun Microsystems device controller with a “touch screen” is now a subsidiary of Oracle named the STAR SEVEN (*7), launched Corporation September 03, 1992. It used to be called ‘Green Talk’ by the symbolism of strength and its Gosling, with the extension of .gt. reputation of being chosen as a national tree of countries like USA, France, Along the STAR SEVEN (*7) was the Romania, Germany, etc,. Another was Oak language, it was called Oak due to
because of an oak tree outside Gosling’s OAK trademarked so it changed to JAVA.
office (what a great way to name a Java is an island in Indonesia where first program.) and the mascot DUKE. coffee was produced, called ‘Java Coffee’. By 1994, OAK changed to JAVA, based from a local coffee shop. In the video, it May 23, 1995, was Java’s official launch was said that there occurred a legal thing at Sun World Conference in 1995 because OAK Technologies had OTHER VERSIONS THAT FOLLOWED JDK 1.0
January 23, 1996, was JDK 1.0 (Java
Platform, Standard Edition Development Kit)’s release. PICTURES THAT MIGHT HELP:
THE CHARACTERISTICS OF JAVA • Easy to learn – it is designed to
be easy to use in writing, • Object-oriented programming compiling, debugging an learning language (OOP) – refers to an it. approach of focusing on objects • Most similar C & C++ and the way they interact. • High-level language – is written in TOP 10 IDES for Java (2021) English words which can be • Eclipse easily understood. • NetBeans • Platform Independent – compiled • IntelliJ IDEA on one machine; can be executed on any machine without • BlueJ any changes • Jdeveloper • Operating System (OS) • MyEclipse Independent – can written on one • Greenfoot platform and is independent of • jGRASP other platforms or environments; • jCreator can run on any OS without • DrJava recompiling. (Write-once-run- Java Platforms anywhere (WORA), or Write- once-run-everywhere (WORE) J2SE (Java Platform, Standard Edition) approach.) – also Core Java, is the most basic and standard of Java. It is the purest form of Java and basic foundation of all the • Source Program – a program other editions. It consists of a wide created in a text editor following variety of general purpose API’s the rules and syntax of Java. (java.lang, java.util) as well as many • It is saved, with the ClassName special purpose APIs. Mainly used to as the name of the Java class create apps for desktops. contained in the file. J2ME (Java Platform, Micro Edition) – • The program should be mainly for embedded systems, mobiles syntactically correct, and once and small devices. Certain constraints the compilers checks there’s no are limited processing power, limited errors, it translates the program battery, small display, etc,. to bytecodes. • The bytecodes is saved in the file J2EE (Java Platform, Enterprise Edition) with the .class extension. – for much larger usage purposes of • Javac – a primary compiler tool Java, like web service development, included in the java development networking, server-side scripting and kit (JDK). many others. • To RUN a Java program, the Java Program Types: .class file must be loaded into computer memory. Applets – programs designed to run on • The bytecodes for classes used a web browser in the program must be Application – programs which DO NOT connected. require a web browser. • Loader – the program that automatically runs the bytecode. • To EXECUTE the Java program, the BYTECODE VERIFIER verifies if the classes don’t violate Java’s security restrictions. • INTERPRETER – translates the bytecode instructions to computer machine language and executes it. • The java command is used to run and execute a program.