Question-1: The abstract Animal class has four concrete subclasses named mammals, amphibians, Reptiles, and Birds. Each of these four classes has a different number of legs and weights in kilograms. The weights of each category are 100, 40, 200, 25 KGs respectively. Create six different objects from these four categories, and store them in a one-dimension array. Display the entries in the array and their total weights and legcounts. Question-2 is assigned to even registration numbers
Q: (a) For two functions f(n) and g(n), if f(n) = O(g(n)) then g(n) = N(f(n)). (b) For positive valued…
A: As per our company guidelines we are supposed to answer only first 3 bits. Kindly repost other bits…
Q: 1. Predict the output from the following devices c) 1 C = ? 0
A: Answer: Not gate not allowed to in-between connection circuit 0. So value 0 not considered.
Q: What is the meaning of the word heap? "A heap operation takes O(nlogn) time to complete." - provide…
A: INITIATION: A heap is a particular type of tree, more precisely, a binary tree.The structure of a…
Q: What four qualities are necessary to succeed in the software development field?? Please submit your…
A: Software development: According to IBM Research, "software development" is "a set of computer…
Q: A decision support system (DSS) is an information system that aides a business in making choices…
A: Let us examine the answer to the preceding issue. The following are the many components of the DSS…
Q: Write a Java program that would resemble a payroll system. An input window which will accept the…
A: Solution - Programming language used - Java All necessary comments are included in program code.…
Q: Discuss current advances in the information management sector, the evolution of business analytics,…
A: Explanation: The most notable recent innovations in the information management business are as…
Q: Describe the process by which analog sound is converted into digital sound in a computer system.
A: Answer: In a digital audio system, an analog electrical signal representing sound is converted by an…
Q: To what extent can these attributes be gathered in software development?? Your comments on the…
A: Developing a sound logging system is another vital part of manageability. Security is a vital factor…
Q: What's the point of having functions in the first place?
A: Development: What is a function's primary goal? While functions aren't essential, they can help the…
Q: Describe the process by which analog sound is converted into digital sound on a computer.
A: Please find the detailed answer in the following steps.
Q: Consider the significance of wireless networks in today's poor countries. Wireless networks have…
A: Consider the critical role that wireless networks play in today's developing nations. Wireless…
Q: 12. Show that, if c is a positive real number, then g(n) = 1+c+c² + +c" is: с (a) (e") if c> 1. (b)…
A:
Q: Provide examples of software process activities (apart from prototyping and incremental delivery)…
A: Change is inevitable in a complex system of the following reasons: Software updates are…
Q: What is the definition of database integrity? List all Oracle restrictions that are used to ensure…
A: Answer: Introduction: The term database integrity relates to the strategy which is utilized for the…
Q: Differentiate between DNS records of various kinds. Several instances and arguments for their use…
A: Given: A domain's IP address is provided through DNS records (also known as zone files) on…
Q: Discuss current advances in the information management sector, the evolution of business analytics,…
A: Foundation: Artificial intelligence, a geotargeting, automation, and other information technology…
Q: What is the difference between a smooth model and a layered model when it comes to VES modelling?
A: Components are grouped into horizontal levels in the layered architecture pattern, with each layer…
Q: What sectors are affected by web engineering? What are some of the difficulties inherent in the…
A: Introduction: Web engineering is the profession of designing, operating, and maintaining Web-based…
Q: What are the many sorts of prototyping that may be performed?
A: Prototyping: Prototyping is an exploratory process in which design teams transform abstract concepts…
Q: Write a function called check_third_element that takes in a list of tuples, lst_tups as a parameter.…
A: Please find thee answer below :
Q: mplement a reverse shell program in C.
A: As per QnA policy, only first question is answered.
Q: What is the definition of database integrity? List all Oracle restrictions that are used to ensure…
A: Find the required answer given as below : As per company guidelines we are supposed to answer only…
Q: Describe the process by which analog sound is converted into digital sound in a computer system
A: Answer :
Q: Software quality assurance and engineering have what?
A: Software quality assurance and engineering have what?
Q: Siubjects of Inquiry Softuare project management is a software program that helps you manage your…
A: Software project management: These methodologies provide a quantitative estimate of the expected…
Q: 1. Write a Java program that would resemble banking transactions of deposits, withdrawals bank to…
A: Code: import java.util.*; public class Bank { public static void…
Q: What does the term "internet host" mean?
A: Introduction: Web hosting services work by offering trustworthy and secure storage space. While web…
Q: What is meant by the word "web server"?
A: Introduction: WebSphere is a Java-based technology package that allows developers to design and…
Q: When it comes to firewall administration, what are the best practises? Explain.
A: Let's see the solution in the next steps
Q: How do you interpret a database field in terms of its content? The importance of this is as follows:
A: Field of data: - A data field denotes a property or function referred to as an entity. An property…
Q: What is the definition of database integrity? List all Oracle restrictions that are used to ensure…
A: Database safety: The database administrator or application developer sets the rules for this data.…
Q: In risk management techniques, why is it necessary to maintain periodic records as part of the…
A: In this question we have to answer that why is it necessary to maintain periodic records as part of…
Q: Do you have any ideas on how cloud computing may alleviate the challenges of developing an…
A: Cloud computing : Physical IT infrastructures are regarded as one of the safest data storage…
Q: Discuss current advances in the information management sector, the evolution of business analytics,…
A: The following are the most significant advances in the information management sector in recent…
Q: Write a basic C program that creates an additional thread, using pthread_join() and set up the…
A: C program that creates an additional thread, using pthread_join() and set up the corresponding…
Q: What are some of the most promising new fields of information technology?
A: Answer :
Q: Are any fundamental principles of software engineering overlooked?
A: Fundamental software concepts : Software is a collection of computer instructions executed to…
Q: What are the primary distinctions between building network programs and designing other types of…
A: Start: A programme is often a set of instructions for completing a task. Whether it's networking or…
Q: Consider the vectors v = [1,2,4,6] and w = [2,-1,2, -2]: (a) Decide whether the vectors are…
A: The above question in solved in step 2:- According to Bartleby guidelines we need to answer only…
Q: ou've studied a variety of black box testing methods, including stress testing, volume testing, and…
A: Black Box Testing: Black Box Testing is a software testing method in which the functionalities of…
Q: What is programming? Considerations in selecting a programming language
A: Programming: Computer programming is a technique for instructing machines on what to do next. This…
Q: In your own words, how would you define software engineering?
A: Software engineering is the study in details about the engineering of the software, which is…
Q: Some of the obstacles in designing an information system architecture for this new service need to…
A: The specific information in an organization, the system architecture, is formed when the systems…
Q: How can mac addresses and IP addresses assist you protect your device on a network, or how can they…
A: A MAC address and an IP address each identify network devices, but they can perform at different…
Q: Make a list of the problems that come with setting up an information system infrastructure to…
A: Information System Infrastructure: The basis, dubbed the information system infrastructure, is…
Q: Discuss current advances in the information management sector, the evolution business analytics, and…
A: Please find the answer below :
Q: Which encryption standard ensures the integrity of data during transmission and reception?
A: Here's the solution: Message integrity is another fundamental idea in cryptography. While encryption…
Q: What is the definition of database integrity? List all Oracle restrictions that are used to ensure…
A: Data integrity in database: Data integrity refers to the overall accuracy, completeness, and…
Q: What are the good effects of ICT on business, tourism and food, entertainment, manufacturing, and…
A: Incorporating Information and Communication Technology into the Workplace: In every business and in…
Step by step
Solved in 3 steps with 2 images
- 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…Rectangle Object Monitoring Create a Rectangle class that can compute the total area of all the created rectangle objects using static fields (variables). Remember that a Rectangle has two attributes: Length and Width. Implement the class by creating a computer program that will ask the user about three rectangle dimensions. The program should be able to display the total area of the three rectangle objects. For this exercise, you are required to apply all OOP concepts that you learned in class. Sample output: Enter Length R1: 1 Enter Width R1: 1 Enter Length R2: 2 Enter Width R2: 2 Enter Length R3: 3 Enter Width R3: 3 The total area of the rectangles is 14.00 Note: All characters in boldface are user inputs.Task#1 Create a class called 'Matrix' containing constructor that initializes the number of rows and number of columns of a new Matrix object. The Matrix class has the following information: 1. Number of rows of matrix 2. Number of columns of matrix 3. Elements of matrix in the form of 2D array The Matrix class has methods for each of the following: 1. Get the number of rows 2. Get the number of columns 3. Set the elements of the matrix at given position (i,j) 4. Adding two matrices. If the matrices are not addable, "Matrices cannot be added" will be displayed. 5. Multiplying the two matrices
- Create a player class and a Key class. A Player hasa name, HP, and a key. A character may only have one key at a time, a Key contains a String array that lists the names of all the placed the key can go. The key should have a use() function that takes in a string of what it is trying to be used on, the function will return true if it can be used on that door, and false if it cannot. The player can pick Up and Drop a key.For each object class include the following: displayPromotion () method which can be used to display the following messages:Video Game: Only certain of video game will be getting 10% discount.Sport Game: Booking court on week days will be getting 15% discount.Overridden toString() method that returns a string containing all the data fields’values.(photo 111) Write a driver program that uses a polymorphic array to store information for various video games and sport games. Use an array initializer to initialize the array with values. Then, display a list with all the game information. A sample output is provided below:(photo 112)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.…
- Using java Hamburger ClassWrite a Hamburger class with the following six attributes:• bun - the type of bun the burger will be on• patties - the number of patties on the burger• cheese - whether or not the burger will have cheese• price - the price of the burger• toppings - an array of five toppings; it will need to start empty Write getters/setters for all attributesexcept the toppings array.Your constructor should create a single on white with no cheese and no toppings with a price of $2.99.Your class should include the following methods in this order, please: addCheese - this method has noparameters that adds cheese to the burger and increases the price by 75 centssuperSizeIt - this method has no parameters and adds a patty to the burger and increases the price by 1.50addToppings - this method would present the user with at least five toppings (your choice) stored in an array of Stringobjects. If the user indicates the wants the item, store the String in the toppings array. There…Challenge exercise The following object creation will result in the constructor of the Date class being called. Can you write the constructor’s header? new Date("March", 23, 1861) Try to give meaningful names to the parametersAVA code OVERVI EW This is a review exercise, so the primary goal of the exercise is to get your mind working and in the correct space.In this activity you will create a imaginary grid of locations that goes from −?≤?≤?, −?≤?≤?, with the coordinate (0,0) being "home". On this grid you will keep track of various animal objects as they move around the grid. Make sure that all animals stay within that grid at all timesincluding when they are created. Zwill be the map size and will control the highest number allowed on themap before wraping around. Using Java, create the following classes and primary program that uses the classes that you developed. INS T RUCT IONS Create the following classes. A N I MA L C LA SS Create an Animal class. Each animal has a name, an x and y integer coordinate. The Animal class should have at minimum the following methodsbelowbut you may want to add more if necessary: Also note, everyanimal will need to have to have “z”passed to it so that it knows how big the…
- Create a class Student with following data members, name, roll, and marks as private data member. Create array of objects for three students, compare their marks but make sure allocating memory to all the objects during run time only and display the records of the student who is getting highest score.Elevator simulation. I need help fixing this class The Simulation Class initializes and holds objects for Passengers, Elevators, and Floors. It reads and parses input files to create the necessary objects and sets the number of simulation iterations. The class also has methods to move the elevators up and down the building, as well as to pick up and drop off passengers. public class Simulation { private int numFloors; private ArrayList<Passenger> passengers; private ArrayList<Elevator> elevators; private ArrayList<Floor> floors; private int numIterations; public Simulation(String inputFile) throws FileNotFoundException { passengers = new ArrayList<>(); elevators = new ArrayList<>(); floors = new ArrayList<>(); // Read input file and initialize simulation parameters Scanner scanner = new Scanner(new File(inputFile)); while (scanner.hasNextLine()) { String line =…Case Problem 1 - In previous chapters, you developed classes that work with catering event information for Carly’s Catering. Now modify the Event and EventDemo classes as follows: Modify the Event class to include an integer field that holds an event type. Add a final String array that holds names of the types of events that Carly’s caters—wedding, baptism, birthday, corporate, and other. Include get and set methods for the integer event type field. If the argument passed to the method that sets the event type is larger than the size of the array of String event types, then set the integer to the element number occupied by other. Include a get method that returns an event’s String event type based on the numeric event type. To keep the EventDemo class simple, remove all the statements that compare event sizes and that display the invitation Strings. Modify the EventDemo class so that instead of creating three single Event objects, it uses an array of three Event objects. Get data for…