A computer program outputs whether a capital city in Europe is north or south of another capital city in Europe. It only needs to know the latitude of the two cities – the other detail is unnecessary. This is an example of abstraction; including the necessary detail and not including the unnecessary detail.

Answers

Answer 1

Answer:

Yes, that is correct.

Explanation:

Abstraction is the process of focusing on the essential features of something and ignoring non-essential details. In this case, the program is only concerned with the latitude of the two cities, so it ignores all other details about the cities and only outputs whether one city is north or south of the other. This helps to simplify the program and make it more efficient by only dealing with the necessary information.


Related Questions

g Shift registers and counters use hardware _____________________ for their internal data storage.

Answers

A series of core registers coupled together to generate a clock-driven data shift is known as shift register counters. Johnson counters and ring counters are two of the most popular types of these.

What is the purpose of a shift register?

Shift registers are widely used in converters that convert parallel data to serial data or vice versa. Shift registers can also be employed as delay circuits and digital pulse extenders.

Can data be stored in a shift register?

A shift register is represented by a pair of terminals that are placed next to one another, vertically on either side of the loop boundary. When an iteration is finished, data is stored in the terminal on the right side of the loop, which has an up arrow.

To know more about shift register here:-

brainly.com/question/14096550

#SPJ4

Joe, a user, wants his desktop RAID configured to allow the fastest speed and the most storage capacity. His desktop has three hard drives. Which of the following RAID types should a technician configure to achieve this?
A. 0
B. 1
C. 5
D. 10

Answers

For Joe, the technician has to set up RAID 0. By dividing data into many copies, RAID 0, also known as the striped volume or stripe set, is set up to provide the highest performance and greatest storage space.

How does a RAID function?

Data is duplicated across two drives in the array using RAID 1 (mirrored disks), which offers complete redundancy. The identical data is always stored on both drives at the same time. As long as one disk remains, no data is lost.

Why could someone utilize RAID?

Redundant Array of Independent Disks, or RAID, is a technology that combines many hard disks to increase performance. RAID configuration might affect how quickly your computer operates.

To know more about RAID visit:

https://brainly.com/question/14669307

#SPJ4

The statement int[ ] list = {5, 10, 15, 20};
O initializes list to have 5 int values
O initializes list to have 20 int values
O initializes list to have 4 int values
O declares list but does not initialize it
O causes a syntax error because it does not include "new int[4]" prior to the list of values

Answers

Option 3 is correct ( initializes list to have 4 int values) The syntax here implies direct setup of integer array named list with 4 initial values. there is no need to mention size for this kind of syntax.

Describe an array.

An array is a group of related data items kept in close proximity to each other in ram. The sole way to retrieve each data element direct is using its index number, making it the most basic data structure.

How do arrays function?

A linear data structure called an array contains elements of the same data type in contiguous and nearby memory regions. Arrays operate using an index with values ranging from zero to (n-1), where n is the array's size.

To know more about array visit :

https://brainly.com/question/15048840

#SPJ4

to use the predefined function tolower, the program must include the header file ____.

Answers

To use the predefined function to lower, the program must include the header file cc type

What is the variable in the heading of a function called?

What are the variables that are defined in the function heading known as? formal parameters. What are the actual parameters of a function? The expressions, variables or constant values that are used in a function call.

What is the variable in the heading of a function called?

What are the variables that are defined in the function heading known as? formal parameters. What are the actual parameters of a function? The expressions, variables or constant values that are used in a function call.

To know more about program visit:-

https://brainly.com/question/14718387

#SPJ4

Select the best reason to include height and width attributes on an tag.
A.they are required attributes and must always be included
B.to help the browser render the page faster because it reserves the appropriate space for the image
C.to help the browser display the image in its own window
D.none of the above

Answers

The best reason to include height and width attributes on a tag is to aid the browser in rendering the page more quickly since it reserves the proper space for the image.

Which of the following justifications for adding height and width attributes to an IMG tag is the best?

Because omitting them will prevent the browser from displaying the image, width and height dimensions for images should always be coded. The page will load quicker and the browser will be more effective.

while entering values for an image's height and width attributes?

Height indicates an image's height in pixels. The term width = specifies an image's width in pixels. Use the to set values for an image's height and width attributes.

To know more about attributes visit:-

https://brainly.com/question/28163865

#SPJ4

You are working on a computer with a host name of nntp-9.BoutiqueHotel. What is the NETBIOS name of this computer

Answers

NetBIOS domain name: The DNS domain name is often the parent domain of the NetBIOS domain name. For instance, the NetBIOS domain name is contoso if the DNS domain name is contoso.com.

Windows 10: Where can I locate my NetBIOS name?

You may verify NetBIOS and your Active Directory domain FQDN with a few straightforward command prompt commands. Information is seen when you type nbtstat -n. There will be numerous entries under Name, and one of the Group types will be NetBIOS.

How many characters may a fully qualified domain name (FQDN) have in total?

The host name and fully qualified domain name (FQDN) are limited to 63 bytes per label and 255 characters per FQDN, respectively.

To know more about DNS visit:-

https://brainly.com/question/17163861

#SPJ4

Can someone explain this question & answer to me?

var list = [11, 35, 6, 0];
var sum = 0;

for (var i = 0; i < list.length; i++) {
sum = sum + list[i];
}
sum = sum/list.length;
console.log(sum);

Answers

The code iterates through the list of numbers and adds them up.
The sum is then divided by the length of the list to get a percentage.
The code will iterate through the list of numbers and add them up.
The sum variable is then divided by the number of items in the list to determine the average value.

URGENT: What questions would you ask a USER when in a requirements-gathering session? Multiple answers may be selected.

1. Are there any websites that you like or dislike?
2. What key information do you expect to find on the site?
3. What kind of security would you like to be implemented for the transactions you might do?
4. What might help you to navigate the sire?

Answers

The questions would you ask a user when in a requirements-gathering session are:

2. What key information do you expect to find on the site?

3. What kind of security would you like to be implemented for the transactions you might do?

What is a requirements-gathering session?

The act of developing a list of requirements to explain what a project is about and its aim is known as requirement gathering. Stakeholders, whether clients, employee users, consumers, or vendors, can provide insights.

Requirement gathering is frequently used to create project blueprints. Developers, for example, adjust requirements between iterations.

Therefore, the correct options are 2 and 3.

To learn more about the requirements-gathering session, refer to the link:

https://brainly.com/question/29768295

#SPJ1

Using what you know about variables and re-assignment you should be able to trace this code and keep track of the values of a, b, and c as they change. You should also have a sense of any possible errors that could occur. Trace the code, and choose the option that correctly shows what will be displayed

Answers

According to the question, option a: 10 b: 17 c: 27 accurately depicts what would be revealed.

Which 4 types of coding are there?

It's usual to find languages that are chosen to write in an extremely important, functional, straightforward, or object-oriented manner. These coding dialect theories and models are available for programmers to select from in order for them to meet their demands for a given project.

Is coding difficult?

It is common knowledge that programming is one of the most difficult things to master. Given how different coding is from long - established teaching techniques, which would include higher education degrees in computer science.

To know more about Code visit :

https://brainly.com/question/8535682

#SPJ4

The Complete Question :

Using what you know about variables and re-assignment you should be able to trace this code and keep track of the values of a, b, and c as they change. You should also have a sense of any possible errors that could occur.

Trace the code, and choose the option that correctly shows what will be displayed.

1 var a = 3;

2 var b = 7;

3 var c = 10;

4 a = a + b;

5 b = a + b;

6 c = a + b;

7 console.log("a:"+a+" b:"+b+" c:"+c);

origin encountered an issue loading this page. please try reloading it – if that doesn’t work, restart the client or try again later. I have reinstalled it multiple times, but still have same issue. Any solution?

Answers

Accessing the Origin data folder and deleting the cached files there is one of the most effective fixes for the "Origin Encountered an Issue Loading this Page" error.

Why won't my Origin page load?

Do a Clean Boot and restart your modem and router. Check to see if your UAC is activated and configured to notify. Install the client by downloading the most recent version of Origin and running the setup file with administrative privileges. Specify the Origin in firewall and antivirus exclusions, and open the required ports.

How do I resolve Origin has trouble loading this page?

Try to access the Origin data folder and remove the cache files inside if you want to get rid of the "Origin Encountered an Issue Loading this Page" error.

What happens when the Origin cache is cleared?

Older content is replaced by new content after clearing the origin cache. This occurs as a result of the origin server having fresh data. Therefore, the proxy servers start to cache new content.

To know more about encountered visit:

https://brainly.com/question/30168732

#SPJ4

2. State eight typing keys (8mks)​

Answers

     On a keyboards, the main sequence is the central row where the keys are located. When beginning to write, you rest your fingertips on the home keys. F, D, S, and A are the main keys, and J, K, L, and ; (semicolon) are located on the right side of the keyboard.

c = 7

while (c > 0):
  print(c)
  c = c - 3

Answers

The three of the following will be printed c = 7, while (c > 0):, print(c), c = c - 3 are 0, 1, 7. The correct options are a, b, and g.

What is the output?

Input and output are terms used to describe the interaction between a computer program and its user. Input refers to the user providing something to the program, whereas output refers to the program providing something to the user.

I/O is the communication between an information processing system, such as a computer, and the outside world, which could be a human or another information processing system.

Given: c = 7 while(c > 0): print(c) c = c-3 In the first iteration: 7 is printed after that c becomes 4 Now 4 is greater than 0.

Therefore, the correct options are a. 0 b. 1 and g. 7.

To learn more about output, visit here:

https://brainly.com/question/14582477

#SPJ1

The question is incomplete. Your most probably complete question is given below:

Which three of the following will be printed?

c = 7

while (c > 0):

  print(c)

  c = c - 3

Group of answer choices

0

1

3

4

5

6

7

3. __________is the energy of position. Hint: It is stored energy of an object due to its height that has the ability to become active. Page 259 *

Answers

Potential energy is the energy that an object has due to its position. The energy an object possesses as a result of its motion is referred to as kinetic energy.

What does potential energy mean?

Potential energy is energy that is conserved or stored in a substance or an item. The object or substance's position, organization, or state determines the amount of stored energy. Consider it as energy with the "potential" to do work.

What three types of energy have potential?

Potential energy exists in stones perched on a cliff's edge. The potential energy will be transformed into kinetic energy if the stones fall. High on the tree, branches have the potential to fall, which gives them vitality.

To know more about potential energy visit :-

https://brainly.com/question/24284560

#SPJ4


1.Explain five measures that protect users in the computer laboratory (10mks)

Answers

This chapter covers safe lab techniques, fundamental workplace safety precautions, proper instrument usage, and computer disposal.

What security precautions are in place in the computer lab?

When you are through using the device, turn it off. Never connect external devices without first checking them for malware. Since there are numerous devices and they might rapidly overheat in a lab, it is important to maintain a cool temperature in the space.

What safety measures in laboratories are most crucial?

Put on safety lab gear: As soon as you enter the lab, make sure you are wearing PPE. Before entering the lab, put on a lab coat with long sleeves, closed-toe shoes, and safety goggles. Keep your hair long if you have long hair.

To know more about computer laboratory visit:-

https://brainly.com/question/14751939

SPJ1

Match the term to its definition. 1 . Boot partition The process of installing a new version of software to improve performance 2 . File allocation system Section of a hard drive used for file storage 3 . Upgrade The process of putting software on the computer for use 4 . Installation Method of storing files used by Microsoft 5 . Device driver Section of the hard drive where the operating system program is stored 6 . NT file system Method of storing files used by many different types of computers 7 . Partition Two separate standards used together that define how data is sent and received across a network 8 . System partition Section of the hard drive where the boot loader program is stored 9 . Transmission Control Protocol/Internet Protocol Program that controls a piece of hardware

Answers

A computer is an electronic device that transforms raw data and outputs information.

What is the purpose of electronic computer?Nearly all cutting-edge scientific tools in the realm of modern science use electrical technology. Computers are frequently utilised abroad to facilitate testing, production, and design. Chinese researchers also use electronic computers to do a vast number of difficult computations that are beyond the capacity of humans.These digital computers may be categorised into four groups based on the size and nature of the device: Micro, Mini, Mainframe, and Super computers.A computer is an electronic device that converts unprocessed data into information. An electrical device that takes data as input and changes it in response to a set of specialised instructions known as programmes to create the required output (referred to as Information).

Matched the term to its definition :

1 . NT file system : Method of storing files used by Microsoft

2 . Installation : The process of putting software on the computer for use

3 . Boot partition : Section of the hard drive where the boot loader program is stored

4 . Upgrade : The process of installing a new version of software to         improve performance

5 . File allocation system : Method of storing files used by many different types of computers

6 . Transmission Control Protocol/Internet Protocol : Two separate standards used together that define how data is sent and received across a network

7 . Device driver : Program that controls a piece of hardware

8. Partition : Section of a hard drive used for file storage

9. System partition : Section of the hard drive where the operating system program is stored

Learn more about computer refer to :

https://brainly.com/question/24540334

#SPJ4

Computer file have name that conit of which two part?
bae file name and file name prefix
long file name and hort file name
bae file name and file creation date
bae file name and file name extenion

Answers

Windows file names consist of the file name, a period, and the file extension (suffix). A three- or four-letter shorthand known as the "extension" designates the type of file.

What is a file name the two parts of a filename?Windows file names consist of two parts: the file name and a three- or four-character extension that indicates the file type. These two sections are separated by a period. within costs. For instance, in the file name expenses.xlsx, the file extension is.xlsx.The file's extension informs your computer which programme created or can open the file and which icon to use. For instance, the docx extension instructs your computer to display a Word symbol when you examine the file in File Explorer and that Microsoft Word may open it.The majority of file name extensions work with many programmes that you have installed. The only thing that will change when you change a file's extension is the file name; nothing else will be altered.

To learn more about extension refer :

https://brainly.com/question/28578338

#SPJ4

A network administrator wants to ensure that connections between two servers are split according to usage. Which of the following devices can be used to best accomplish this?
A. bandwidth shaper
B. content switch
C. proxy server,
D. load balancer

Answers

The goal of a network administrator is to make sure that connections between two servers are divided based on utilization. The best way to do this is by using load balancer equipment.

What purposes serve load balancers?

The client's sole point of contact is a load balancer. The load balancer splits up incoming application traffic among many targets, like EC2 instances in various Availability Zones. Your application will be more accessible as a result. Your load balancer receives one or more listeners that you add.

What are load balancers and how do they differ?

The following types of load balancers are supported by elastic load balancing: application load balancers, network load balancers, and classic load balancers. These kinds of load balancers are compatible with Amazon ECS services. HTTP/HTTPS traffic is routed via application load balancers.

To know more about network administrator visit :-

https://brainly.com/question/14093054

#SPJ4

what zone configuration file contains a ptr record used to identify the loopback adapter?

Answers

/var/named/named.local zone configuration file contains a ptr record used to identify the loopback adapter.

What is  the loopback adapter?

When network access is unavailable or you wish to separate your testing network from your primary network, you can utilize the loopback adapter, a dummy network card, as a testing tool for virtual network settings.

What is the use of a loopback adapter?

If you want to connect the computer to a network after the installation, you will need a loopback adapter if you are installing on a non-networked machine. A local IP address is given to your computer when you install a loopback adapter, according to the loopback adapter.

                          If you want to connect the computer to a network after the installation, you will need a loopback adapter if you are installing on a non-networked machine. A local IP address is given to your computer when you install a loopback adapter, according to the loopback adapter.

Learn more about the loopback adapter

brainly.com/question/4464564

#SPJ4

Which of the following is one of the primary advantages to using Active Directory to store DNS information

Answers

The primary advantages to using Active Directory to store DNS information is fault tolerance

Making it possible for domain client computers to locate a domain controller AND for domain controllers to locate one another in order to replicate changes to the Active Directory database is the major goal of DNS for Active Directory (AD).

Some recommendations to keep in mind when designing fault-tolerant systems for the canning department include:

1) To examine the software's dependability

2) To examine the system's redundancy structure for fault tolerance

3) To assess the use of reliability-oriented designs, programming approaches, and methods.

Four) Creating diverse

5) Resources and methods to be applied

6) The dependability of the software and hardware

Your question is incomplete ut most probably your full question was

Which of the following is one of the primary advantages to using Active Directory to store DNS information

a. fault tolerance b. zero configuration c. low maintenanced.

Learn more about dns at https://brainly.com/question/17163861

#SPJ4

The comparison of the present state of a system to its baseline is known as what?
Question 4 options:
a. Baseline reporting
b. Compliance reporting
c. Baseline assessment
d. Compliance review

Answers

Baseline reporting is the process of comparing the current state of a system to its baseline.

What is the name for a network that is purposefully vulnerable?

A honeynet is a network that has been intentionally set up with flaws and is hosted on a phony server to draw in hackers. The main goal is to simulate assaults in order to test network security.

What alternative term would you use to describe a security weakness?

A security vulnerability is a weak point, fault, or mistake discovered in a security system that could be used by a threat agent to penetrate a protected network.

To know more about Baseline visit :-

https://brainly.com/question/30193816

#SPJ4

A new resident in Virginia desiring to register his / her vehicle must obtain a vehicle ____________ certificate and verification of the vehicle ______________ number.

Answers

The starting system enables the driver to switch on an electric motor, solenoid switch, wiring, and battery by turning the ignition key. The lighting, safety systems, and accessories are all powered by the accessory circuits.

What are danger lights used for?

The danger lights on your car perform a crucial job in terms of safety. These lights serve as a warning to other vehicles when used properly. Most of the time, when you flash your danger lights, other drivers assume that your car is stationary and that they should avoid it.

What do yellow warning lights do?

When driving on slick roads, yellow or amber lights frequently signal a lower-level hazard or warning, such as the activation of the traction control system. White, blue, and green lights just indicate the activation of a device, such as the headlights.

To know more about accessories visit:-

https://brainly.com/question/28082899

#SPJ4

When checking to see whether a particular name is registered on the Internet, your computer accesses a database that is kept on a(n) ________ server.

Answers

Answer: DNS

Explanation:

Given the set of element {a, b, c, d, e, f} stored in a list, show the final state g of the list, assuming we use the move-to-front heuristic and

Answers

Self-Organizing list according to a certain sequence applying move-to-Front algorithm. Output of the different states of the list including the final state is shown.

Python code

from __future__ import print_function

#Define variables

inpt = 'abcdefacfbde'

seq = list('abcdef')

sq, p = [], seq[::]

ss = 0

if __name__ == '__main__':

   print("Self-Organizing Lists applying move-to-Front algorithm")

   print("Define sequence pattern: ", seq[:])

   print("")

   print("Access sequence")

   for s in inpt:

       ss+=1

       for x in seq:

 #applying move-to-Front algorithm

           idx = p.index(x)

           sq.append(idx)

           p = [p.pop(idx)] + p

           if p[0] == s:

 #output sequence

               print("seq:",ss, ": ", p)

               lst = (p[len(p)-1])

               sp = p

   sp.append(lst)

   print("Final state of the list: ", sp )

   

To learn more about Self-Organizing list see: https://brainly.com/question/6362941

#SPJ4

 

To analzye various alternative scenarios, a manager would use _______.
a. the spreadsheet's 'what-if' capability
b. the graphing features of spreadsheet software
c. the reporting feature of a BI tool
d. a data visualization tool

Answers

The 'what-if' feature of the spreadsheet would be used by the management to assess numerous potential scenarios.

used to search through enormous amounts of data for hidden patterns that can be utilized to forecast future trends?

Large data sets are sorted through using a technique called data mining to find patterns and relationships that may be used to analyze data and find answers to business challenges. Businesses can foresee future trends and make more educated business decisions thanks to data mining techniques and tools.

Which of the following will be a fact measure in a data cube utilized at a chain retail establishment?

The revenue for a chain retail business is typically the fact measure in a data cube (example: Indiana's second-quarter revenue of $900 from sales of pants).

To know more about spreadsheet visit :-

https://brainly.com/question/8284022

#SPJ4

The process of sending print jobs from the print queue to the printer is called? a. spooling b. queuing c. redirecting d. printing.

Answers

Printing is the action of sending print jobs from the print queue to the printer.

Which of the following describes a print server's role?

By establishing a network connection with the server, computers may interact with nearby printers. The print server guards printers from overloads. It manages the allocation of ’s due to devices and queues them in order to maintain orderly operation and avoid overloading printer hardware.

The message is produced using the print() method to a standard output device, such the screen. The message can be a phrase or any other object, and the object will be converted to a string before it is presented on the screen.

To know more about Print server's, refer:

brainly.com/question/29738751

#SPJ4

As part of clinical documentation improvement, a patient case review resulted in the determination that a patient's previous hospital discharge was inappropriate because the patient was transported back to the hospital via ambulance and admitted through the emergency department within three days of the previous discharge; this process is called a __________ audit.

Answers

Within three days of the previous release; this procedure is known as a readmission audit.

For an osteoporosis diagnosis, which code would be considered a medical necessity?

The WHO classifies ICD-10 code Z13. 820, Encounter for osteoporosis screening, as a medical condition that falls under the heading of "Factors influencing health status and interaction with health services."

What kind of code should be used to record a patient's disease, injury, or medical condition?

The state of the patient and the diagnosis made by the doctor are represented by ICD codes. These codes are employed in the billing procedure to establish medical necessity. Coders must ensure that the procedure they are billing for is appropriate given the provided diagnosis.

To know more about readmission audit visit :-

https://brainly.com/question/29979411

#SPJ4

If data takes up more than one line in a cell, ____.
a. you must manually reconfigure the cell height
b. some text will not appear
c. Word automatically wraps the text to the next line and increases the height of the row
d. Word moves the text into a new cell

Answers

c. Word automatically moves the text to the following line and makes the row taller.

Can you type while dragging the entry point to the a cell in a table to enter data?

Moving the entry point to a column and typing allow you to input data into a table.The easiest way to pick a specific area of a table is to drag the mouse pointer over the columns and rows.The insertion point changes to a new spot on the horizontal ruler when users press the Tab key, which is known as a tab stop.

How can I ignore several mistakes in Excel?

Launch your Excel workbook.Pick out the cell (and cells) that the error messages are displayed in.When the cells are chosen, click the caution icon which appears next to them.Choose Ignore Error from the drop-down menu.

To know more about Word visit:

https://brainly.com/question/28611

#SPJ4

______ is a set of function and call programs that allow clients and servers to intercommunicate. Select one: a. IaaS b. SQL c. API d. Middleware

Answers

Clients and servers can connect with one another thanks to the IaaS suite of function and call programs. (Selection a)

Is there such a thing as intrapersonal?

A key concept in psychology is what is known as the intrapersonal, which refers to internal elements that affect a person, such as their attitudes, self-esteem, self-regulation, and decision-making. The word intrapersonal communication frequently makes use of it.

Are those who are intrapersonal intelligent?

Knowing one's inner self, including one's sentiments, range of emotional reactions, thought processes, and capacity for self-reflection, is a key component of the SELF SMART approach. We can take a step back and view ourselves objectively thanks to this intellect.

To know more about Intercommunicate visit:

https://brainly.com/question/8178248

#SPJ4

For this assignment, you will create a calendar program that allows the user to enter a day, month, and year in three separate variables as shown below.

Please enter a date
Day:
Month:
Year:
Then, your program should ask the user to select from a menu of choices using this formatting:

Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days passed in the given year.
If a user chooses option one, the program should display how many days are in the month that they entered. If a user chooses option two, the program should display how many days have passed in the year up to the date that they entered.

Your program must include the three following functions:

leap_year: This function should take the year entered by the user as a parameter. This function should return 1 if a year is a leap year, and 0 if it is not. This information will be used by other functions. What is a Leap Year? (Links to an external site.)
number_of_days: This function should take the month and year entered by the user as parameters. This function should return how many days are in the given month. (Links to an external site.)
days_passed: This function should take the day, month, and year entered by the user as parameters. This function should calculate the number of days into the year, and return the value of number of days that have passed. The date the user entered should not be included in the count of how many days have passed.
Hints
Start by defining your variables, using comments. You will need a separate variable for day, month, and year that store numbers input from the user.
Make sure to name your three functions exactly as they are named above, and pass the parameters exactly in the order specified below:
leap_year(y)
number_of_days(m, y)
days_passed(d, m, y)
Once you have a function that calculates whether a year is a leap year, that function should be called within your number_of_days() function. February can have either 28 or 29 days, so your number_of_days() function needs to take into account whether or not it is a leap year.
Once you have a function that calculates the number of days in a given month, that function should be called within your days_passed() function. Different months have different numbers of days, so your days_passed() function needs to take into account what month of the year it is.

Sample Run 1
Please enter a date
Day: 5
Month: 5
Year: 1984
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days passed in the given year.
1
31

Sample Output 1
Please enter a date
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days passed in the given year.
31

Sample Run 2
Please enter a date
Day: 21
Month: 6
Year: 2016
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days passed in the given year.
2
172

Sample Output 2
Please enter a date
Menu:
1) Calculate the number of days in the given month.
2) Calculate the number of days passed in the given year.
172

Answers

Answer:

hummm i have the same work i got a A

is this it is

Explanation:

For this assignment, you will create a calendar program that allows the user to enter a day, month, and year in three separate variables as shown below. Please enter a date Day: Month: Year: Then, your program should ask the user to select from a menu of choices using this formatting: Menu: 1) Calculate the number of days in the given month. 2) Calculate the number of days passed in the given year. If a user chooses option one, the program should display how many days are in the month that they entered. If a user chooses option two, the program should display how many days have passed in the year up to the date that they entered. Your program must include the three following functions: leap_year: This function should take the year entered by the user as a parameter. This function should return 1 if a year is a leap year, and 0 if it is not. This information will be used by other functions. What is a Leap Year? (Links to an external site.) number_of_days: This function should take the month and year entered by the user as parameters. This function should return how many days are in the given month. (Links to an external site.) days_passed: This function should take the day, month, and year entered by the user as parameters. This function should calculate the number of days into the year, and return the value of number of days that have passed. The date the user entered should not be included in the count of how many days have passed. Hints Start by defining your variables, using comments. You will need a separate variable for day, month, and year that store numbers input from the user. Make sure to name your three functions exactly as they are named above, and pass the parameters exactly in the order specified below: leap_year(y) number_of_days(m, y) days_passed(d, m, y) Once you have a function that calculates whether a year is a leap year, that function should be called within your number_of_days() function. February can have either 28 or 29 days, so your number_of_days() function needs to take into account whether or not it is a leap year. Once you have a function that calculates the number of days in a given month, that function should be called within your days_passed() function. Different months have different numbers of days, so your days_passed()

gabriel just got hired to be in charge of all social media presence for Gibson's doughnut shop

Answers

Gabriel should be building deeper customer relationships and positive word-of-mouth communication. Building deeper customer relationships means creating a connection with the customers that goes beyond just selling them doughnuts.

It can involve getting to know them, understanding their needs and preferences, and creating a sense of community. By fostering deeper relationships with customers, Gibson's doughnut shop will be able to retain their customers and attract new ones through positive word-of-mouth communication. Positive word-of-mouth communication refers to when customers talk about their experiences with the shop to their friends and family, which can have a significant impact on the shop's reputation and success.

The missing part in the question is shown below.

Gabriel just got hired to be in charge of all social media presence for Gibson's doughnut shop. His two ultimate goals for the shop's social media presence (according to your text) should be building deeper customer relationships and

Post humorous content

Get more retweets

Responding to complaining customers

Get more followers

Positive word-of-mouth-communication

Learn more about social media, here https://brainly.com/question/29036499

#SPJ4

Other Questions
Which of the 5 strategies do you think is most effective at limiting government power? Why? Options: Bill of rights, Federalism, Popular Sov, Checks and Balances, or Sep. of Powers The main reason that there is no exact definition of the due process guarantees is that the? What is the sound of I Wandered Lonely as a Cloud? which teaching strategy would be most helpful for students who confuse the sounds /f/ and /th/ in their own speech? A normal or narrow QRS complex indicates that the impulse was not formed in the ventricles and is termed: After Warren's right hand was paralyzed, the somatosensory cortex area that had processed sensations of touch from that hand gradually began to process touch sensations from his lower right arm. This best illustrates the consequences of a patient with ulcers in the mouth is compalining of pain. How would the nurse most likely classify this pain Does driving to and from work count as a business expense? How many one-cup servings of milk are in a two-liter bottle? Round your answer to the nearest tenth.____________one-cup servings a) which group has lower mode.b) what is this mode? You own a portfolio equally invested in a risk-free asset and two stocks. One of the stocks has a beta of 1.22 and the total portfolio is equally as risky as the market. What must the beta be for the other stock in your portfolio purchased goods from laxman from Rs 60000 In the short story 'The Crysanthemums," by John Steinbeck, what does theauthor use to provide the reader with clues about Henry's character? 10. Jim estimates the width of his wall to be 7.5 feet. The actual wall measures 8.25 feet wide. What isJim's percent error? 9.Which must pass through the state probate court system?O A. Testamentary trustO B. Living trustO C. Pour-over trust Activity : Imagine that you are reporting the evening news in Rome on the day that the fire is finally put out. Write an account of the events that reports both the facts and the rumors in an unbiased, objective way.Help please Mason invested $65,000 in an account paying an interest rate of 4. 6% compounded annually. Assuming no deposits or withdrawals are made, how long would it take, to the nearest year, for the value of the account to reach $142,200? Which of the following is not part of a flower?a. petalb. rootC. stamend. anther please, if you write an absurd anwser i will report it lay a game of rolling a 6-side dice: for each roll, you can get the face value or reroll it, and you can roll it three times at most. Suppose you are a rational person, how munch would you pay for this game