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
- your code does not run Exception Handling correctly like shown in my 2nd picture . Can you please fix it ?Please make a procedure that takes two parameters and prints a list of students from the first parameter as a student ID to the last parameter which is another student ID. If student is not found, then process an exception NO_DATA_FOUND.Which of the following operator casts without raising an exception if the cast fails in c#? A-?: B-is C-as D-*
- In this assignment, you will create a class that you will need for the upcoming Super Ghost project. Please do your best job on this assignment as early as possible. You will depend on the code in this assignment in your final Super Ghost Project. Create a class named MyIOManager that implements the accompanying interface IOManager. MyIOManager should adequately implement all methods in the IOManager such that it accepts and returns the defined parameters and throws the outlined exceptions correctly. When you submit your assignment to Grader Than only submit your MyIOManager.java file. Please read the programmatic documentation of the IOManager interface to gain an understanding of what each function should do. This assignment will test your knowledge of serializing and deserializing a binary file, implementing interfaces, and throwing exceptions.First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects). Then create a new Java application called "CheckString" (without the quotation marks) according to the following guidelines. ** Each method below, including main, should handle (catch) any Exceptions that are thrown. ** ** If an Exception is thrown and caught, print the Exception's message to the command line. ** In your main method, do the following in the order specified: Call the getWord method (described in method details #2) and print the result to the command line. Create an array of Strings called testData and populate it with at least three elements. Call the writeFile method (described in method details #3) passing the array you created "testData" and the String "data.txt". Call the readFile method (described in method details #4) to read the file you wrote. Assign the result of readFile to an ArrayList variable in main called fileContents. Write a…When an exception is raised, what object is generated in memory with different attributes that include data about the exception?
- Briefly answerHow would you throw custom exception? How would you re-throw exception?Discuss with code example. Explain the constructor chaining with code example.I have 4 class. The first one is Customer Class and in this class there is a method nameProvide() that if id length less than 10 it throws exception. There is a field named name(str). The other class is Board Class. There are fields such as points(double), win (boolean). The third class is BoardProvide Class.A method pointProvide() that if points less than 100 it throws exception . And the last class is Total Class. In total class there are a field named boardProvide type of BoardProvide and a field ArrayList<Board>boards. I need a write a method that; 1) Firstly, must be provide name validity in the method if name is not valid it throws exception. if name pass then, need to create a Board. After creating Board, boardProvide must be check that whether points is acceptiple or not. Add boards list(with finally block). If it is greater than 100, set win to True. If its not, catch exception, set False and return. JAVAChallenge 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.
- Q# When JUnit testing, which is the best practice? Group of answer choices When the method or constructor takes a numeric value, generate many random values for those values and test if all of them work. You only need to test three possibilities, positive values, negative values, and 0. Convert all numbers to String, and always compare those instead of the numbers themselves. Never test an input that will throw an exception, because you should never need to pass an invalid input to a method or constructor. Q# Suppose making a class Student, that will have fields and methods related to things a student might need to do, such as enroll in a course or drop a course. What should you do first? Group of answer choices Write the JUnit test for all methods of the class. Write the toString method. Implement the constructor. Think about what fields and methods you would like and make a class diagram. Q# Given a method with the signature:/*** Returns the minimum of the two…This is the question - Write an application that displays a series of at least eight student ID numbers (that you have stored in an array) and asks the user to enter a test letter grade for the student. Create an Exception class named GradeException that contains a static public array of valid grade letters (A, B, C, D, F, and I) that you can use to determine whether a grade entered from the application is valid. In your application, throw a GradeException if the user does not enter a valid letter grade. Catch the GradeException, and then display the message Invalid grade. In addition, store an I (for Incomplete) for any student for whom an exception is caught. At the end of the application, display all the student IDs and grades. Code I was given, I will attach a screenshot of the errors- public class GradeException extends Exception { public GradeException(String string) { } } import java.util.*; public class TestGrade { public static void main(String args[]) throws…This is the question - Write an application that displays a series of at least eight student ID numbers (that you have stored in an array) and asks the user to enter a test letter grade for the student. Create an Exception class named GradeException that contains a static public array of valid grade letters (A, B, C, D, F, and I) that you can use to determine whether a grade entered from the application is valid. In your application, throw a GradeException if the user does not enter a valid letter grade. Catch the GradeException, and then display the message Invalid grade. In addition, store an I (for Incomplete) for any student for whom an exception is caught. At the end of the application, display all the student IDs and grades. Code I was given - public class GradeException extends Exception { public GradeException(String string) { } } import java.util.*; public class TestGrade { public static void main(String args[]) throws Exception { Scanner input = new…