Search Header Logo

follow up

Authored by jan fajardo

Instructional Technology

University

Used 4+ times

follow up
AI

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

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

Already have an account?