CHAP I

CHAP I

University

32 Qs

quiz-placeholder

Similar activities

QUIZ PELATIHAN CAANG

QUIZ PELATIHAN CAANG

University

30 Qs

Programming Paradigms Quiz

Programming Paradigms Quiz

University

30 Qs

C++ Advanced Quiz

C++ Advanced Quiz

University

30 Qs

Computer Programming Quiz

Computer Programming Quiz

University

30 Qs

соңғы сессия 8 бзв

соңғы сессия 8 бзв

University

30 Qs

Q1_Intro. to Computing

Q1_Intro. to Computing

University

30 Qs

CSE Test 1 (with Correct Answers)

CSE Test 1 (with Correct Answers)

University

32 Qs

Software Life Cycle Models

Software Life Cycle Models

University

30 Qs

CHAP I

CHAP I

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Aymane Benhima

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many of the Duration, LocalDateTime, and LocalTime classes have the concept of a time zone?

None

One

Two

Three

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many lines does this print?
System.out.print("""
"ape"
"baboon"
"gorilla"
""");

Three

Four

Five

The code does not compile.

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following variable names are not valid? (Choose two.)

_

_blue

2blue

blue$

Blue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class has a getSeconds() method?

Only the Duration class

Only the Period class

Both the Duration and Period classes

Neither class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Most of the United States observes Daylight Saving Time on March 13, 2022, by moving the clocks forward one hour at 2:00 AM. What does the following code produce?

5 true

5 false

4 false

4 true

6 false

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of tip after the execution of the following code?

1

2

3

7

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code produce?

false

true

The code does not compile.

The code compiles but throws an exception at runtime.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?