Using the knowledge in computational language in python it is possible to write a code that the Define a 'recursive' function named geometric_sequence' that takes three integers
Writting the code:def num_list(sides, count):
modified_list = []
for i in range(count):
#appends the same list as many times as is called for
modified_list += list(range(1, sides + 1))
return modified_list
mem = {}
def geometric_sequence(i, r, n):
if n == 1:
mem[n] = i
if n not in mem:
mem[n] = r * geometric_sequence(i, r, n - 1)
return mem[n]
See more about python at brainly.com/question/12975450
#SPJ1
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:
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 are examples of scanning devices?
Here the examples of scanning devices :
Drum Scanner.Handheld Scanner.Flatbed Scanner.Optical Character Recognition.Magnetic Ink Character Recognition.Image Scanner.What is meant by scanning ?A text is scanned quickly in order to find a specific piece of information. In daily life, scanning is regularly used for tasks like looking up a word in a dictionary or finding a friend's name in your phone's contacts list.Scanners may basically be divided into three categories. These consist of network scanning, port scanning, and vulnerability scanning.There are three different types of scanners: portable scanners, flatbed scanners, and drum scanners. While flatbed scanners are commonly used in offices and classrooms, drum scanners are mainly used in the publishing industry to print high-quality pictures.Three processes make up the basic scanning process: scan, register, and detail.Learn more about scanning refer to :
https://brainly.com/question/25106178
#SPJ4
What is the difference between an MRI scan and a CT scan?
Answer:
MRI doesn’t use radiation CT does
Explanation:
Why is MRI considered safer than CT?
Answer: MRIs don't use any radiation
Explanation:
Define network and list 5 components of a typical network setup
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
are there any other types of technology that can attach to satellites and assist it in data collection?
Yes, there are other types of technology that can attach to satellites and assist it in data collection.
What is the term used to describe satellite data collection?
The practice of remote sensing involves gathering knowledge about things, places, or phenomena from a distance, usually from planes or satellites. It entails the detection and classification of objects on the Earth's surface, in the atmosphere, and in the oceans using sensor technologies based on satellite or aircraft.
Therefore, Remote sensing methods like optical imaging and synthetic-aperture radar are used to gather satellite imagery data. They collect data and send it to earth.
Learn more about data collection from
https://brainly.com/question/26711803
#SPJ1