CSA Semester 2 Final

CSA Semester 2 Final

Assessment

Flashcard

Computers

11th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Java stands for...

Back

nothing...it's just the name of a programming language

2.

FLASHCARD QUESTION

Front

Which is not a native data type in Java? Options: int, double, boolean, Student

Back

Student

3.

FLASHCARD QUESTION

Front

Java lines of code end in semi-colons.

Back

TRUE

4.

FLASHCARD QUESTION

Front

Which is a properly formatted for-loop header in Java? Options: for (a = 0; a++; a < 3), for (int i = 0; i > -9; i--), for int i = 0; i < 5; i++, for (int i = 3, i < 10, i++)

Back

for (int i = 0; i > -9; i--)

5.

FLASHCARD QUESTION

Front

Methods that retrieve information about objects and mutate information about objects are often referred to as...

Back

getters and setters

6.

FLASHCARD QUESTION

Front

The default method that runs when you create a new object is called...

Back

a constructor method.

7.

FLASHCARD QUESTION

Front

Which choice creates an array of length 5? Options: String<> word = new String<5>, String word = five words, String[] word = {"hi", "bye", "hello", "bello"}, String[] word = new String[5];

Back

String[] word = new String[5];

8.

FLASHCARD QUESTION

Front

One class can use all the methods from another class by using what keyword in the class declaration?

Back

extends

9.

FLASHCARD QUESTION

Front

Java is the same as Javascript.

Back

FALSE