AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

10th Grade - University

18 Qs

quiz-placeholder

Similar activities

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

University

14 Qs

E-Commerce

E-Commerce

University - Professional Development

16 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

Pengantar Teknologi Informasi 8

Pengantar Teknologi Informasi 8

University

17 Qs

AP Computer Science A Post Unit 2 Check

AP Computer Science A Post Unit 2 Check

Assessment

Quiz

Computers

10th Grade - University

Practice Problem

Medium

Created by

Richard Groeneveld

Used 64+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

If x = 3 and y = 5, choose all the statements that evaluate to True.

x < y

y > -x**2

2 * x == y

y % x == 3

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A Boolean expression...

Fixes any errors in the line of code

Sets everything in it equal to each other

Checks if something is true or false

Loops the program to continue infinitely

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many values does a Boolean variable have?

4

3

2

1

Infinite

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = 5

b = 6

Determine the truth value of the following statement:


((a <= b) or (a == b)) and (b > a)

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Java type can be used to store a true or false value?

boolean

bool

Boolean

Bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Evaluate (to true or false) each of the following expressions:
14 >= 14
15 > 15
16 != 16
18 >= 19

T, F, F, F
T, T, T, T
F, T, F, F
F, T, T, F

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True/False: The body of an "if" statement will only be executed if the condition is true.

True

False

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

Already have an account?