System.out.println(2 / 3);
What is 0?
A reference variable that refers to parent class objects
What is super?
Sarah needs the Microsoft Office suite in order to complete her school assignments so she borrows her aunt’s software CDs in order to load another copy on her new laptop. What type of infringement has Sarah committed?
What is piracy
Websites for a college or university should have this domain extension.
What is .edu
Antique-looking clock; usually the size of a person
What is a grandfather clock?
for (int i = 0; i < 20; i = i + 1) {
if (i % 2 == 0) {
System.out.println(i);
}
}
What is 0, 2, 4, 6, 8, 10, 12, 14, 16, 18?
int ray = new int[10];
for (int i = 0; i < 10; i++) {
ray[i] = i;
System.out.print(i + ", ");
}
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
This is most definitely correct...
Where is the [] after ray?
The Internet depends on a layered communication system of _______ that manage abstractions.
What are protocols
Tiffani has a channel on a popular video sharing site and has over 100 thousand subscribers. After making her latest video and uploading to her channel, she notices that the quality of video better on her home computer than the uploaded version. This is the likely cause of Tiffani’s video quality.
What is lossy compression
The application that featured the question: Where did all the time go?
What is the 2024 SMW application?
Variables that are essential components of an object
What are attributes?
An algorithm that repeatedly divides an array into two then reorders the components
What is a merge sort?
In determining the best route to take on recent trip, a maps application gave the user three options based on traffic patterns, road construction, and roadways. This term refers to the method for choosing the best alternative among the three possible routes.
What is a heuristic solution
The binary search algorithm makes this vital assumption about the list of data being considered.
What is the data is sorted
42
What is the meaning of life, the universe, and everything?
double x = 23894239.505;
int y = (int)(x + 0.5);
System.out.println(y);
What is 23894240
for (int i = 0; i < 3; i++) {
for (int j = 0; j <= 7; j++) {
System.out.println("hi");
}
}
How many times will "hi" print?
What is 24?
Assuming that forward tells a robot to move forward by 10 pixels and turn tells it to turn right by 90 degrees, this shape would be drawn by the following algorithm. forward forward turn forward turn forward forward turn forward turn
What is a rectangle
A computer program uses 3 bits to represent integers. When the program adds the decimal (base 10) numbers 5 and 3, the result is 0. Name the type of error that occurred.
What is an overflow error
The Swiss watch brand that featured the Simpsons in one of their collections
What is a Swatch?
/*pretend the Cow class was created with one instance variable and constructor*/
Cow moo = new Cow();
Cow meow = new Cow();
if (moo == meow) {
System.out.println ("moo meow");
}
moo = meow;
boolean rats = moo == meow;
if (rats) {
System.out.println("oh no");
}
System.out.println(moo);
//Sophie was on her last braincell
What is
oh no
@/*random stuff*/
public static int troll (int x) {
if (x <= 1) {
return 1;
} else {
return (troll(n-1) + troll(n-2));
}
}
What is returned from troll(5)
What is 8?
An attempt to deny users access to a Web site's resources by flooding the website with requests from multiple systems.
What is a Distributed Denial of Service (DDoS) attack
The system used for translating a web address like www.google.com into an IP address that can be used to connect to the site's server.
What is the Domain Name System (DNS)
The time system where 1 day was divided in 10 hours, with 100 minutes per hour, and 100 seconds per minute
What is the French revolutionary timeline?