AP CS A Quiz 01: Data Types & Variables

AP CS A Quiz 01: Data Types & Variables

10th - 12th Grade

35 Qs

quiz-placeholder

Similar activities

ICT 10 - JAVA

ICT 10 - JAVA

9th - 12th Grade

30 Qs

Pra PAT Informatika

Pra PAT Informatika

10th Grade

30 Qs

ĐỀ CƯƠNG ÔN TẬP HK1 TIN HỌC 11 - ĐỀ 911

ĐỀ CƯƠNG ÔN TẬP HK1 TIN HỌC 11 - ĐỀ 911

11th Grade

30 Qs

UTS-AIJ12

UTS-AIJ12

12th Grade

40 Qs

Business Letters and MS Word

Business Letters and MS Word

6th - 12th Grade

30 Qs

Quiz Informatika kelas 10

Quiz Informatika kelas 10

10th Grade

40 Qs

Pemrograman1

Pemrograman1

10th Grade

40 Qs

Python Basics-01

Python Basics-01

9th - 12th Grade

32 Qs

AP CS A Quiz 01: Data Types & Variables

AP CS A Quiz 01: Data Types & Variables

Assessment

Quiz

Computers

10th - 12th Grade

Easy

Created by

Karen Kikuchi

Used 6+ times

FREE Resource

AI

Enhance your content

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

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one is correct?

public static main(Strings[] args) { }

public private static main(Strings[] args) { }

public static void main(Strings[] args) { }

public void static main(Strings[] args) { }

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

(=) sign means

equals and it is used for math problems in Java

assignment operator. It used to assign a value

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one is used for remainder in Java?

/

%

+

*

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

int x = 3; in this case, which of the following statement is true?

x = x+1;

x++;

x += 1;

All of above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This data type returns true or false

String

boolean

char

int

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Name the data type: 1.0

double

int

char

boolean

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What data type would you use for storing the average test score in a class?

boolean

char

int

double

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?