
Marupadi Evaluvations Till Collections
Authored by S E
Computers
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What line in this code snippet will give compilation error?
double d1 = 5f; // c1
double d2 = 5.0; // c2
float f1 = 5f; // c3
float f2 = 5.0; // c4
c1
c2
c3
c4
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Predict the Output
0
1
10
10010
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Predict the Output: What will be the output of the program?
String x = "xyz";
x.toUpperCase();
String y = x.replace('Y', 'y');
y = y + "abc";
System.out.println(y);
abcXyZ
abcxyz
xyzabc
XyZabc
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Predict the Output What will be the output of the program?
String str = "abc";
int number= Integer.parseInt(str);
System.out.println(number);
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Predict the Output
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Predict the Output:
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?