Midter Reviewer Flashcards

1
Q

It test the condition before executing the loop body

A

While loop

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

Terminate the loop or switch statement

A

Break statement

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

The variable will be available within tue for block and its value would be the same as the current array element

A

Declaration

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

Like a while statement except that it tests the condition at the end of the loop body

A

Do while loop

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

It can be array variable or method call that returns an array

A

Expression

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

Consists of a boolean expression followed by one or more statement

A

If statement

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

It is a function to compare this number object to the arguments.

A

CompareTo()

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

A_________statement allows us to execute a statement or group of statements multiple times

A

Loop

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

Execute a sequence of statements multiple times and abbreviates the code that management the loop variable

A

For loop

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

Causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating

A

Continue statement

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

You can use one if or else if statement inside another it or else if statement(s)

A

Nested if statement

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

What are the 4types of decision making

A

If statement
If else statement
Nested if statement
Switch statement

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

What are the 3 types of loop controls

A

For loop
While loop
Do while loop

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

Give at least 4 number methoda

A

XxxValue()
ToString()
Equal()
CompareTo()

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

Variable defined inside methods, constructors or blocks,

A

Local variables

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

A line of code that would ask the compiler to load all the classes available in directory java_installation/java/io.

A

Import java.io*;

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

A______ is a source code representation of a fixed value

A

Literals

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

Are variables within a class but outside any method

A

Instance variable

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

A_____provides us with named storage that our program can manipulate

A

Variable

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

What are the 3step when create an object class

A

Declaration
Instantiation
Initialization

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

What are the 6typew of java operators

A

Arithmetic operators
Relational operators
Bitwise operators
Logical operators
Assignment operators
Mic operators

22
Q

Give at least 4java that support the following fundamental concepts such as

A

Inheritance
Method
Object
Classes

23
Q

What are the two types available in java.

A

Primitive data types
Reference data types

24
Q

Its is a java function to combined to string

25
Its is a java function to combined to string
Concat()
26
Array use a ______system which indexing starts at 0 and end at length
Zero based index
27
A set of array to more than two dimensions
Multi dimensional
28
Is a collection of element organized in row and columns forming a grid-like
Two dimensional
29
It is a simple collection of elements of the same data type arranged in a linear order
Single dimentional
30
Accessing to element of array are done in
Constant time
31
Every array elements when created needs a set of_______specified
Length
32
String are more commonly concatenated with the_____ operator
+
33
It refers to the position of a certain object in an array
Index
34
Widely use in java program that contains a sequence of characters
String
35
Initializing an array means assigning values to its
Element
36
Give at least 3 string manipulation that involves in various operation
Concatenated SubString Extraction Case conversion
37
What are the 2array types
Primative data type Object data type
38
It is a data structure that allow you to store multiple values of the same data type in a single variable
Array
39
Each object has its unique set of instance variable
Instance variable
40
It is popular high-level class bases object oriented programming language originally develop by sun Microsystems and released in 1995
Java programing
41
Java is _____ which means its available free of cost
Open source
42
The first letter should be in_____ for all class names
Upper case
43
Java is case sensitive which means identifier hello and hello would have different meaning in java
Case sensitivity
44
Java is designed for the ____ environment of the internet
Distributed
45
What identifier is this that contains final abstract strictfp
Non-access modifier
46
Java is considered to be more_____ than c or c++ since it is designed to adapt to an evolving environment
Dynamic
47
Two types of java modifiers
Non-Access modifier Access modifier
48
With the use of _____ it is possible to reduce the number or bugs in your codes
Enum
49
On what date that the sun released mush of java as free and open source software under the terms of the GNU General public license GPL
Nov.13 2006
50
It can be defined as a template/blueprint that describes the behavior /state that the object of its type supports
Class