AP CSA| Final S2 Exam Review by Mr. B

AP CSA| Final S2 Exam Review by Mr. B

12th Grade

40 Qs

quiz-placeholder

Similar activities

Review: AP Computer Science A (Credit  to Runstone & Barron's)

Review: AP Computer Science A (Credit to Runstone & Barron's)

9th - 12th Grade

35 Qs

XII Object Oriented Programming in C++

XII Object Oriented Programming in C++

9th - 12th Grade

42 Qs

Multidimensional list and tuples 2025

Multidimensional list and tuples 2025

9th - 12th Grade

44 Qs

Java Assesment Unit 1, Unit2

Java Assesment Unit 1, Unit2

9th - 12th Grade

44 Qs

AP CSA Review Set #1

AP CSA Review Set #1

9th - 12th Grade

37 Qs

Object-Oriented Programming Quiz

Object-Oriented Programming Quiz

12th Grade

39 Qs

Quizes-Syntax-Master

Quizes-Syntax-Master

12th Grade

45 Qs

CIE As A level Chpt_20: Object-Oriented Programming

CIE As A level Chpt_20: Object-Oriented Programming

11th Grade - University

35 Qs

AP CSA| Final S2 Exam Review by Mr. B

AP CSA| Final S2 Exam Review by Mr. B

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Cyber Professor - Mr. B

Used 3+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

  Which of the following is a valid constructor declaration for the Cube class?

 

I. public static Cube()

II public void Cube()

III.   public Cube()

IV.   public Cube(int side)

III and IV only 

I only

III only

II only

I and II only

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What is the exact output of the following code?

 int radius = 3;

 double pi = 3.142;

 double area = pi*( radius * radius );  System.out.print("area ");

 System.out.print(area);

area 28.278  

28.278 28.278

area 28

there will be an error because of incompatible data types 

3.

FILL IN THE BLANK QUESTION

1 min • 5 pts

What value is the result of evaluating this expression? 

       (5 * 3 - 4 / 2 ) % 3 

4.

MULTIPLE SELECT QUESTION

1 min • 5 pts

Which of the following paired correctly?

  <label> : it defines a label for an input element.

<textarea> : it defines a caption for a<fieldset> element.

<button> : it defines a clickable button.

<fieldset> : it defines an HTML form to enter inputs by the user.

5.

MULTIPLE CHOICE QUESTION

1 min • 3 pts

What is a subclass ?

Tests out code and can run with errors  

Where the class gains attributes and methods of another 

Argument defined as variables under a function.

A type a class that is specified under a normal class, inheriting the features of the normal class

6.

MULTIPLE SELECT QUESTION

1 min • 3 pts

An expression is a combination of operands and operators that evaluate to a single value. 4 + 6 = (a)  or 21 - 3  (b)  = 15.0  

15%

10

2.0

8

17

7.

MULTIPLE SELECT QUESTION

1 min • 4 pts

Which of these relational operators is part of the JOIN operator? Select all that apply.

UNION

PRODUCT

SELECT

PROJECT

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?