BCIS 3630 Aptitude Test study
How does the character 'A' compare to the character 'B'?
A is less than B
posttest loop
A loop that tests the condition after each iteration.
pretest loop
A loop that tests the condition before each iteration.
Literals
A piece of data written directly into a programs code
identifier
A programmed by name that represents an element of a program
This is a variable that keeps a running total.
Accumulator
This type of expression has a value but either true or false
Boolean expression
Double
Double precision
Java virtual machine
JVM - Program needed to run Java byte code - Comes with Mac - Acts like a computer
String class
Java's String class is used to represent a sequence (i.e., string) of characters. A simplified class diagram of String is shown below: STRING count : int value : char[] String() String(orig:String) length : int charAt(index:int) : char concat(st : String) : String equals(obj : String) : boolean indexOf(str : S
These are words that have a special meaning in the program languages
Key words
These are symbols or words that perform operations on one or more commands
Operators
This is a special value that signals when there are no more items from a list of items to be processed. This value cannot be mistaken as an item from the list.
Sentinel
Float
Single precision
Floating point data types
These are used to declare variables that can hold real numbers
literals
Values that can only be interpreted in only one way.
This is a name storage location in the computer's memory
Variable
Variables
a named storage location in the computer's memory
The if statement is an example of a
decision structure
This type of loop always executes at least once.
do-while loop
Char data type
holds any single character
This type of loop has no way of ending and repeats until the program is interrupted.
infinite
What is each repetition of a loop known as
iteration
&&, ||, and ! Are
logical operators
This is a variable that controls the number of iterations performed by A loop
loop control variable
The do while loop is the type of loop
posttest
The for loop is this type of loop.
pretest
The while loop is the type of loop
pretest
These are words or names that are used to identify storage locations in memory and parts of the program that are created by the programmer
programmer-defined names
These characters serve specific purposes such as marking the beginning or ending of a statement or separating items in a list
punctuation
"class" in Java
software blueprint for implementing objects of a given type
These are the rules that must be followed when writing a program
syntax
Operators
these are symbols or words that perform operations on one or more operands
Syntax
these are the rules that must be followed when writing a program
Punctuation
these characters serve specific purposes: marking the beginning or end of a statement, or separating items in a list
programmer-defined names
words or names that are used to identify storage locations in memory and parts of the program that are created by the programmer