Heres a survey
What's your fav food
What do you do for a living
What do you do for fun
Are you a boy or girl
What's your fav color
And last what kind of pet do you have if you dont have a pet then whats ypu fav game to play

Answers

Answer 1

food.

I'm a child of God snatching lost souls out of Hell

bake

I go to church

some is to much information to give thx and have a blessed day

Answer 2

Answer:

My favourite food is pizza.

I have food, I drink water and stay neat to live.

I play indoor games, read books and plays social media for fun.

I am a girl.

My favourite colour is black and white.

I have a dog name Freddie and a cat called Jacky. My favourite game is football and badminton


Related Questions

CHALLENGE ACTIVITY 407946.2092060.qx3zqy7 3.2.3: Detect specific values. Jump to level 1 If integer dominantCompanyCount is 2, output "Duopoly". Otherwise, output "Not a duopoly". End with a newline. Ex: If the input is 2, then the output is: Duopoly 3 4 int main() { 5 int dominant CompanyCount; cin >> dominant CompanyCount; 6789 9 if 10 { 11 12 13} 14 15 else. 16 17 18 19 20 Check Next level 2 3 ▶ D-DD"

Answers

Below is the code that has the specific instructions you have given above :

#include <iostream>

int main() {

   int dominantCompanyCount;

   std::cin >> dominantCompanyCount;

   if (dominantCompanyCount == 2) {

       std::cout << "Duopoly" << std::endl;

   } else {

       std::cout << "Not a duopoly" << std::endl;

   }

   return 0;

}

What is the code about?

This code will read in an integer value from the user, and then check if it is equal to 2. If it is, it will output "Duopoly" and a newline.

Therefore, in regards to the case above,  If it is not equal to 2, it will output "Not a duopoly" and a newline.

Learn more about Coding from

https://brainly.com/question/16397886

#SPJ1

write a program that simulates the rolling of two dice. the program should use a c random number generator to roll the first die (returning a value between 1 and 6) and again to roll the second die. the sum of the two values should then be calculated. your program should roll the two dice 3600 times. g

Answers

A single-subscripted array can be used to count the instances of each sum.

Write a program that simulates the rolling of two dice?

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

int main()

{

int die1, die2, sum, roll;

srand(time(0));

for (roll = 1; roll <= 3600; roll++)

{

 die1 = (rand() % 6) + 1;

 die2 = (rand() % 6) + 1;

 sum = die1 + die2;

 printf("Roll #%d: Die 1: %d  Die 2: %d  Sum: %d\n", roll, die1, die2, sum);

}

return 0;

}

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

int main(){

   int i, sum;

   // initialize random seed

   srand(time(0));

   // roll the dice 3600 times

   for(i = 0; i < 3600; i++){

       int dice1 = rand() % 6 + 1; // roll the first die

       int dice2 = rand() % 6 + 1; // roll the second die

       sum = dice1 + dice2; // calculate the sum of the two dice

       printf("Dice 1: %d\tDice 2: %d\tSum: %d\n", dice1, dice2, sum);

   }

   return 0;

}

To learn more about a program that simulates the rolling of two dice refer to:

https://brainly.com/question/18751332

#SPJ4

Amazon Simple Storage Service (Amazon S3) provide a good solution for which of the following use cases?
a. A data warehouse for business intelligence
b. An internet accessible storage location for video files that an external website accesses
c. Hourly storage of frequently accessed temporary files
d. A cluster for traditional Apache Spark and Apache Hadoop installations to process big data

Answers

Answer:

Amazon Simple Storage Service (Amazon S3) is a cloud storage service provided by Amazon Web Services (AWS). It is a general-purpose storage service that can be used for a variety of use cases, including:

a. An internet accessible storage location for video files that an external website accesses: Amazon S3 provides a simple way to store and retrieve files over the internet. It can be used to store video files that can be accessed by external websites, such as a video hosting platform or a website that embeds video content.

b. Hourly storage of frequently accessed temporary files: Amazon S3 can be used to store frequently accessed temporary files that need to be stored for a short period of time. It is a cost-effective solution for storing and retrieving these types of files.

c. A cluster for traditional Apache Spark and Apache Hadoop installations to process big data: Amazon S3 can be used as a data lake for storing and processing large amounts of data using tools like Apache Spark and Apache Hadoop.

d. A data warehouse for business intelligence: Amazon S3 can be used in combination with other AWS services, such as Amazon Redshift, to create a data warehouse for business intelligence and analytics.

Overall, Amazon S3 is a versatile storage service that can be used for a wide range of use cases.

Explanation:

what are the values on the inputs and the outputs when using the circuit below to perform subtraction on the binary numbers a

Answers

What are the values on the outputs when using the circuit below to perform subtraction on the binary numbers A = 1011 minus B = 0101 (20pts) B A Bo A. D D c TA.

What is binary numbers?A binary number is a number expressed in the base-2 numeral system or binary numeral system, a method of mathematical expression which uses only two symbols: typically "0" and "1". The base-2 numeral system is a positional notation with a radix of 2. Each digit is referred to as a bit, or binary digit.The binary system is the primary language of computing systems. Inside these systems, a binary number consists of a series of eight bits.

To learn more about binary numbers refer to:

https://brainly.com/question/9842110

#SPJ4

the speed of cpu is measured in terms of what?

Answers

Answer:

Megahertz (MHz) or Gigahertz (GHz)

1 GHz = 1000 MHz

In sql server, what do you typically use to enforce referential integrity?

Answers

Declarative referential integrity in SQL Server is frequently used to ensure referential integrity.

How is referential integrity enforced in SQL?

As shown in the statement in Listing 1, you may add a foreign key and references constraint to impose referential integrity restrictions. Additionally, when creating SecondaryTable, you have the option to build a reference between it and PrimaryTable.

What is the SQL syntax for referential integrity?

The CREATE TABLE and ALTER TABLE statements in SQL provide support for the referential integrity concept. To include a referential constraint, use the CREATE TABLE or ALTER TABLE statements. Use the ALTER TABLE statement to lift a referential restriction.

To know more about SQL Server visit :-

https://brainly.com/question/29417398

#SPJ4

The signature of a method consists of ______. A. method name. B. method name and parameter list. C. return type, method name, and parameter list. D. parameter

Answers

The method signature, according to Oracle, consists of the name and parameter types.

As a result, the signature excludes all other aspects of the method's declaration, such as modifiers, return type, argument names, exception list, and body. The signature of a function includes the function's name as well as the number, order, and type of its formal parameters. The signatures of two overloaded functions cannot be the identical. A function's return value is not part of its signature. A method signature is made up of the method name and the data types of the method's parameters, in that order. The return type is not included in the signature.

Learn more about data here-

https://brainly.com/question/11941925

#SPJ4

a company would like to automate security on ec2 instances to assess security and vulnerabilities in these instances. which aws service should it use?

Answers

An automated security evaluation programme called Amazon Inspector aids in enhancing the safety and legal compliance of apps running on AWS. It let you to check your Ama's network accessibility.

AWS(Amazon Elastic Compute Cloud)

Users can rent virtual computers on which to execute their own computer programmes through Amazon Elastic Compute Cloud (EC2), a component of Amazon.com's cloud computing infrastructure, Amazon Web Services (AWS). EC2 promotes the scalable deployment of applications by offering a web service that enables a user to boot an Amazon Machine Image (AMI) and configure a virtual machine, or what Amazon refers to as a "instance," containing whatever software they choose.

The phrase "elastic" refers to a system where a user can launch, terminate, and create new server instances as needed and pay per second for running servers. With the ability to choose the physical location of instances, EC2 gives users the ability to reduce latency and increase redundancy. Amazon transitioned from using its own retail website technology to EC2 and AWS in November 2010.

To know more about AWS(Amazon Elastic Compute Cloud), Check out:

https://brainly.com/question/28786304

#SPJ4

In which directory is the route command stored?

Answers

Permitting: When troubleshooting, this mode is helpful. SELinux does not protect your server if it is set to Permissive, but it does continue to log every change made to the log files.

Similar to SUID, you can quickly determine whether SGID is enabled or not by running the ls -l command on a file or directory. The four SELinux policy types that Gentoo supports are strict, targeted, mcs, and mls. The unconfined domain serves as the basis for the distinction between stringent and targeted. The four SELinux policy types that Gentoo supports are strict, targeted, mcs, and mls. The unconfined domain serves as the basis for the distinction between stringent and targeted.

Learn more about command here-

https://brainly.com/question/3632568

#SPJ4

In which cloud service level are applications delivered via the internet?

Answers

SaaS stands for software as a service. The most popular choice for enterprises in the cloud market is software as a service, generally referred to as cloud application services.

What do cloud services offer to aid with security and privacy?

Data security is a feature of the top cloud computing security solutions. To stop unauthorized parties from obtaining private information, they have security methods and policies in place, such as strict access controls and data encryption.

Which of the following best represents the Platform as a Service (PaaS) cloud computing service model?

Everything a developer needs to create an application for the cloud infrastructure is provided by O Paas.

To know more about SaaS visit :-

https://brainly.com/question/11973901

#SPJ4

_______ is a legal safeguard for protecting someone’s intellectual property. Books, movies, newspaper articles, web pages, artwork, and music are all examples of things that can be protected with it.

Answers

Copyright is a legal safeguard for protecting someone’s intellectual property. Books, movies, newspaper articles, web pages, artwork, and music are all examples of things that can be protected with it.

What is Copyright important?

It is to be noted that copyright is important because it helps to protect the creative works of artists, writers, musicians, and other creators. When someone creates a work of art, literature, music, or software, they automatically own the copyright to that work. This means that they have the exclusive right to reproduce, distribute, and sell their work.

Copyright allows creators to control how their work is used and benefit from it. It also promotes creativity and innovation by offering cash incentives to innovators who create new works.

Copyright is an important part of the legal framework that supports the creative industries, and it plays a critical role in promoting the creation and dissemination of new ideas, knowledge, and culture.

Without copyright protection, it would be much harder for creators to earn a living from their work, and the quality and diversity of creative works available to the public would likely be significantly reduced.

Learn more about Copyright:
https://brainly.com/question/14704862
#SPJ1

user is suspected to be part of an online terrorist organization. please report any suspicious activity to discord staff.

Answers

If online content may be of a terrorist extremist nature, report it using the UK Government's simple and anonymous online tool: vehicle description, date, time, place of activity and physical identification, name and contact information (optional)

What is a government watchlist?

TSC will consolidate information into the Federal Terrorist Screening Database, a single database containing consolidated federal agency terrorist identification information.

What if I am on my watchlist?

Being on a U.S. government watchlist may mean that you cannot travel by air or sea: at airports invasive screening; U.S. visa denial or admission to the U.S.; Detention and interrogation by U.S. or foreign authorities, not to mention shame, fear, apprehension, and slander

How do I remove myself from government watch lists?

If you're on a government secret watch list, federal agencies say you should find the agency that named you on the list and appeal to that agency's ombudsman, privacy commissioner, or the inspector general.

To learn more about terrorism visit:

https://brainly.com/question/885090

#SPJ4

consider the following statements concerning the main method. choose the incorrect answer a. the word void indicates that the main method will not return a value b. the word main is a keyword c. the word static indicates that the main method will be executed through a class d. the main method is the entry point to the application

Answers

The first line of any Java program is the main method. Public static void main(String[] args) is always the syntax for this statement.

In writing the main method, which of the following is true?

The first line of any Java program is the main method. Public static void main(String[] args) is always the syntax for this statement.Overloading is when a class has two or more methods with the same name.The one exception to this rule is the constructor method. Even void return types are not present.It is an access modifier that indicates who and where can access the method. The main() method is accessible worldwide once it is made public. It is made public because the JVM cannot access it within the current class and must be able to call it from outside the class.    

To learn more about Main method refer to:

https://brainly.com/question/14744422

#SPJ4

A customer complains that his old tower PC doesn't always turn on and randomly shuts
off for hours. The HDD and RAM memory tests both come back with positive results. What hardware part
would you check next? SELECT ONLY ONE
O SSD
O PS/2
O EXT-USB HDD
O NIC
O PSU

Answers

THE GIVEN answer IS A

️️️SSD its a positive results to acess be hardware parts

Are devices used to enter data into the computer using a set of keys eg keyboard key to storage and keypad?

Answers

The main input method for a computer is a keyboard, which is comparable to a typewriter. Alphanumeric, special, and function keys are among the three different key kinds that are present.

What is input method?A piece of equipment used to supply data and control signals to a system for processing information, such as a computer or information appliance, is known as an input device in the field of computing. Input devices include things like keyboards, mice, scanners, cameras, joysticks, and microphones.

Based on:

Approach to input (e.g., mechanical motion, audio, visual, etc.)If the input is discrete (for example, hitting a key) or continuous (for example, a mouse's position, though digitized into a discrete quantity, is rapid enough to be termed continuous)The total number of possible outcomes (e.g., two-dimensional traditional mice, or three-dimensional navigators designed for CAD applications).

To Learn more About  input method  refer to:

https://brainly.com/question/10283950

#SPJ4

What is the difference between a data warehouse and a data mart?

Answers

The primary distinction between the two databases is in their size and approach.

A data warehouse is a corporation's global database that saves data about any area of the organization, whereas a data mart stores a small amount of data relating to a specific business department or project. A data warehouse is a vast collection of data from numerous sources within a company, whereas a data mart is data derived from a data warehouse that belongs to a specific business component. Data marts make specialized data available to a designated group of users, allowing them to quickly obtain crucial insights without having to sift through a whole data warehouse.

Learn more about data here-

https://brainly.com/question/11941925

#SPJ4

in the context of computer operations, comparing two numbers is a(n) operation. a. retrieval b. storage c. arithmetic d. logical

Answers

In the context of computer operations, comparing two numbers is a(n) logical operation.

What is logical operation?A specific symbol or term known as a logical operation joins two or more informational phrases. It is frequently employed to determine whether a certain link between the words is real or not.The purpose of logic gates in digital circuits is to perform logical operations. The AND, OR, NOT, and combinations of those operations are examples of logical operations. Boolean algebra has additional information.The logical operators are represented by the tilde, dot, wedge, horseshoe, and triple bar symbols. The sign representing negation is a tilde.The AND gate is the simplest logic operation. a binary variable that is produced by a function on binary variables. The purpose of logic gates in digital circuits is to perform logical operations.

Learn more about logical operation refer to ;

https://brainly.com/question/15079913

#SPJ4

Do you agree with mobile phones are harmful to students explain?

Answers

Yes, Students want to use their smartphones more than books, which causes them to be distracted from their studies and athletics. They frequently lose focus, which negatively affects their academic performance.

How are smartphones harmful to children?

Children are most at risk from smartphones and other technology. Since they are very young, they have been exposed to smartphones. As they get older, they use these devices to play games, listen to music, and check social media.

Not all content on smartphones is suitable for children. Furthermore, not all parents supervise their children as they use their smartphones. Elders also appreciate it because it gives them more time to complete chores while also entertaining children, which is convenient.

However, they are ignorant of the fact that prolonged screen time is bad for kids' eyes, brains, minds, and ways of thinking.

Learn more about smartphones

brainly.com/question/25207559

#SPJ4

why is the uefi framework considered to be better than the bios framework? a. it has a better user interface and supports remote troubleshooting. b. it restricts the hardware support to less than 1tb, offering better security than bios. c. it can identify the virus and malware in a device before the system is launched. d. it comes with additional features of os hardening and anti-intrusion systems.

Answers

The UEFI framework, considered to be better than the bios framework, is it can identify the virus and malware in a device before the system is launched. The correct option is c.

What is the UEFI framework?

A computer's firmware and operating system are connected through a software package called UEFI, which is a specification (OS). A quicker boot time is offered by UEFI.

While BIOS contains drive support encoded in its ROM, UEFI has discrete driver support. As a result, changing BIOS firmware might be challenging. Secure Boot, a feature of UEFI security, stops the machine from starting up from untrusted or unsigned apps.

Therefore, the correct option is c. it can identify the virus and malware in a device before the system is launched.

To learn more about UEFI framework, refer to the link:

https://brainly.com/question/17232780

#SPJ1

What is the difference between planks and boards?

Answers

Answer:

Planks are often used as a work surface on elevated scaffolding and need to be wide enough to provide strength without breaking when walked on. The wood is categorized as a board if its width is less than 21⁄2 in (64 mm), and its thickness is less than 11⁄2 in (38 mm).

2. Busy intersection There is a busy intersection between two one-way streets: Main Street and 1st Avenue. Cars passing through the intersection can only pass through one at a time. When multiple cars arrive at the intersection at the same time, two queues can build up - one for each street. Cars are added to the queue in the order at which they arrive. Unfortunately, there is no traffic light to help control traffic when multiple cars arrive at the same time. So, the local residents have devised their own system for determining which car has priority to pass through the intersection: - If in the previous second, no car passed through the intersection, then the first car in the queue for 1 st Avenue goes first. - If in the previous second, a car passed through the intersection on 1st Avenue, then the first car in the queue for
1st
Avenue goes first. - If in the previous second, a car passed through the intersection on Main Street, then the first car in the queue for Main Street goest first. Passing through the intersection takes 1 second. For each car, find the time when they will pass through the intersection. Function Description Complete the function getResult in the editor below. getResult has the following parameters: int arrival [n]: an array of
n
integers where the value at index
i
is the time in seconds when the
i th car arrives at the intersection. If arrival[i]
=
arrival[j] and
i , then car
i
arrives before car
j
. int street[n]: an array of
n
integers where the value at index
i
is the street on which the
t th car is traveling: Street and 1 for 1 st Avenue. Returns:
int[n]:
an array of
n
integers where the value at index
i
is the time when the
i th car will pass through the intersection Constraints -
1≤n≤10 5
-
0≤arrival[i]≤10 9
for
0≤i≤n−1
- arrival[i]

arrival[i
+1]
for
0≤i≤n−2
-
0≤s
street
[i]≤1
for
0≤i≤n−1

Answers

The program that can be used to illustrate the information of busy intersection between two one-way streets is given below.

The program that features the cars will be:

def getResult(arrival, street):

# Write your code here

result = []

# The first car arrives on Main Street at time 0. The first car arrives on 1st Avenue at time 0. The second car arrives on Main Street at time

1. The third car arrives on 1st Avenue at time 5.

time = 0

main_street_queue = []

first_avenue_queue = []

while len(main_street_queue) > 0 or len(first_avenue_queue) > 0:

if len(main_street_queue) == 0:

car_to_add_to_result = first_avenue_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

if len(first_avenue_queue) == 0:

car_to_add_to_result = main_street_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

if (time - main_street_queue[0][1]) > 1:

car_to_add_to_result = first_avenue_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

if (time - first_avenue_queue[0][1]) > 1:

car_to_add_to_result = main_street_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

if main_street_queue[0][0] < first_avenue_queue[0][0]:

car_to_add_to_result = main_street_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

else:

car_to_add_to_result = first_avenue_queue.pop(0)

time = car_to_add_to_result[1]

result.append(time)

continue

return result

Learn more about program on:

brainly.com/question/26642771

#SPJ4

Task:

Your task is to design a simple interactive inventory management system using Python functions.

Question:

You are asked to build a simple inventory management system for storing and updating information about a company's products. To simplify, assume that this company has only three products. For each product, the system stores a record about its inventory level (number of items) and the price of each item. Note that this information will need to be initialized before running the program.

There are three main operations provided by the system (listed below). When the system is started, the program should list these three operations and let the users choose which one to execute. These functionalities are as follows:

1) Generate overall statistics for the entire inventory (total number of items, average price per item, the minimum number of items among the products and the maximum number of items among the products).

2) Retrieve information (quantity or price) for a given product

3) Update information (quantity or price) for a given product

Once the user makes a selection, the program should invoke a relevant function and complete the operation. The system should continue running (i.e., functionality selection should be provided to the user repeatedly) until the user kills the execution of the program (possibly with a unique input character). One possible system design could have four functions:

Function 1: display_system_operations
Inputs: None
Outputs: None
Description: This function prints out all possible operations of the system for the user to choose.

Function 2: generate_overall_stats
Inputs: None
Outputs: Print overall statistics
Description: This function generates all basic statistics of all products, such as the total number of items, average price per item, the minimum number of items among the products and the maximum number of items among the products.

Function 3: retrieve_information
Inputs: product name and information type (quantity or price or both)
Outputs: Print the information requested
Description: This function retrieves the relevant information for a given product, which is obtained from the user as an input.

Function 4: update_information
Inputs: product name, information type (quantity or price) and the updated quantity or price
Outputs: None
Description: This function updates the quantity or price information in the inventory.

Hints:

1) You can initialize the product quantities and the prices using lists. For indexing the products, you can use a list of lists.
2) Remember that lists can be modified directly; the important thing is to identify the correct indices based on user input.
3) You can use formatting options (the format method) to print out nicer looking outputs.
4) You can design a main function which will be the starting point when you execute the entire program. Main function is also a function like others.

Using python

Answers

The program for the inventory management system using the if-else statement is given below with the Screenshot of the Desired output.

What is an inventory management System?

An integrated software program called an inventory management system (IMS) is used to keep track of products, inventories, orders, and fulfillment for customers as well as suppliers. It aids retailers in following products through the supply chain.

For Inventory Management System,

#Dictionaries

unit_price={}

description={}

stock={}

#Open file with stock

details = open("stock.txt","r")

#First line of the file is the number of items

no_items  = int((details.readline()).rstrip("\n"))

#Add items to dictionaries

for i in range(0,no_items):

   line  = (details.readline()).rstrip("\n")

   x1,x2 = line.split("#")

   x1=int(x1)

   x2=float(x2)

   unit_price.update({x1: x2})

for i in range(0,no_items):

   line  = (details.readline()).rstrip("\n")

   x1,x2 = line.split("#")

   x1=int(x1)

   description.update({x1: x2})

for i in range(0,no_items):

   line  = (details.readline()).rstrip("\n")

   x1,x2 = line.split("#")

   x1=int(x1)

   x2=int(x2)

   stock.update({x1: x2})

details.close()

#List to store the items purchased

cart=[]

c="y" #Runs the while loop as long as user wants

#Instructions

print("Welcome to IMS")

print()

print("A-Add an item")

print("R-Remove an item")

print("E-Edit specifics of an item")

print("L-List all items")

print("I-Inquire about a part")

print("P-Purchase")

print("C-Checkout")

print("S-Show all parts purchased")

print("Q-Quit")

print("remove-Remove an item from the cart")

print("help-See all commands again")

print()

total_cost=0

flag=0 #To check if they have checked out

while(c!= "q" or c!= "Q"):

   c= input("What would you like to do? ")

       if(c=="q" or c=="Q"):

       break

       else:

           p_stock = 0

           stock.update({p_no: p_stock})

           print("The stock of an item cannot be negative, the stock has been set to 0.")

       print()

       print("Part number: ",p_no," Description: ",description.get(p_no)," Price: ",unit_price.get(p_no)," Stock: ",stock.get(p_no))

       print("Part was added successfully!")

       print()

      elif(c=="R" or c=="r"):#Remove a part

       print()

       p_no = int(input("Enter part number: "))

       if(p_no in unit_price):

           are_you_sure = input("Are you sure you want to remove that item(y/n)? ")

           if(are_you_sure=="y" or are_you_sure=="Y"):

               unit_price.pop(p_no)

               description.pop(p_no)

               stock.pop(p_no)

               print("Item successfully removed!")

           print()

       else:

           print("Sorry")

           print()

       

   elif(c=="L" or c=="l"):#List all the parts

       print()

       print("Parts and their prices: ",unit_price)

       print("Descriptions: ",description)

       print("Stock left of Item: ",stock)

       print()

   elif(c=="I" or c=="i")

       print()

       p_no=int(input("Enter Part Number: "))

       if(p_no in unit_price):

           print()

           print("Part number: ",p_no," Description: ",description.get(p_no)," Price: ",unit_price.get(p_no)," Stock: ",stock.get(p_no))

           if(stock.get(p_no)<3 and stock.get(p_no)!=0):

               print("Only ",stock.get(p_no)," remaining! Hurry!")

           print()

       else:

           print("Sorry we don't have such an item!")

           print()

           elif(c=="help"):

       print()

       print("Help Centre")

       print("A-Add an item")

       print("R-Remove an item")

       print("E-Edit specifics of an item")

       print("L-List all items")

       print("I-Inquire about a part")

       print("P-Purchase")

       print("C-Checkout")

       print("S-Show all parts purchased")

       print("remove-Remove an item from the cart")

       print("help-See all commands again")

       print("If you have any other questions or concerns please contact the manager.")

       print()

       

   elif(c=="remove" or c=="Remove"):#To remove an item from the cart

       print()

       are_you_sure = input("Are you sure you want to remove an item from the cart(y/n)? ")

       if(are_you_sure=="y"):

           p_no = int(input("Enter part number to remove from cart: "))

           if(p_no in cart):

               stock_current = stock.get(p_no)

               stock[p_no] = stock_current+1

               item_price = unit_price.get(p_no)

               total_cost = total_cost-item_price

               j=0

               for i in range(0,len(cart)):#To find the index of the part in the list cart

                   if(i==p_no):

                       j=i

               cart.pop(j)

               print(description.get(p_no),"removed from cart: ")

               print()

           else:

               print()

               print("That item is not in your cart!")

               print()

               

   elif(c=="s" or c=="S"):#prints list cart

       print()

       print(cart)

       print()

       

   else:

       print()

       print("ERROR! Contact manager for help!")

       print()

#Outputs total if the user quits without checking out

if(total_cost>0 and flag==0):

   print()

   print("You bought: ",cart)

   print("Total: ","$",round(total_cost,2))

   tax= round(0.13*total_cost,2)

   print("Tax is 13%: ","$",tax)

   total = round(total_cost+tax,2)

   print("After Tax: ","$",total)

   

print()

print("Thank you for using IMS")

#Write the updated inventory to the file

details = open("stock.txt","w")

no_items=len(unit_price)

details.write(str(no_items)+"\n")

for i in range(0,no_items):

   details.write(str(i+1)+"#"+str(unit_price[i+1])+"\n")

   

for i in range(0,no_items):

   details.write(str(i+1)+"#"+description[i+1]+"\n")

   

for i in range(0,no_items):

   details.write(str(i+1)+"#"+str(stock[i+1])+"\n")

   

details.close()

Learn more about the inventory management system here:

https://brainly.com/question/4310633

#SPJ4

You need to schedule a meeting during a weekday that the most people can attend. Key: = Preferred: can meet = Not preferred: can still meet X = Cannot meet Monday Tuesday Wednesday Thursday Friday Person A Х Х Person BX Person C x Person D X х Person E Person F x Person G Х Person H X Х When should you schedule the meeting? XXIII XXXIX IX Monday Tuesday Wednesday Thursday Friday

Answers

Since you need to schedule a meeting during a weekday that the most people can attend. The best day is option D: Thursday.

What is scheduling meeting?

Based on the availability of the people listed, it looks like the best day to schedule the meeting would be Thursday.

The reason that i say its that day is because this is the only day where the majority of people are available and do not have any conflicts.

Therefore, If Thursday does not work for you, it may also be possible to schedule the meeting on Tuesday or Friday, as there are still a number of people who are available on those days. However, it's important to consider that fewer people will be able to attend on those days compared to Thursday.

Hence, Thursday is the only day where the majority of people are available and do not have any conflicts.

Learn more about scheduling meeting from

https://brainly.com/question/29569699
#SPJ1

1. Minimum Health Alex and Charlle are playing an online video game. Initially, there are m players in the first level, and there are next n levels. Each level introduces a new player (along with the players from the previous level). Each player has some strength which determines the difficulty of beating this player. To pass any level, select any available players and beat them. Alex has completed the game and beaten the rank th strongest player at every level. Now it's Charlie's turn to play. Whenever a player is beaten, Charlie's health decreases by the amount of strength of that player. So the initial health of Charlie must be greater than or equal to the sum of the strengths of players that are beaten throughout the game. Charlie does not want to lose to Alex, so Charlie decided to also beat the rank th strongest player at each level. What is the minimum initial health that Charlie needs to start with in order to do this? Example initlal, players =[1,2], new_players =[3,4], rank =2 Charlie needs to beat the 2nd strongest player at each level. For the first level, players have strengths 1 and 2 , so Charlie needs to beat the player with Charlie needs to beat the 2nd strongest player at each level. For the first level, players have strengths 1 and 2, so Charlie needs to beat the player with strength 1. For the second level, strengths are1, 2, and 3, so Charlie defeats strength 2. For the third level, strengths are 1, 2,3, and 4, so Charlie defeats strength 3 . Total health needed =1+2+3=6. Function Description Complete the function getMinimumHealth in the editor below. getMinimumHealth has the following parameter(s): int inital_players[ m] : the strength of initial m players of the game int new_players [n] : the strength of new n players that appear one by one after the first level int rank the rank that p2 needs to beat at every level Returns long: the initial health needed Constraints - 1≤n,m≤105

Answers

The minimum initial health that Charlie needs to start with in order to do that can be calculated using function MinimumHealth can be done using python programming language.

The code in python is,

from math import gcd

#Create / declare function MinimumHealth

def MinimumHealth(health, n) :

# Find the GCD of the array elements

__gcd = 0;

for i in range(n) :

__gcd = gcd(__gcd, health[i]);

return __gcd;

# Driver code

if __name__ == "__main__" :

health = [ 5, 6, 1, 2, 3, 4 ];

n = len(health);

print(MinimumHealth(health, n));

The code will use GCD or greatest common divisor in array, and also we use loop statement to iterate the function until we get the correct result.

Learn more about python here:

brainly.com/question/26497128

#SPJ4

what is task in swf? a program which is responsible for only getting decision. a program which deletes the process represents invocation of logical steps in applications. a program which interact with amazon swf to get the tasks, process them and return their results.

Answers

Answer:

A task is a logical unit of work that is carried out by a component of your workflow.

Explanation:

Which of the following cybersecurity solution would help with IoT physical security? Not yet answered Marked out of 1.00 Flag question
O a. Firewall O b. Data Plane security O c Video Surveillance O d. Secure Routers

Answers

Video Surveillance is the cybersecurity solution that would help with IoT physical security. The correct option is C.

What is Video Surveillance?

A sort of closed-circuit television (CCTV) technology devoted to monitoring a specific area of observation is video surveillance. Systems for video surveillance may keep an eye on and/or track people, animals, machines, dangerous situations, etc.

The monitoring of people's communications and physical and digital activities is done with the help of surveillance technology.

Examples of common types include facial recognition software in smart security camera systems and data collection apps for smartphones.

The cybersecurity answer for IoT physical security is video surveillance.

Thus, the correct option is C.

For more details regarding Video Surveillance, visit:

https://brainly.com/question/9538744

#SPJ4

which of the following best describes how protocols on the internet (e.g. ip, tcp,http) make use of abstraction to accomplish their respective purposes?question 14 options:low level protocols can provide functionality to high level protocols without revealing the details of how this is accomplished.high level protocols can take on the role of a low level protocol in the event offailure in the system.low level protocols are written in binary while high level protocols are writtenhexadecimalhigh level protocols take into account specific implementation details of lower level protocols to ensure they are compatible.

Answers

The statement which describes how protocols on the Internet (e.g. IP, TCP, HTTP) make use of abstraction to accomplish their respective purposes is Low-level protocols can provide the functionality to high-level protocols without revealing the details of how this is accomplished.

TCP/IP is the low-level protocol that links computers on the Internet. TCP/IP is implemented differently on various machines. You'll utilize Open Transport, a part of Apple's System 7.5, which is a TCP/IP implementation for the Mac.

The TCP/IP protocols were created for networks that are permanently linked, shared, and high-speed. Subject to security and firewall constraints at their location, anyone who has access to a persistent network connection, such as through an Ethernet network tied to their workstation, may have perpetual access to the Internet. These users just require TCP/IP and Internet software.

learn more about Low-level protocols here: https://brainly.com/question/29098010

#SPJ4

When an object is passed as an argument, ________ is passed into the parameter variable.

Answers

A class method is similar to an instance method, except its first argument is a class object.

Remember that when an instance method is called from an instance object, the instance object is automatically supplied as the method's first argument. A parameter variable is a variable that is only available to the function that gets the argument. That is, the value of the argument is copied into the parameter variable. A constructor is a method that is invoked at the start of an object's lifecycle to create and initialize the object, which is known as creation (or instantiation). The acquisition of resources may be part of the initialization process. In most languages, constructors may contain parameters but do not typically return values.

Learn more about variable here-

https://brainly.com/question/13375207

#SPJ4

True or Fale: Recital 32 and Article 10 (9) etablihed requirement that hall be addreed in a manufacturer’ Quality Management Sytem

Answers

It is true. Recital 32 and Article 10(9) define requirements that must be taken into account in the manufacturer's quality management system.

What is the purpose of the recital?

Recital is an optional form of contract. Its purpose is to provide background for the contract. They often indicate the parties' general understanding of the situation and their purpose or intent for entering into this agreement. An example would be a transaction where the necessary approvals must be obtained from an external party before the contract can be signed. Once approval is granted, the contract includes an explanatory clause explaining the action taken.

What is the difference between an article and a recital?

This article sets out the legal requirements that companies must follow in order to demonstrate compliance. Recitals provide additional information and supporting context to complement the articles.

To learn more about manufacturing systems visit:

https://brainly.com/question/13507769

#SPJ4

Why would someone use a credit card to purchase goods?

Answers

Online transactions involving credit cards are often easier to track than those involving debit, money orders, or checks.These cards frequently offer some protection against fraudulent purchases.

Why do people buy stuff with credit cards? When compared to debit, money orders, or checks, credit card transactions are often easier to track online.These cards frequently include some coverage for unauthorized purchases, which can be quite beneficial to cardholders if their credit card information is ever compromised.When compared to cash, credit cards are safer to carry and provide better fraud protections.Without altering your spending patterns, you can earn substantial rewards.It's simpler to keep tabs on your spending.One of the simplest and quickest ways to improve credit is to use credit cards responsibly.Using a credit card can make you feel safer, you may be given certain safeguards on your purchase, and you may be able to receive cash or points back on your purchases thanks to credit card benefits.

To learn more about credit cards refer

https://brainly.com/question/28800758

#SPJ4

Other Questions
Write the word sentence as an inequality. Then solve the inequality. Three less than a number x is more than 15. Please help meDistinguish between the first two steps of an implementation plan: stating the problem and evaluating the problem. In two or more complete sentences, compare the number of x-intercepts in the graph of f(x)=x2 to the number of x-intercepts in the graph of g(x)=x25. Be sure to include the transformations that occurred between the parent function f(x) and its image g(x). What are the 3 components/materials and energy needed to assemble carbohydrates? Who were the Navajo Code Talkers during World War II? True or false Pericles gave a speech reminding Spartans why it was worth fighting for democracy. 48 divided by 6 - 3 3/4 What is the difference between traditional PCR and qPCR? a. Traditional PCR has only 1 cycle whereas qPCR has multiple cycles b. In traditional PCR, the presence or absences of a DNA sequence is analyzed upon reaction completion whereas qPCR monitors DNA amplification as the reaction progresses c. Traditional PCR is an outdated technique which is unreliable and has not been utilized for years whereas qPCR is a newer and better technique which is always preferred nowadays. d. Traditional PCR is monitored by an increases in fluorescence signal whereas it is impossible to monitor qPCR by increases in fluorescence signal What is the basic economic problem that happens because people have unlimited wants but resources are limited? *A opportunity cost B sunk cost C needsD scarcity (`) PLS HELP IS DUE AT 11:59 IT'S EASY What was one effect of the Dust Bowl?A: There was a food storage in the United StatesB: Many banks closed their doorsC: Many people to their other places D: The Government built dams in the South 100 POINTS PLEASE HELP QUICKLYA savings account starts with $312.50. After 9 years of continuous compounding at an interest rate, r, the account has $1250.What is the interest rate percentage?Round the answer to the nearest hundredth. Eric buys a coffee table price d at $100. If the sales taxis 5%, what wil lbe the total cost including tax? what is electromagnetism When planning a simple experiment, what does it mean to test one variable? a During the experiment, the scientist keeps the control the same but changes many other elements he or she is testing. b During the experiment, the scientist has only one element, or variable, that is changed to test the hypothesis. c The scientist can only use simple language and materials when planning the one variable to be tested. d The scientist plans and performs just one science experiment a day to test one variable. A key issue in the presidential election of 1844 was thea) annexation of Texasb) purchase of New Mexico from the Mexican Governmentc) annexation of New Mexicod) war with MexicoThank you to whoever helps!!! How would you expect osmosis to affect the water balance in these organisms? Plzzzzzz heeelllpp. 20 pointsss What is the most spoiled thing a child could possibly do that would make you want to just smack them as hard as possible?I've asked this before but I need more answers!!! PLEASE HELP IM STUCKwith explanation pleaase