Programming Basics

Programming Basics

8th Grade

10 Qs

quiz-placeholder

Similar activities

operators in java

operators in java

8th - 9th Grade

13 Qs

Sains Komputer Tingkatan 4 - 1.3.5 Penggunaan Penyataan

Sains Komputer Tingkatan 4 - 1.3.5 Penggunaan Penyataan

7th - 12th Grade

6 Qs

Python Operators & Expressions

Python Operators & Expressions

8th - 11th Grade

13 Qs

CLASS 8 - VIVA 2024-25

CLASS 8 - VIVA 2024-25

8th Grade

10 Qs

Python Casting and Input

Python Casting and Input

8th - 11th Grade

15 Qs

C# algorithms and loops

C# algorithms and loops

8th Grade

15 Qs

ASK Tingkatan 2 - Bab 003 (3.1.1-3.1.2)

ASK Tingkatan 2 - Bab 003 (3.1.1-3.1.2)

7th - 9th Grade

15 Qs

Java Quiz 1: Introduction

Java Quiz 1: Introduction

6th - 12th Grade

10 Qs

Programming Basics

Programming Basics

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Adya Dalela

Used 79+ times

FREE Resource

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

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?