PU - Day 1 - Assessments - Slot 2 - Mahendran class

PU - Day 1 - Assessments - Slot 2 - Mahendran class

Professional Development

10 Qs

quiz-placeholder

Similar activities

JAVA Dr LJK 17.09.2020

JAVA Dr LJK 17.09.2020

Professional Development

11 Qs

Quiz for Module2

Quiz for Module2

Professional Development

10 Qs

Uji Kefahaman Kursus SKH - Sesi 2

Uji Kefahaman Kursus SKH - Sesi 2

Professional Development

10 Qs

WCF Day-10 CSS, JS and Servlet

WCF Day-10 CSS, JS and Servlet

Professional Development

10 Qs

6csn_JDBC_Viva

6csn_JDBC_Viva

Professional Development

10 Qs

Intro to Node.js

Intro to Node.js

Professional Development

10 Qs

Java_3

Java_3

Professional Development

5 Qs

Java Quiz1 Basics and OOPS

Java Quiz1 Basics and OOPS

Professional Development

10 Qs

PU - Day 1 - Assessments - Slot 2 - Mahendran class

PU - Day 1 - Assessments - Slot 2 - Mahendran class

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

training atomm

Used 1+ times

FREE Resource

AI

Enhance your content

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

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(7.0 / 2);

}

}

3.5
3
4.0
2.5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(10 / 3);

}

}

4

3.33

3.0

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(5 + 2 * 3);

}

}

8

21

11

17

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(15 % 4);

}

}

3

4

1

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code represent?

public class Main {

public static void main(String[] args) {

char ch = 'B';

}

}

A simple Java program that declares a character variable.
A Java program that prints a character to the console.
A Java program that defines a method to read user input.
A Java program that creates an integer variable.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(8 - 3 * 2);

}

}

1

5

3

2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

public class Main {

public static void main(String[] args) {

System.out.println(4 + 6 / 2);

}

}

8

10

6

5

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Professional Development