stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Creating Java Programs Flashcards | StudBud
Explore
/
Creating Java Programs
Creating Java Programs
59 terms
·
StudBud Administration
·
105 plays
Review topics and terms in Chapter 1 and 2 of Java Concepts: Early Objects #java
Flashcards
59 cards
F
Practice quiz
P
Host live
L
Questions
59
Answers
1
A ___ is a series of characters that will appear exactly as entered. A ___ is written between double quotation marks.
method, class
literal string, literal string
access specifier, method
literal string, code
2
What do methods tell?
When to stop a program
What the properties of the code are
When to execute Code
When to implement properties
3
This type of error is a violation of the programming language rules and is called a:
Programmer error
Bad Code
Run-time (Logic) error
Compile-time (Syntax) error
4
An informal description of a sequence of steps for solving a problem mixing Java & English:
directions
bad code
fake code
pseudocode
5
The rules for the programming language
logic
high level
low level
syntax
6
A programming loop is computer code that...
turns 360 degrees
drives around
repeats itself
debugs computers
7
What is the term used to refer to Java code that runs in a browser?
Html
Class
Applet
Script
8
"Hello, World!" is an example of what data type?
Char
String
Double
Int
9
Which of these testing methods only include the input and the output?
Black Box
Blue Box
White Box
Grey Box
10
Binary code that the computer understands
Assembly code
Machine code
Low level language
High level language
11
What is Procedural Programming?
to indicate multiplication.
Focuses on objects, or "things."
Programmers create to manipulate data.
attempt to mimic real-world activities.
12
A place to write code, compile, and run it is known as an IDE. What does IDE stand for?
Integrated Development Environment
Intensive Development Enviroment
Integrated Development Editor
Intentionally Deceptive Economy
13
is an object defined in the System class.
System
Println()
.
OUt
14
JVM stands for:
Java Virtual Machine
JaVa Methods
Java Void Main
Java Virtual Method
15
Named computer memory locations are called _____________.
variables
compilers
appellations
addresses
16
____ is any combination of non printing characters.
class body
Camel Casing
K&R Style
whitespace
17
You use an import statement when you want to access a built-in Java class that is contained in a group of classes called
access specifier
class body
Package
method
18
In programming, what are conditionals?
finding & fixing problems in your program
statements that repeat over and over
placeholders for information that can change
statements that only run under certain conditions
19
Why would a class named first would be different from a class named FIRST. which is wrong?
Java is case sensitive
Programmers must pay close attention to correct uppercase/lowercase values
Class names w/different uppercase lowercase values have different classes.
Java is high -level
20
are the words that are part of a programming language
JDK
Keywords
Java Interpreter
Javadoc
21
manages the computer
syntax error
System software
syntax
static
22
Classes in Java should begin with:
a lowercase letter
an underscore
an uppercase letter
a number
23
What is object- oriented Programming?
is to include all notable programming languages in existence
is to include all notable programming languages in existence
is a programming paradigm based on the concept of "objects",
is a programming which maycontain data in the form of fields
24
What does CPU stand for?
Central Processing Unit
Computer Processing Unit
Central Programming Unit
Computer Programming Unit
25
Which statement best describes a computer program?
A program can decide what task it is to perform.
Sequence of comments
A program can only perform one simple task.
Sequence of instructions & decisions a computer carries out.
26
public static void main(String[] args) { . . . } This statement is called the:
static method
main method
required statement
main statement
27
A program written in ____ is the most basic circuitry-level language.
High level
machine language
low level
Java
28
What do input methods allow you to do?
All of the above
Enter information
Direct the CPU
Control the computer
29
Memory in a computer is an example of what type of storage?
public
secondary
primary
tertiary
30
A Java _____ can contain only letters, digits, ampersands, or number signs
syntax
identifier
class body
access specifier
31
You misspelled the command javac. You misspelled the filename. You are not within the correct subfolder or subdirectory.
logic error
some of the reasons the javac command might not be recognized
syntac error
IDE corrupted
32
When creating a program, the Package contains files. You can think of a Package as a ____
method
string
folder
file
33
a flaw or mistake in a computer program
Bug
Applets
Block coments
Arguments
34
There are 3 Levels of programming Languages, these are:
Machine Code, high-level, low-level
Application, Internet, and web based
Java, Visual Basic, and binary
All of the above
35
All Java programming statements must end with a__Lines do not necessarily end with a semicolon
closing parenthesis
period
comma
semicolon
36
Each ______ contains a sequence of instructions.
program
method
function
class
37
What type of program can you use to enter your Java program?
Editor
Compiler
Spreadsheet
Database
38
When a Java application starts, what is the name of the method that is executed?
begin
Main
main
start
39
Which statement best describes a computer program?
A program can only perform one simple task.
Sequence of instructions & decisions a computer carries out.
A program can decide what task it is to perform.
Sequence of comments
40
What translates Java source code into files that contain instructions for the JVM?
Compiler
Assembler
Interpreter
Linker
41
Which statement best describes the portability characteristic of Java?
Easy to compile Java source code on different OSs
Easy to copy Java source code from one machine to another
Easy to change a java program to work on different OSs
Same Java class files run on different OSs without change
42
An algorithm that can be understood and followed by a machine is called a computer...
simulation
program
interface
pattern
43
____ are also called modules, methods, functions, and subroutines. Java programmers most frequently use the term “method
Applications
Procedures
Methods
Classes
44
In programming, what is a function?
A piece of data that can never change
Something that repeats itself
A piece of code called on over and over again
A piece of data that can change
45
Object-oriented _____ are defined by the data and the methods associated with them.
untis
fields
classes
blocks
46
Methods with object instantiations, called instance methods.
nonstatic methods
data type
bug
boolean variable
47
consists of programming statements that have been compiled into binary format
Call A Procedure
Bug
Bytecode
Comments
48
Translates an entire program before carrying out the statement
Compiler
IDe
JRE
JVM
49
Collection of programming instructions?
string
method
arguments
main
50
Why is creating a GUI environment for users a natural use for object orientation?-select the wrong answer.
a natural use for object orientation.
easy to think of the components a user uses on a computer to real world
As you write larger applications it becomes increasingly easy to use.
GUI object contains data,Each object also contains behaviors
51
Which type of secondary storage consists of rating platters and read/write heads?
Flashdrive
DVD
RAM
Hard disk
52
What is OOP as related to Programming?
Out of Position
Object Orientated Positioning
Object Orientated Programming
Order of Operations
53
What term is used to refer to a sequence of characters enclosed in quotation marks?
Comment
Object
Variable
String
54
The fundamental building blocks of Java programs are called:
codes
applets
objects
classes
55
___software is used for tasks such as word processing, calculations and playing games
Computer
Java
System
Application
56
In programming, what is a variable?
Something that repeats itself
A piece of data that can never change
A piece of code called on over and over again
A piece of data that can change
57
A collection of programming instructions that describe how to carry out a particular task is a:
method
class
program
function
58
In Java, almost every statement must end with this symbol:
!
;
.
,
59
An error that causes a program to perform an action the programmer did not intend is called a:
Run-time (Logic) error
Compile-time (Syntax) error
An easter egg
A feature