Arrraylist and stack overview

Arrraylist and stack overview

Professional Development

44 Qs

quiz-placeholder

Similar activities

BBDD7

BBDD7

Professional Development

39 Qs

JavaScript 3 (Taller Empleo Ayerbe)

JavaScript 3 (Taller Empleo Ayerbe)

Professional Development

40 Qs

Stack overview

Stack overview

Professional Development

41 Qs

IT Test 11 May Slot2

IT Test 11 May Slot2

Professional Development

40 Qs

Pemrogaman Dasar x 2020

Pemrogaman Dasar x 2020

Professional Development

40 Qs

Java Collections Trivia

Java Collections Trivia

Professional Development

45 Qs

Linked List

Linked List

Professional Development

48 Qs

DS and DAA Comprehensive Viva

DS and DAA Comprehensive Viva

University - Professional Development

40 Qs

Arrraylist and stack overview

Arrraylist and stack overview

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

44 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the advantage of using an ArrayList?
LIFO principle
Dynamic resizing
Fixed-size
Heap storage

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Where are local arrays within methods often stored?
Heap
Cache
Stack
Register

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can a stack hold duplicate elements?
Yes
No
Depends
Rarely

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is there a limit to a stack's size?
Yes
No
Sometimes
Depends

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which order does a stack enforce?
FIFO
Random
LIFO
Ascending

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the main drawback of an ArrayList?
Speed
Flexibility
Memory usage
Fixed size

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is ArrayList thread-safe by default?
Yes
No
Sometimes
Rarely

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?