Topic 2.5 Video 1

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
Make sure you view the video on AP Classroom.
Given the method signature double calcAverage(int num1, int num2, double num3)
What type of data will the method return?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A programmer is asked to create a method that calculates and returns the net salary for an employee's pay stub. The gross salary, tax rate, and other deductions are needed to calculate the net salary.
What would be the most appropriate method header for this method?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the code to the left.
What is the output of the following code for an object dinner of type Eatout?
System.out.println(dinner.haveDinner(haveDinner(haveDinner("Vege Burger"))));
The Payment is: $15.00
THe payment is : $ 15
The payment is $ 15
The payment is $ 18.00
The payment is : $ 18
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the class definition at the left.
Which of the following calls to the method calculateTotal is valid?
int pay = calculateTotal(50, 20.5);
pay = calculateTotal (50, 20.5);
double pay = calculateTotal (50, 20.5);
double pay = calculateTotal (50.6, 20.5);
boolean pay = calculateTotal (50, 20.5);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following code.
public double shapes (int numberofSides, double length)
{
//missing code
return measure;
}
Which of the following choices would best replace //missing code?
Similar Resources on Wayground
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
9 questions
C sharp

Quiz
•
11th Grade
10 questions
Teoria Informatica 4 12_22

Quiz
•
11th Grade
10 questions
Prueba Corta - Programación I

Quiz
•
1st - 12th Grade
10 questions
Data Types in Python

Quiz
•
9th - 12th Grade
10 questions
if else c

Quiz
•
7th - 12th Grade
10 questions
Latihan Class Library

Quiz
•
9th - 12th Grade
10 questions
Photoshop Layers Review

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