
FontysVenlo - PRC1 - W03
Quiz
•
Education, Computers
•
1st - 3rd Grade
•
Practice Problem
•
Hard
Frank van Gennip
Used 4+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which usage of a Scanner for reading input is correct?
Scanner input = new Scanner('System.in');
Scanner input = new Scanner( nextLine());
Scanner input = new Scanner("first line!\nsecond line!");
Scanner input = new Scanner();
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement regarding the DEBUGGER is NOT correct?
The debugger can be used to execute a program step-by-step
Using the debugger, you can "Step INTO" methods.
In using the debugger, you typically set BREAKPOINTS
Experienced programmers don't need a debugger
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What does the following operator mean? Operator: ||
NOT EQUAL TO
LOGICAL AND
LOGICAL OR
CONCATENATE
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement regarding an ARRAY is NOT correct?
An array is a fixed size data structure
The "size" is retrieved using <arrayName>.size()
The first element in an array is on index 0
An array can be processed using a for-each loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement regarding the ArrayList datatype is NOT correct?
An element in an ArrayList can be accessed using the <name>[index] notation (e.g. namesList[4])
An ArrayList is a dynamic wrapper around an array
ArrayList objects are resized automatically when necessary
ArrayLists can only contain a ReferenceType (e.g. ArrayList<String>)
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which statement is correct?
The value 3 can't be stored in an ArrayList
An Integer value can not be stored in an Array
Integer is a wrapper type around the primitive int data type
When you want to assign value 3 to a variable of type Integer, you have to do manual "boxing"
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be printed out on the Console if you run the following code (see picture) ?
true true false false
false false true true
true false true false
false true false true
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
17 questions
Interland - Reality River
Quiz
•
3rd - 6th Grade
10 questions
INTRODUCTION TO ACCOUNTING
Quiz
•
1st - 2nd Grade
14 questions
IPO
Quiz
•
3rd Grade
10 questions
Coding
Quiz
•
3rd - 6th Grade
15 questions
Soal Quiz Sistem Komputer Kelas 8 SMPIT IF Mungkid
Quiz
•
1st Grade - University
10 questions
Basic Algorithm elementary
Quiz
•
3rd - 5th Grade
11 questions
Devices
Quiz
•
KG - 4th Grade
13 questions
Challenge yourself
Quiz
•
2nd Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
