Search Header Logo

Java by Mr Sam

Authored by Sam Eslamieh

Computers

10th Grade

Used 22+ times

Java by Mr Sam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 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

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

Integer
Double 
Char
Void

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Float
Boolean
Check box
ٍString

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are use For loop ..........

To repeat a specified number of operations.
To repeat a unspecified number of operations.
All answers are correct

5.

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();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is incorrect?

int count = 50.0;

int salary = 50_000;

int salary = 50_00;

all of these are incorrect

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We are use Scanner Library in java for...

Give permissions to the user
Correcting software errors
Allows user to read data
Allows the user to enter data

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?