
OCA-C1

Quiz
•
Professional Development
•
1st - 3rd Grade
•
Hard
Kiều Thị
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which are true? (Choose all that apply.)
“X extends Y” is correct if and only if X is a class and Y is an
interface
“X extends Y” is correct if and only if X is an interface and Y is a class
“X extends Y” is correct if X and Y are either both classes or both interfaces
“X extends Y” is correct for all combinations of X and Y being classes and/or interfaces
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Given:
As the code stands, the output is bang
As the code stands, the output is sh-bang
As the code stands, compilation fails
If line A is uncommented, the output is bang bang
If line A is uncommented,the out put is sh-bang bang
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given that the for loop’s syntax is correct, and given:
And the command line:
java _ - A .
-A
A.
_A.
An exception is thrown at runtime
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result?
Multiple compilation errors
Compilation fails due to an error on line 4
Compilation fails due to an error on line 2
woof burble
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is the result? (Choose all that apply.)
Compilation fails with an error on line 10
5 followed by an exception
Compilation fails with an error on line 8
Compilation fails with an error on line 9
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result? (Choose all that apply.)
Compilation succeeds
Compilation fails with an error on line 1, 3, 5
Compilation fails with an error on line 7, 9
Compilation fails with an error on line 1, 3
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What is the result? (Choose all that apply.)
Compilation fails with an error on line 6
Compilation fails with an error on line 9
Compilation fails with an error on line 7
Compilation fails with an error on line 8
Compilation succeeds
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Data Analytic Tools

Quiz
•
1st - 3rd Grade
15 questions
Django #1 (basic)

Quiz
•
1st Grade - Professio...
10 questions
Build Web Apps - Quiz 2

Quiz
•
1st - 2nd Grade
15 questions
QA Questions

Quiz
•
3rd Grade
5 questions
REFUERZO NAGRA 2

Quiz
•
1st - 12th Grade
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
9 questions
Key Performance Indicator (KPIs)

Quiz
•
1st - 2nd Grade
10 questions
Analytics: Advance Part 1

Quiz
•
1st Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade