Page 1

CIS 407 Final Exam

FOR MORE CLASSES VISIT www.cis407study.com This Tutorial contains one Final Exam + a set of over 200 MCQ from Chapter 14-16 (it Doesnâ€&#x;t contains Chapter 17 MCQ)

Sample Final Exam listed Below

To specify an italic font, you pass

_________ to the constructor.

A _________ is a Component the user can click with a mouse to make a selection.

Which of the following statements will correctly set a JFram named my Frame to be visible ?


Which of the following statement will change the value displayed in a JLabelmamehello ?

When constructing a Font object, which of the following argument is NOT required ?

You define the text to be displayed in a tool tip by using the set ToolTipText() method and passing an appropriate to it.

Which is the immmcdiateparcnt class of JTextFicld ?

The parent class for all event object is named_________, which descends from the Object class.

Each JMcnu can contain, called JMcnultcms, or can contain submcnus that are .


If you wanted to see the x coordinate of a user click, you would use the method of the MouseEvent class.

The state of a JCheckBoxMenuItem or JRadioButtonMenuItem can be determined with the________method.

Use the________ layout manager when you need to add components that are displayed one at a time.

The JMcnus areabbcd to the JMcnuBar using the

method.

The_________ method creates a solid are.

The _________ method provides information about the system in use.


You specify 2D colors by using the _______ method.

The drawRoundRect ()method requires _________argument.

You can instruct a Graphics object to use a font by inscrting the font as the argument in a _________ method.

If you callgetGraphics() in a feame that is visible, you receive a(n) -_________.

The tag that begins every HTML document is ________ .


YOU override the existing empty________method only if you want to take some action when a JApplet longer visible.

The _____ method is used to load an Image into the named Image in the applet .

If you want to place an image on a button, it is simplest to the______ class.

With an applet, the browser can call __________ different methods automatically at different times.

You can run an applet in a ---______. ===============================================

CIS 407 Midterm Exam (All Possible Questions)

FOR MORE CLASSES VISIT www.cis407study.com


This Tutorial contains a set of over 300 MCQ from Chapter 10-13 Sample Questions are listed Below

CIS 407 Midterm Exam

When you employ____,your data can be altered only by the methods you choose and only in ways that you can control.

Conventionally , arrows used in a____ to show inheritance relationships extend form the descendant class and point to the from which it descends.

Which of the following statements depicts the valid format to call a superclass construcfor form a subclass constructor?

The class used as a basis for inheritance is the _class.

Usually, the subclass constructor only needs to initialize the___, that are specific to the subclass.


6)

You use the keyword

to achieve inheritance in java.

7) ___ method is useful in debugging a program because it can be used to display and examine values.

8) If java did not allow you to ___ classes, you would need to create every part of a program from scratch.

9) When a class both extends and implements, by convention the clause is layst in the class header.

10) When you define a class, if you do not explicitly extend another class, your class in an extension of the ___class.

11) If you attempt to instantiate an object from an abstract class, you receive an error message from the compiler that you have committed a(n)___.

12) ___Compress the data they store, Which reduces the size of archived class files.Selected Answer:


13) In the case where a method might throw more than one exception type, you specify a list of potential exceptions in the method header by separating them with___.

14) When you use a(n)___ statement, you state a condition that should be true, and Jave throws an Assertion Error when it is not.

15) ___ statements are program statements that can never execute under any circumstance. Selected Answer:

16) In order to use a variable both with a try or catch block and afterward, you must declare the variable before the __ block begins.

17) If a method throws an exception that it will not catch but that will be caught by a different method, you must also use the keyword ___ followed by an Exception type in the method header.

18) The___ class represents more serious errors form which your program usually cannot recover. Selected Answer:

19) When you have actions you must perform at the end of a try catch sequence, you can use a ___ block.

20)

A ___ is a group of characters that has some meaning.


21) After you creagte a File System object, you can define a Path using the ___ method with it. Selected Answer:

22) You can create a writeable file by using the Files class ___ method.

23) The___method returns the Path element in a list of pathnames. Selected Answer:

24) An array of bytes can be wrapped, o encompassed, into a ByteBuffer using the Byte Buffer__methoud.

25) Any of the file input or output methods in a Java program might throw an exception, so all the relevant code in the class is placed in a ___ block. ===============================================

CIS 407 Week 1 lab 1

FOR MORE CLASSES VISIT www.cis407study.com


Week 1 Lab 1: Exercise 1 on page 539 ===============================================

CIS 407 Week 1 lab 2

FOR MORE CLASSES VISIT www.cis407study.com Week 1 Lab 2: Exercise 8 on page 541 ===============================================

CIS 407 Week 2 Lab 3

FOR MORE CLASSES VISIT www.cis407study.com Week 2 Lab 3: Exercise 9 on page 597 ===============================================


CIS 407 Week 2 Lab 4

FOR MORE CLASSES VISIT www.cis407study.com Week 2 Lab 4: Exercise 13 on page 598 ===============================================

CIS 407 Week 3 Lab 5

FOR MORE CLASSES VISIT www.cis407study.com Week 3 Lab 5 Exercise 4 on page 667 ===============================================

CIS 407 Week 3 Lab 6


FOR MORE CLASSES VISIT www.cis407study.com Week 3 Lab 6 Exercise 8 on page 668 ===============================================

CIS 407 Week 4 Lab 7

FOR MORE CLASSES VISIT www.cis407study.com Week 4 Lab 7 ===============================================

CIS 407 Week 4 Lab8

FOR MORE CLASSES VISIT


www.cis407study.com Week 4 Lab8 Exercise 5 Part b ===============================================

CIS 407 Week 6 Assignment 1 Insurance Agent App Part 1

FOR MORE CLASSES VISIT www.cis407study.com Assignment 1: Insurance Agent App: Part 1 Due Week 6 and worth 180 points This assignment consists of two (2) sections: A Java program file A screenshot of the driver testing and source code of the implementation Label each file name according to the section of the assignment for which it is written. Put both sections together in a single zip file, and submit the file.


It is a common knowledge that most households, for protection against their major perils, take out insurance on their property, automobiles, travel, and so on. Insurance premiums are often paid on a monthly basis. In this assignment, you will build an interactive Java application that will help an insurance agent generate a quote for a household. Assume that the household wants to purchase property insurance, automobile insurance, and travel insurance. The Java application must generate a quote when the agent runs the application. The application must contain four (4) Java classes that are stated and shown in the diagram below. The InsuranceAgentApp class is an abstract class. ThePropertyInsurance, AutomobileInsurance, ,andTravelInsurance classes inherit from the InsuranceAgentAppabstract class.

The specifications of each class are described below. The column on the left shows the class members and the column on the right provides a description of the class members. The „S‟ designates astatic member; the „C‟ designates a constructor, and the „A‟designates an abstract member. The data types of each class members are shown on the left column.

Class Members and Their Properties Member‟s Description type is the type of insurance (e.g. “Property”). Name is the name of the insured object (e.g. “Home”);totalPremium is the staticquote for all the insurances taken by the household.


InsuranceAgentApp(String)is the constructor that takes the type three get methods for the three variables. InsuranceAgentApp() is the empty constructor;setInsuredObjectName(),setRiskAmount(), anddisplay() are abstract methods. riskAmount is the value of the Property being insured. the static RATE is the % used to calculates the annual premium. The constructorPropertyInsurance(String)takes a string which indicates the insurance type (e.g. “Property”). the three get methods return values of the three variables. setInsuredObjectName(),setRiskAmount(), anddisplay() are implementations of the abstract methods. riskAmount is the value of the Automobile being insured. the static RATE is the % used to calculates the annual premium. The constructorAutomobileInsurance(String)takes a string which indicates the insurance type (e.g. “Automobile”). the three get methods return values of the three variables. setInsuredObjectName(),setRiskAmount(), anddisplay() are implementations of the abstract methods. riskAmount is the value of the flight being insured; the staticRATE is the % used to calculates the annual premium. The constructorTravelInsurance(String)takes a string which indicates the insurance type (e.g. “Travel”).


the three get methods return values of the three variables. setInsuredObjectName(),setRiskAmount(), anddisplay() are implementations of the abstract methods.

The RATEs used to calculate the premiums are: PropertyInsurance AutomobileInsurance TravelInsurance 0.25% 0.75% 0.73% Section 1: Java Program File Create an interactive Java application for the insurance agent in order to generate a quote for a household. According to your design, the program must: Implement all the four (4) Java classes described with the correct inheritance of abstract classes.


Calculate the premium and multiply the value of the object being insured by the corresponding RATE. Note: See the RATE tables above. Get a quote and add all the premiums for all the objects being insured. Include a driver problem to test the implementation in which it: Uses the System.out.* and System.in.* methods for all the input / output. Includes an object of each insurance type. Prompts the user to enter the type and riskAmount (or value of the object being insured). Displays the values in each of the objects created using the display() method. Displays the quote (totalPremium in the abstractInsuranceAgentApp class).

Section 2: Screenshot of the Driver Testing and Source Code of the Implementation Create a screenshot of the driver testing and include a copy of source code of the implementation. Submit a screenshot of the driver testing of the implementation of your Java program. Note: Go tohttp://www.take-a-screenshot.org/ if you need a tutorial on taking a screenshot. Submit a copy of the source code of the implementation.

Section 1 and Section 2 will be graded based on the following:


The program must compile, execute, produce correct results, and meet all of the specifications stated in Section 1. Additionally you must: Organize the code for user readability. Organize the code for reusability. Organize the code for efficiency. Provide documentation with embedded comments for reader understanding.

The specific course learning outcomes associated with this assignment are: Discuss the concepts of inheritance and polymorphism. Compare and contrast abstract and concrete data types. Apply the Java concepts of file input / output. Use technology and information resources to research issues in Java programing. ===============================================

CIS 407 Week 7 Lab 9

FOR MORE CLASSES VISIT


www.cis407study.com Week 7 Lab 9 Exercise 1 Page 936 ===============================================

CIS 407 Week 7 Lab 10

FOR MORE CLASSES VISIT www.cis407study.com Week 7 Lab 10 Exercise 3 pg.937 ===============================================

CIS 407 Week 8 Case Study Bar Chart Java

FOR MORE CLASSES VISIT www.cis407study.com


Case Study: Bar Chart Java

Due Week 8 and worth 100 points

Read the article titled, “Teaching software componentization: A bar chart Java bean,� located in the online course shell. (http://libdatab.strayer.edu/login?url=http://search.ebscohost.com/logi n.aspx?direct=true&db=bth&AN=58034299&site=edslive&scope=site)

Write a two to four (2-4) page paper in which you:

Summarize the main points of the article. Describe one (1) way in which one could apply Java graphics in education. Provide one (1) example of such use to support your response. Analyze at least three (3) commands that you would use in order to draw a bar chart. Provide a rationale for your response.


Suggest one (1) way in which you would use to modify a bar chart in order to update it for new information. Justify your response.

Your assignment must follow these formatting requirements:

Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions. Include a cover page containing the title of the assignment, the studentâ€&#x;s name, the professorâ€&#x;s name, the course title, and the date. The cover page and the reference page are not included in the required assignment page length.

The specific course learning outcomes associated with this assignment are:

Analyze the methods used to implement graphics in Java programs. Use technology and information resources to research issues in Java programing. Write clearly and concisely about Java programing using proper writing mechanics and technical style conventions.


===============================================

CIS 407 Week 10 Assignment 2 Insurance Agent App Part 2

FOR MORE CLASSES VISIT www.cis407study.com Assignment 2: Insurance Agent App: Part 2 Due Week 10 and worth 180 points

This assignment consists of two (2) sections: Java program file(s) A screenshot of the execution and source code of your Java program

Label each file name according to the section of the assignment for which it is written. Put both sections together in a single zip file, and submit the file.

This assignment is a modification of Assignment 1. The main difference is that instead of using the System.in.* andSystem.out.*


methods, your will be using the JOptionPane class for all the inputs / outputs.

Section 1: Java Program File(s) Modify the Java program that you created from Assignment 1. According to your design, the program must: Use the JOptionPane class to create a driver program to test your Assignment 1 InsuranceAgentAppJavaapplication. Display a new driver test program‟s user interface (The interface should look like the image shown below):

The new driver test program‟s user interface from Question 1b must: Include a loop to display the user interface until the user clicks the Quit button. Instantiate a PropertyInsurance object and use theJOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks theProperty button. Instantiate an AutomobileInsurance object and use the JOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks the Automobile button. Instantiate a TravelInsurance object and use theJOptionPane.showInputDialog() method to capture the type and riskAmount when the user clicks theTravel button. Display the quote (totalPremium in theInsuranceAgentApp class) when the user clicks the “Get a Quote” button.


End when the user clicks the “Quit� button.

Section 2: Screenshot of the Execution of the Implementation Create a screenshot of the execution and include a copy of source code of the implementation. Create a screenshot of the execution of the implementation of your Java program. Note: Go to http://www.take-a-screenshot.org/ if you need a tutorial on taking a screenshot. Submit a copy of source code of the implementation.

Section 1 and Section 2 will be graded based on the following: The program must compile, execute, produce correct results, and meet all of the specifications stated in Section 1. Additionally you must: Organize the code for user readability. Organize the code for reusability. Organize the code for efficiency. Provide documentation with embedded comments for reader understanding.

The specific course learning outcomes associated with this assignment are: Compare and contrast abstract and concrete data types.


Apply the Java concepts of file input / output. Design programs that handle events from user-interface components. Use technology and information resources to research issues in Java programingtions. ===============================================

CIS 407 STUDY Redefine the Possible / cis407study.com  

This course capture the brand essence and positioning

CIS 407 STUDY Redefine the Possible / cis407study.com  

This course capture the brand essence and positioning

Advertisement