Chapter 1 Definitions Flashcards

(82 cards)

1
Q

Computer program

A

A set of instructions that you write to tell a computer what to do.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hardware

A

General term for computer equipment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Software

A

General term for computer programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Application Software

A

Performs tasks for users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

System Software

A

Manages the computer software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Logic

A

Executing the various statements and procedures in the correct order to produce the desired results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Machine language

A

The circuitry- level language that represents a series of on and off switches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Low-level programming language

A

Written to correspond closely to a computer processor’s circuitry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

High-level programming language

A

Allows you to use English-like vocabulary to write programs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Syntax

A

Refers to the rules that define the ways language elements are used together correctly to create usable statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Keywords

A

The words that are a part of a programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Program statements

A

Similar to English sentences, Carry out the tasks that programs perform

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Commands

A

Program Statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Compiler

A

A program that translates language statements into machine code; it translates an entire program at once before any part of the program can execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Interpreter

A

Is a program that translates language statements into machine code; it translates one statement at a time, allowing a program to execute partially

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Executing a statement or program

A

To carry it out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

At run time

A

A phrase that describes the period of time during which a program executes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Syntax error

A

A programming error that occurs when you introduce typing errors into your program or use the programming language incorrectly; a program containing syntax errors cannot be translated into an executable program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Debugging a program

A

The process that frees it of all errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

A bug

A

A flaw or mistake in a computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Logic error

A

Programming bug that allows a source program to be translated to an executable program successfully, but that produces incorrect results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Semantics error

A

Occurs when you use a correct word in the wrong context in program code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Procedural programming

A

Is a style of programming in which sets of operations are executed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Variables

A

Named computer memory locations that hold values that might vary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Procedures
Sets of operations performed by a computer program
26
Call a procedure
To temporarily abandon the current logic so that the procedure's commands can execute
27
Writing Object-oriented programs
Includes creating classes, creating objects from those classes, and creating applications that use those objects
28
Computer simulations
Are programs that attempt to mimic real-world activities so that their processes can be improved or so that users can better understand how the real-world processes operate
29
Graphical user interfaces (GUI)
("Gooeys") Allow users to interact with a program in a graphical environment
30
A class
A group or collection of objects with common properties
31
A class definition
Describes what attributes its objects will have and what those objects will be able to do
32
Attributes
Characteristics that define an object as part of a class
33
Properties
Attributes of a class
34
Objects
An instance of a class
35
Instance of a class
object
36
Instantiation
The process of creating an object
37
State of an object
The set of values for its attributes
38
Method
Self- contained block of program code, similar to a procedure
39
Encapsulation
Refers to the enclosure of data and methods within an object
40
Inheritance
Is the ability to create classes that share the attributes and methods of existing classes, but with more specific features
41
Polymorphism
Describes the feature of languages that allows the same word to be interpreted correctly in different situations based on the context
42
Java
Object-oriented language used both for general-purpose business applications and for interactive , World Wide Web-based Internet applications
43
Architecturally neutral
Describes the feature of java that allows you to write programs that run on any platform (operating system)
44
Java Virtual Machine (JVM)
Hypothetical (software -based) computer on which Java runs
45
Source code
Consists of programming statements written in a high-level programming language
46
jGRASP
Is a developed environment and source code editor
47
Development environment
Is a set of tools that help you write programs by providing such features as displaying a language's keywords in color
48
Bytecode
Consists of programming statements that have been compiled into binary formats
49
Java interperter
A program that checks bytecode and communicates with the operating system , executing the bytecode instructions line by line within the Java Virtual Machine.
50
Applets
Java programs that are embedded in a Web page
51
Java Applications
Stand alone Java programs
52
Console applications
Support character or text output to a computer screen
53
Windowed applications
Create a graphical user interface with elements such as menus, toolbars, and dialog boxes
54
Literal string
A series of characters that appear exactly as entered. Any literal string in Java appears between double quotation marks
55
Arguments
Information passed to a method so it can perform its task
56
Passing arguments
The act of sending arguments to a method
57
Standard output device
the monitor
58
Identifier
name of a program component such as a class, object, or variable
59
Unicode
International system of character representation
60
Pascal casing
Naming convention in which identifiers start with an uppercase letter and use an uppercase letter to start each new word
61
Upper camel casing
Pascal casing
62
Access specifier
Defines the circumstances under which a class can be accessed and the other classes that have a the right to use a class
63
Class body
Set of date items and methods between the curly braces that follow the class header
64
Whitespace
Any combination of nonprinting characters, such as spaces, tabs and carriage returns(Blank lines)
65
Static
Means a method is accessible and usable even though no objects of the class exist
66
void (in a method header)
Indicates that the method does not return any value when its called
67
Compile-time error
is when the compiler detects a violation of language syntax and is unable to translate the source code to machine code
68
Parsing
The process the compiler uses to divide source code into meaningful portions for analysis
69
Clean build
Is created when you delete all previously compiled versions of a class before compiling again
70
Run-time error
Occurs when a program compiles successfully but does not execute
71
Program comments
Non-executing statements that you add to a Java file for the purpose of documentation
72
To comment out a statement
To turn into a comment so the compiler will not execute its command
73
Line comments
Start with two forward slashes(//) and continue to the end of the current line. Line comments can appear on a line by themselves or at the end of a line following executable code
74
Block comments
Start with a forward slash and an asterisk (/*) and end with an asterisk and a forward slash(*/). Block comments can appear on a line by themselves, on a line before executable code, or on a line after executable code. Block comments also can extend across as many lines as needed
75
Javadoc
Comments are block comments that generate documentation . They begin with a forward slash and two asterisks(/**) and end with an asterisk and a forward slash(*/)
76
Documentation comments
Comments that automatically generate nicely formatted program documentation
77
Dialog box
Is a GUI object resembling a window in which you can place messages you want to display
78
Import statement
Accesses a built-in Java class that is contained in a package
79
Package
Contains a group of built-in Java class that is contained in a package
80
Java API
The application programming interface , a collection of information about how FAQs are frequently asked questions
81
JDK
Java Development kit
82
SDK
Software development kit or a set of tools useful to programmers