In this assignment, you will need to design a complete Black-Box testing plan for the following program. A computer science student has to travel from home to ODU every day for class. After showing up to class late too many times due to traffic, the student made a program to tell him when he should leave the house. The time given depends on the class time and the day of the week.

He came up with a few rules to make sure he gets to class on time.
The normal drive time for this student is 30 minutes without traffic. He then gives himself 5 minutes to walk across campus to class from the parking lot.
However, if he leaves home during the worst morning rush hour, from 6 AM - 7 AM on a weekday, he needs to add 20 minutes to his commute to account for traffic. If he leaves home during the regular morning rush hour, from 7 AM - 8 AM on a weekday, he needs to add 10 minutes to his commute to account for traffic.
Mondays have the worst morning traffic, and he should instead add 30 minutes for 6 AM-7AM and 20 minutes for 7 AM – 8 AM.
On Saturdays and Sundays the student needs to take a different route due to road construction. This adds 6 minutes of travel time.
If he leaves during the afternoon rush hour on a weekday, traffic from 4-6PM should add 15 minutes of travel time. Traffic in the afternoon is worst on Thursdays, and should instead add 20 minutes of travel time.
If the class is between 9:30 AM and 11 AM he needs to arrive 10 minutes earlier for walking time because the closest parking lots are all full.
The program will read data from the screen in the following format:

Day_of_the_week hours:minutes AM/PM
e.g.
Tuesday 12:45 AM
Sunday 01:52 PM
If the input is not in the correct format the program will prompt the user again for the input. The program is not case sensitive. The hours and minutes can be a single digit or two digits, but the minutes must be 2 digits.

Answers

Answer 1

Answer: sorry i need points to ask a question hope u understand...

Explanation:


Related Questions

Read this outline for an argumentative essay about government.
1. People have different ideas about the role of government.
A. The primary_purpose of government is to provide social services.
2. Government should provide services for
people who are poor or elderly.
A. Government can effectively provide the services that poor and elderly people need.
B. Food stamps keep people from going hungry.
C. Medicare and Medicaid provide health care.
D. Some people believe social services are an entitlement and not a right,
but many people could not survive without them.
Government's main role is provide to social services, such as food stamps.
The underlined sentence in the outline is the
O claim.
• conclusion.

Answers

Answer:

First option.

Explanation:

The underlined sentence in the outline numbered 1 (People have different ideas about the role of government) is the introduction.

What is an introduction?

The essential concept of an outline for a particular piece of writing, such as an essay, is presented in a single brief sentence for the body paragraphs. In this manner, it is positioned at the start and briefly summarizes the thesis of an article.

Because it appears at the beginning of the outline and contains the key notion that unifies all the other ideas offered in the subsequent phrases, the sentence with the asterisk (*) serves as the introduction. Government can effectively provide the services that poor and elderly people need.

Therefore, The underlined sentence in the outline numbered 1 (People have different ideas about the role of government) is the introduction.

Learn more about an introduction, here:

brainly.com/question/18119893

#SPJ5

Drag each label to the correct location on the image.
Identify the cell references in the formula.
absolute
reference
relative
reference
mixed
reference

Answers

Answer:

1.) Relative cell reference - A1

2.) Absolute cell reference - $D$2

3.) Mixed cel reference - $D2

Explanation:

In Microsoft Excel, cell references are very important and critical when dealing with formula. They can give you what you’re looking for or make your entire worksheet incorrect.

A cell reference is a cell address or a range of cell addresses that can be used in a formula.

There are three types of cell references and they are;

a) Relative reference

b) Absolute reference

c) Mixed reference

A relative cell reference is a cell reference that changes when you copy the formula to other cells. It s usually just a normal cell reference like A1, B2, C3. If a formula with a relative cell reference is copied down to other cells, the formula will change. That is a formula with a relative cell reference changes with respect to the cell which it is copied to.

An absolute reference does not change when you copy the formula to other cells. In absolute references, the dollar sign $ is used to “lock” both the row and column so that it does not change when it is copied to other cells. An example is $D$2.

Using a mixed cell reference, one is trying to see that only either the row or column changes with respect to other cells when they are copied. It is like “locking” either the column or the row while changing the other. Just like from the example, $D2 is a mixed cell reference where only the column is locked such that only the row changes when the formula is copied to other cells.

1. name of industry credential available to students taking this class

2. two reasons for acquiring the industry credential

Answers

Answer:

Explanation:

I need points to ask questions

Learning Management Systems (LMS) allow students to interact with each other, but NOT their teachers.

Answers

Answer:

what do you mean friend not for teacher

Answer:

Explanation:

Communication outside the classroom can be facilitated through discussion forums, real-time messaging, video-conferencing, email and announcement posts.

what is information technology ?​

Answers

Information technology can be defined as the study or use of systems for storing, retrieving, and sending information. Can be abbreviated to IT.

Answer:

Information technology is the study, design, development, implementation, support or management of computer-based information systems—particularly software applications and computer hardware. IT workers help ensure that computers work well for people.

Explanation:

edhesive 7.6 lesson practice python

def mystery(a, b = 8, c = -6):
return 2 * b + a + 3 * c

#MAIN
x = int(input("First value: "))
y = int(input("Second value: "))
z = int(input("Third value: "))

1) Suppose we add the following line of code to our program:

print(mystery(x))
What is output when the user enters 1, 1, and 1?

2)Suppose we add the following line of code to our program:

print(mystery(x, y, z))
What is output when the user enters 8, 6, and 4?

Answers

Answer:

(a) The output is -1

(b) The output is 32

Explanation:

Given: The above code

Solving (a): The output when 1, 1 and 1 is passed to the function

From the question, we have: print(mystery(x))

This means that only the value of x (which in this case is 1) will be passed to the mystery function

(a, b = 8, c = -6) will then be seen as: (a = 1, b = 8, c = -6)

[tex]2 * b + a + 3 * c = 2 * 8 + 1 + 3 * -6[/tex]

[tex]2 * b + a + 3 * c = -1[/tex]

The output is -1

Solving (b): The output when 8, 6 and 4 is passed to the function

From the question, we have: print(mystery(x,y,z))

This means that values passed to the function are: x = 8, y = 6 and z = 4

(a, b = 8, c = -6) will then be seen as: (a = 8, b = 6, c = 4)

[tex]2 * b + a + 3 * c = 2 * 6 + 8 + 3 * 4[/tex]

[tex]2 * b + a + 3 * c = 32[/tex]

The output is 32

If we add the line of code print(mystery(x)) and our input are 1, 1 and 1 the output will be -1.

If we add the line of code print(mystery(x, y, z)) and our inputs are 8, 6 and 4 the out put will be 32.

This is the python code:

def mystery(a, b = 8, c = -6):

  return 2 * b + a + 3 * c

#MAIN

x = int(input("First value: "))

y = int(input("Second value: "))

z = int(input("Third value: "))

print(mystery(x))

#What is output when the user enters 1, 1, and 1?

#Suppose we add the following line of code to our program:

print(mystery(x, y, z))

#What is output when the user enters 8, 6, and 4?

The code is written in python

Code explanation:The first line of code defines a function named mystery with the argument a, b by default is equals to 8 and c is equals to -6 by default. Then the code return the product of b and 2 plus a and plus the product of 3 and c.  x, y and z variable that stores the users input.Then we call the function mystery  with a single argumentThen we call the function mystery with three argument x, y and z which are the users input.  

The first print statement with the input as 1, 1 and 1 will return -1

The second print statement with the input 8, 6 and 4 will return 32.

learn more on python code here: https://brainly.com/question/20312196?referrer=searchResults

Spam is _____.
an example of an ethical use of email
a set of rules that you should follow when sending e-mail
the practice of sending unwanted messages to a large group of people
a type of attachment
multiple answers

Answers

Multiple answers. Attachment and practice of sending unwanted messages
Spam is the practice of sending unwanted messages to a large group of people.

Exercise 1: Multiples of Five Develop a program that contains the following functions: - Function that returns true if a given number is a multiple of 5; false otherwise. Main function that reads two integer values from the user and print all multiples of 5 between them inclusive. Your function should start from the lowest to the highest value entered by the user. Samples of input/output are given below. Sample input/output 1 Enter first: 4 Enter second: 40 Multiples of 5 between 4 and 40 are: 5 10 15 20 25 30 35 40 Sample input/output 2 Enter first: 40 Enter second: 4 Multiples of 5 between 4 and 40 are: 5 10 15 20 25 30 35 40

Answers

Answer:

Explanation:

please see attached picture

Other Questions
Which phrase best defines evolution by natural selection? pls help The word Mesopotamia means what?????i need help pls Help meeeeeeeeeeeeeee The best example of balanced forces is a:A:A bus parked in a garageB:Ball kicked along a flat surfaceC:roller coaster slowing down on an inclineD:car increasing speed.HELP ASAP!!!!!!! Is this right guys ? can yall pease help and this is timed HELP PLEASE!!!! 50 POINTS!!!GIVING BRAINLIEST!!1. Elena donates some money to charity whenever she earns money as a babysitter. The table shows how much money, d, she donates for different amounts of money, m, that she earns. a. What percent of her income does Elena donate to charity?b.Which quantity, m or d, would be the better choice for the dependent variable in an equation describing the relationship between m and d.PLEASE HELP!!! THANK YOU!! Question 1This Apply has two parts.Part I:Match the titles of the sports with the pictures.Word List:RoughExcitingDynamicBoringSkillfulChallengingStrategicDullStrenuousRelaxing . . . . write the linear equation in slope-intercept from the information givenpoint (2,-4)slope= -3 Which of the following is found in plant cells and NOT in animal cells? Cell membrane Cell Wall Cytoplasm MitochondriaHELP!! Can you please answer this question? How can we identify patterns of volcanic eruptions? Please help, I have no clue Please help Im completely stuck How would the particles be arranged in an object that has a high density? What about inan object that has a low density? A mixture of PCl5(g), PCl3(g), and Cl2(g) is in a 1.00 L reaction vessel. The total pressure of the reaction system is 1.40 atm at equilibrium. Then the volume of the reaction vessel is reduced from 1.00 L to 0.50 L and equilibrium is re-established at constant temperature. What is the total pressure of the system at this point? A male and a female, both with dimples, have a son without dimples. Which of Mendel's laws does this pattern of inheritance illustrate, and how do you know? AND What is the chance that a daughter of these parents would have dimples? Explain your answer. 4x + y = 7 and passes through the point (1, 8)?Plz hurry!!!!!!! define sons and daughters of liberty 9 m3 m3 mWhat is the area, in square meters, of the shaded region in the diagram?