1/11
Flashcards for reviewing Java programming concepts from lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What can Java be used to develop?
Develop standalone applications, applications running from browsers, applications for handheld devices, and applications for web servers.
Is Java case-sensitive?
Java is case-sensitive.
How does Java's machine code differ from typical machine code?
Machine code depends on CPU type, but Java uses an instruction set (JVM) that can run on many CPU types.
Describe a typical sequence of math instructions for the JVM.
Load the contents of memory location 40, load the value 100, and if n > y, continue with the instruction stored in memory location 240.
What is an Operating System (OS)?
A program that manages and controls a computer's activities.
Give examples of Operating Systems.
Microsoft Windows, Mac OS, and Linux.
Describe the 'write once, run anywhere' principle in Java.
Write the program once and compile the source program into bytecode, which can run on any computer with JVM.
What is the JVM?
Software that interprets Java bytecode.
List the key characteristics of the Java programming language.
Simple, safe, platform-independent, rich library, designed for the internet.
Explain the editing process in Java programming.
Use an editor to enter and modify the program text and lay out the program for easy reading, being mindful of case sensitivity.
What does the Java compiler do?
The Java compiler translates source code into class files that contain instructions for the Java VM.
What are the steps in the Program Development Process?
Understand the problem, develop and describe an algorithm, test the algorithm, translate it into Java, and compile and test the program.