1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sergeeva-Olga [200]
3 years ago
11

8.5 question 2 edhesive

Computers and Technology
1 answer:
dangina [55]3 years ago
5 0

Answer:

Please check the attachment.

Explanation:

Please check the attachment for the program in python.

Download txt
You might be interested in
The visitor's age is stored in the variable age, the day of the week is stored in a variable day, and the price in dollars is st
Hoochie [10]

Answer:

If a museum charges different prices based on the day of the week and age of the visitor. The pricing rules are shown below.

- On Tuesday and Thursday children 10 and under get in free ($ 0).

- For all other days and ages the cost is ten dollars ($ 10).

The code in python is;

if (day == 'Tuesday' or day == 'Thursday') and age <= 10:

   price = 0

else:

   price = 10

Explanation:

The logic of the algorithm suggests that that the conditional if-statement assigns zero to the price variable if the day variable is either Tuesday or Thursday and the child's age is 10 or below but assigns 10 to the price variable if the condition is not met.

4 0
3 years ago
"When an interrupt or a system call transfers control to the operating system, a kernel stack area separate from the stack of th
pochemuha

Answer:

Explanation:

There are two reasons, first, the operating system could be blocked because a program with poorly written user program does not allow for enough stack space.

Second, the kernel can leave data in the user memory of a program, and this data can be used for another user to get another delicate information.

3 0
4 years ago
While Angela is making modifications to Katie’s Word document, she would like to inform Katie of the reasoning for the change. W
Ostrovityanka [42]

Answer:

Email would work

6 0
4 years ago
A proxy is
salantis [7]

Answer:

C. an authorization of a registered stockholder to another person to act in their place at the meeting

Explanation:

  • The proxy server acts as a gateway between you and the Internet.
  • it is a Intermediate Server separates users from browsing websites
  • Therefore, the proxy here refers to allowing someone to act on their behalf. In the case of the company, the proxy allows another person to act on behalf of the registered stockholder at company meetings.
4 0
3 years ago
You can initialize more than one variable in a for loop by placing a(n) ____ between the separate statements.
Allushta [10]

Answer:

comma

Explanation:

The for loop is used to execute the specific statement again and again until the condition is false.

The syntax:

for(initialization;condition;increment/decrement)

{

  statement;

}

In the initialization, we an initialize more than one variable by using the 'comma' as separator.

similarly for condition and increment/decrement part as well.

for example:

for(int x = 0,y = 0;x<5,y<5;x++,y++)

{

  statement;

}

we can used as many as possible by using comma

7 0
3 years ago
Read 2 more answers
Other questions:
  • Which best describes the Big Bang Theory?
    12·2 answers
  • Which one of the following features can control left and right indents using markers?
    5·2 answers
  • Write a program that opens a text le called quiz.txt for reading. This le contains a single line with a student's rst name then
    15·1 answer
  • Given code:public abstract class A{ }public class B extends A{}The following code sequence would correctly create an object refe
    9·1 answer
  • Why do we need IP Addresses in order for the Internet to function properly?
    7·1 answer
  • What strategies do you use to better understand difficult reading material? Check all that apply.
    5·1 answer
  • Write a method, public static void selectSort(ArrayList list), which implements a selection sort on the ArrayList of Integer obj
    10·1 answer
  • Imagine you’re at lunch. Your nose smells pizza. Your legs move over to where hot lunch is being served. You have to balance the
    9·2 answers
  • An informative presentation can be used for conducting a classroom discussion.
    6·1 answer
  • Databases containing the research, writing and studies conducted by Academic
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!