Search Header Logo

Unabridged Unit 1 Test APCSAwesome

Authored by Patrick Bryar

Computers

9th Grade

Unabridged Unit 1 Test APCSAwesome
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will the computer run first in a Java program?

first line of code

main method

last line of code

class intro

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we want to print in Java, we use the code ......

system.out.print();
System.out.println();
System.Out.Printf();
System.out.show();

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to hold true/false values?

int

float

char

boolean

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Name the data type: ____ value=1.0;

double

int

char

boolean

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a valid variable declaration in Java?

int 1myInteger = 0;

int int = 0;

Int my Integer = 0;

int myInteger = 0;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

_________ operator returns the remainder after division

+

/

%

*

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If a=2, b=5, c=3


Find result for : 8 * (a + b + c) – b % c

80

81

77

78

Access all questions and much more by creating a free account

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?