
PU - Day 1 - Assessments - Slot 2 - Mahendran class
Authored by training atomm
Professional Development
Professional Development
Used 1+ times

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
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);
}
}
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';
}
}
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?