Assume you're making a mobile store simulator. Your code is made up of the following elements: a. Concurrent goods such as Smartphones and Tablets b. Several variations of the company's goods, such as Android and Apple. Which design pattern should you use? Describe in terms of the entire consistent format.
Q: 1) The newton function returns the square root of 'x' 2) The limitReached function returns True if ...
A: Introduction: The Newton-Raphson technique, commonly known as Newton's method, is a root-finding pro...
Q: ( Let E be the language of bit strings that have at least one 1 and have even length. So, for exampl...
A: Let E be the language of bit strings that have at least one 1 and have even length. So, for example,...
Q: What are the main differences between a phone network and a broadband Internet connection?
A: Introduction: What are the main differences between a phone network and a broadband Internet connect...
Q: ) Accept 3 inputs 1. A vector of structs containing the 2. The name of the field as a chara 3. A num...
A: Write a C++ program to calculate earnings of the employee and calculate the income tax to be paid.
Q: et assume that it is required to install 5 capacitor banks with a given maximum capacity for each of...
A: The genetic algorithm is one of the search based optimization process which works based on the natur...
Q: Calculate the following for the data given below : (i) Entropy (ii) Coding redundancy of Binary code...
A: Hi there, Please find your solution below, I hope you would find my solution useful and helpful. Tha...
Q: 4. Gathering Positivity by CodeChum Admin I always want to look at the positive side of things, so ...
A: Introduction: 4. Gathering Positivity by CodeChum Admin I always want to look at the positive...
Q: A- System.out.print(Math.floor(5.7));
A: The floor() method returns a double result that has been rounded down. A mathematical integer will b...
Q: What are the primary, secondary, and stub zones in the Windows DNS server?
A: Let us see the answer:- Introduction:- A DNS Server is a computer that completes the name resolution...
Q: For each of the following pairs of functie ff and gg, circle one of the answers f \in o(g), f \in \T...
A: Please refer below for your reference:
Q: Reliability is sometimes more important than speed: Is it true or false
A: Answer: The given statement is True
Q: Write a php program to take the current room temperature from the user in degree celsius and try to ...
A: let us see the answer:- The formula for converting temperature in degree Celsius to kelvin-
Q: Why did the program fail to capture the output of the circuit? Think about the timing and make the n...
A: Introduction Why did the program fail to capture the output of the circuit? Think about the timing...
Q: B. Explain some business benefits of ERP Implementation.
A: Let us see the answer:- Introduction:- ERP is an abbreviation for Enterprise Resource Planning. ERP ...
Q: manageme
A: 1) Normal Situations: Any library user should be able to look up books by title, author, subject ca...
Q: In classification and regression trees (CART), it is done by the model itself, based on how dirty it...
A: Even though CART do not provide the best results in classification it is useful for a previous pre-p...
Q: Can two network interfaces share MAC addresses? Or not? Is it possible for two network interfaces to...
A: Can two network interfaces share MAC addresses? No two devices on a local network(LAN) should ever...
Q: What if a procedure didn't include the RET instruction?
A: Introduction: The RET command stands for return. This instruction appears at the conclusion of proc...
Q: Let X be a Poisson random variable with pmf as P. (k) = P(X = k) = e- : k! where k = 0,1,2,.. (a) Ke...
A: Explanation: The first picture of output is the pmf of the Poisson distribution for λ=4. In the seco...
Q: What is the difference between a client computer and a server computer?
A: A Server computer is a computer on a network that shares resources for others to use. A Client compu...
Q: Analyse pgmEcho.c to identify how it should be improved, then rewrite it so that it is more modular...
A: Explanation: Include the necessary header files. Then pass the argument vector in the main function...
Q: Describe three (3) of these element with respect to creating, digital processing and storage in a co...
A: Introduction: In the development of computer applications, digital processing and storage are essent...
Q: What is the language generated by the CFG below? S → aSb|aSc\A O L(G) = {a'cb* : i = j+k,j>1,k > 0} ...
A: Given grammar is S→ aSb|aSc| λ Example strings accepted ab,ac,aabc...
Q: Computer Science -What are the three factors that influence hardware purchases?
A: Given: What are the three elements that impact whether or not you buy hardware?
Q: I am trying to practice Java Programming and would like to see and example of a program so I can bet...
A: Inheritance is OOP concept where one class inherits all the methods and properties of another class....
Q: Given a directed graph G with 2 strongly connect components C1 and C2, which of the following statem...
A: A directed graph is strongly connected if there is a path between all pairs of vertices. A strongly ...
Q: In educational institutions, what sorts of networks are used?
A: Introduction: Here we are asked what type of networks are used in educational institutions.
Q: Write a simple program in c# Windows Form App that accepts two prices from the customer; and then ca...
A: Declare class Initialise variables Perform the calculation Take user inputs Display the result.
Q: ProPublica Al system is related to 3. a. Recruitment b. Promotions Judiciary d. Tourism C.
A: Propublica AI At every level of the criminal justice system, they are utilised to inform choices on...
Q: What do we name the procedure by which the client authenticates itself to the server and the server ...
A: According to the given problem statement we have to find the name of the process in which the client...
Q: PYTHON PROGRAMMING LAB Write a python program to print the larger value that is in the range 10..20 ...
A: Start. Take three inputs from user. Check the maximum. Now check if the maximum is in range 10 . . 2...
Q: The preorder traversal of the following tree is: b. d f
A: Pre-order transversal of the Binary tree can be defined as a process in which we first visit the roo...
Q: s its limitations because it does not foster the development of new ideas. The principle of "Everyth...
A: The following are some of procedural programming's drawbacks: Procedures or functions are the major...
Q: Which of the following may be described as implementing a "contract" with the user of your software?...
A: let us see the answer:- The correct options for the first question are: D and E D) an employee can h...
Q: Write a function, to be included in a sorted linked list class, called smaller, that will receive an...
A: Answer is given below-
Q: the following program, Factors.java, finds factors of a user entered integer. Given this program bel...
A: import java.util.Scanner; public class Factors { public static void main(String[] args) { Scan...
Q: Given the Boolean expression: A= WXYZ + W'XYZ' + W'X'YZ + WYX'Z', identify the incorrect part of the...
A:
Q: Using a variety of examples, describe real-time operating systems. Explain how it differs from a sta...
A: Real-time operating system: This kind of operating system is often utilized in environments where a ...
Q: What is a problem oriented languages?
A: Given: What is a problem oriented languages?
Q: Figure out what kinds of connections there are between mobile devices and the cloud. What are the ad...
A: Answer : Private , public and hybrid connection are available between cloud and other devices.
Q: consider 3 hosts (A , B and C) where A is running 3-TCP process, B has 1-TCP process and Cis running...
A: The answer is
Q: ine the role of access keywords in defining cl
A: he role of access keywords in defining class members.
Q: Consider the grammar below: S → aSb|bSa|SS|A For the string ab, how many leftmost derivations with 4...
A: : S -> aSb | bSa | SS | λ Now the leftmost derivation with number of steps is 4 or less are: a) ...
Q: It is given that Symbol a bcde f Frequency 21 16 15 18 32 8 How many bits are required to code the a...
A:
Q: Write a function, to be included in a sorted linked list class, called printPosition, that will rece...
A: Lets see the solution in the next steps
Q: Write a C program for Matrix multiplication of size nxn. Note: First get the size of both the matric...
A: Your C code is give below as you required with an output.
Q: What is the function of the transport layer in the OSI model?
A: Introduction: The OSI Model (Open Systems Interconnection Model) is a theoretical framework for defi...
Q: Suppose you have a RISC machine with a 2.7 GHz clock (i.e., the clock ticks 2.7 billion times per se...
A: The answer is
Q: The needs of a user and the requirements of a system differ in what ways they are related to one ano...
A: The needs of a user and the requirements of a system differ in what ways they are related to one ano...
Assume you're making a mobile store simulator. Your code is made up of the following elements: a. Concurrent goods such as Smartphones and Tablets b. Several variations of the company's goods, such as Android and Apple. Which design pattern should you use? Describe in terms of the entire consistent format.
Step by step
Solved in 2 steps
- Software Engineering: Project Description: Sentiment Analysis System for Images, In this project, we will be creating an Sentiment Analysis system that utilizes machine learning to efficiently analyze people's feelings using their images. Then we will build a web application that is allowing users to upload an image and make a decision about whether it is positive, negative, or neutral. I need the following (please in details and clearly): A) Context models (The whole System)B) Use case modeling (At least four of your system features or activities )C) Class diagrams 1. Classes and associations (The whole System) 2. Class diagram (At least four of your system activities)D) Sequence diagram (At least four of your system activities) Thank you!Computer Science UML is a standard language that allows you to capture different aspects of your system in well-defined graphical models. Some of the models capture static aspects for the system and one will capture dynamic behavior for the system. In this project, you are required to draw an activity diagram showing the actions and events involved in depositing a check to a bank account using a mobile app. In particular, your paper should provide the following: A simple pseudo-code that captures the sequence of that process A detailed activity diagram that maps to your pseudo code you identified Make sure to specify clearly any assumptions you feel important to understand your logic I'm a bit lost on what to do and really just need an example of what this is asking and then suggestions on how to go about doing the assignment.For this assignment, you will be building a class, creating objects, doing comparisons and using nested control statements. You need to remember what you have learned in class, lab, books and your assignments. Be sure to refer to them when you need to. There are 2 parts to this assignment. In the first part, you are going to be given a problem and you will then need to create a structure, write algorithms and a flow chart to solve it. In the second part, you’ll be turning this into a java program. So let’s get started! Part 1: Your haunted house adventure: The user always starts the game at the front door and must immediately decide where they want to go. Your movement constraints are as follows: -From the front door, the user must choose between going into the living room, dining room or up the stairs. -To get from one room to the next, there must be a door. That means that to get to some rooms, the user must go through other rooms. See the above diagram for more details. -If the user…
- Project Description: We will program the gesture selection component of a relational agent. The set of actions will be: 1. Smile 2. Frown 3. Nod 4. Blink Percepts will be a user's communication to the program, consisting of two elements: 1. content (Positive, Negative, Unsure) 2. mood (Happy, Sad, Neutral) The output is a gesture that the relational agent should perform when responding. The agent's gesture selection strategy is defined as: • If happy and either positive or negative, smile • If happy and unsure, nod • If sad, frown • If neutral and positive or negative, nod • If neutral and unsure, blink Your Task: Implement a production-rule driven relational agent with the behavior as above. Input will be a file of 2-element Python tuples, one per line. Your top-level function should be called gestures(path)-the path argument being a path to the input file, suitable as an argument to open.You are to create a solution for a Pharmaceutical company. Entities to be represented are: Drugs, Sales Representatives, Bills and Vouchers. • A Drug is characterized by its name (string), its price (int) and its manufacturer (a manufacturer ===> composition). A Manufacturer is characterized by his name (string) and the list of drugs they sell (array of drugs) => composition. • A Sales Representative (sometimes referred to as rep) is characterized by his/her name(string), the total amount sold (double), his/her salary (int). o Sales Representatives can be of two types (inheritance): Reps with a fixed income and a commission Reps with a commission only A Voucher is characterized by its number (int), a client name (a customer), and the quantity sold of each drug. All reps and vouchers and bills are payable. As such, students need to implement an interface called Payable and implement it in the aforementioned classes. 1. You need then to create GUI interfaces where the user can manage all…You have been asked to design the framework for defining different types of computers. For example, there are Laptops, Servers, and SmartPhones that are all a type of Computer.Use the following rules to answer the questions that follow:A Server is a type of Computer that has a Ethernet interface.A Laptop is a type of Computer that has a Battery and also has a Ethernet and Wifi interface.A SmartPhone is a type of Computer that has a Battery, a Call method and a Wifi interface.A Network interface is an interface that allows an object to connect to a network.A Ethernet interface is a type of Network interface.A Wifi interface is a type of Network interface. Write the code below for the Computer class. The Computer class must be an abstract class, and have the following methods and attributes: a public string called HostName a private int called MemorySize a public abstract method called shutdown that takes no arguments and returns nothing a public abstract method called runProgram that…
- Apply the Java concepts that you learned (OOP, polymorphism, interfaces, packaging, ...) as well as SOLID design principles to design/extend a Parking Garage application and implement it to class diagram for the system and sequence diagram for the system . This application manages a parking space for a configurable maximum number of vehicles. The designed application must handle the following functions: ● Each garage slot has a width and depth that describes the slot dimensions. ● The garage consists of a configurable maximum number of slots with different dimensions. ● Each vehicle shall be identified by a model name, unique identification number, Model year and vehicle dimensions (width and length). ● Park-in function that marks the arrival time of a vehicle if there is an available slot that matches vehicle dimensions. ● The slot selection for vehicle park-in could be done using multiple algorithms: ○ First Fit selection where the first slot with big enough dimension to host the…Subject: Discrete StructuresQuestion: The number of bacteria in a colony doubles every hour. If the colony begins with 5 bacteria, how many will be present in 30 hours?Design a parking lot that supports different types of vehicles, where spots are of different sizes. E.g. regular spots can accommodate regular cars, but cannot accommodate a vehicle as large as a bus. However, a bus can take up as many regular spots as it needs to park.
- You need to design and implement the following structure for your organization. You must follow the instructions given below Organization and Person must be interfaces.Data Generator Most application depends on data. In IoT data is collected/generate by sensors. Since, we do not have access to sensors, we will have to generate data via code. The plotting a sufficient number of these data points (500 in this case) should get the following diagram or something very similar: You will pick a quantity that you would like to simulate (such as temperature, humidity, barometric pressure, customers arriving at a mall, or just with an alternate descriptor) and decide what shape you will emulate. This will guide you in selecting sensible value base lines for your data values. e.g., If you pick inside temperature then normal range will be 18-21oC. Design and build a class that will model your sensor reasonably well. Notice how the peaks do not occur at regular interval, nor are they the same height. Even the squiggles are the same shapes. You will create a class with a single public member (property) that give you a “random” value in your intended range and…When we type a reference, we design a pattern for using the reference. Explain down what a topics that can be included in a pattern?