Search Header Logo

NTOPR152 Leereenheid 2

Authored by Tina Niekerk

Information Technology (IT)

University

Used 1+ times

NTOPR152 Leereenheid 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Wat is die korrekte manier om die huidige datum in Java te kry?

new Date()

LocalDate.now()

Calendar.getDate()

Date.now()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Watter klas gee jou net die tyd (sonder datum)?

 LocalDateTime

Date

LocalTime

Calendar

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Watter metode gebruik jy om die huidige datum en tyd te kry?

LocalDateTime.now()

Date.now()

Instant.dateTime()

Time.now()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Wat is die uitvoer van: System.out.println(Math.pow(2, 4));

6

8

16

24

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Wat is die uitvoer van: System.out.println(Math.round(3.6));

3

4

5

6

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Wat is die korrekte manier om twee BigInteger waardes op te tel?

a + b

a.add(b)

a.plus(b)

BigInteger.sum(a, b)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Watter metode word gebruik om te deel met afronding in BigDecimal?

divideWithRounding()

divide(scale, roundingMode)

split(scale, roundingMode)

roundDivide(scale)

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?