#119 Topic 2.3 Video 2

Quiz
•
Computers
•
11th Grade
•
Medium
Myra Deister
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the video the first attribute that is created for a lamp is
color
size
isOn
location
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one of the behaviors for the lamp in the video?
setBrightness
turnOn
setLevel
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a NullPointerException?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output by the code below?
public class CS
{
public void one()
{
System.out.print("go")
}
public void two()
{
System.out.print("back");
}
}
//code in the main of another class
CS test = new CS();
test.one();
test.two();
go
back
goback
gobackback
gobackgobackgo
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correctly written method for the class below?
public class Timer
{
private int startMin;
private int length;
public Timer(int minute, int duration)
{
startMin = minute;
length = duration;
}
public Timer(int duration)
{
startMin = 0;
length = duration;
}
}
public void addFiveMinutes()
{
length = length + 5;
}
public addFiveMinutes()
{
length = length + 5;
}
addFiveMinutes()
{
length = length + 5;
}
public void addFiveMinutes
{
length = length + 5;
}
Similar Resources on Wayground
8 questions
BD. XII RPL SQL

Quiz
•
3rd Grade - University
5 questions
MY SQL

Quiz
•
9th - 12th Grade
10 questions
PS10 Data Validation

Quiz
•
9th Grade - University
10 questions
Perintah Join SQL

Quiz
•
11th Grade - University
10 questions
DTJSQuiz

Quiz
•
11th Grade
10 questions
PERINTAH SQL 01

Quiz
•
10th Grade - University
10 questions
Python - Flow control

Quiz
•
11th Grade
10 questions
Ethics

Quiz
•
9th - 12th Grade
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
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade