Java Level 1 - B

Java Level 1 - B

12th Grade

15 Qs

quiz-placeholder

Similar activities

AP Computer Science A

AP Computer Science A

12th Grade

10 Qs

Comprog-October 11, 2022

Comprog-October 11, 2022

11th - 12th Grade

10 Qs

Conditionals & Arrays

Conditionals & Arrays

9th - 12th Grade

15 Qs

Java Programming Basics

Java Programming Basics

12th Grade

17 Qs

Java Print Statements Warm-Up

Java Print Statements Warm-Up

9th - 12th Grade

10 Qs

Unit 6 Arrays

Unit 6 Arrays

10th - 12th Grade

14 Qs

Programación

Programación

12th Grade

12 Qs

Methods in Java

Methods in Java

11th - 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?