CSA Unit 3 Review

CSA Unit 3 Review

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

User Interface Design - Topic 1

User Interface Design - Topic 1

12th Grade

15 Qs

PTS PWPB Kelas 11 Sem 1

PTS PWPB Kelas 11 Sem 1

11th Grade

21 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Berpikir Komputasional

Berpikir Komputasional

9th - 12th Grade

20 Qs

FNaF1

FNaF1

4th - 12th Grade

19 Qs

ICT

ICT

1st Grade - University

20 Qs

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

Database&Relation

Database&Relation

12th Grade

20 Qs

CSA Unit 3 Review

CSA Unit 3 Review

Assessment

Quiz

Computers

10th - 12th Grade

Easy

Created by

Terry Nguyen

Used 103+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
This is an array called values. What is the value of values.length?
0
5
6
7

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Index values of an array range from ______________.
0 to length – 1
1 to length
0 to length
0 to length + 1

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Create an array of 12 Strings called months.
String[] months = new String[12];
String months = new String[12];
String[] months = new String[];
String[12] months = new String[];

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Based on the statement below, which of the following statements gives the length of the data array?
double[ ] data = new double[10];
data.size()
data.length
data.size
data.length()

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the error in the following code fragment?
double[ ] data = new double[20];
data[20] = 15.25;
A cast is required
data not initialized
A two-dimensional array is required
Out-of-bounds error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The first value of an array called quizzes can be accessed with which of the following statements?
quizzes[1] = 100;
quizzes[0] = 100;
quizzes[zero] = 100;
quizzes[one] = 100;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

String word = "A few good men";
What is word.length()?
14
15
13
12

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers