mid1 Flashcards

1
Q

A1 Search

A

O(N)

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

A1 Insert

A

O(1)

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

A1 Desert

A

O(1)

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

A1 Util

A

Wasteful

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

A2 Search

A

O(Log(N))

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

A2 Insert

A

O(N)

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

A2 Delete

A

O(N)

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

A2 Util

A

Wasteful

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

B1 Search

A

O(N)

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

B1 Insert

A

O(1)

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

B1 Delete

A

O(1)

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

B1 Util

A

Efficient

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

B2 Search

A

O(N)

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

B2 Insert

A

O(N)

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

B2 Delete

A

O(1)

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

B2 Util

A

Efficient

17
Q

int

A

4 bytes

18
Q

short

A

2 bytes

19
Q

byte

A

1 byte

20
Q

long

A

8 bytes

21
Q

float

A

4 bytes

22
Q

double

A

8 bytes

23
Q

char

A

2 bytes

24
Q

bool

A

1 bit

25
Q

Private accessibility

A

Class

26
Q

Default accessibility

A

Class, Package

27
Q

Protected accessibility

A

Class, Package, Subclass (extends)

28
Q

Public accessibility

A

Class, Package, Subclass