Intro To Software Development Flashcards
(22 cards)
JDK
Java Development Kit
Editor
Programmer writes source code
Linker
Converts one or several object modules into an executable program
Compiler
Converts source code to object code (machine code)
Debugger
Program, makes it easier to find bugs (semantics errors)
IDE
Integrated Development Environment
Compiled language
Edit- compile- link- run
Interpreter languages
Edit - run
Compiler vs interpreter
Both: check syntax, concert source -machine code
Compiler: all at once (executable runs faster)
Interpreter: one line at a time (slower execution)
Java’s hybrid approach
Compiler & interpreter
Compiler: source code - instructions for the Java virtual machine
Instructions = BYTECODES, same for any computer
CPU specific Java interpreter interprets bytecodes on particular computer
Bytecodes
- platform independent
- source code not revealed to end users (security)
- interpreter =add. security checks, takes away bad code
- can’t get to hardware in Java
Types of programs
Console Applications
GUI Applications
Applets
Console applications
Simple text dialog
•command - line arguments
(Passed to main as array of string)
GUI Applications Include
Menus, buttons, clickable panel, slider, GUI LIBRARIES
Applets
No main, initial method called by JDKs appletviewer (the browser)
OOP
Object Oriented Program
OOP
- dealing with other objects
- Inheritance, starts off general then enhances as you go down
- teamwork, reusable software, faster GUI
Inheritance
SUBCLASS extends SUPERCLASS; programmers define HIERARCHIES of classes. Can redefine or add new features, most GENERAL closest to the TOP
Software concerns
Readability, productivity (how fast), maintainence
IDE vs JDK
- JDK installed separately, IDE on top of it
- IDE adds GUI to all JDK stuff
- JDK doesn’t have GUI
GUI Applications
(Programs installed directly into computer)
•requires Internet & browser, syntax slightly diff
Internet APPS
BYTECODES
MULTI PLATFORM
- smaller than source codes
- security checks
- faster than directly interpreted language, bytecodes – machine codes quicker