Search Header Logo

Grade 11(Quiz 1)

Authored by Dina Yasser

Information Technology (IT)

11th Grade

Grade 11(Quiz 1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

It is a blueprint of the instance of a class.

method
object
class
java file

2.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

How many objects can be made from a class? 

None, you make classes from objects
one
As many as you want
All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

float x = 5;

x = 5;

int x = 5;

num x = 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to create a variable that should store text?

myString

String

Txt

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you insert COMMENTS in Java code?

# This is a comment

/* This is a comment

// This is a comment

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a java program start executing instructions from:

class

source file

main method

object

7.

MULTIPLE CHOICE QUESTION

1 min • 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();

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?