Answer:
Client-server
Explanation: The client-server model is a type of model or architecture in which a client (Customer) requests for services from another known as the server which serves as the service provider.
In the client-server architecture, the database resides in the back end machine, from where services can be rendered to the client or users.
Answer:
Client-Server Model
Explanation:
The Client-Server model structure divides tasks between clients, which are the the requesters of services, and servers, which are the providers of services or resources.
Information or data, is usually stored securely in the backend or server machine. Users then access these information by communicating with the server over a computer network.
Example is when a user requests a webpage using a website's address. The server gets the request from the client and finds the page in the database residing in the backend, then serves it up to the user when found.
Which of the following is true regarding items that are orange on TopHat?a. They are set to review b. You cannot answer the questions for credit but can review the answers c. Interacting with these items has no impact on your grade d. All of the above
Answer:
d. All of the above
Explanation:
Top Hat is a online tool to that the teachers use to interact and teach their students. It is one of the student engagement platform which the professors use it inside as well as outside of the classroom.
It provides the lecture tool which tracks the attendance of the students, asks them questions, features the interactive slides and also manages the classroom discussions.
The items which are identified as a orange icon on TopHat is for review and see the item content or assignment. It means that you have access it outside the class room and your item is only for review and it will not be graded.
Through which of the devices listed are we able to connect to wireless networks? Check all that apply.
Answer:
All the devices enable us to connect to wireless networks.
Explanation:
The complete question is...
Through which of the devices listed are we able to connect to wireless networks? Check all that apply.
Antenna
Smart TV
Telephone
Radio
Antenna allow us connect to wireless microwave signals either terrestrial or satellite based.
Smart TV allows wireless connection to the internet.
Modern digital telephones known as 'mobile phones' allows wireless connection between users.
Modern radios use digital wireless network to terrestrial and satellite transmitters.
We can connect to wireless networks via radios and antennas.
What is the aim of wireless networks?A wireless network is known to be a type of network that helps to connects computers without the used of network cables.
Note that Computers often uses radio communications to transmit data between one another. A person can communicate directly with other wireless computers via a wireless radios and antennas..
See options below
Check all that apply.
Antenna
Smart TV
Telephone
Radio
Learn more about wireless networks from
https://brainly.com/question/26956118
Which the following is NOT a reason why it is difficult to defend against today's attackers? a. increased speed of attacks b. simplicity of attack tools c. greater sophistication of defense tools d. delays in security updating
Answer:
The correct answer to the question is OPTION C "greater sophistication of defense tools"
Explanation:
An attacker is the individual or organization whose activities are illegal because they usually aim at ''stealing" people's information or getting access to their accounts without prior knowledge of the victim.
Atimes, website developers make mistakes thereby exposing files on the web server outside of the directory of the website. This files are readable by attackers who capitalize of the mistake who use command injection to carryout an attack, while some attackers use scripts or programs developed by others to attack computer systems and networks.
increased speed of attacks makes it difficult to secure computers from attackers beacause, attackers use modern simple tools that are fast such that it can quickly scan systems for weaknesses and expose the vulnerability to carryout an attack.
Describe three (3) software packages that can be used to capture data?
Answer:
SingleClick
SingleClick is an Optical Character Recognition (OCR) tool that can be used to capture machine produced characters in low volume ad-hoc capture applications and populating a line of business application.
OCR (Optical Character Recognition)
OCR as a technology provides the ability to successfully capture machine produced characters in preset zones or, full page. OCR systems can recognise many different OCR fonts, as well as typewriter and computer-printed characters. Dependent upon the capabilities of the particular OCR product, this can be used to capture low to high volumes of data, where the information is in consistent location(s) on the documents.
ICR (Intelligent Character Recognition)
ICR is the computer translation of hand printed and written characters. Data is entered from hand-printed forms through a scanner, and the image of the captured data is then analysed and translated by sophisticated ICR software. ICR is similar to optical character recognition (OCR) but is a more difficult process since OCR is from printed text, as opposed to handwritten characters.
(copied from Google)
; )
If you’re storing some personal information like Debit/Credit card numbers or Passwords etc, on different sites for running you’re E-business. Do you think that cookies are stored and maintain such information on the server-side and hackers can''t steal user''s information from these cookies easily? Do you agree with the above statement? Please give short comments in favor of or against the statement.
Answer:
hacker can steal your data in many ways.
Explanation:
if you allow cookie site for fake websites. It can absolutely be possible.
What line of code will import matplotlib?
-run command prompt as admin
- install python if you have not
- type "python -m pip install pip"
- and then " python -m pip install matplotlib"
-run command prompt as admin
- install python if you have not
- type "python -m pip install pip"
- and then " python -m pip install matplotlib"
The functions of mat plot lib enable it to function similarly to MATLAB. Each function modifies a figure in some way, such as by producing a figure, a plotting region within a figure, some lines within a plotting area, labelling the plot, etc.
Mat plot lib would be useless for processing numbers if it could only deal with lists. In arrays, you typically use integers. In actuality, all sequences undergo internal array conversion. The example that follows shows how to use arrays to draw multiple lines with various format styles in a single function call.
To know more about mat plot lib visit:
brainly.com/question/15705875
#SPJ6
What are the advantages, strengths and/or weaknesses of remote access methods and techniques such as RADIUS, RAS, TACACS+ and VPN?
Answer:
they store authentication details in the remote server and its retrieval is encrypted. But it can also be very slow when the network signal is down.
Explanation:
Private IP network like in a small or enterprise company needs access control methods to prevent unwanted access to files by unauthorized employees. The regular router ssh authentication is good for a small company but it has no backup storage to hold user login details and easily be hacked by attackers. So the AAA policy is adopted to prevent this. it stands for authentication, authorization and accounting, and uses protocols like the RADIUS, TACAS+, VPN, etc, to prevent unwanted access. it is fast and saves all the login details of all the employees in the network, but experiences slow or no authentication when network is down.
I'LL GIVE BRAINLIEST Program to total all numbers in a list: Create an empty list Ask user to enter a number to add to the list. Continue to ask user to enter a number and continue adding the number to the list until user enter “stop” Add all the numbers in the list and display the total
Answer:
numberlist = []
str = ""
while str != "stop":
str = input("Enter a number: ")
if str != "stop":
try:
numberlist.append(float(str))
except:
print("Ignoring", str)
print("The sum is ",sum(numberlist))
Explanation:
This solution also supports floating point numbers!
Answer:
Explanation:
list = []
while True:
num = input("Enter a number: ")
if num == "stop":
break
list.append(int(num))
total = 0
for i in list:
total += i
print(total)
Use the _____ and _____ features to prevent field columns from showing or to view two nonadjacent field columns for comparison.
Answer:
1. hide
2. freeze
Explanation:
A database such as SQL is considered as a well-structured group of information that is managed in a computer or server for easy access when needed to call upon.
Therefore, in any given database management, a lot of tasks can be done, among other several other features available is the HIDE and FREEZE functions.
Hence, a user can use the HIDE and FREEZE functions to prevent field columns from showing or to view two nonadjacent field columns for comparison in database management.
Hence, in this case, the correct answer to the statement presented is to HIDE and FREEZE
Which of the following would allow for the QUICKEST restoration of a server into a warm recovery site in a case in which server data mirroring is not enabled?a. Full backupb. incremental backupc. Differential back upd. Snapshot
Answer: C. Differential backup
Explanation: There are several ways od ensuring the preservation and storage of data even cases of disaster, one of such ways is data data mirroring which allows data to be replicated or copied in real time and several backup options. In cases where there there is need to restore a server, the warm recovery site provides a data or disaster recovery option used to mitigate the effect of data loss on organization. In the absence of data mirroring, differential backup option, provides the quickest recovery option as it only requires changes in the data stored after the last full backup. These speed experieced should be expected due to the relatively low data been dealt with rather than the entire data.
Steganography renders the message un-intelligible to outsiders by hiding it in a picture or other document.A. TrueB. False
Answer:
A. True.
Explanation:
The word Steganography is from the Greek word "Steganographia" where "Stego" means cover or concealed and "Graphia" means text/writing.
Steganography can be defined as data that is hidden within data. This simply means that, it is a cybersecurity technique used to hide information in another information and concealing the fact that a communication is in action or taking place.
In Computer science, Steganography is an encryption technique which is used alongside cryptography to cover or conceal the existence of a message (text) and render it un-intelligible to outsiders by transforming the message (text). Therefore, it is generally considered to be an extra-secure method to protect data from unauthorized access, use or piracy of copyright information. It is commonly used for audio, video and image files.
Hence, Steganography renders the message un-intelligible to outsiders by hiding it in a picture or other document.
On the planet Sigma, robots excavate chunks of a very precious cristaline. These chunks can be divided into smaller part only on the Earth. Once a month, a spaceship comes to Sigma to bring cristaline to the Earth. The spaceship cannot take more than k pounds of the load. Naturally, it is desirable to take as much cristaline as the spaceship can.
Required:
a. Write an algorithm that will allow bringing the maximal amount of cristaline to the Earth. Prove that it is correct and estimate its time complexity.
b. Write an efficient algorithm that will allow bringing the maximal amount of cristaline to the Earth. Prove that it is correct and estimate its time complexity.
Answer:
Start the algorithm and check the weight of the ship. Load the crystalline to the ship. Check to see if the ship weighs ship weight + k pound crystalline, if less, add more crystalline. If excess, remove the excess crystalline, but if the weight meets the condition, then take off with the loaded ship to planet sigma.
Explanation:
The algorithm continuously checks the weight of the ship on loading with the calculated sum of the ship and k pound crystalline weight. The ship is able to load the correct maximum amount of crystalline to the planet sigma.
Using the format method, fill in the gaps in the convert_distance function so that it returns the phrase "X miles equals Y km", with Y having only 1 decimal place. For example, convert_distance(12) should return "12 miles equals 19.2 km".
1 an AWN def convert_distance (miles): km = miles * 1.6 result = "{} miles equals {_} km". _ return result 7 8 print(convert_distance(12)) # should be: 12 miles equals 19.2 km print(convert_distance(5.5)) # should be: 5.5 miles equals 8.8 km print(convert distance(11)) # Should be: 11 miles equals 17.6 km
Answer:
Add this statement to the code using format method:
result = "{} miles equals {:.1f} km".format(miles,km)
Explanation:
Here is the complete program:
def convert_distance (miles):
km = miles * 1.6
result = "{} miles equals {:.1f} km".format(miles,km)
return result
print(convert_distance(12))# should be: 12 miles equals 19.2 km
print(convert_distance(5.5)) # should be: 5.5 miles equals 8.8 km
print(convert_distance(11)) # Should be: 11 miles equals 17.6 km
The format() method is used to format the values of the specified parameters and insert the formatted values into the curly brackets which are called placeholders. The parameters of format() method here are miles and km . The first placeholder is for formatted value of miles variable and second placeholder is for formatted value of km variable. Note that placeholder for km has {:.1f} which means the value of km is rounded to 1 decimal place. For example if the value is 19.23245 then it is displayed up to 1 decimal place as: 19.2
The above program has a method convert_distance that takes miles as parameter and converts the value of miles to km by formula:
km = miles * 1.6
It then displays the output in the specified format using format() method. Now lets take an example:
print(convert_distance(5.5))
The above statement calls the method by passing the value 5.5 So,
miles = 5.5
Now the function converts this value to km as:
km = miles * 1.6
km = 5.5 * 1.6
km = 8.8
Statement: result = "{} miles equals {:.1f} km".format(miles,km) becomes:
{} first place holder holds the value of miles i.e. 5.5
{} second place holder holds the value of km up to 1 decimal place i.e. 8.8
Hence it becomes:
5.5 miles equals 8.8 km
So return result returns the result of this conversion.
Hence the output is:
5.5 miles equals 8.8 km
The program and its output is attached.
The format method is used to substitute and format output data before they are eventually printed.
The complete statement using the format method is:
result = "{} miles equals {:.1f} km".format(miles,km)
From the question, we understand that the program is to output the converted distance to 1 decimal place.
The function definition receives miles as its argument, while the equivalent distance in kilometers is calculated within the function.
So,
The first blank will be left empty, to output miles unformattedThe second blank will be filled with :.1 , to output km formatted to 1 decimal placeThe third blank will be filled with the output variables i.e. format(miles,km)Read more about format methods at:
https://brainly.com/question/19554596
What feature of a server makes it a potential and likely target of hacker attacks?
Answer:
The feature of a server that makes it a potential and likely target of hacker attacks is it network capability.
Hackers are interested in attacking as many computers as possible. Therefore, their best target is a server that serves the networked resources, computers, and systems. From that point, their malwares can be distributed easily and smoothly to unsuspecting computer stations so that they in turn start replicating the malware and also malfunction.
Explanation:
Bear in mind that a server manages all network resources. The storage capability resides in a server. The security settings are usually installed in the server to serve all networked devices and systems. It is from the server that all systems are administered. Servers are usually dedicated to their server roles and nothing else.
in what ways are hardware and software different? in what ways are the the same?
Answer:
ANSWER FOR IT!
Explanation: Computer hardware is any physical device used in or with your machine, whereas software is a collection of programming code installed on your computer's hard drive. In other words, hardware is something you can hold in your hand, whereas software cannot be held in your hand.
Answer:
Computer hardware is any physical device used in or with your machine, whereas software is a collection of programming code installed on your computer's hard drive. In other words, hardware is something you can hold in your hand, whereas software cannot be held in your hand.
Similarities between Hardware and Software Development
They have behavior: Users interact with the products in various ways, products interact with other products, and products produce outputs given inputs
They have functional (user-facing) and non-functional (non-user-facing) requirements
They are complex: Any representation of product specifications invariably leads to a tree structure, as major features are decomposed into finer-grained features
Thanks 4 asking ur question. Hope u got it well!!
Which of the following is a system scanning tool that scans workstations and servers running Microsoft Windows operating systems?a. Windows Security Updater (WSU)b. Microsoft Updatec. Microsoft Baseline Security Analyzer (MBSA)d. Windows Firewall
Answer:
Microsoft Baseline Security Analyzer
Explanation:
What is a cyber community, and when am I a part of it?
Answer:
A cyber community is a virtual community that includes one or more groups of people. Cyber communities can be open to anyone or to a select group of people, but they often fulfill a need people have to form friendships and romantic relationships or to talk with others about certain issues or topics.
Effective collaboration requires a proactive and holistic strategy that integrates business goals and technology potential.
a) true
b) false
Answer:
a) true
Explanation:
Effective collaboration is a form of business organization strategy that is utilized by various firms, which is based on carrying out better collaborative or synergy software and proposes a visionary and holistic technique that incorporates company objectives and technology capability.
Hence, in this case, it is TRUE that effective collaboration requires a proactive and holistic strategy that integrates business goals and technology potential.
______________ is any strategy that tricks a user into giving up his or her password or granting access to an attacker.
Answer:
Social engineering.
Explanation:
kendra is worried about the difference between a security procedure and a baseline. what is the correct definition of eadch
Answer:
The answer is below
Explanation:
Security Procedure is a term often used in Computer Science, to describe strategies and techniques employed in confirmation or recognizing differences in electronic data of various individuals. It involves the application of codes and other sequential calculations to carry out this procedure.
While baseline is a term often used in computer to describe a set of characteristics of a product or a form of the reference point in which comparison can be made for various products of similar characteristics. It can also mean the starting point of project work.
Name two ways you can access word help ?
Click File in any Office app, then click the familiar '?' button in the top right corner. Alternatively, you can open the Help Viewer window for the Office app you're working on at any time by pressing the F1 function key.
What is word help?Microsoft Word allows you to easily create simple word processing documents such as letters and reports, as well as add color and clip art.
Writing in different fonts and sizes, as well as using tables, borders, and bullet formatting, reduces monotony and increases productivity.
Microsoft Word is a word processing program that can create simple and complex documents.
The help feature within applications is usually the quickest and simplest way to get assistance.
Access it in Windows by pressing F1 from within the application, or by selecting the question mark near the top of the screen.
In macOS, for example, if you're in Word, you can select Word Help from the Help menu.
Thus, this way, one can access help in word.
For more details regarding word processing, visit:
https://brainly.com/question/984965
#SPJ2
How many bits would be needed to count all of the students in class today? There are 5 children in the class.
To represent the 5 children as a computer bit, we make use of the equation [tex]2^b = n[/tex]. 3 bits are required to represent the 5 children.
Given that
[tex]n = 5[/tex] ---- number of children
The number of bits (b) is calculated as:
[tex]2^b = n[/tex]
Substitute 5 for n
[tex]2^b = 5[/tex]
Take logarithm of both sides
[tex]\log(2)^b = \log(5)[/tex]
Apply law of logarithm
[tex]b \times \log(2) = \log(5)[/tex]
Make b the subject
[tex]b = \frac{\log(5)}{\log(2)}[/tex]
[tex]b = 2.32[/tex]
The number of bits must be an integer. So, we use the greatest integer closest to 2.32. The integer is 3
So:
[tex]b=3[/tex]
Hence, the number of bits to represent the 5 children is 3.
Read more about bits at:
https://brainly.com/question/5046303
External network security threats can include management failure to support organization-wide security awareness, inadequate security policies, and unenforced security procedures.
A. True
B. False
Answer:
B. False
Explanation:
External security threat can be defined as any threats coming outside the company's computer network operation, usually carried out with negative or hostile intent for the purpose of stealing information or distracting the flow of operation. For example, Virus Attack
However, given that the question talked about the "management failure to support organization-wide security awareness, inadequate security policies, and unenforced security procedures."
Hence, this is not an External Security Threat, which means, the correct answer is FALSE.
Encrypt the message ENCRYPTION using a tabular transposition cipher with encryption keyword ONE. If necessary, pad the message with A's. Use only capital letters in your answer. Do not use spaces in your answer.
Answer:
Encrypted message: CPONYIERTN
Explanation:
Message = ENCRYPTION
keyword = ONE
keyword ONE is of length 3 so the rows are of length 3
Permutation is given by the alphabetical order of the letters in the keyword ONE. Here E appears first in alphabet, then comes N and in last comes O so the order would be 321.
Now the message ENCRYPTION is written in tabular form with width of the rows defined by a keyword ONE
O N E
3 2 1
E N C
R Y P
T I O
N
Now this message is read by the column in alphabetic order of the keyword ONE.
Since alphabetic order of E is 1 so the column under E is read first which has the letters:
CPO
Then column under N is read which has the letters:
NYI
In the last the column under O is read which has the letters:
ERTN
So the encrypted message is:
CPONYIERTN
Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250
Answer:
The program written in Python is as follows:
user_num = int(input("Number: "))
x = int(input("x: "))
for i in range(1,4):
user_num = user_num/x
print(user_num," ")
Explanation:
This line gets user_input from the user
user_num = int(input("Number: "))
This line gets x from the user
x = int(input("x: "))
This line iterates from 1 to 3
for i in range(1,4):
This line divides user_num by x
user_num = user_num/x
This line prints the result of the division
print(user_num," ")
How can you determine which package is better: openssh-server-5.3p1-118.1.el6_8.x86_64 or openssh-server-6.6p1-1.el6.x86_64
Answer:
The best by the concept of the newest is the better is the openssh-server-6.6p1-1.el6.x86_64.
Explanation:
The openssh-server-5.3p1-118.1.el6_8.x86_64 and the openssh-server-6.6p1-1.el6.x86_64 are named version of a server which is the openssh- server.
The first server is the later version is the 5.3p1 version( which is seen after the server name ), while the former is the 6.6p1 version. They both use the Linux operating systems version RHEL 6 and 6.8 and are for 32-bit and 64-bit computers (.x86_64).
So, judging by the newest, the version 6.6 is the better server of the two.
Why is two way communication important for the new communications network?
Answer:
The answer is below
Explanation:
Two way communication is a form of communication in which both the sender and receiver exchanges messages over a medium of exchange, which could be through mails, email, telephones etc.
Therefore, Two way communication is important for the new communications network based on various reasons, amongst which are:
1. It serves as medium or means of getting feedback from consumers on what they want concerning services.
2. It helps to get or samples opinions of the targeted audience's needs.
3. It enhances the customers - service providers' cordial relationship in terms of quality service delivery.
Write an expression that continues to bid until the user enters 'n'.
Sample output with inputs: 'y' 'y' 'n'
I'll bid $7!
Continue bidding? I'll bid $15!
Continue bidding? I'll bid $23!
Continue bidding?
1 import random
2 random.seed (5)
3
4 keep going
5 next bid = 0
6
7 while Your solution goes here
8 next bid next bid + random.randint(1, 10)
9 print(' ll bid x ' (next bid))
10 print('cohtinue bidding?', end-
11 keep going input
ACTIVITY 53.3. While loop: Insect growth
Given positive integer num_insects, write a while loop that prints that number doubled up to, but without exceeding 100. Follow each number with a space.
Sample output with input:
8 8 16 32 64 1 nu
1 insects = int(input()) Must be
2
3 Your solution goes here
Answer:
1)
Add this while statement to the code:
while(keep_going!='n'):
#the program keeps asking user to continue bidding until the user enter 'n' to stop.
2)
Here is the code for ACTIVITY 53.3. While loop: Insect growth:
num_insects = int(input())
while num_insects <= 100:
print(num_insects, end=' ')
num_insects = num_insects * 2
Explanation:
Here is the complete code for 1)
import random
random.seed (5)
keep_going='-'
next_bid = 0
while(keep_going!='n'):
next_bid = next_bid + random.randint(1, 10)
print('I\'ll bid $%d!' % (next_bid))
print('continue bidding?', end='')
keep_going = input()
Here the the variable keep_going is initialized to a character dash keep_going='-'
The statement keep_going = input() has an input() function which is used to take input from user and this input value entered by user is stored in keep_going variable. while(keep_going!='n'): is a while loop that keeps iterating until keep_going is not equal to 'n'. print('continue bidding?', end='') statement prints the continue bidding? message on the output screen. For example the user enters 'y' when this message appears on screen. So keep_going = 'y' . So the operation in this statement next_bid = next_bid + random.randint(1, 10) is executed in which next_bid is added to some randomly generated integer within the range of 1 to 10 and print('I\'ll bid $%d!' % (next_bid)) prints the result on the screen. Then the user is prompted again to continue biffing. Lets say user enters 'n' this time. So keep_going = 'n'. Now the while loop breaks when user enters 'n' and the program ends.
2)
num_insects = int(input()) #the user is prompted to input an integer
while num_insects <= 100: #the loop keeps iterating until value of num_insects exceeds 100
print(num_insects, end=' ') #prints the value of num_insects
num_insects = num_insects * 2 #the value of num_insects is doubled
For example user enters 8. So
num_insects = 8
Now the while loop checks if this value is less than or equal to 100. This is true because 8 is less than 100. So the body of while loop executes:
print(num_insects, end=' ') statement prints the value of num_insects
So 8 is printed on the screen.
num_insects = num_insects * 2 statement doubles the value of num_insects So this becomes:
num_insects = 8 * 2
num_insects = 16
Now while loop checks if 16 is less than 100 which is again true so next 16 is printed on the output screen and doubled as:
num_insects = 16 * 2
num_insects = 32
Now while loop checks if 32 is less than 100 which is again true so next 32 is printed on the output screen and doubled as:
num_insects = 32 * 2
num_insects = 64
Now while loop checks if 64 is less than 100 which is again true so next 64 is printed on the output screen and doubled as:
num_insects = 64 * 2
num_insects = 128
Now while loop checks if 128 is less than 100 which is false so the program stops and the output is:
8 16 32 64
The programs along with their output is attached.
Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different people (Person 1, Person 2, ..., Person 10) Once the data has been entered the program must analyze the data and output which person ate the most pancakes for breakfast.
Answer:
The program written in python is as follows
persons = []
most = 0
personindex = 0
for i in range(1,11):
print("Person ",i)
pancake = int(input(": "))
persons.append(pancake)
if pancake > most:
most = pancake
personindex = i
print("Person ",personindex," ate most pancakes")
Explanation:
This line initializes an empty list
persons = []
This line initializes variable most to 0
most = 0
This line initializes variable personindex to 0
personindex = 0
This line iterates from 1 to 10
for i in range(1,11):
The next two line prompts user for input
print("Person ",i)
pancake = int(input(": "))
This line inserts the user input to the created list "persons"
persons.append(pancake)
The next if statement checks for the person with the most pancakes
if pancake > most:
most = pancake
personindex = i
This line prints the person with most pancakes
print("Person ",personindex," ate most pancakes")
Statisticians would like to have a set of functions to compute the mean, median and mode of a list of numbers. The mean is the average of the numbers in the list. The median is the number that would appear at the midpoint of a list if it were sorted. The mode is the number that appears most frequently in the list. Define these functions. Please use the starter code stats.py. Expected output: List: [27, 5, 18, 66, 12, 5, 9] Mode: 5 Median: 12 Mean: 20.285714285714285
Answer:
Python Programming Language
import statistics
mylist = [27, 5, 18, 66, 12, 5, 9]
print("Mode: ",statistics.mode(mylist))
print("Median: ",statistics.median(mylist))
print("Mean: ",statistics.mean(mylist))
Explanation:
This line imports stats.py into the program
import statistics
This line defines a list (The example list in the program)
mylist = [27, 5, 18, 66, 12, 5, 9]
This line uses the defined function to calculate and print the mode
print("Mode: ",statistics.mode(mylist))
This line uses the defined function to calculate and print the median
print("Median: ",statistics.median(mylist))
This line uses the defined function to calculate and print the mean
print("Mean: ",statistics.mean(mylist))