CSAwesome Unit 7

CSAwesome Unit 7

12th Grade

13 Qs

quiz-placeholder

Similar activities

Hệ Điều Hành Của Máy Tính

Hệ Điều Hành Của Máy Tính

10th Grade - University

10 Qs

แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่7

แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่7

10th - 12th Grade

10 Qs

Python

Python

7th - 12th Grade

15 Qs

Test Your Knowledge of HTML

Test Your Knowledge of HTML

9th - 12th Grade

15 Qs

Incident Response Policy 1 Quiz

Incident Response Policy 1 Quiz

12th Grade

12 Qs

Berfikir Komputesional

Berfikir Komputesional

9th - 12th Grade

10 Qs

Arrays

Arrays

12th Grade

10 Qs

HTML Quiz

HTML Quiz

11th Grade - University

15 Qs

CSAwesome Unit 7

CSAwesome Unit 7

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Mykel Searcy

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A method that only has a declaration and no method body (no code inside the method)

Variable

Return

Abstract Method

Set

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Automatically wrapping a primitive type in a wrapper class object. For instance if you try to add an int. value to a list, it will automatically be converted to an Integer Object.

Autoboxing

Data Abstraction

ArrayList

Declaration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An ArrayList can hold many objects of the same type. It can grow or shrink as needed. You can add and remove items at any index.

Return

Get

Array Declaration

ArrayList

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To declare an ArrayList use ArrayList<Type> name, where Type is the class name for the type of objects in the list. If you leave off the <Type> it will default to object.

ArrayList

Declaration

Get

Add

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can access and set values in a list using an index. The first element in a list is called list1 is at index 0 list1.get(0). The last element in a list is at the length minus one - list1[list1.size() - 1].

Index

Get

Creation

Add

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Automatically converting a wrapper object like an Integer into a primitive type such as an int.

Autoboxing

ArrayList

Unboxing

Return

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To set the value at an index in a list use listName.set(index.obj).

Set

Add

Autoboxing

Remove

Access all questions and much more by creating a free account

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?