List of References

List of References

9th - 12th Grade

11 Qs

quiz-placeholder

Similar activities

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

10.4 Python Lists

10.4 Python Lists

7th - 10th Grade

14 Qs

python -easy level

python -easy level

7th - 10th Grade

10 Qs

Python 3

Python 3

7th - 10th Grade

16 Qs

IF and Vlookup Function

IF and Vlookup Function

9th - 10th Grade

15 Qs

Python Lesson 2

Python Lesson 2

8th - 9th Grade

15 Qs

Python strings

Python strings

8th - 9th Grade

11 Qs

List of References

List of References

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Daniel Angel

Used 9+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is the correct way to declare an ArrayList of Strings in Java?
ArrayList<String>
ArrayList(String)
ArrayList[String]
ArrayList{String}

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is correct syntax to access an element of an ArrayList in Java?
list.get(index)
list[index]
list.getElement(index)
list.index

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does it mean for a list to be "dynamic"?
You can easily add and remove elements
It has a set size once it has been created
It may contain multiple types of values
You can access it from anywhere in the program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code output?

[one, two, three]

[three, two, one]

[one]

[three]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does this code output?

[two, three]

[four, five]

[two, five]

[two, four]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following would fill blank<*1> to add a new It to itListOne?

itListOne.add(new It(56));

itListOne.add(new It("56"));

itListOne.add(new 56);

itListOne.add(56);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the following code output?

[5 dog, 3 cat]

[3 cat, 5 dog]

5 dog

No output due to a syntax error

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?