Factory Design Pattern Assignment This assignment will give you practice in using the Factory/Abstract Factory Design Pattern. You are going to create a Terraforming program. What does terraform mean

Answers

Answer 1
Answer:

Answer:

Terraform is an open-source infrastructure as code software tool that enables you to safely and predictably create, change, and improve infrastructure.


Related Questions

one of the 4 vs of big data that refers to uncertainty due to data inconsistency and incompleteness, ambiguities, latency, deception, and model approximations is . select one: veracity volume validity variety
Object-oriented programming allows you to derive new classes from existing classes. This is calledcomposition.interfaces.inheritancepolymorphism
Why is a bedroom considered a poor study environment?Bedrooms are dimly lit.Bedrooms are too small.Bedrooms are too comfortable.Bedrooms are messy and cluttered.
Write a program to calculate how much to tip a waiter person based on the quality of service. The script file should ask for the amount of the check and whether the service was good, fair or poor. If the service was good, the tip should be 20%. If the service was fair, the tip should be 15%. If the service was poor, the tip should be 5%. The program should display the tip and the total of the check including the tip.
NMCI is the name used for a large-scale effort to link Navy and Marine Corps computer systems on bases, boats, and in offices around the world. When completed, this internal WAN will use Internet technology to link soldiers in the field with support personnel on bases, etc. NMCI is an example of a(n):

An example of negative self-talk is:

Answers

Answer:

when you call yourself fat or ugly......but that was my answer but pls dont ever be negative abt yalls selfs i love yall the way u are and if u eva wanna talk ill do it in the comments

Explanation:

Answer:

for example, when there is a bad driver on the road near you does something dumb and the little voice in your head always says you idiot watch where you are going. It also can be when you put yourself down like saying that you are dumb or that you will never get a job

Selector Next we will write a function that will help us select an output for the chatbot, based on the input it got.
The overall goal of this function is to take a list of words that we got as input, a list of words to check for if they appear in the input outputs to return if something from the list to check is in the input list.
Define a function, called selector.
This function should have the following inputs, outputs and internal procedures:
Input(s)
input_list - list of string
check_list - list of string
return_list - list of string
Output(s):
output - string, or None
Procedure(s):
Initialize output to None
Loop through each element in input_list
Use a conditional to check if the current element is in check_list
If it is, assign output as the returned value of calling the random.choice function on return_list
Also, break out of the loop
At the end of the function, return output Note that if we don't find any words from input_list that are in check_list, output will be returned as None.

Answers

Answer:

See explaination

Explanation:

# Import required the module.

import random

# Define a function selector() which accepts the

# input_list, check_list, and return_list and

# returns a string named output.

def selector(input_list,check_list,return_list):

# Assign None to string variable output.

output=None

# Use for loop to traverse through input_list.

for i in range(len(input_list)):

# Check if element of an input_list is present

# in check_list.

if input_list[i] in check_list:

# Assign a random value from return_list

# to output.

output=random.choice(return_list)

# break out of the loop if input_list

# element is present in check_list.

break

#

return output

# Use assert statement to test a condition.

# If the condition is true, then program continues to

# execute, otherwise raises an AssertionError.

assert callable(selector)

assert selector(['is','in','of'],['of'], ['Yes']) == 'Yes'

assert selector(['is','in'],['of'], ['Yes','No']) == None

# Display the output.

print(selector(['is','in','of'],['of'], ['Yes']))

print(selector(['is','in'],['of'], ['Yes','No']))

Describe the components of Computer-based informationsystems.

Answers

Answer: Major components of a computer based information system:-

  • Hardware
  • Software
  • Network
  • Databases

Explanation: The basic components of a computer based information system are :

  • Hardware -devices that physical parts of a computer system such as monitor, printer,keyboard etc.
  • Software- they are form of programs that perform the processing of the data .
  • Networks- is the phase in which multiple computer system are connected with each other and share resources.
  • Databases- they are collection of the information or related data in the forms of files or tables.

The section on the Publisher screen that allows you to quickly move from one page another in a publication is the _____. View tabPage pane

Page Design tab

Zoom bar

Answers

Answer:

Page pane

Explanation:

This pane is present under the navigation pane, it allow to hop easily from one page to other.  Moreover pages can be added using Add Page button.

Page pane makes the view and navigation from on page to another easier and quicker.

Which of the following statements is true of recombinant batteries? A. They recombine oxygen.
B. They're able to produce a higher voltage.
C. They're vented to release gassing.
D. They recombine sulfuric acid.

Answers

I’d go for (A) as the right choice.

The basic principles of Oxygen-recombination chemistry hasbeen combined to traditional lead batteries technology to produceValve-regulated lead-acid battery (VRLA), also called recombinant batteries. The applicationof oxygen cycle to VRLA, at first, is much more difficult. However, if correctprinciples are followed, it becomes easy.

viewRatings(string, int) Takes a username and a minimum rating value. It prints all the books that the user has rated with a value greater than or equal to the minimum rating value. The function does not return anything.

Answers

Answer:

def ViewRatings(str, rating):

   for book in books:

       if r >= rating:

           print(book)

ViewRatings("emma", 3)

Explanation:

* The code is in Python.

Since the are missing parts in your question. I am assuming there is a books list and there is a rating, r for each book.

- Create a function called ViewRatings that takes two parameters

- Initialize a for loop that iterates through each book in the books list

- For each book, check its rating with given rating. If the rating of the book is greater than or equal to given rating, print the book

- Call the function

Other Questions