Search Header Logo

Programming Basics

Authored by Adya Dalela

Computers

8th Grade

Used 79+ times

Programming Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Every statement in Java language should end with a?

Dot or Period
Comma
Semicolon
Colon

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

20 sec • 1 pt

_________ operator returns the remainder after division

+

/

%

*

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

________ operator is used to check the equality of two values

>=

=

*=

==

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x = 5;

int y = 6

int z = 50;

System.out.println(x + y + z);


What will be the output?

61

5650

66

x + y + z

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

int x = 4;

System.out.println(x < 5 && x < 10);


What will be the output?

false

true

4

x < 5 && x < 10

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

int x = 4.4;

int y = 5.5;

System.out.println(x == y);


What will be the output?

4.4

true

false

5.5

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?