Expressions Flashcards

1
Q

This expression that has two data type that contains both integer and floating point numbers.

A

Mixed Expression

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

it will always evaluate either true or false.

A

Logical Operation

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

This used to read data from the standard input device and store data into variables

A

Scanner

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

It declares the object of type Scanner
Scanner input =

A

Scanner Object

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

you will use it whenever you create objects that are more complex than the primitive data type. A required in java

A

new

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

when the computer execute the statement one after the other in the order in which they written

A

in sequence

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

It provides alternative to sequential program execution and used to alter the flow of execution

A

Control Structer

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

What are the most common control structures?

A

In selection and In repetition

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

The program execute particular statements depending on one or more conditions condition

A

In selection

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

the program repeats particular statements a certain number of times depending on one or more conditions

A

In repetition

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

-by making a selection or choice
-by the repetition of statement

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

Java has three selection or branch control structures

A

One way Selection
Two way Selection
Multiple Selection

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

it is a single selection statement because it selects or ignore a single action

A

One-way Selection

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

To choose between two alternatives

A

Two way selection

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

There is no standalone statement

A

else

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

It is use to enclose the statement to be executed

A

Curly braces

17
Q

it is a consist of a sequence of statement enclose in the braces

A

Compound (Block of) Statement

18
Q

it allows the program to perform multiple selection

A

Nested if

19
Q

The computer evaluates from left to right and stops as soon as the value of the expression is ___

A

determine (Short Circuit Evaluation)

20
Q

It gives the computer to choose from many alternatives

A

Switch Structure

21
Q

A ____ causes an immediate exit from the switch structure

A

break