In this exercise we have to use the knowledge in computational language in python to write the following code:
What is input?Python's input function takes a single parameter which is a string. This string is often called a prompt because it contains informational text that tells the user to type something. For example, you can call the input function as follows:
So in an easier way we have that the code is:
eventName = []
eventMonth = []
eventDay = []
eventYear = []
def addEvent():
userEventName = input("What is the event: ")
userEventMonth = int(input("What is the month (number): "))
userEventDay = int(input("What is the date: "))
userEventYear = int(input("What is the year: "))
userEventMonth = validateMonth(userEventMonth)
userEventDay = validateDay(userEventMonth, userEventDay, userEventYear)
eventName.append(userEventName)
eventMonth.append(userEventMonth)
eventDay.append(userEventDay)
eventYear.append(userEventYear)
def validateMonth(month):
if month >= 1 and month <= 12:
return month
else:
return 1
def validateDay(month,day,year):
if day < 1 or day > 31:
return 1
if month == 2:
isleap = False
if year%4 == 0:
if year%100 == 0:
if year%400 == 0:
isleap = True
else:
isleap = True
if isleap:
if day <30:
return day
else:
return 1
else:
if day < 29:
return day
else:
return 1
if month in [1,3,5,7,8,10,12]:
return day
if month in [4,6,9,11] and day < 31:
return day
else:
return 1
def printEvents():
print("EVENTS")
months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
for index in range(len(eventName)):
print(eventName[index])
print("Date: "+months[eventMonth[index] -1]+ " " + str(eventDay[index]) + ", " + str(eventYear[index]))
userChoice = "yes"
while userChoice.upper() != "NO":
addEvent()
userChoice = input("Do you want to enter another event? NO to stop: ")
printEvents()
See more about python at brainly.com/question/18502436
Software designed to facilitate conversation between a computer and a human end user is called?.
Answer:
User interface
Explanation:
I believe this would be referring to a user interface (or UI).
User interface is defined as a Software designed to facilitate conversation between a computer and a human end user.
What is the User interface?The user interface (UI) of a device is the point of human-computer contact and communication. Keyboards, Display displays, mice, and the look of a desktop are all examples of this.
An interface in computing is a common boundary that allows two or more distinct components of a computer system to communicate information.
It is also the method through which a user interacts with a program or a website. A user interface is a piece of software that is meant to enable communication between a computer and a human end user.
Therefore, it is user interface.
Learn more about the User interface, refer to:
https://brainly.com/question/28351003
#SPJ2
Which event represents an example of social media being used in an
emergency situation?
A. The spread of information regarding climate change
O B. The spread of video footage showing a man's murder by a police
officer in 2020
C. The political protests held in several Arab countries in the early
2010s
D. Communication with friends and family after other systems were
disabled by a major earthquake
How are data organized and manipulated in a database?
Answer:
What is Data Manipulation? Data manipulation refers to the process of adjusting data to make it organised and easier to read. These commands tell the database where to select data from and what to do with it.
Explanation:
Why is my phone not allowing me to make calls iphone.
HELP PLEASEE!!
True or False. The POP is a bank of switches that allows many users to connect to the ISP at the same time.
Answer:
yes it is true. the pop is a bank of switches that allows many users to connect to the ISP at the same time.
Which of the following objects is used to create a list of variables in flowcharts?
A. an array or list
B. string variable
C. simple variable
D. &
Answer:
A
Explanation:
ArrayList (Collection c): This constructor is used to build an array list initialized with the elements from the collection c. Suppose, we wish to create an ArrayList arr which
In Scratch, what term refers to a message that gets passed along and causes an action to happen?
broadcast
mechanical
trigger
variability
Answer:
Broadcast
In scratch, let's use a block and a message as our example, when I receive and broadcast.
So you would put your syntax like this,
When green flag clicked
broadcast message1
When I receive message1
say Hello World!
Answer:
your answer is A. Broad cast
Explanation:
3. Which symbol shows one character in criteria for query:
(a) <
(b) >
(c)?
Answer:
The answer is A
Explanation:
A ( which is a less than sign) is used for all smaller values.
Windows is a GUI Operating System, what is the other type?
Answer:
If you are looking for a different type of GUI operating system then :
Linux or mac
if you are looking for a different type of operating system (non-GUI):
Command-line interface
Explanation:
Can anyone help me on assignment 8: personal organizer on edhesive?
Open the PDF attached and it has the code I used to answer it. It got me 100%. Hope it works for you <3
I NEED HELP PLEASE!
Sweet Pete's Spreadsheets
Pete has a bakery and wants to make a better organizational system to organize what he needs for his business as well as keep track of his finances. Make a mock spreadsheet that details his incoming and outgoing finances. in the spreadsheet Account for money moving with appropriate fields of data, and be sure to use a binary field to track whether it's an incoming or outgoing amount, use data fields to track and order the payments, and add at least five entries that may be common for a bakery (think about bulk orders for food that would bring money in or purchases of ingredients that would cost money, along with rent, etc.).
Next, make an organizational chart that covers the sort of improvements using Excel for his finances that can help him. Also, mention the principles of data analysis to Pete and help him understand the plan you created for him to run his business effectively.
TABLE Grading Rubric
Full Credit
The student came up with a coherent analysis of the kind of needs a bakery might have, provided a good organizational chart that covers the aspects of Excel, and also mentioned the principles of data analysis in order to help Pete out. The student also created an adequate mock spreadsheet using different types of fields and data and filled in at least five entries with example data. The student demonstrated a good understanding of the sort of business needs this type of business might have.
Partial Credit
The student came up with a good analysis of the kind of needs a bakery might have, provided a sufficient organizational chart that covers the aspects of Excel, and mentioned the principles of data analysis in order to help Pete out. The student also created a mock spreadsheet using different types of fields and data and filled in at least four entries with example data. The student demonstrated a basic understanding of the sort of business needs this type of business might have.
Little Credit
The student came up with an analysis of the kind of needs a bakery might have, provided a sufficient organizational chart that covers the aspects of Excel, and mentioned some of the principles of data analysis in order to help Pete out. The student also created a mock spreadsheet using different types of fields and data and filled in at least three entries with example data. The student demonstrated little understanding of the sort of business needs this type of business might have.
What did you wrote there is no questions lololo
which of the following phase change when heat is removed form the material
A. sublimation
B. vaporization
C. Melting
D. Freezing
Answer:
It will be D.Freezing
Explanation:
If heat is removed from a substance, such as in freezing and condensation, then the process is exothermic. In this instance, heat is decreasing the speed of the molecules causing them move slower (examples: liquid to solid; gas to liquid). These changes release heat to the surroundings.
GOOD LUCK
Help me pls :)):)))))))))))))
Answer:
26.6 miles per gallon
Please help me on this it’s due now
Using a vehicle like a car, truck, train, ship, or aircraft, goods transport is the movement of any kind of cargo or products.
What is Transporting Goods?There is a distinction between local and distant traffic. Local traffic is defined as the movement of products when the shipper and recipient are physically close to one another and the vehicle can make daily trips back to its starting place.
On the other hand, in long-distance traffic, the goods is moved over considerable distances.
Transport of goods, such as the distribution of industrial materials, the distribution of fuel and gas, the distribution of money, the distribution of food and beverages, the distribution of medical, health, and sanitation supplies, the distribution of primary needs.
Therefore, Using a vehicle like a car, truck, train, ship, or aircraft, goods transport is the movement of any kind of cargo or products.
To learn more about Transport, refer to the link:
https://brainly.com/question/29851765
#SPJ7
Check My Work An information system includes _____, which are programs that handle the input, manage the processing logic, and provide the required output
An information system includes applications, which are programs that handle the input, manage the processing logic, and provide the required output.
What are applications used in a computer system?Applications are software program that helps a computer user to work effectively with the computer system.
It helps the computer user by handling the input, managing the processing logic, and providing the required output.
Examples of application include:
Web browsersPresentation softwareSpreadsheetWord processorsTherefore, an information system includes applications, which are programs that handle the input, manage the processing logic, and provide the required output.
Learn more about application software here:
https://brainly.com/question/18661385
The advantage of using a spreadsheet is:
Group of answer choices
Calculations can be done automatically
Changing data automatically updates calculations (as long as Excel is not set to calculate manually)
More flexibility
All of the above
because it's a good thing
Which of the following is an example of reducing? (waste management)
- printing on both sides of a piece of paper instead of just one
-processing use paper into new sheets of paper
-writing a report about the benefits of reusing paper
-emailing a document instead of printing and mailing it
Answer:
emailing a document instead of printing and mailing it
list 3 compounds of a computer.
list the 4 compounds of a computer system.
The central component system houses, the processer, memory and what else?
What are the 2 types of memory on a computer?
What does RAM stand for?
Name the other type of storage besides a floppy disk.
Name 3 output devices.
What are 2 examples of common software applications?
Name 2 symptoms of bugs in my computer
Name as many do's and don'ts of computer use. (more than 2)
Answer:
look up this question on here it comes up but do it one-by-one
Explanation:
Three compounds of a computer: Silicon chips, Printed circuit boards, and Plastics and metals.
What is central component system?A computer's central component system typically refers to the central processing unit (CPU), motherboard, and memory (RAM).
A computer system is made up of four components:
Hardware Software Data UserThe processor, memory, and motherboard are all housed in the central component system.
On a computer, there are two types of memory:
RAM stands for Random Access Memory (RAM)Memory That Can Only Be Read (ROM)Other types of storage besides a floppy disk include hard disk drives, solid-state drives, and optical disks.
Three output devices are:
MonitorPrinterSpeakersTwo examples of common software applications are:
Microsoft Office Suite (Word, Excel, PowerPoint)Adobe Creative Suite (Photoshop, Illustrator, InDesign)Two symptoms of bugs in a computer are:
Slow performanceUnexpected shutdowns or freezesDo's of computer use:
Regularly back up important files.Install antivirus and security software.Keep software up to date.Don'ts of computer use:
Don't download or open suspicious files or emails.Don't use weak passwords.Don't share personal information online.Thus, this can be concluded regarding the given scenario.
For more details regarding CPU, visit:
https://brainly.com/question/16254036
#SPJ7
The most popular productivity suite in the world is microsoft office. please select the best answer from the choices provided t f
Statement, the most popular productivity suite in the world is microsoft office is correct. The statment is ture (T).
What is productivity suite?productivity suite is a collection of programs desgined for the computer whcih has a word processor, presentation creater and spreadsheet creater.
Types of productivity suite-
Computer based productivity suite- This type of productivity suite are need to be installed the program on the computer, which can be work offline mode too.Online productivity suite- Online productivity suite are availeble on the internet and can be use whenever required without preinstallation.Microsoft office 365 is the best and the oldest productivity suite. Most of the people are familier with this suite and it is most popular productivity suite in the market.
Thus, the statement, the most popular productivity suite in the world is microsoft office is correct. The statment is ture (T).
Learn more about the productivity suite here;
https://brainly.com/question/2764685
The format that you will use on your works cited page when the entry is longer than one line is__________.
The format that you will use on your works cited page when the entry is longer than one line is to second and all subsequent lines need to be indented half an inch.
What kind of formatting is used on a works cited page?In the formatting of the Works on Cited page, the layout is that "Title the page Works Cited, do put it on the center and in plain text (no italics, bold, or underline). etc.
Note that the format to use when your works cited page entry is more than one line is to second and all subsequent lines need to be indented half an inch.
Learn more about cited page from
https://brainly.com/question/1382377
Define spyware and virus
Answer:
Brainliest pls
Explanation:
Spyware is a kind of malware that gathers your own data and accumulates information about you without your assent. Viruses are a kind of pernicious programming intended to spread from your gadget to different gadgets.
help ASAP i need to finish this! i will get in trouble if i dont
Answer:
[tex]beinggreat78~is~here~to~save~you![/tex]
Advantage: Speaking to another. Disadvantage: Bad for if you want to see each other.Advantage: You can actually interact physically with the person you are talking to. Disadvantage: The pandemic.Advantage: Type instead of speak, which has the feature of emojis. Disadvantage: Not many.Advantage: Getting contact soon as possible. Disadvantage: None, if you want quick contact with another individual.Advantage: Like a telephone but through the internet, which more people use. Disadvantage: What if you lose internet?Advantage: Good conferences. Disadvantage: Can be problematic, like some other conferences.Advantage: Depends on the conference service. Disadvantage: Can be problematic.Advantage: Very few. Disadvantage: Can be problematic, due to troublesome random callers.Packet analysis can also help _____ understand protocol and application behavior to see how routines behave, as well as help determine if it is the application OR the network that is causing slow response times.
Packet analysis can also help developers to understand protocol and application behavior to see how routines behave.
What is the Packet analysis about?Packet analysis is known to be a tool that can help a lot of developers to be able to have a lot gains from understanding protocol and application behavior to see how routines behave.
Conclusively, Packet analysis can be used to know or determine when an application or a given network is having or leading to slow response times.
Learn more about packet analysis from
https://brainly.com/question/6962155
#SPJ1
A possible consequence of oversharing online might be:
A. receiving a great recommendation from a teacher.
B. getting accepted to the college of your choice.
C. stealing information from friends you do not trust.
D. being incriminated against or fired by an employer.
Answer:
D
Explanation:
A & B are not consequences
C is a consequence but not directed towards you but your friends
=(A2+A3)*12% is an example of a function in excel true or false
25 points for this answer
Unethical uses of computer devices include _____. Select 3 options.
financial theft
surfing websites
identity theft
media piracy
downloading videos
Answer:
financial theft
identity theft
media piracy
Unethical uses of computer devices include the following:
Financial theft.Identity theft.Media piracy.What is an unethical use of a computer?The unethical use of a computer can be defined as the unauthorized and illegal (illegitimate) use of a computer system to perpetrate cyber crimes and other criminal inclined practices.
In Cybersecurity, unethical uses of computer devices by a hacker include the following:
Financial theft.Identity theft.Media piracy.Read more on computer crime here: https://brainly.com/question/13109173
#SPJ2
Someone help me!!
select the correct answer
what are the functions of system software?
system software enables a computer's hardware to perform tasks, and functions as a platform for database. quapplication. q
presentation software. it also acts an interface between the computer's hardware and o processor devices
o software
The first (1st) one. I
Explanation:
It's the definition
The unit has you writing a script that ends each level when a sprite gets to the right edge of the screen. Propose another “level completed” solution where the levels ends when the player hits a certain part of the screen WITHOUT relying on coordinates. Describe your solution, including the code blocks you would use instead of coordinates.
Answer:
I would make a system to go to the next level of the game without using coordinates by creating a finish line for each level that is a color like green or red. When the player’s sprite hits the finish line, it will activate a part of the code which will make the next level appear. To do this I will use an if statement. If the sprite is touching green, it will move to the next backdrop. This will create a way to go to the next level without using coordinates.
Explanation:
This is what i put as the answer, hope it helps! Dont forget to change it a little bit so you dont get flagged and stuff.
You are pricing out a new laptop for a user. You decided to go with a traditional hard disk that has a cache of flash memory. Which type of disk are you purchasing
Answer:
A hybrid drive
Explanation:
Its called a hybrid drive because it combines two different kinds of storage, SSD and HDD. SSD is a solid state drive and it has no moving parts. It is much faster than a HDD and is more reliable but these benefits come at a trade off of a higher price per gigabyte. HDD is a hard disk drive and works by reading a spinning disk to get information. This kind of disk is usually used because of its low price/gb. This makes it an excellent option for getting lots of storage at a cheap price. A hybrid drive combines the best of both worlds by using a small SSD as a boot drive to start up a computer because it is much faster, and uses an HDD as the main storage drive with lots of space.
Can someone please help me? My Brainly isn't working correctly and I need help. I can't see the home page... all I can see is in the pic... Please help me!!!
Answer:
ok. If you refeshed then now click this
Explanation: