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

A

Concat()

25
Q

Its is a java function to combined to string

A

Concat()

26
Q

Array use a ______system which indexing starts at 0 and end at length

A

Zero based index

27
Q

A set of array to more than two dimensions

A

Multi dimensional

28
Q

Is a collection of element organized in row and columns forming a grid-like

A

Two dimensional

29
Q

It is a simple collection of elements of the same data type arranged in a linear order

A

Single dimentional

30
Q

Accessing to element of array are done in

A

Constant time

31
Q

Every array elements when created needs a set of_______specified

A

Length

32
Q

String are more commonly concatenated with the_____ operator

A

+

33
Q

It refers to the position of a certain object in an array

A

Index

34
Q

Widely use in java program that contains a sequence of characters

A

String

35
Q

Initializing an array means assigning values to its

A

Element

36
Q

Give at least 3 string manipulation that involves in various operation

A

Concatenated
SubString Extraction
Case conversion

37
Q

What are the 2array types

A

Primative data type
Object data type

38
Q

It is a data structure that allow you to store multiple values of the same data type in a single variable

A

Array

39
Q

Each object has its unique set of instance variable

A

Instance variable

40
Q

It is popular high-level class bases object oriented programming language originally develop by sun Microsystems and released in 1995

A

Java programing

41
Q

Java is _____ which means its available free of cost

A

Open source

42
Q

The first letter should be in_____ for all class names

A

Upper case

43
Q

Java is case sensitive which means identifier hello and hello would have different meaning in java

A

Case sensitivity

44
Q

Java is designed for the ____ environment of the internet

A

Distributed

45
Q

What identifier is this that contains final abstract strictfp

A

Non-access modifier

46
Q

Java is considered to be more_____ than c or c++ since it is designed to adapt to an evolving environment

A

Dynamic

47
Q

Two types of java modifiers

A

Non-Access modifier
Access modifier

48
Q

With the use of _____ it is possible to reduce the number or bugs in your codes

A

Enum

49
Q

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

A

Nov.13 2006

50
Q

It can be defined as a template/blueprint that describes the behavior /state that the object of its type supports

A

Class