
Quiz Day 1 - Day 8

Quiz
•
Computers
•
Professional Development
•
Hard
ZIZIE VANESSA
FREE Resource
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
public class Day1Assignment {
public void lesson1() { int[] numbers = new int[3];
numbers[0] = 10;
numbers[1] = 20;
numbers[2] = 30;
System.out.println(numbers[1]); }
}
What is the output based on the above code : __
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank :
public class Day2Assignment {
______ ____ lesson1() {
int x = 10;
if (x > 5) {
System.out.println("x is greater than 5");
}
else
{ System.out.println("x is not greater than 5"); }
}}
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int[] numbers;
System.out.println(numbers[0]);
Based on the code above, what type of exception it is?
Array Index Out Of Bounds Exception
Null Pointer Exception
Negative Array Size Exception
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The operation of code below is to copy an array ,complete the code below :
int[] numbers = {1, 2, 3, 4, 5};
int[] copy = _______.______(numbers, numbers.length);
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Whats is the output for the code below ?
int[] numbers1 = {1, 2, 3, 4, 5};
int[] numbers2 = {1, 2, 3, 4, 5};
System.out.println(Arrays.equals(numbers1, numbers2));
true
none of these
[ (1,1),(2,2),(3,3),(4,4),(5,5)]
(1,2,3,4,5) = (1,2,3,4,5)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output based on the code given.
Meow
Bark
Error or cannot be compile
Animal
Answer explanation
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the code?
Answer explanation
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Arduino 102

Quiz
•
Professional Development
15 questions
JavaScript

Quiz
•
Professional Development
20 questions
Ch.8 - Introducing Python

Quiz
•
6th Grade - Professio...
20 questions
June'21 ESA Quiz

Quiz
•
Professional Development
18 questions
DECI - Week 14 - round

Quiz
•
Professional Development
20 questions
Sorting - IV year

Quiz
•
Professional Development
15 questions
JF UIT 2022 - Game 3

Quiz
•
Professional Development
15 questions
PROGRAMACION.1.Conceptos Básicos

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development