
follow up
Authored by jan fajardo
Instructional Technology
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String puzzle = " Dart ";
print(puzzle.trim().toUpperCase().substring(1, 4).length);
3
4
2
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
double tricky = -15.78;
print(tricky.abs().ceil().toString().contains("15"));
Bonus
false
16
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 42;
print(x.isEven.toString().toUpperCase().startsWith("T") + x.toString().length);
BONUS
3
true
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
String code = "DartRocks!!";
print(code.replaceAll("!", "").toLowerCase().endsWith("ks") ? code.length : code.trim().compareTo("DartRocks"));
Error
0
11
-1
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
double num = 99.99;
print(num.toInt().isOdd && num.round().toString().contains(num.floor().toString()));
99
true
false
Error
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?