Java Level 1 - B

Java Level 1 - B

12th Grade

15 Qs

quiz-placeholder

Similar activities

Java Thread

Java Thread

12th Grade

10 Qs

AP CS Test 0 Module 1

AP CS Test 0 Module 1

9th - 12th Grade

17 Qs

002_Java Methods

002_Java Methods

12th Grade - University

15 Qs

Java Arrays Basic

Java Arrays Basic

10th - 12th Grade

15 Qs

Progamming - Java Syntax

Progamming - Java Syntax

11th - 12th Grade

15 Qs

STATIC KEYWORD IN JAVA

STATIC KEYWORD IN JAVA

9th - 12th Grade

18 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

Introduction To Java: Hello World

Introduction To Java: Hello World

7th - 12th Grade

10 Qs

Java Level 1 - B

Java Level 1 - B

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Tom Dawson

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

The Java term "float" represent what data type?

floating point number

Boolean

floating fraction

character

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

The Java term "char" represent which of the following description?

Whole number between -128 to 127

True or False value

single character/letter or ASCII value

characters used for subtraction equations

3.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

The "short" Java term is used for what set of stored number values?

-32,768 to 32,767

-128 to 127

fractional numbers storing up to 15 decimal digits

-512 to 512

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

The equation below will print out what?

public class Main {

public static void main(String[] args) {

float myNum = 5.75;

System.out.println(myNum);

}

}

5.75

myNum = 5.75

5

1 error

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

To use the Java term "char" for a single letter, can you use a single quote mark ', or do you have to use the double quote marks " ?

YES

NO

6.

MULTIPLE SELECT QUESTION

30 sec • 20 pts

What are the two types of Java Casting?

"Two answers"

Widening Casting

Short Casting

Narrowing Casting

Long Casting

7.

MULTIPLE SELECT QUESTION

30 sec • 20 pts

What are two types of Java "Operation" groups?

"Two answers"

Combining Operators

Bitwise Operators

Comparison Operators

Washing Operators

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?