Hello, I need some help with this assignment please, I need to make multiple classes for this program, while also asking the user which items to llok up too. I have tryed multpile times myslef, but I cannot get the output correct. It needs ro be in # C lauanage and I am working on it through Visual Studio. Thank you for your help.
Q: sphere three flagship products: TrendBlaze Jacket, VogueChic Dress, and UrbanGlam Shoes. Your task…
A: Here we can solve this question using python. It is important to note that a logic and structure is…
Q: a progra sphere nion, an online fashion ne store offers three flagship products: TrendBlaze Jacket,…
A: Define a class for fashion products with attributes like name, details, sizes, price, and special…
Q: use of caching mechanisms in PHP, such as opcode caching and data cachin
A: The question asks about the utilization of caching mechanisms in PHP, specifically opcode caching…
Q: Given the integer array yearlySalaries with the size of NUM_ELEMENTS, write a for loop to output the…
A: Initialize Variables:Set `NUM_ELEMENTS` as the size of the array.Declare and initialize…
Q: Matlab Assignment Assign the points P=(4,3,0) and Q=(6,1,2) and the vector L = 5i + 8j - 1k.…
A: 1) The vector representing the direction of the line was correctly named L in the problem statement,…
Q: What are the Development Methodologies within Agile Philosophy?
A: The Agile philosophy promotes a flexible and iterative approach to software development, emphasizing…
Q: Perl Programming Find thenumber of files with their names with size greater than 2 Kbytes for two…
A: The objective of the question is to write a Perl script that can count the number of files in two…
Q: An ARP table does what? Links an IP address to a host name. Links an IP…
A: The objective of the question is to understand the function of an ARP (Address Resolution Protocol)…
Q: 1.48 Let = {0,1} and let D = {w|w contains an equal number of occurrences of the substrings 01 and…
A: To show that D is a regular language, we can use the concept of a finite automaton (FA). A language…
Q: Create a program for "FitFuel Nutrition," an online health and wellness store? The store offers…
A: Define a Product class with attributes: name, nutritional_info, price, ingredients.Define a…
Q: This implements Insertion sort. I had asked how to use the Selection sort algorithum?
A: Selection sort is a simple sorting algorithm that repeatedly selects the smallest (or largest,…
Q: Solving recurrences using the Master method. Give asymptotic upper and lower bounds for T(n) in each…
A: A recurrence equation is a mathematical formula that specifies a sequence or set of values in terms…
Q: Which of the following are valid C++ identifiers? Select whether they are valid or invalid from the…
A: The unique name to identify the variable is called identifiers. Rules for identifiers:Identifiers…
Q: Please helping write the code for the scale down. the size after scaling down can't less than 2x2
A: In this question, we have to write a code for the Block with a property of scaleDown which will…
Q: In terms of the perspective projection camera model, two things occur simultaneously during a dolly…
A: The objective of the question is to determine the focal length required to capture the second image…
Q: 4. What is the gap between 201 and the next number? ision number? larger double-precisio
A: When dealing with numerical computations, accuracy is paramount. But how can we represent real…
Q: 1.16 Use the construction given in Theorem 1.39 to convert the following two nonde- terministic…
A: The question revolves around Theorem 1.39, which states that every non deterministic finite…
Q: True or False? Briefly justify your answers. (O is Big O) (a) sin x = O(1) as x → ∞. (b) sin x =…
A: Big O notation is a mathematical notation used in computer science to characterize the asymptotic…
Q: 5. List the number and date of all orders that were placed on 9/10/2018 or that were placed by a…
A: SELECT OrderNum, OrderDateFROM WorkOrdersWHERE OrderDate = '2018-09-10' OR ClientNum IN (SELECT…
Q: What is the group permissions for a file with the following permissions in Linux: drwx-wx--x…
A: The question is asking about the group permissions for a file in a Linux system, given the…
Q: Need an HTML Code with inlined elements Build this initial home page inside a 2x2 html table. Using…
A: The objective of the question is to create an HTML page with a 2x2 table. The table should have…
Q: Write a recursive algorithm mypowerlist (n) that, given a nat- ural number n as input, returns the…
A: An algorithm is a methodical process or collection of guidelines created to carry out a certain job…
Q: You want to perform a DoS attack against some host with a known IP address. You have become aware…
A: A group of linked computers, gadgets, or systems that exchange information and communicate with one…
Q: Refer to Fig 3.20 1) Name the weak and strong entities. 2) Write down the structural constraints of…
A: In this question we have been provided with the Entity-Relationship Diagram (ERD) and requested…
Q: Let D = {w w contains an even number of a's and an odd number of b's and does not contain the…
A: SOLUTION -If we want to create a DFA for the language D and provide a regular expression that…
Q: modifying following code and write comments for each line of codes. #include #include…
A: In this question we have been given with the C program designed to evaluate the strength of…
Q: Can you help me with part 1.9 part A because I am really struggling with state diagrams and this…
A: NFA stands for Non deterministic Finite Automata which is a type of automata that accepts the…
Q: 7.a. Perform the arithmetic using binary notation. Show your calculation as shown : I. 1101110112 +…
A: The binary number system, commonly referred to as base-2 numbers, consists of just two digits: 0 and…
Q: can you help me with this questin because I don't understand it and I am having trouble with this…
A: The NOEXTEND operation, in the context of formal languages, defines a set NOEXTEND(A) for a language…
Q: You are tasked with developing a program to manage inventory levels for a small retail store. The…
A: Initialization:Define constants for the number of days in a week and initialize arrays to store…
Q: What are the benifits of using AVL trees over binary search trees in terms of balancing and search…
A: AVL trees and Binary Search Trees (BSTs) are self-balancing two-way binary search trees used in the…
Q: Integer cradleQuantity and string friendName are read from input. A FileOutputStream named…
A: Algorithm:1. Import necessary classes: 'Scanner', 'FileOutputStream', and 'PrintWriter'.2. Declare…
Q: Write in C Asks the user for the magnitude (distance), in meters, and the heading, in degrees of the…
A: In this question we have to write a C code for navigating a submarine to a target point (Bravo) from…
Q: in java Variables bananaStream and bananaDataFS are FileOutputStream and PrintWriter, respectively.…
A: The objective of the question is to write to a file using FileOutputStream and PrintWriter in Java.…
Q: In numerical methods, one source of error occurs when we use an approximation for a mathematical…
A: 1. Initialize variables: - X: a random real number where the function will be evaluated (e.g., X =…
Q: Identify the true statements about use cases. O Use cases have no bearing on test plans. Use cases…
A: A use case is a graphical representation of actions that define a system's behavior while performing…
Q: What is the purpose of surveillance? What types and levels of surveillance are there? As it relates…
A: Public safety, crime prevention, and national security are all served by surveillance. Surveillance…
Q: Which of the following statements is not accurate when working with styles? (Select the correct…
A: 1) A Style refers to a set of formatting characteristics that can be applied to text or other…
Q: If an input other than a non-negative integer is entered into your function myfactorial, the process…
A: In this question we have to write a Python code whereWe'll define a function called myfactorial…
Q: What are the responsibilities of the DBA?
A: A Database Administrator (DBA) is a professional responsible for the installation, configuration,…
Q: In C++, what performance issues can occur with concurrency?
A: Concurrency in C++ refers to the ability of a system to execute multiple tasks or processes…
Q: Contrast and compare Software Development Life Cycle (SDLC) stages to the stages of building and…
A: The process of designing, developing, testing, and maintaining software applications, frameworks, or…
Q: Other than speed, what other measures of efficiency might we need to consider in a real-world…
A: In the realm of computer science, evaluating algorithms solely on speed might provide an incomplete…
Q: The direct resume rule means that: Select one or more: a. The resuming process loses the critical…
A: Resuming doesn't ensure instant access to the essential region under the direct resume rule.…
Q: Using the AddTwo program from Section 3.2 as a reference, write a program that calculates the…
A: The objective of the question is to write a program that calculates the expression A = (A + B) - (C…
Q: Oh thank you, this was perfect! And do you know what I'd do to find the same thing, but for the…
A: To find the distance between a point and a vector in three dimensional space, you can use the…
Q: Do you think 40 years in prison for an ex - CIA coder who leaked hacking tools to WikiLeaks was too…
A: Determining whether a 40-year prison sentence for an ex-CIA coder who leaked hacking tools to…
Q: In regard to developing appropriate exceptions in Java, what are some best practices to follow?
A: Exception handling is a critical aspect of Java programming, ensuring that applications can…
Q: The 10 Richest People in the World 2023 (Excel) Rank Name Age Wealth ($bil) Wealth per year 1…
A: In this question we have been given the data for top 10 richest people in the world. We have to…
Q: Explain the role of input and output devices in a computer system, and provide examples of each
A: A computer system is a combination of hardware and software elements that handles data, generates…
Hello, I need some help with this assignment please, I need to make multiple classes for this
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
- Introduction In this project, you will complete a C++ class by writing a copy constructor, destructor, and assignment operator. Furthermore, you will write a tester class and a test program and use Valgrind to check that your program is free of memory leaks. Finally, you will submit your project files on GL. If you have submitted programs on GL using shared directories (instead of the submit command), then the submission steps should be familiar. In this project we develop an application which holds the information about a digital art piece. There are two classes in this project. • The Random class generates data. The implementation of this class is provided. It generates random int numbers for colors. To create an object of this class we need to specify min and max values for the constructor. The colors fall between 30 and 37 inclusively. The Art class generates random colors and stores the color values. You implement the Art class. An object of the Art class is a digital masterpiece.…IT is a project Create a program to enter grades and calculate averages and letter grades. Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A constructor that clears the student data (use -1 for unset grades) Get functions for items a, b, and c, average, and letter grade Set functions for items a, n, and c Note that the get and set functions for Student grades need an argument for the grade index. Need another class which will contain: An Array of Students (1 above) A count of the number of students in the use You need to create a menu interface that allows you to: Add new students Enter test grades Display all the students with their names, ids, test grades, average, and letter grade Exit the program Add comments and use proper indentation. Nice Features: I would like that system to accept a student with no grades, then later add one or more grades, and when all grades are entered, calculate the final average or grade. I would…1. Create a book object which contains at least four different attributes (it should contains the name of the book and the publication date). Use the notation which is given below: Define Book which made of { .anAttribute .anotherAttribute } 2. Create an array of Books consists of 5 books. 3. Write an algorithm which is determining whether or not some book’s name in the array. 4. Write an algorithm which is determining the oldest book in the array.
- JAVA Your teacher has created two arrays, each holding the results of tests, say Test 1 and Test 2. You need to create a new array which holds the averages of these two tests. You may assume that the first element of the first test array refers to the student who also has the grade in the first element of the second test, and the last element in each array are the grades the last student earned for each test. All students received grades for both tests, meaning both test arrays are of the same length. Complete the method, named makeAverage, in the class named Grades.java. There are two parameters to this method: the first is the integer array representing the grades of the first test, and the second is the array containing the grades of the second test. The new average array should be returned by the method. The grades should be treated as double variables. For example, consider the test grades for the five students in the following arrays: [ 87 ] [ 91 ] [ 76 ] [ 76 ] [ 94 ]…Activity 1. Write a program that creates a 5 element array named arrayOfFive. 2. You must ask the user for five integers, one at a time, using a Scanner object (use a loop). 3. You must store each user input into the arrayOfFive. 4. Then print the arrayOfFive contents. Reminder: User input does not need validation. Output should look like: Enter integer #1: 9 Enter integer #2: 5 Enter integer #3: 7 Enter integer #4: 3 Enter integer #5: 4 You entered: 9 5 7 3 4In this project you will generate a poker hand containing five cards randomly selected from a deck of cards. The names of the cards are stored in a text string will be converted into an array. The array will be randomly sorted to "shuffle" the deck. Each time the user clicks a Deal button, the last five cards of the array will be removed, reducing the size of the deck size. When the size of the deck drops to zero, a new randomly sorted deck will be generated. A preview of the completed project with a randomly generated hand is shown in Figure 7-50.
- 1. Declare an array to save 4 Dog objects. The Dog class is provided below. Look into the Dog class and find what attributes are needed for a dog object. Then initialize five dogs with the following information: Lily, 5 years old Jacob, 2 years old Sugar, 8 years old Bush, 3 years old 2. Print out every dog using a for loop (use either regular for loop or for-each loop, your choice). But you may find when you print out, the name and age are not displayed. Why? 3. Fix this problem by implementing the toString method in the Dog class. Dog Class: public class Dog { private String name; private int age; public Dog(String name, int age) { this.name = name; this.age = age; } public void setName(String name) { this.name = name; } }Create a BowlingTeam class The class has 2 fields: a field for the team name and an array that holds the team members’ names. Create get and set methods for the teamName field. Add a setMember method that sets a team member’s name. The method requires a position and a name, and it uses the position as a subscript to the members array. Add a getMember method that returns a team member’s name. The method requires a value used as a subscript that determines which member’s name to return. Create a BowlingTeamDemo class. In the main method include the following: Declare 2 variables: name and a constant NUM_TEAMS that holds 4 Bowling Team objects. Declare and instantiate an array teams of BowlingTeam objects. Using nested for loops, prompt the user to enter the 4 team names and enter the team members’ names. Using another nested for loop, output each team’s name and their team members’. Output should look like: Members of team The Lucky Strikes Carlos Diego Rose Lynn Members of team I…please help me in writing pseudocode for this project. Need a class which will contain: Student Name Student Id Student Grades (an array of 3 grades) A constructor that clears the student data (use -1 for unset grades) Get functions for items a, b, and c, average, and letter grade Set functions for items a, n, and c Note that the get and set functions for Student grades need an argument for the grade index. Need another class which will contain: An Array of Students (1 above) A count of the number of students in the use You need to create a menu interface that allows you to: Add new students Enter test grades Display all the students with their names, ids, test grades, average, and letter grade Exit the program
- Computer Science JAVASCRIPT .xlsx parser I need to write a public class that reads an .xlsx file and returns an array of data in javascript. The array would be all of the data inside of the file. The file itself is going to be inside of a folder(downloadedFIles) inside of my project. So the public class will need to account for that.Write code for a test class with the following details:1. Create an object of each class mentioned in Question 3, assuming the values for the data members of each class. Create an array that takes the objects of ALL the classes as its elements. Write an enhanced for loop to display the object details. 2. the dealer in Question 4 decides to offer 2% percent discount on the commission at runtime. Write codewith explanation. 3. Add code to the test class that writes the invoice details of Question 6 to a txt document Syntax of the q3 code is given below: import java.util.*; class Car{ //class car String[] name; int reg_number,eng_number, chassis_num,status; String[] city, model, color, date_reg,date_arr,type; float price; float abstract calculate (float price); } class Dealer extends Car{ //inherits from Car String[] deal_name, deal_id, deal_add, deal_pno; float dealer_com ; float abstract calculate (float price) { dealer_com= 0.01*price +…in C#, Visual Basic Write an app for Boston Airlines that allows a customer to reserve a seat on the airline’s only plane (capacity: 10 seats). Radio buttons should allow the choice between First Class and Economy. The app should then assign a seat in the first-class section (seats 1–5) or the economy section (seats 6–10). Use a one-dimensional array of type bool to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available. Your app should never assign a seat that has already been assigned. When the economy section is full, your app should ask the person if it is acceptable to be placed in the first-class section (and vice versa). If yes, make the appropriate seat assignment. If no, display the message “Next flight leaves in 3 hours."