Search Header Logo

ITSC1213 Test 1 Review

Authored by Franky Yang

Computers

University

ITSC1213 Test 1 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this code output?

M&M

Trinket

004

005

ERROR

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this code output?

Hershey

Game

107

111

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would this code output?

ERROR

Comic

Game

105

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the correct ways to make an ArrayList of Integers?

ArrayList<int> list = new ArrayList<>();

ArrayList<Integer> list;

ArrayList<Integer> list = new ArrayList<>();

ArrayList<Integer> list = new ArrayList<Integer>();

5.

REORDER QUESTION

1 min • 1 pt

Create an ArrayList of Strings

ArrayList<String>

new

ArrayList<>();

myList

=

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the proper ways to make a double array?

double[] array;

double array[];

double array[] = {...};

double array[5];

double array[] = new double[5];

7.

DROPDOWN QUESTION

1 min • 1 pt

Set the value for the 1st row and 3rd column of a 2D array called nums to 6:

(a)   (b)   (c)   (d)   ​ ​ (e)  

nums
[0]
[2]
=
6
num[]
[1]
[3]
nums[][]

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?