Feb 20, 2025 AP CompSci - 1st Period

Feb 20, 2025 AP CompSci - 1st Period

12th Grade

25 Qs

quiz-placeholder

Similar activities

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

3D Objects - Terms & Transfomations

3D Objects - Terms & Transfomations

6th Grade - Professional Development

20 Qs

PSTS Administrasi Infrastruktur Jaringan Kelas XII TKJ

PSTS Administrasi Infrastruktur Jaringan Kelas XII TKJ

12th Grade

20 Qs

Remedial PH 1 AIJ XII

Remedial PH 1 AIJ XII

12th Grade

20 Qs

Digital and Analog transmission

Digital and Analog transmission

University

20 Qs

Tin học 11 chương I

Tin học 11 chương I

1st - 12th Grade

20 Qs

ICT Unit-2

ICT Unit-2

University

20 Qs

Fotogrametri dan Penginderaan Jauh

Fotogrametri dan Penginderaan Jauh

University

20 Qs

Feb 20, 2025 AP CompSci - 1st Period

Feb 20, 2025 AP CompSci - 1st Period

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Scotty Johnson

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these should be declared as a final?

double pi = 3.14159;

double radius = 1.5;

double area = radius * radius * pi ;

pi

radius

area

all three

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

int a = 5;

int b = 8;

int c = 3;

System.out.println(a + b / c * 2);

2

8

9

12

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would be the one's digit if num were a two-digit number?

int A = num / 10;

int B = num % 10;

int C = num % 100;

int D = num % 100;

A

B

C

D

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following would be the ten's digit if num were a two-digit number?

int A = num / 10;

int B = num % 10;

int C = num % 100;

int D = num % 100;

A

B

C

D

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of A?

int A = 9 + 10 % 12;

1

7

11

19

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of A?

int A = (9 + 10) % 12;

1

7

11

19

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of A?

int A = 9 – 2 % 12;

1

7

11

19

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