AP CSA Midterm Concept Review 1

AP CSA Midterm Concept Review 1

12th Grade

20 Qs

quiz-placeholder

Similar activities

Javascript Basics

Javascript Basics

9th - 12th Grade

16 Qs

Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

12th Grade

17 Qs

APCSA Arrays

APCSA Arrays

9th - 12th Grade

20 Qs

2ND QTR-QUIZ 7-JAVA FINALIZERS-12-14-2022

2ND QTR-QUIZ 7-JAVA FINALIZERS-12-14-2022

12th Grade

20 Qs

Topic 4.1 Introduction to Java

Topic 4.1 Introduction to Java

12th Grade

20 Qs

CSAwesome Unit 1 Vocabulary

CSAwesome Unit 1 Vocabulary

10th - 12th Grade

23 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

OOP Long Quiz

OOP Long Quiz

12th Grade

17 Qs

AP CSA Midterm Concept Review 1

AP CSA Midterm Concept Review 1

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Avacado Tomato

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used to store a single character in Java?

boolean

char

String

int

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid data type in Java: int, float, string, char?

string

boolean

long

double

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the int data type in Java?

1 byte

4 bytes

8 bytes

2 bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to implement a conditional statement in Java?

if

else

then

maybe

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a control structure in Java: if-else, switch, for loop, function?

if-else

switch

for loop

function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'this' keyword in Java?

To refer to a different class

To refer to the current instance of the class

To access a static method

To create a new instance of the class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of combining data and functions into a single unit called in object-oriented programming?

Inheritance

Abstraction

Encapsulation

Polymorphism

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?