Comp Sci Java

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What does API stand for?

Application Programming interface

What are bytecodes?

Bytecodes are a computer object code that is converted into machine code to be read by a computer's processor

What is an interpreter?

Developed to use high level programs directly

What does the JVM do?

Enables a computer to run java programs as well as other programs that are also compiled in java bytecode

What is encapsulation?

Encapsulates all the adjectives that makes up the thing (the color of the button and the size of the button makes up the button)

What does EE stand for in Java EE?

Enterprise edition

What is Moore's Law?

Every year or 2, the capacities of computers doubles without the price rising at all, named after Gordon Moore

What does HTML stand for?

Hypertext markup language

What does IDE stand for?

Integrated development environment

What does JVM stand for?

Java Virtual Machine

What is instantiation?

Just like someone needs to build the car from its drawings, you must build an object of a class (instantiation) before a program can perform its tasks

"Performing a task in a program requires a _______."

Method

What does ME stand for in Java ME?

Micro edition

What is information hiding?

Objects communicate with other objects but they are not allowed to know how the other object is implemented, as they are hidden within the object themselves

What company created the Java language?

Oracle

What are the Java APIs?

Pre-installed libraries, like java.util

What does the "javac" program do?

Reads source files written in java, and compiles them into bytecode class files

What is software reuse?

Reusing existing software when building new ones to save time and effort

What does SDK stand for?

Software development kit

What is an operating system?

Software systems that make using computers more convenient for us

What does SE stand for in Java SE?

Standard edition

hat are the five steps in creating a Java program and what is done in each step?

Step 1: Edit Step 2: Compile Step 3: Load Step 4: Verify Step 5: Execute

What is a kernel?

The core components of an OS

What is a method call?

When you press a pedal in the car, it sends a message to the car to tell it to go faster, similarly you need to send messages to the program, these messages are called member call functions

What is inheritance?

You make a piece of software for a student, but you want to make one for a gifted student, you take the original student code and build off of it

"A program unit called a ______ houses the set of _____ that perform that ______'s tasks."

class, methods, class

Function vs method

method is simply a function that is combined within a class. Since "everything" in Java is a class, that means every function is considered a method.

"Almost any ______ can be reasonably represented as a software object in terms of _____ and _____."

noun, attributes, behaviors

The Javac program produces a file with what extension?

.class

What extension do Java files end with?

.java

What are the five levels of a data hierarchy?

1. Bits 2. Characters 3. Fields 4. Records 5. Files

Every computer has the following six sections:

1. Input unit 2. Output unit 3. Memory unit 4. Arithmetic and logic unit (ALU) 5. Central processing unit (CPU) 6. Secondary storage unit

What are the three general types of programming languages?

1. Machine languages 2. Assembly languages 3. High-level languages

What is an instance variable?

A variable which is declared in a class but outside of its constructors, methods, or blocks

What happened in the mid-1990s to encourage the development of Java programs?

The rise of the world wide web.

What is a data hierarchy?

The way computers process data, they go from smallest to largest and more complex in structure

What was the original key goal of Java?

To develop a small, portable, reliable, distributed, real-time operating platform

What is an assembler?

Translates assembly languages into machine language at computer speed

What is a compiler?

Translates high-level programs into machine language programs at computer speed


Ensembles d'études connexes

Pre-Cal Linear, Absolute Value, and Reciprocal Functions Unit 3 Lesson 5

View Set

Chapter 1 - 3 Midterm Study Guide

View Set

Immunology - B cells and immunoglobulins

View Set

Fagen et al. (Learning approach)

View Set

Chapter 2 Quiz: Chart of Accounts

View Set

cba international business chapter 16-18

View Set

Erik Erikson's 8 Stages of Psychosocial Development

View Set