Q9. The company has only the following subdivisions. GA-Alpha-01, GA-Alpha-11, GA-Alpha-21, GA-Alpha-31, GA-Alpha-41, GA-Alpha-51, GA-Alpha- 61, GA-Alpha-71, GA-Alpha-81, GA-Alpha-91 Please apply RegularExpression into Sales Class. Please show me you catch an exception when you create Sales object. (main method)
Q: given dt=datetime(2022,4,15,10,6,10),how can you output the datetime'format is "22/4/15" in python
A: In this program we have to format the date in the python code in the format "22/4/15" Let's Code…
Q: (3) Four different measures of memory are listed below. Order the measures by writing then them,…
A: I have answered the 3rd question and have tried explaining each step. Please refer to the image for…
Q: Any 10(ten) functionalities of hardware devices that might be added to assist a company's day-to-day…
A: Hardware refers to computers' actual, tangible components that perform critical functions such as…
Q: What are the benefits and drawbacks of using open-source programming languages against those that…
A: Drawbacks of open source vs proprietary programming languages: A language creator, a programmer…
Q: ject-orient
A: A programming language is any arrangement of decides that converts strings, or graphical program…
Q: What was the driving force behind the development of computer programming languages?
A: Answer : The Main purpose to develop the computer programming languages are : It may be commercial…
Q: d? What are the
A: Introduction:Referential integrity refers to the relationship between tables. Because each table in…
Q: What will be displayed by test(3); ? void test( int n) if (n1) cout << **". else test( n - 1); cout…
A: I have provided OUTPUT , C++ CODE along with CODE SCREENSHOT AND OUTPUT…
Q: How many stages are there in the web development process? Discuss each step in your own words,…
A: The following is a method for creating a website: A full overview of the processes required to…
Q: The IoT reference model should be identified and explained. The reference model has four tiers of…
A: Connections: Something is connected to another or related with another, or there is a relationship…
Q: Where does Microsoft Azure differ from Amazon Web Services?
A: Microsoft Azure is an open source and flexible cloud platform which helps in development.
Q: 6a3 b2*4ba3
A: Python Code: a=int(input("Enter a: "))b=int(input("Enter b: ")) c=…
Q: Input a line of text containing numbers, and determine whether any two consecutive numbers add up to…
A: I've executed your code and it is running correctly. Incase there is any indentation problem please…
Q: How many phases are there in web development? Discuss each step in your own words, and then explain…
A: Developing websites: A standard Web design is created via a series of phases referred to as a web…
Q: single processor
A: In computing hardware, the case, the central processing unit (CPU), the random access memory (RAM),…
Q: What is the number of nodes in the sfortest linkedlist? and which is the longest?
A: LinkedList: A linked list is a data structure that can overcome all of an array's restrictions.…
Q: Importance of IT in newly developed company functional areas
A: Answer:
Q: d) q = RST(R + § + T) e) x- ABC + ABC + ABC + ABC + ABC ) 2- (B + C)(B + C) + A + B + C ) y = (C +…
A: Solution - According to bartleby policy, I can only solve first question. Please post your next…
Q: What does it mean to have a stable database state? There is no assurance that the symbolic meaning…
A: Database that is stable: It is specified for those that would include all of the data integrity…
Q: Describe the 3 meta principles of System Administration including examples
A: In this question we have to define the principles of System Administration which are most effective…
Q: How has the current generation of Intel designs enhanced the efficiency of peripherals and…
A: When it comes to the Computer System, Intel is a company that delivers higher processing capacity.…
Q: 3. Find a walk which solves the Travelling Salesman Problem for the following weighted graph and…
A: Here i solve given travelling salesman problem:…
Q: State the Church-Turing Thesis.
A:
Q: Explain briefly the in fluence of Web services on the web development process. Give some instances…
A: Web services' effect on web development The term "web development" refers to the process of creating…
Q: What is Elliptic Curve Cryptography (ECC) and how does it work? Explain how the ECC version of the…
A: Another technique for implementing public-key cryptography is elliptic curve cryptography. It is…
Q: Computer screens have a WIMP setup. Most WIMP setups use a Desktop metaphor, where typical tasks are…
A: Formatting a hard drive with a broom is represented by the format icon on Windows, this visual…
Q: Describe the sorts of information that the four different categories of users need.
A: let us see the answer:- Introduction:- End users are persons whose occupations require them to have…
Q: In software engineering, architectural mapping is important.
A: Given: Because it provides an opportune transition from an information stream outline to programming…
Q: Write a program that calculates the points earned by a soccer team. The program reads from the user…
A: The Java code along with the snapshot of code and output is given below:
Q: What are the types of queries that you can use in Microsoft Access? Please describe the purpose of…
A: SQL stands for Structured Query Language.
Q: A microcontroller is a microprocessor, but a microprocessor is not a microcontroller. Justify this…
A: A microcontroller is a microprocessor, but a microprocessor is not a microcontroller. Justify this…
Q: Discuss the advantages and disadvantages of procedural vs object-oriented languages. In what ways…
A: Advantages of procedural languageBecause the PP paradigm refers to step-by-step instructions or a…
Q: Propose the difficulties you'll experience in building the framework, and then evaluate the issues…
A: Contemplation: You might identify bad trends in your life by contemplating or thinking. It might…
Q: Can you please help where I was wrong? I need to have the following inputs and outpurs to fit in my…
A: Here is the approach : We already have the conditions for the n == 0 and n < 0 . Then we have…
Q: Assume x and y are positive integers representing input size for the following pseudocodes.…
A: According to the pseudocode first, function 1 is nested in function 2 Time Complexity of function 1…
Q: In C/C++, pointers are employed. Why is it that Java doesn't utilize pointers?
A: Definition: Pointers are not used in Java for a variety of reasons. Because pointers are inherently…
Q: DBLC's six stages, where does the data dictionary play a part?
A: A data dictionary The data dictionary is a critical component of any relational database management…
Q: True or False If there is a past estimation error, there is a need to replace the property…
A: Past estimation error means it is an estimation error which is the difference between actual and…
Q: Is there a formal definition of the Java programming language?
A: Yes we have formal definition for the java programming language. Java is an object-oriented…
Q: Are there differences between the Mobile First and Desktop First responsive web design…
A: When you think mobile-first, you immediately consider the following: Because there are two methods…
Q: examples when designing an architecture for security.
A: introduction of architecture for security : Although security architecture has many meanings, it is…
Q: Explain the remainder theorem in Chinese. What are a few examples of its uses?
A: Chinese remainder theorem: Chinese remainder theorem…
Q: Identify circumstances when information utility is a meaningful criteria that isn't covered by the…
A: Given: Multi-factor authentication allows for the use of more than one means to authenticate…
Q: What are the benefits of using many programming languages?
A: Multiprogramming or multitasking operating systems efficiently use CPU resources or slam. The CPU…
Q: ulties and barriers that develop with each of the solutions as you create the framework. The…
A: Cloud computing makes assets like data and storage available on-demand and in real-time. With the…
Q: Which programming languages are better for you to learn? Procedural or Object-Oriented? Python is…
A: Programming Language: Languages for teaching computers and other computing devices to execute…
Q: Explain cache coherency in a few words.
A: The answer of this question is as follows:
Q: Who will be working on system development? Identify them, and provide a short description of their…
A: MIS - Miscellaneous Information Systems: Management Information System (MIS) is an acronym for the…
Q: So, what is the relationship between solar cells and global positioning systems (GPS)?
A: Given: The Global Positioning System (GPS) is a satellite-based navigation system comprised of more…
Q: When it comes to DBLC, what function does the data dictionary play?
A: Introduction: The data dictionary is a critical component of any relational database management…
Step by step
Solved in 2 steps with 2 images
- mplement the loan calculator discussed in class. The application should be able to handle Exceptions and be very similar to the image below.Task 2: Create a class that includes a data member that holds a “serial number” for each object created from the class. That is, the first object created will be numbered 1, the second 2, and so on. To do this, you’ll need another data member that records a count of how many objects have been created so far. (This member should apply to the class as a whole; not to individual objects. What keyword specifies this?) Then, as each object is created, its constructor can examine this count member variable to determine the appropriate serial number for the new object. Add a member function that permits an object to report its own serial number. Then write a main() program that creates three objects and queries each one about its serial number. They should respond I am object number 2, and so on. Paste only class definition here Paste function definitions of member functions one by one in different rows Member function 1() here Member function 2() here…Task1:In the driver file (main.cpp), perform the following sub-tasks.1.Create two objects of this class, one with no constructor argument and one with the argument 5. 2.Take five input values from the user and store them in the array inside the second object using the set method. 3.For the second object, print all the values you just stored.Note that, you cannotassign anythingin the first object since the array inside it has size 0. Neither can you change the size ofthisarray to some other size. Task2:Modify the header and the source files.Add a member function void allocate(int s)which allows you to change the size of the array.Make sure that memory is not leaked. Task3:Modify the header file and the source files again, so that it works for two dimensional arraywhere all the rows are the same size. The user will specify the number of rows and columnsas well as the content of the array, which you will take as input from user in the main function. Solve these task using C++
- Create an application that you may use to monitor your progress with respect to your curriculum. The application will record the subjects that you have to enroll in during every school term. The application should also record the grades for the subjects that you have enrolled in. The application will allow a view of the subjects that you have finished as wellas those that you will yet enroll in. The application should also provide your general weighted average. Use: Reference classes and exception handling Assumption: We are only considering the first and second years. You have enrolled in 10 subjects and have not enrolled in 10 subjects. List of subjects taken (along with their corresponding units): PHYSICAL ACTIVITY TOWARDS HEALTH AND FITNESS 2 ART APPRECIATION 3 READINGS IN PHILIPPINE HISTORY 3 UNDERSTANDING THE SELF 3 INTRODUCTION TO COMPUTING (LEC) 2 INTRODUCTION TO COMPUTING (LAB) 1 COMPUTER PROGRAMMING 1 (LEC) 2 COMPUTER PROGRAMMING 1 (LAB) 1 DISCRETE MATHEMATICS 3 PURPOSIVE…Challenge 4: NegativeStartingBalance.java, BankAccount.java, and AccountTest.java For this challenge you have to write three classes: NegativeStartingBalance exception class A BankAccount class that has balance field a default constructor that sets the balance to 0. a constructor that accepts a startBalance arg and throws the NegativeStartingBalance exception when starting balance is negative. get/set methods deposit and withdraw methods An AccountTest class that instantiates different BankAccount objects and catches any exceptions as needed.Use the FlightInfo class in the attached FlightInfo.h file for this assignment. Task 1: Modify the FlightInfo.h file to include the following (empty) Exception Classes. Invalid Direction Invalid Fuel Level Invalid Altitude Invalid Speed Modify the setter methods to throw an exception for invalid data. Note that these setters are void. They create exceptions instead of returning a value for invalid data. Task 2: Create a driver program that will instantiate a FlightInfo object. Driver Program steps. Prompt the user for the following inputs values Speed Direction Altitude Fuel Level Call the flightInfo's showAll() method. Catch these exceptions in the driver program and display a message anytime invalid data is given indicating the issue. The valid ranges are commented in the FlightInfo.h file. As usual, work on a small section like Invalid Direction and confirm that works as expected. Once that is good, the rest are very similar. 6 point Bonus. Create an additional Exception…
- What is the value of the expression max().) O None It raises a ValueError exception. O It raises an IndexError exception.QUESTION 6 What would not cause an exception to be thrown from a cast? (Choose all that apply) A. If precision is lost due to the cast (example: double to int) B. If the object is cast to a superclass of its current type C. If the object was never instantiated as the object that it is being cast to or one of its subclasses D. If the object being cast is nullyour code does not run Exception Handling correctly like shown in my 2nd picture . Can you please fix it ?
- Rules: Corner cases. Throw the specified exception for the following corner cases: Throw an IllegalArgumentException if the client calls either addFirst() or addLast() with a null argument. Throw a java.util.NoSuchElementException if the client calls either removeFirst() or removeLast when the deque is empty. Throw a java.util.NoSuchElementException if the client calls the next() method in the iterator when there are no more items to return. Unit testing. Your main() method must call directly every public constructor and method to help verify that they work as prescribed (e.g., by printing results to standard output). Performance requirements. Your implementation must achieve the following worst-case performance requirements: A deque containing n items must use at most 48n + 192 bytes of memory, not including the memory for the items themselves. Each deque operation (including construction) must take constant time. Each iterator operation (including construction) must take…Create a package body named EMP_PS with function named findEmployeeByID which takes employee number as input parameter and returns a string (see the output below). When the employee number does not found in the table then it must return a message as ‘The Employee Number Does Not Exist’. Hint: Use EXCEPTION block in your function code.Calling objectA.equals(null) will cause an exception to be thrown (assuming the equals method is appropriately overridden in the objectA class) True False