Topic 2.5 Video 2

Quiz
•
Computers
•
11th Grade
•
Easy
Myra Deister
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
View the video on AP Classroom.
What is the behavior that is needed for the LunchCalculator program?
Calculate the total for the lunch bill.
Divide the amount of the lunch bill evenly
Calculate the tax that will be charged on the lunch bill.
Divide the amount of the bill into different portions.
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
For the Lunch Calculator program, what information is needed? (Select all that apply.)
The number of friends
How much each friend is willing to pay
The total bill for the lunch.
The tax for the bill.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of data will be returned for the divideBill method?
double
int
String
boolean
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
What data type(s) will the parameters be for the divideBill method? (Select all the apply.)
int
double
String
boolean
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the method go below that should return the sum of the parameters a and b.
public double go( double a, double b )
{
/* blank */
}
Which of the following could correctly fill /* blank */ ?
I. return a + b;
II. return a - b;
III. return a * b;
I only
II only
III only
I and III only
II and III only
Similar Resources on Wayground
10 questions
SQL Queries 6

Quiz
•
11th - 12th Grade
10 questions
MS PowerPoint Objects & Animation Quiz

Quiz
•
9th Grade - University
9 questions
Digital Media - Chapter 1

Quiz
•
8th - 12th Grade
10 questions
VISUAL STUDIO 2T

Quiz
•
11th Grade
10 questions
Spacing and Margin Settings

Quiz
•
10th - 12th Grade
10 questions
7 OCR GCSE Computer Science - System Software

Quiz
•
10th - 11th Grade
10 questions
Programming Basics

Quiz
•
11th - 12th Grade
10 questions
Java: repetition control structure for & while

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade