Java-Collections

Java-Collections

University

40 Qs

quiz-placeholder

Similar activities

PowerPoint  2016

PowerPoint 2016

7th Grade - University

40 Qs

Тест 1. 4 неделя (10 минут)

Тест 1. 4 неделя (10 минут)

University

36 Qs

Soal Quiz Jaringan Komputer

Soal Quiz Jaringan Komputer

10th Grade - University

45 Qs

Kuis Aplikasi Kamus Digital

Kuis Aplikasi Kamus Digital

8th Grade - University

35 Qs

Round 1 Code2duo

Round 1 Code2duo

University

44 Qs

C Programming

C Programming

University

40 Qs

KUIS TKJ KE-1

KUIS TKJ KE-1

1st Grade - University

40 Qs

Java Script

Java Script

9th Grade - Professional Development

39 Qs

Java-Collections

Java-Collections

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

R GIRIDHARAN

Used 17+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements about arrays is true?

Arrays can be resized after declaration.
Arrays can hold both homogeneous and heterogeneous data elements.
Arrays can hold only homogeneous data type elements.
Arrays are implemented based on some standard data structure.

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a limitation of arrays?

They are growable in nature.
They can hold only objects but not primitives.
They are fixed in size.
They are based on some standard data structure.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the main advantage of arrays?

They can hold heterogeneous data elements.
They are implemented based on some data structure.
They can represent a huge number of elements using a single variable.
They have ready-made method support.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following can hold both primitives and object types?

Arrays
Collections
Both Arrays and Collections
Neither Arrays nor Collections

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a characteristic of Collections?

They are fixed in size.
They are implemented based on some standard data structure.
They can hold only homogeneous data type elements.
They are recommended for performance point of view.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If you need to represent a group of objects as a single entity, which concept should you opt for?

Arrays
Collection
Primitives
Data structures

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which programming language uses STL (Standard Template Library) for its collection framework?

Java
Python
C++
C#

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?