Introduction to Java Chapter 1 Worksheet
The API acronym is
Applic
List the most common errors
Common errors include missing braces, missing semicolons, missing quotation marks, and misspelling names.
Which speed are processors measured at now?
Gigahertz, or GHz
Define hertz (Hz)
Hertz is the unit of measurement of clock speed
The IDE acronym is
Integrated Development Environment
Is the JVM an interpreter or a compiler?
JVM is an interpreter, NOT a complier
What does JVM do?
JVM, or Java Virtual Machine interprets Java bytecode
List a high-level language
Java
The JDK acronym is
Java Development Toolkit/Kit
The JRE acronym is
Java Runtime Environment
What does JVM stand for?
Java Virtual Machine
Does Java use a compiler, or an interpreter?
Java uses a complier
List 3 operating systems
Microsoft Windows, Apple Mac OS, and Linux.
Output devices
Monitor
Input devices
Mouse and keyboard
Define and explain RAM
A RAM is a random-access memory where the bytes in the said memory can be accessed in any order and the more RAM a computer has, the faster it can run.
What is a bit?
A bit is a binary digit, like 0 or 1.
What is a byte?
A byte is a sequence of 8 bits.
What are the ways comments can be displayed in Java?
A comment that takes up only a single line can be displayed in / / while a comment that takes up multiple lines can be displayed in /* ... */
What kind of file is generated when a .java file is compiled?
The kind of file generated is .class
What are three programming errors?
The three programming errors are syntax, runtime, and logic.
Which two styles can blocks be defined by?
The two styles for blocks are non-nested and nested.