Java part 1 outputs and variables

Java part 1 outputs and variables

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

System Software

System Software

11th Grade

10 Qs

Computer Security

Computer Security

8th - 10th Grade

10 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

Recap

Recap

12th Grade

10 Qs

Microsoft Excel էլեկտրոնային աղյուսակ

Microsoft Excel էլեկտրոնային աղյուսակ

12th Grade

10 Qs

processing methods

processing methods

10th Grade

11 Qs

Chapter 8 Week 1

Chapter 8 Week 1

9th - 12th Grade

11 Qs

Java part 1 outputs and variables

Java part 1 outputs and variables

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Alvin Huang

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value ("Welcome")?

Text
Characters
String
Boolean

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

1 min • 1 pt

How do you state a main method in java?

public static void main(String args)

public void main(String args)

public static void main(String[] args)

public static void main()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement skips a line?

System.out.print("\n");

System.out.print("n\");

System.out.print("n");

System.out.print("nn");

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The arithmetic operator '/' is used to... 

Seperate
Multiply
Divide
Test

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The arithmetic operator '=' is used to...

Assign to variable
Test to see if equal values
create a new variable
add two variables together

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that holds words

String
boolean
int
float

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?