AP Comp

AP Comp

9th - 12th Grade

60 Qs

quiz-placeholder

Similar activities

PD2 Reviewer 3

PD2 Reviewer 3

12th Grade

60 Qs

EMPOWERMENT TECHNOLOGIES MIDTERM EXAM for STEM GOLD 2023-2024

EMPOWERMENT TECHNOLOGIES MIDTERM EXAM for STEM GOLD 2023-2024

11th Grade

55 Qs

Networking Devices Quiz

Networking Devices Quiz

12th Grade

61 Qs

AI basic concepts

AI basic concepts

12th Grade

60 Qs

IGCSE ICT Theory

IGCSE ICT Theory

9th - 12th Grade

60 Qs

DIT Unit 3 Study Guide

DIT Unit 3 Study Guide

6th - 12th Grade

61 Qs

Engine Management System

Engine Management System

11th Grade

64 Qs

PMKR XII

PMKR XII

12th Grade

60 Qs

AP Comp

AP Comp

Assessment

Quiz

Instructional Technology

9th - 12th Grade

Easy

Created by

Haylee Chapman

Used 56+ times

FREE Resource

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the code: System.out.println(3+4+""+3-3);

342

345-3

3

72

There is no output due to a compile error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: System.out.println(3+4+""+5);

345

there is no output due to a compile error

12

39

75

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a newline character?

\b

\n

\t

\r

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What of the following is not reserved for a java data type?

char

short

double

integer

float

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the ASCII value of a '0'?

97

36

48

32

65

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following correctly defines a char variable?

char c = a;

char 'a';

char = a;

char c = 'a';

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following types uses the least memory?

long

float

int

char

double

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?