Create a basic Object instance of the Aircraft Class
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
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 Quizizz
20 questions
Python 1

Quiz
•
University
20 questions
C Programming Unit-1 Test-2

Quiz
•
University
18 questions
Programming in C language

Quiz
•
12th Grade - University
20 questions
CCE-III Programming in C Language

Quiz
•
University
15 questions
Array Java

Quiz
•
University
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
13 questions
C programming-1

Quiz
•
University
20 questions
C programming syntax quiz

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade