
Day 2 - C1 summary

Quiz
•
Computers
•
Professional Development
•
Hard
An Bình
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 10 pts
Which answer options represent the order in which the following statements can be assembled into a program that will compile successfully? (Choose all that apply.)
X, Y, Z
Z, Y, X
Y, X
Z, X
X, Z
2.
MULTIPLE SELECT QUESTION
1 min • 10 pts
Which of the following are true? (Choose all that apply.)
Bunny is a class.
bun is a class
Bunny is a reference to an object.
bun is a reference to an object.
The main() method doesn’t run because the parameter nameis incorrect
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
Suppose we have the following class in the file /my/directory/named/A/Bird.java. Which of the answer options replaces "INSERT CODE HERE" when added independently if we compile from /my/directory?
package my.directory.named.a;
package my.directory.named.A;
package named.a;
package named.A;
package A;
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What does the following code output when run as java Duck Duck Goose
Duck Goose
Duck ArrayIndexOutOfBoundsException
Goose
Goose ArrayIndexOutOfBoundsException
None of the above
5.
MULTIPLE SELECT QUESTION
1 min • 10 pts
Which of the following are true statements about Java? (Choose all that apply.)
Bug-free code is guaranteed.
Deprecated features are never removed.
Multithreaded code is allowed.
Security is a design goal
All features in C++ are kept
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which of the following are legal entry point methods that can be run from the command line?
private static void main(String[] args)
public static final main(String[] args)
public void main(String[] args)
public static void test(String[] args)
public static void main(String[] args)
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Given the following class, which of the following calls print out Blue Jay
java BirdDisplay Sparrow Blue Jay
java BirdDisplay Sparrow "Blue Jay"
java BirdDisplay Blue Jay Sparrow
java BirdDisplay "Blue Jay" Sparrow
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Functions and Files

Quiz
•
Professional Development
10 questions
CS - Introduction to React Native

Quiz
•
Professional Development
10 questions
Java MCQs

Quiz
•
Professional Development
13 questions
Java Chapter 1 Review Questions

Quiz
•
Professional Development
11 questions
JAVA QUIZ

Quiz
•
Professional Development
10 questions
Android Application

Quiz
•
Professional Development
15 questions
DOT NET-SET1

Quiz
•
Professional Development
15 questions
24/01/2024

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade