RECIT Flashcards

1
Q

an array is a collection of entities of different types

A

false

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

insert comments in java code

A

//

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

print line on console

A

System.out.println

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

They are used to perform operations on variables and values

A

operators

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

in java, it is possible to inherit attributes and methods from one class to another

A

true

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

java is short for “JavaScript”

A

false

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

this conditional statement allows a variable to be tested for its equality against a list of values

A

switch

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

!(!(FALSE || TRUE) && (TRUE && TRUE))

A

true

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

!(!(!(!(!(TRUE && FALSE)))))

A

true

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

the decrement operator decreases the current value by

A

1

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

deals about creating objects that contain both data and function

A

object oriented programming

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

embodiment of a class

A

object

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

keyword to return a value inside a method

A

return

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

in for-each traversal, referred to as the variable that will accept the values from a collection

A

iterator variable

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

scanner method that reads an int (integer) value

A

NextInt()

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

statement that used to stop a loop

A

break

15
Q

data types that are enclosed in single quotes

A

characters

16
Q

referred to as the location of an element in an array

A

indices

17
Q

the break statement immediately terminates the loop if the condition is true

A

true

18
Q

scanner method that reads a string value

A

nextLine()

19
Q

the syntax of a while loop is while(statement) {//condition};

A

false

20
Q

the first element of an array is found at index 1

A

false - 0

21
Q

create a method in Java

A

methodName()

22
Q

one of the components of for loops which performs the updates on certain variables that were used in the loop

A

iterator

23
Q

for an OR operator to return true, only one input/operands should be true

A

false