Using the knowledge in computational language in python it is possible to write a code that there are no size or color choices, however, the customer has the option of adding a logo and / or a name to the mug.
Writting the code:import random
def do_something(first, second):
result = first + second + random.randint(-5, 5)
return result
import random
def do_something(first, second):
result = first + second + random.randint(-5, 5)
return result
do_something(3, 5)
print(result)
make_coffee(
tap_water,
electricity_from_wall_socket,
blue_espresso_pod,
)
coffee_cup = make_coffee(
tap_water,
electricity_from_wall_socket,
blue_espresso_pod,
)
See more about python at brainly.com/question/12975450
#SPJ1
Which of the following are used to compare performance & efficiency of algorithms? (PROJECTSTEM 3.6 Lesson Practice Question #1
The option that can be used to compare the performance and efficiency of algorithms:
Speed of the Algorithm (Option B); andMemory Use of the Algorithm (Option F).How do you use the above to check the performance of an Algorithm?Time, complexity and space complexity are the two basic metrics of an algorithm's efficiency, although they cannot be directly compared. As a result, time and space complexity are taken into account for algorithmic efficiency.
It should be emphasized that the faster an Algorithm executes, the more efficient it is. Furthermore, the less RAM space an algorithm uses during execution, the better it is.
Learn more about Algorithms:
https://brainly.com/question/22984934
#SPJ1
Why is MRI considered safer than CT?
Answer: MRIs don't use any radiation
Explanation:
how to type an absolute reference formula in exel
The way to type an absolute reference formula in excel is by: Before the column name and row number, for example that is $E$4, add the dollar sign ($). The equation will now be = B2*$E$4.
How can an absolute reference formula be added to Excel?For adding absolute cell references to your calculations, there is a shortcut available. Press the F4 key to continue typing your formula after entering a cell reference. The cell reference is automatically made absolute by Excel! Excel will cycle through each possible absolute reference by pressing F4 repeatedly.
Therefore, Simply pick the cell reference(s) you want to change and click the F4 key to use the shortcut. Holding down the Shift key while pressing the F4 key will select all of the cell references you want to change at once.
Learn more about excel from
https://brainly.com/question/25863198
#SPJ1
Your Word Document Requirements
Part 1: Name: your name
Part 2: Data Source: the source of your data (do not copy and paste your data into the Word document)
Part 3: Questions to Answer: the questions your analysis will answer
Part 4: The Plan: the pseudocode outline of your program
Part 5: Plan Feedback from Your Partner: suggestions from your partner
Part 5: Results: copy and pasted results from your data file
Part 6: Interpretation: your interpretation of the results
Part 7: Final Feedback from Your Partner: description of what your partner found interesting
You can use this rubric
to evaluate your project before you submit it.
What to Submit
You will submit each of the following.
A Word document: Organize it as shown below.
Your data file: Saved with a .txt extension
Your program: Saved with a .txt extension since you cannot upload a .py file.
Your results file: Saved with a .txt extension.
Using the knowledge in computational language in python it is possible to write a code that the pseudocode outline of your program;
Writting the code:import sys
import os
def main():
# Check and retrieve command-line arguments
if len(sys.argv) != 3:
print(__doc__)
sys.exit(1) # Return a non-zero value to indicate abnormal termination
fileIn = sys.argv[1]
fileOut = sys.argv[2]
# Verify source file
if not os.path.isfile(fileIn):
print("error: {} does not exist".format(fileIn))
sys.exit(1)
# Verify destination file
if os.path.isfile(fileOut):
print("{} exists. Override (y/n)?".format(fileOut))
reply = input().strip().lower()
if reply[0] != 'y':
sys.exit(1)
# Process the file line-by-line
with open(fileIn, 'r') as fpIn, open(fileOut, 'w') as fpOut:
lineNumber = 0
for line in fpIn:
lineNumber += 1
line = line.rstrip() # Strip trailing spaces and newline
fpOut.write("{}: {}\n".format(lineNumber, line))
# Need \n, which will be translated to platform-dependent newline
print("Number of lines: {}\n".format(lineNumber))
if __name__ == '__main__':
main()
See more about python at brainly.com/question/12975450
#SPJ1
you want to identify all devices on a network along with a list of open ports on those devices. you want the results displayed in a graphical diagram. which tool should you use?
Since you want to identify all devices on a network along with a list of open ports on those devices. you want the results displayed in a graphical diagram. the tool that you use is Port scanner.
Why would someone use a port scanner?Finding open ports on a network that might be receiving or transferring data is a process called port scanning. In order to find vulnerabilities, it also entails sending packets to particular ports on a host and examining the answers.
Note that Only when used with a residential home network or when specifically approved by the destination host and/or network are network probing or port scanning tools allowed. Any kind of unauthorized port scanning is absolutely forbidden.
Learn more about Port scanner from
https://brainly.com/question/28147402
#SPJ1
What happens if I replace my router?
If you replace your router you can get faster speeds, improved range, and new features.
Could the routers just be replaced?There are a number of convincing reasons to substitute your own router in its place, including the following: A new router might offer a better and more stable connection.Just unplug, take out, and set up the new router. To do this, connect an Ethernet cable from the router to the modem and modify the network name and password as usual.You may often choose between purchasing a box that includes both a modem and a router separately from your Internet service provider. You may use any option to access the Internet. Know that if you purchase a combo device and one part malfunctions (such as the modem or router).To learn more about router refer to:
https://brainly.com/question/24812743
#SPJ4
Which of the following roles is responsible for
overseeing the data and operation of databases?
computer support specialist
data miner
database programmer
database administrator
Create and maintain databases that are appropriate for the needs of their organizations, as database managers or administrators. These IT specialists are in charge of maintaining, storing, protecting, and troubleshooting databases.
What is database management?
Data is stored, retrieved, and analyzed using software called database management systems (DBMS). Users can create, read, update, and delete data in databases using a DBMS, which acts as an interface between them and the databases.
A software program is used to administer databases, or database management systems. As an illustration, popular commercial databases like MySQL, Oracle, etc. are utilised in a variety of applications.
A DBMS provides an interface for carrying out a variety of tasks, including building databases, putting data in them, updating data, creating tables in the databases, and many other things.
It offers database security and safety. Additionally, it preserves data consistency when there are many users.
Hence to conclude dbms has the responsibilty of overseeing the data and operation of databases
To know more on dbms follow this link
https://brainly.com/question/24027204
#SPJ1
Answer:
D!
Explanation:
When a person’s personal information is collected by other parties, it refers to the issue of_______.
Answer:
The answer should be privacy
Explanation:
Answer: it refers to the issue of version control privacy personality so
The answer should be privacy
Explanation:
as far as cost of product per unit area, sprayable herbicide products are more expensive than granular products you can apply with a spreader.
As far as cost of product per unit area, sprayable herbicide products are more expensive than granular products you can apply with a spreader is a false statement.
Products for herbicide spraying are they more expensive than granular ones?
Simply because the liquid formulation is sprayed across the surface of the weed's leaf and does not rely on additional moisture to stick to the leaf, liquid sprays are generally more effective than their granular counterparts, according to Purdue University Turfgrass Science.
Therefore, Given that both products' active ingredients are the same, granular fertilizer plus postemergence herbicide products are more expensive per unit area treated than sprayable postemergence herbicide products.
Learn more about sprayable herbicide products from
https://brainly.com/question/29557923
#SPJ1
See full question below
as far as cost of product per unit area, sprayable herbicide products are more expensive than granular products you can apply with a spreader. True or false.
Write a similar description of what happens when you print a document.
Full-color printing is achieved by using just four ink colors – Cyan, Magenta, Yellow, and Black or CMYK (see box story below on what the K stands for).
These are called process colors and full-color printing is also called 4-color process printing.
What does it mean to print a document?Printing is the process of printing text and images in large quantities using a master form or template.
It it to be noted that cylinder seals and items such as the Cyrus Cylinder and the Cylinders of Nabonidus are among the oldest non-paper creations using printing.
Learn more about printing:
https://brainly.com/question/21090861
#SPJ1
different between in class and structure
Answer:
Structures are value types; classes are reference types