Create a c++ shopping cart program using: linked list- - this will be used as the customer's cart. This is where the items that the customer will buy are placed before checking them out. Array - to store your store products. Pointers - since you will be using linked lists, it is imperative that you also will be using pointers. Functions - Make sure that your program will have user-defined functions (e.g.: function for adding nodes, function for displaying the cart, etc.) The menu options would be cout
Q: Do you ever witness internet harassment? How did you feel when you learned about the scenario? How…
A: On Facebook, I saw one of my friends being harassed by other users. Every time he uploads something…
Q: What does a high-priority firewall system do? How do you use packet filtering software properly?
A: Enter the reason for the firewall into writing.We'll only be able to answer one of your questions at…
Q: Which strategies are the most successful when it comes to controlling your firewall? Explain.
A: Given: Best firewall management practises? Explain. Firewall management best practises: Block…
Q: Describe the impact that "changing time quantum" has on the process execution of Round-Robin…
A: A preemptive scheduler permits a certain process to operate briefly, known as a quantum (or time…
Q: To what do you refer when you say "frequent itemset?" Additionally, please elaborate on the…
A: What are common itemset: Let's first clarify what data mining is. Data mining is the process of…
Q: Can the four most important software development characteristics be categorized? Please choose one…
A: Yes, the four most important software development characteristics can be categorized into different…
Q: Provide instances of Phantom and Dirty's criminal activities.
A: Phantom criminal activities: It occurs when two indistinguishable criminal activities are…
Q: How do software developers and customers collaborate?
A: In this question we have to understand how do software developers and customers collaborate? Let's…
Q: The refresh rate is how often your display changes with new images per second. Another word is…
A: On a visual monitor, the output is shown in VGA mode. To answer this question correctly, imagine an…
Q: Write the pseudocode for an application that will implement the requirements below. Although the…
A: Here is the pseudocode for an application that will implement the requirements:
Q: Which strategies are the most successful when it comes to controlling your firewall? Explain.
A: Firewalls use a variety of methods to manage traffic, such as dynamic packet filtering firewalls,…
Q: Diagrams may assist distinguish scalar and superscalar processors. Superscalar data processing is…
A: Two of the various types of computer processor hardware that are available are scalar and…
Q: ovides several advantages over client-ba
A: Introduction: The ability to automatically backup your data thanks to the multi-server setup is one…
Q: Assaults with less force and impact serve what purpose exactly?
A: Introduction: Damage reduction: It is a way to get into a computer network or a communication…
Q: What separates computer ethics, IP, copyright, and patent in the business context?
A: Computer ethics pertains to the moral principles in using technology,while intellectual…
Q: Which firewall function is more important? How should packet-filtering software be used?
A: A firewall is a software between a network or computer and the Internet. Directly connecting a PC to…
Q: Provide an example of how APIs may be used to connect new and existing systems
A: Sure! Let me give you an example: Suppose a company wants to integrate a new payment gateway into…
Q: Recent technology allows almost all home gadgets to interact wirelessly. Has this changed how…
A: Using cutting-edge tech may streamline your business operations, increase productivity, and give you…
Q: What does the CPU do? What do you conclude?
A: A computer system is made up of a computer plus other hardware and software. It is made up of a…
Q: Linux features distinctive concurrent methods that no other operating system possesses.
A: In software engineering, concurrency refers to a collection of techniques and processes that enable…
Q: What are some examples of successful collaboration between software developers and their end users?
A: Why is collaboration necessary? We are aware that software developers collect requirements, monitor…
Q: Why is hashing better than encryption for file-stored passwords? Why and how do password files work?
A: Introduction: Hashing is a process of taking a large amount of data and transforming it into a…
Q: Define a method before discussing its three essential aspects.
A: Method After creating objects, you want them to be able to do some action. Here, techniques come…
Q: Why is it necessary for today's educational system to include technology into the teaching and…
A: Technology's involvement in the teaching-learning process is crucial to our educational system…
Q: Why are cable networks faster than wireless networks? Wireless networks run slower due to what?
A: Definition: Compared to cabled networks, wireless networks sometimes have slower file-sharing…
Q: What precisely is intended by the phrase "Infrastructure as a Service" (also written as…
A: INTRODUCTION: Cloud computing, or "infrastructure as a service," is a model in which data center…
Q: Each of an operating system's three user processes utilises two R units. The OS employs 12 R units.…
A: Deadlocks can happen when different parts of a system compete for the same resources. To avoid…
Q: What are the reasons for the prevalence of magnetic tape as a medium for the storage of information?
A: Introduction Magnetic Tape: Magnetic tape is a medium for storing digital data on a thin, flexible…
Q: List the pros and cons of the three main network types.
A: Introduction: With a shared network operating system, several computers may share resources and…
Q: What is the key difference between non-proactive scheduling and preemptive scheduling? Provide…
A: Scheduling is a method for allocating system resources to processes to maximize system performance.
Q: What are the four main approaches that are used for the storage of XML data?
A: Introduction: As a result, it's possible to store, transport, and exchange data regardless of the…
Q: What are the most significant distinctions between production processes and service systems in terms…
A: The service approach refers to how a company operates and behaves to serve its clients. The…
Q: Write the steps to submit any online submission form
A: Access the submission form: Locate the website or online platform where the submission form is…
Q: Extensible Markup Language is an abbreviation that stands for Extensible Markup Language, which is…
A: The acronym XML stands for extensible markup language. A markup language is a collection of codes,…
Q: ROM and RAM make up a PC's main memory.
A: Yes, that is correct. ROM (Read-Only Memory) and RAM (Random Access Memory) are both types of memory…
Q: It is important to convert mnemonics to binary machine code since microprocessors' central…
A: Mnemonics Mnemonics are instructions for writing programs in assembly language that can be read by…
Q: Describe the impact that "changing time quantum" has on the process execution of Round-Robin…
A: Round Robin scheduling algorithm It is a popular scheduling algorithm that is used in operating…
Q: Proving yourself worthy of being able to handle bigger tasks, the tech lead has decided to give you…
A: 1. The MySQL query for the given problem is as follows: CREATE TABLE employees ( employee_id…
Q: What exactly does it imply when James MacGregor Burns refers to something as a "system model"? What…
A: The "system model" of James MacGregor Burns is a strategy for decomposing complicated events into…
Q: Ask about business social media accounts. How are they different? Internet recruiting services are…
A: Studies on Social Media Online: Often referred to as "social media platforms," online social…
Q: What are the pros and cons of each iteration of networking technology?
A: 1G Technology: 1G stands for first-generation. It may be used as a different carrier in mobile…
Q: Despite wired networks being quicker, both forms of networks provide the fastest speeds. What…
A: The statement "both forms of networks provide the fastest speeds" is a bit ambiguous, so I'll…
Q: Why do workers need spreadsheet skills now? Give us two instances of how your organisation uses…
A: Introduction Microsoft Excel is one of the most widely used spreadsheet applications, and it is an…
Q: Our hash map wasn't correctly formed since all the data were in one bucket (that is, they are all in…
A: Introduction: Hash tables are groups of arranged things that make it possible for them to be readily…
Q: Demonstrate how trademark ownership and free speech may conflict. How can these assertions be…
A: Trademark ownership and free speech can come into conflict when a person or organization uses a…
Q: Modern corporations use which firewall construction style? Why? Explain.
A: SMOOTH SUBNET FIREWALL WITH DMZ: FIREWALL SUBNET SCREENED Nowadays, the firewalls that are most…
Q: What are the biggest distinctions between a phone network and the internet?
A: The most notable distinctions between the Internet and traditional phone networks are: One, the…
Q: Even though my laptop's BIOS has been upgraded, there is no display. What may be the issue?
A: Using this data, we need to determine why there is a display issue. Many methods exist for ensuring…
Q: Please provide me two solutions to avoid data issues.
A: Regular Data Backups: Regular data backups are one of the easiest and most efficient methods to…
Q: If you could name some ways to improve the effectiveness of service delivery, what would they be?
A: The answer is given in the below step
Step by step
Solved in 4 steps with 1 images
- Create a soda beverage shopping cart program using C++ implementing the following: Linked List - this will be used as the user's cart. This is where the items that the user will purchased are stored here before checking them out. Array - use arrays to store user's stored products. Pointers Functions - Make sure that the rogram will have user-defined functions (e.g.: function for adding nodes, function for displaying the cart, etc.) The program must have a menu where the user can select an action (e.g. Select product, View cart, Check out, etc.) Soda options: Coca-Cola, Pepsi, Sprite, Royal, Mountain Dew Tabular Format: In the table, you must include the code for each soda options, their price and quantity The program must look like this: Hi! Welcome to ABC GoDrink! Here are the drinks that we offer: CODE PRODUCT SRP a Coca-Cola 24.99 b Pepsi 22.99 c Royal 24.99 d Sprite 24.99 e Mountain Dew 22.99 Menu Select a product. View My Cart and Proceed to Check-Out…Create a soda beverage shopping cart program using C++ implementing the following: Linked List - this will be used as the user's cart. This is where the items that the user will purchased are stored here before checking them out. Array - use arrays to store user's stored products. Pointers Functions - Make sure that the rogram will have user-defined functions (e.g.: function for adding nodes, function for displaying the cart, etc.) The program must have a menu where the user can select an action (e.g. Select product, View cart, Check out, etc.) Soda options: Coca-Cola, Pepsi, Sprite, Royal, Mountain Dew Must implement Developer name before the program exits. Please show the entire code and final output.pointers as Arguments:In the C programming language there is no pass-by-reference syntax to passa variable by reference to a function. Instead a variable is passed by pointer(just to be confusing, sometimes passing by pointer is referred to as pass byreference). This Practice Program asks you to do the same thing as C.Here is the header for a function that takes as input a pointer to an integer:1. void addOne (int ∗ptrNum )Complete the function so it adds one to the integer referenced by ptrNum.Write a main function where an integer variable is defined, give it an initialvalue, call addOne, and output the variable. It should be incremented by 1.
- Create a C++ Grocery Program according to this guideline: Linked List Functions Pointers Arrays The program must have a menu layout where the user can select certain action (Select Product, View My Cart, Check-Out, etc.) Include grocery items (e.g. Fruits, Vegetables, Drinks, etc.) Implement basic error tapping Include the group name of the developers with the name of each developer (a total of 4)PYTHON CODING This function takes a list of points and then returns a new list of points, which starts with the first point that was given in the list, and then followed by points closest to the start point. Here is the function that needs to be created: def solution_path(points) : # insert code here return path Please use any of the following function to develop the solution_path function Distance function - calculates the distance between two points def distance(p1, p2) : distance = sqrt (((p1 [0] - p2 [0]) **2) + ((p1 [1] - p2 [1]) **2)) return (distance) Find_closest function - calculates the closest point to the starting point def find_closest(start_point, remaining_points): closest_distance = 99999 for coordinate in remaining_points: dist = distance(start_point, coordinate) if(dist < closest_distance): closest_distance = dist closest_point = coordinate return closest_point Path_distance function -…Common Time Zones Function Name: commonTimeZones() Parameters: code1( str ) , code2( str ) Returns: list of common time zones ( list ) Description: You and your friend live in different countries, but you figure there's a chance that both of you might be in the same time zone. Thus, you want to find out the list of possible time zones that you and your friend could both be in. Given two country codes, write a function that returns a list of the time zones the two countries have in common. Be sure not to include any duplicate time zones. If the two country codes do not have any common time zones, return the string 'No Common Time Zones' instead. Note: You can assume that the codes will always be valid. example test cases: >>> commonTimeZones('can', 'usa') ['UTC-08:00', 'UTC-07:00', 'UTC-06:00', 'UTC-05:00', 'UTC-04:00'] >>> commonTimeZones('rus', 'chn') ['UTC+08:00'] For this assignment, use the REST countries API…
- Common Time Zones Function Name: commonTimeZones() Parameters: code1( str ), code2( str) Returns: list of common time zones ( list ) Description: You and your friend live in different countries, but you figure there's a chance that both of you might be in the same time zone. Thus, you want to find out the list of possible time zones that you and your friend could both be in. Given two country codes, write a function that returns a list of the time zones the two countries have in common. Be sure not to include any duplicate time zones. If the two country codes do not have any common time zones, return the string 'No Common Time Zones' instead. Note: You can assume that the codes will always be valid. example test cases: >>> commonTimeZones('can', 'usa') [UTC-08:00', 'UTC-07:00', 'UTC-06:00', 'UTC-05:00', 'UTC-04:00] >>> commonTimeZones('rus', 'chn') [UTC+08:00] For this assignment, use the REST countries API (https://restcountries.com/#api-endpoints-v2). For all of your requests, make…Exercise, maxCylinderVolume F# system function such as min or methods in the list module such as List.map are not allowed Write a function maxCylinderVolume that takes a list of floating-point tuples that represent dimensions of a cylinder and returns the volume of the cylinder that has the largest volume. Each tuple has two floating point values that are both greater than zero. The first value is the radius r and the second value is the height h. The volume of the cylinder is computed using ??2h. The value π is represented in F# with System.Math.PI. If the list is empty, return 0.0. Examples: > maxCylinderVolume [(2.1, 3.4); (4.7, 2.8); (0.9, 6.1); (3.2, 5.4)];;val it : float = 194.3137888> maxCylinderVolume [(0.33, 0.66)];;val it : float = 0.2257988304Modular Programming: Your program should be modular and consists of the following functions: a) read(): - Ask the user for a valid atomic number (Z) b) compute_binding_energy(Z, table): - Build the table (a list of lists) of binding energy where the columns are: the mass number (A), the binding energy (Eb) and the binding energy per nucleon (BEN), while the rows range from A = Z to A = 4Z c) most_stable(table) : - Find and return the row that contains the highest binding energy per nucleon, which corresponds to the most stable configuration. d) print_table(table): - Print the table in a neat tabular format as shown in the sample run in figure 2. e) write_to_file(table, file_name): - Save the table in a text file output.txt as shown in figure 3. 4 f) main(): - The main function is set up to make the calls to the functions as specified in points a) to e)
- python exercise: 1. Write a Python function called generate_quiz_question that takes a list of quiz questions (represented as tuples of the question and answer) as input and returns a randomly selected question from the list. The function should also prompt the user to enter their answer to the question, and then check whether the user's answer is correct or not. If the user's answer is correct, the function should return True. Otherwise, it should return False. 2. Write a function is_palindrome(s) that takes a string s as input and returns True if s is a palindrome (i.e., reads the same backwards and forwards), and False otherwise 3. Write a Python function called get_top_students that takes the list of dictionaries as input and returns a dictionary containing the name and GPA of the top two students in the list. Each dictionary has the following keys: "name", "age", "major", and "gpa".Algorithm Efficiency 1- Programming Problem Part 1 Write a function that will have a list as an input, the task of the function is to check if all the elements in the list are unique,( i.e. no repetition of any value has occurred in the list), then the function returns true otherwise it returns false. Your program should include a main method that call the method to test it. (If you would use built-in functions in Python, use lists’ or dictionaries’ methods as we studied their time efficiency in class) 2- Algorithm AnalysisFor the function you implemented in part 1, please calculate T(n), which represents the running time of your algorithm in terms of n. Where n is the length of the list. Then find the order of magnitude of your algorithm (Big O). 3- Algorithms Comparison Please find another algorithm that solves part 1, write the code, calculate T(n) and find Big O. Then compare the efficiency with the algorithm from part1 to determine the more efficient one.Create a C++ Grocery Program according to this guideline: Linked List Functions Pointers Arrays The program must have a menu layout where the user can select certain action (Select Product, View My Cart, Check-Out, etc.) You must include all kinds of drinks/beverages Implement basic error tapping IYou must include the group name of the developers with the name of each developer (a total of 4) Group Name: In-Out Group Names: Cesar Rachel Jennifer Tom