Chapter 1 - 2 Review -- 4-8-2024

Quiz
•
Computers
•
University
•
Easy
Devon Morgan
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
OPEN ENDED QUESTION
5 mins • 5 pts
Create a basic Object instance of the Aircraft Class
Evaluate responses using AI:
OFF
Answer explanation
Aircraft myAir = new Aircraft();
2.
OPEN ENDED QUESTION
5 mins • 5 pts
Create an Object instance of the Employee class with the initialization of the Object employee name Goku, and employee number 848.
Evaluate responses using AI:
OFF
Answer explanation
Employee myEmp = new Employee("Goku", 848);
3.
OPEN ENDED QUESTION
3 mins • 5 pts
Declare and initialize a variable called milesPerGallon with the primitive type double and a value of 22.5
Evaluate responses using AI:
OFF
Answer explanation
double milesPerGallon = 22.5;
4.
OPEN ENDED QUESTION
3 mins • 3 pts
Declare a private variable called engineer, as a string type, with no initialization
Evaluate responses using AI:
OFF
Answer explanation
private String engineer;
5.
OPEN ENDED QUESTION
3 mins • 3 pts
Write the code that creates and assigns the long variable salary with the value 100000.
Evaluate responses using AI:
OFF
Answer explanation
long salary = 100000;
6.
OPEN ENDED QUESTION
3 mins • 3 pts
Create the code that assigns the value of height + 10 to the double variable width
Evaluate responses using AI:
OFF
Answer explanation
double width = height + 10;
7.
OPEN ENDED QUESTION
5 mins • 5 pts
Create a int variable called perHour with an initial value initialized 20. Then, change the value to 60 through assigning.
Evaluate responses using AI:
OFF
Answer explanation
int perHour = 20;
perHour = 60;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PHP Quiz 1

Quiz
•
University
16 questions
A "C" Event-the backbone of modern coding.

Quiz
•
University
14 questions
Java Operators

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
15 questions
PreTest DFC20113 - Programming Fundamentals

Quiz
•
University
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
15 questions
BASIC C PROGRAMMING

Quiz
•
University
15 questions
Basic Java Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade