Python can be used to implement central of tendencies such as mean, median and mode using the statistic module
The program in Python, where comments are used to explain each line is as follows:
#This imports the statistics module
import statistics
#This defines the function that calculates the mode
def calcMode(myList):
#This prints the mode
print(statistics.multimode(myList))
#This defines the function that calculates the median
def calcMedian(myList):
#This prints the median
print(statistics.median(myList))
#The main method begins here
#This initializes the list
myList = []
#The following iteration gets input for the list
for i in range(10):
myList.append(int(input()))
#This calls the calcMode method
calcMode(myList)
#This calls the calcMedian method
calcMedian(myList)
Read more about similar programs at:
https://brainly.com/question/25026386
You are creating a program that can add up the amount of money the user spent that day. Right down to the penny! What kind of variables should you create? a default variable a user variable an integer variable a float variable
Answer:A. A default Variable
Explanation:
Answer:
A
Explanation:
Did it on a Test
________ is a function pertaining to a particular database that develops procedures and practices to control and protect the database.
Answer: Database administration
Explanation:
How does the computer help me with school work
write a program to print even numbers from 1 to 20
Answer:
If qbasic then
pls mark barinist
Answer:
print(“2 4 6 8 10 12 14 16 18 20”)
how does digital and hybrid computers differ in portability
Answer:
Digital computers perform functions like mathimatical,compex calculations. while hybrid computers work with the duo combinations like analog and tempature.
Explanation:
I passed the class A+
yourwelcome :)
thank me if it was correct for you too.
Aliaa and Zhang Li are tennis-playing robots. Aliaa is 715\,\text{cm}715cm715, start text, c, m, end text from Zhang Li and 2{,}200\,\text{cm}2,200cm2, comma, 200, start text, c, m, end text from the far corner. Zhang Li measures an 91\degree91°91, degree angle between Aliaa and the far corner, as shown.
From Aliaa's viewpoint, what is the angle between Zhang Li and the far corner?
Do not round during your calculations. Round your final answer to the nearest degree.
Answer:
70
Explanation:
Law of Sines.
sin(91)/12 = sin(x)/715
x=19
180-91-19=70
A ____ is a rectangular object you can click; when you do, its appearance usually changes to look pressed.
Answer:
button
Explanation:
A facility that is pre-wired for necessary telecommunications and computer equipment, but doesn't have equipment installed, is known as a
Answer:
hot site
Explanation:
What is the interface of an app?
a storyboard software
the part the user sees
a sketch of your idea
a testing environment
Explanation:
An application interface or user interface ,is the set of features an application provides so that user may supply input to and recieve output from,the program.
What do you mean by Data Types? Give Examples.
Ms Access question
Answer:
This answer is quite late, but data types are basically categories that differentiate stuff in python.
A few examples would be:
String - Anything that has single or double-quotes around it. The input( ) function automatically returns a string, unless changed.
Int - An integer. Any whole number.
Float - Any decimal number.
List - a variable in which you can store multiple different elements. (Strings, integers, floats, tuples, lists, etc...)
Also, sorry if my English isn't perfect. English isn't my first language.
Explanation:
Don't know. Just some stuff I remember from my python class. ∞
Sidney needs to create a decimal number variable that will be added to another number. What kind of variable is required?binaryBooleanstringfloat
imagery functions as a coding system to help individuals acquire movement patterns. this describes
Answer:
Imagery can be used to develop qualities in yourself you'd like to have — it's like emotional body-building — and using a technique called “Evocative Imagery” you can cultivate courage, patience, tolerance, humor, concentration, self-confidence or any other quality you'd like to embody.
Which type of wireless attack is designed to capture wireless transmissions coming from legitimate users
A type of wireless attack that is typically designed and developed to capture wireless transmissions coming from legitimate end users is referred to evil twin.
An evil twin can be defined as an illegitimate and fraudulent that is usually set up to capture wireless transmissions, especially by eavesdropping on the information transmitted by legitimate end users.
In Cybersecurity, an evil twin is an equivalent of phishing on a local area network (LAN).
Basically, an evil twin is a rogue wireless access point (AP) that is typically designed and developed to capture wireless transmissions and sensitive information coming from legitimate end users.
In conclusion, an evil twin is used by an attacker or hacker to gain an unauthorized access to sensitive information from legitimate end users.
Read more: https://brainly.com/question/5660386
Find the error in the following code fragment. int a: System.out.print(a):
Answer:
If your using java, then its supposed to be "System.out.print("a")"
Explanation:
its supposed to have quotations
James works on history for 9/10 of an hour he works on English for 3/10 of an hour how much longer does James work on history than on English
codes 7.2.8: Listed Greeting python
pls help i have no idea on how to fix this
The listed greetings program is an illustration of Python functions.
The error in the program is that the program is not properly indented.
Python program uses indents to identify blocks of code.
So, the fix to the program is to properly indent the code, and the fix (without the comments) is as follows:
def greetings(s):
x = s.split()
print("Hello, "+x[0]+"! I also enjoy "+x[1]+"!")
Read more about Python programs at:
https://brainly.com/question/16240699
Megan owns a small neighborhood coffee shop, and she has fifteen employees who work as baristas. All of the employees have the same hourly pay rate. Megan has asked you to design a program that will allow her to enter the number of hours worked by each employee and then display the amounts of all the employees’ gross pay. You determine that the program should perform the following steps:
1. The text that is in the file is stored as one sentence. Incorporate the code that reads the file’s contents and calculates the following:
a. total number of words in the file
b. total average number of words per sentence
c. total number of characters in the file
d. total average number of characters per sentence
file name: employee_names.txt
file text:
George Thomas
Melinda Harris
Norah Jeddery
Jorge Ortiz
Samantha Gregory
Tanvi Gupta
William Edwards
Tania Gomez
Erica Sanders
Gracie Lou Freebush
Tony Montana
Obi-Wan Kenobi
Cruella De Vil
Marty McFly
Napoleon Dynamite
Answer:
she gives 10 dollars an hour
Explanation:
no
What are two characteristics of switches? (Choose two.) * 1 point A. Switches identify the intended destination of the data that they receive B. Switches cause more data collisions than hubs b C. Switches are capable of sending and receiving data at the same time D. Switches send each packet to all of the computer that are connected to them.
Answer:
A. Switches identify the intended destination of the data that they receive. And C. Switches are capable of sending and receiving data at the same time
Explanation:
Switches can be used as inputs (Analog), or outputs (digital). These inputs and outputs are signals that the switches send or receive- Or at least as push button switches... But the same applies to network switches.
Hope this helps! Have a great day!
A(n) ________ is a heavily secured server located between a company's secure internal network and its firewall.
Answer: bastion host
Explanation:
Which of these problems is correct if the numbers are binary numbers?
Group of answer choices
1 + 1 = 2
1 + 1 = 10
0 + 0 = 1
1 + 0 = 10
Answer:
1 + 1 = 10
Explanation:
2 does not occur in the binary "alphabet"
0 + 0 = 0 in any base, so also in binary
1 + 0 = 1 in any base, so also in binary
the service you are attempting to use is restricted
Services can be restricted due to different factors. If when an individual have received calls on their cell phone and the device's caller ID shows "Unavailable" or "Restricted," It can be due to a lot of factors.
Note that caller ID designations are brought about by the settings on the caller's end or network restrictions and not the phone's settings.
When a Cell phone calls designated shows "Unavailable" on a phone's caller ID, it means that the placed from an area or region is, is where the wireless service provider or phone company cannot be able to retrieve that phone number.
A "Restricted" phone call is said to be a call from a caller who has blocked one's phone so that you cannot identify their number.
Learn more about restricted from
https://brainly.com/question/15870692
Pomelo and Calamansi Trees are type of plants that suitable in this method.A. Cleft-Grafting B. Marcotting C. Layering D. T-Budding
goal of any user-friendly game should be to create a good what for the player?
A.
user experience (UX)
B.
user-interface (UI)
C.
user intuition (UIT)
D.
user skill (US).
Middle school question edmentum please add pic or just give answer
Answer:
with me being a gamer i know for a fact i love getting a good experience but also using my own thoughts into the game to help make decisions. so for the sake of your question its gonna be C; UIT
Answer:
A
Explanation:
User Experience is what makes a use friendly game accessible and enjoyable
define the term malicious program
If your company uses a non-price competition strategy what should you focus on
A. lowering prices
B. differentiation
C. creating direct competitors
D. the public sector
B- differentiation
nonprice competition strategy refers to strategy to win a business competition that does not involved lowering price of the product.
Businesses mostly do this using differentiation strategy, which is increasing the different variety of product that they sell in the market.
What is the output for the following program?
numA = 4
while numA <12:
numA = numA + 3
print(numA)
Output:
Answer:
13
Explanation:
int numA = 4;
whilie (numA < 12){
numA += 3;
}
System.out.print(numA);
numA numA < 12
4 true ⇒ numA increases by 3, loop continues
7 true ⇒ numA increases by 3, loop continues
10 true ⇒ numA increases by 3, loop continues
13 false ⇒ loop stops, program them prints out value of numA
Two primary disadvantages to the ______ BN type are that the routers in the network impose time delays, and routers are typically more expensive and require more management than switches. Group of answer choices
Answer: Routed backbone disadvantages are time delays and more expensive than switches
Explanation:
A numeric test score is to be converted to a letter grade of A, B, or C according to the following rules: A score greater than 90 is considered an A; a score between 80 and 90, inclusive, is considered a B; and any other score is considered a C. What code segments will assign the correct letter grade to grade based on the value of the variable score?
The code segment makes use of conditional statements.
Conditional statements in programming are used to make decisions
The code segment in C++ is as follows
if (score > 90) {
grade = 'A';
}
else if (score >= 80 && score < =90) {
grade = 'B';
}
else {
grade = 'C';
}
The above code segments take the score, make comparison, and then determine the appropriate letter grade.
Read more about code segments at:
https://brainly.com/question/20475581
II and III
Explanation:If it is the test i think it is
I is incorrect because it is saying that automatically it is set as C but if the score is over 90 then you get an A if it's anything else then it's a B. This is false because then your outcome will never be C. It would only be A or B.
II is correct because it starts off by saying that if the score is greater than 90 then you'll get an A if else then if your score is equal to or greater or equal to than 80 then you get B and then if anything else then it's a C. This incoorporates everything.
III is also true because it start off by saying if anything is below an 80 then you automatically get a C. If it's anything over than 80 then if it's equal to or less than 90 then you get a b and if it's anything else then you get an A. This also checks out which means it's true.
So the answer is II and III
what will the computer do in response to a line of code reading # name = input("What is your name?") print “What is your name?” print “name =” nothing return a syntax error
The computer will do nothing in response to the instruction # name = input("What is your name?")
The instruction is given as:
# name = input("What is your name?")
The above instruction is a Python instruction.
In Python, lines that begin with # are not executed, because they are treated as comments.
This means that, the computer will not do anything when it comes across the instruction
Read more about Python instructions at:
https://brainly.com/question/19344465
write the feature of ms-dos ?
Answer:
Here you go
Explanation:
Features of MS Word :
Home
This has options like font colour, font size, font style, alignment, bullets, line spacing, etc. All the basic elements which one may need to edit their document is available under the Home option.
Insert
Tables, shapes, images, charts, graphs, header, footer, page number, etc. can all be entered in the document. They are included in the “Insert” category.
Design
The template or the design in which you want your document to be created can be selected under the Design tab. Choosing an appropriate tab will enhance the appearance of your document.
Page Layout
Under the Page Layout tab comes options like margins, orientation, columns, lines, indentation, spacing, etc.
References
This tab is the most useful for those who are creating a thesis or writing books or lengthy documents. Options like citation, footnote, table of contents, caption, bibliography, etc. can be found under this tab.
Review
Spell check, grammar, Thesaurus, word count, language, translation, comments, etc. can all be tracked under the review tab. This acts as an advantage for those who get their documents reviewed on MS Word.
Source: https://byjus.com/govt-exams/microsoft-word/