Just Click on Below Link To Download This Course:
https://www.devrycoursehelp.com/product/devry-cis-355a-full-course-latest/
Go to a job posting site (CareerBuilder, Dice, ComputerJobs, etc.) or use search engines to find Java developer or Java programmer positions. Copy and paste the job posting into the Discussion area. Briefly explore all the topics that you will learn in this class this session. What are the skills you will learn in this course that are also requirements for the positions you see posted by you and your classmates?
Presiding Officer Training module 2024 lok sabha elections
Â
Devry CIS 355A Full Course Latest
1. Devry CIS 355A Full Course Latest
Just Click on Below Link To Download This Course:
https://www.devrycoursehelp.com/product/devry-cis-355a-full-course-latest/
Or
Email us
help@devrycoursehelp.com
Devry CIS 355A Full Course Latest
Devry CIS 355A Week 1 Discussion dq 1 & dq 2 latest
dq 1
Careers in Java Programming (graded)
Go to a job posting site (CareerBuilder, Dice, ComputerJobs, etc.) or use search engines to find Java developer or Java programmer
positions. Copy and paste the job posting into the Discussion area. Briefly explore all the topics that you will learn in this class this session.
What are the skills you will learn in this course that are also requirements for the positions you see posted by you and your classmates?
dq 2
iLab Forum (graded)
2. This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
Devry CIS 355A Week 2 Discussion dq 1 & dq 2 latest
dq 1
Object-oriented Programming (graded)
Why is object-oriented programming so widely used in development?
dq 2
iLab Forum (graded)
This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
Devry CIS 355A Week 3 Discussion dq 1 & dq 2 latest
dq 1
Inheritance Versus Interfaces (graded)
How are abstract classes similar to interfaces? How are they different? Explain a situation where you would use one instead of the other.
dq 2
3. iLab Forum (graded)
This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
Devry CIS 355A Week 4 Discussion dq 1 & dq 2 latest
dq 1
Abstract Classes (graded)
An abstract class, although well defined, is one that is never instantiated. For example, a pet would never be instantiated as such, but could
exist in the form of a dog or a cat. The pet class would be at the top of an inheritance hierarchy where derived classes like the dog or cat
class inherit their attributes and behavior from the pet class. Can you give other examples of inheritance hierarchies where the top level is
an abstract class, and furthermore, what are the advantages of using such hierarchies?
dq 2
iLab Forum (graded)
This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
Devry CIS 355A Week 5 Discussion dq 1 & dq 2 latest
dq 1
Reading a File (graded)
4. The java.io.* package contains two classes that work in concert to process data from a text file: the FileReader class and the
BufferedReader class. In what sense do they work in concert in the following statement.
BufferedReader buffer = new BufferedReader(new FileReader(âC:client.txtâ))
Assuming the input file has multiple records, how would you process the entire file and how would you detect the end of file?
dq 2
iLab Forum (graded)
This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
Devry CIS 355A Week 6 Discussion dq 1 & dq 2 latest
dq 1
Swing for GUI Development (graded)
Components used in GUI development are classes, which are the structure of OOP. Identify uses of other OOP concepts in swing, including
inheritance, polymorphism, encapsulation, information hiding, and interfaces.
dq 2
iLab Forum (graded)
This discussion is used to discuss the programming labs and techniques. Please post any programming questions or hints and tips that
you have concerning this weekâs programming lab. At a minimum, post at least three notes that highlight the key programming
techniques or problems you had with this weekâs lab.
5. Devry CIS 355A Week 7 Discussion dq 1 & dq 2 latest
dq 1
Data Manipulation and Data Retrieval with GUI (graded)
Choose a GUI component and either a DML or data retrieval statement, and give a code example of how these would work together.
dq 2
Course Project Forum (graded)
This discussion is used to discuss the programming project and techniques. Please post any programming questions or hints and tips that
you have concerning the Course Project. At a minimum, post at least three notes that highlight the key programming techniques or
problems you had with the Course Project.
Devry CIS 355A Week 1 Quiz latest
1. 1.Question : (TCOs 1â8) Every statement in Java ends with _____
a period (.).
a semicolon (;).
a comma (,).
an asterisk (*).
Question 2. Question : (TCOs 1â8) Analyze the following code.
public class Test {
6. public static void main(String[ ] args) {
int month = 09;
System.out.println(âmonth is â + month);
}
}
The program displays month is 9.0.
The program displays month is 09.
The program displays month is 9.
Question 3. Question : (TCOs 1â8) What is the printout of System.out.println(âzâ â âaâ)?
26
z
a
25
Question 4. Question : (TCOs 1â8) Analyze the following code.
boolean even = false;
if (even) {
System.out.println(âIt is even!â);
}
The code is wrong. You should replace if (even) with if (even == true).
The code displays It is even.
The code displays nothing.
The code is wrong. You should replace if (even) with if (even = true).
7. Question 5. Question : (TCOs 1â8) The equal comparison operator in Java is _____
^=.
!=.
==.
<>.
Question 6. Question : (TCOs 1â8) After the continue outer statement is executed in the following loop, which statement is executed?
outer:
for (int i = 1; i < 10; i++) {
inner:
for (int j = 1; j < 10; j++) {
if (i * j > 50)
continue outer;
System.out.println(i * j);
}
}
next:
The program terminates.
The statement labeled next.
The control is in the outer loop, and the next iteration of the outer loop is executed.
The control is in the inner loop, and the next iteration of the inner loop is executed.
Question 7. Question : (TCOs 1â8) How many times will the following code print âWelcome to Javaâ?
int count = 0;
8. while (count++ < 10) {
System.out.println(âWelcome to Javaâ);
}
0
1
10
9
8
Question 8. Question : What is Math.ceil(3.5)?
4.0
5.0
3.0
3
Question 9. Question : What is k
after the following block executes?
{
int k = 2;
nPrint(âA messageâ, k);
}
System.out.println(k);
1
2
9. 0
The variable k is not defined outside the block, so the program has a compile error.
Question 10. Question : Analyze the following code.
public class Test {
public static void main(String[ ] args) {
int[ ] a = new int[4];
a[1] = 1;
a = new int[2];
System.out.println(âa[1] is â + a[1]);
}
}
The program displays a[1] is 0.
The program displays a[1] is 1.
The program has a compile error because new int[2] is assigned to a.
The program has a runtime error because a[1] is not initialized.
Devry CIS 355A Week 2 Quiz latest
1. 1.Question : (TCOs 1â8) What is the output of the following program?
import java.util.Date;
public class Test {
public static void main(String[ ] args) {
10. Date date = new Date(1234567);
m1(date);
System.out.print(date.getTime() + â â);
m2(date);
System.out.println(date.getTime());
}
public static void m1(Date date) {
date = new Date(7654321);
}
public static void m2(Date date) {
date.setTime(7654321);
}
}
1234567 1234567
1234567 7654321
7654321 7654321
7654321 1234567
Question 2. Question : (TCOs 1â8) Analyze the following code.
public class Test {
private int t;
public static void main(String[ ] args) {
int x;
11. System.out.println(t);
}
}
t is non-static, and it cannot be referenced in a static context in the main method.
The variable x is not initialized, and therefore, causes errors.
The program compiles and runs fine.
The variable t is not initialized, and therefore, causes errors.
The variable t is private, and therefore, cannot be accessed in the main method.
Question 3. Question : (TCOs 1â8) _____ is invoked to create an object.
A method with a return type
A method with the void return type
A constructor
The main method
Question 4. Question : (TCOs 1â8) Analyze the following code.
public class Test {
public static void main(String[ ] args) {
int n = 2;
xMethod(n);
System.out.println(ân is â + n);
}
void xMethod(int n) {
n++;
12. }
}
The code prints n is 1.
The code prints n is 3.
The code has a compile error because xMethod is not declared static.
The code has a compile error because xMethod does not return a value.
The code prints n is 2.
Question 5. Question : (TCOs 1â8) When invoking a method with an object argument, _____ is passed.
the reference of the object
the object is copied, then the reference of the copied object
the contents of the object
a copy of the object
Question 6. Question : (TCOs 1â8) What is the printout for the third statement in the main method?
public class Foo {
static int i = 0;
static int j = 0;
public static void main(String[ ] args) {
int i = 2;
int k = 3;
{
int j = 3;
System.out.println(âi + j is â + i + j);
13. }
k = i + j;
System.out.println(âk is â + k);
System.out.println(âj is â + j);
}
}
j is 2
j is 3
j is 1
j is 0
Question 7. Question : (TCOs 1â8) Set methods are also commonly called _____ methods, and get methods are also commonly called _____
methods.
query, mutator
accessor, mutator
mutator, accessor
query, accessor
Question 8. Question : (TCOs 1â8) Which statement is false?
An enum declaration is a comma-separated list of enum constants and may optionally include other components of traditional classes,
such as constructors, fields, and methods.
Any attempt to create an object of an enum type with operator new results in a compilation error.
An enum constructor cannot be overloaded.
Enum constants are implicitly final and static.
14. Question 9. Question : (TCOs 1â8) A final field should also be declared _____ if it is initialized in its declaration.
private
public
protected
static
Question 10. Question : (TCOs 1â8) Which statement is false?
The compiler always creates a default constructor for a class.
If a classâs constructors all require arguments and a program attempts to call a no-argument constructor to initialize an object of the class,
a compilation error occurs.
A constructor can be called with no arguments only if the class does not have any constructors or if the class has a public no-argument
constructor.
Devry CIS 355A Week 3 Quiz latest
1. 1.Question : (TCOs 1â8) What is the output of running class C?
class A {
public A() {
System.out.println(
âThe default constructor of A is invokedâ);
}
}
class B extends A {
public B() {
15. System.out.println(
âThe default constructor of B is invokedâ);
}
}
public class C {
public static void main(String[ ] args) {
B b = new B();
}
}
Nothing displayed
âThe default constructor of A is invokedâ
âThe default constructor of B is invokedâ âThe default constructor of A is invokedâ
âThe default constructor of A is invokedâ âThe default constructor of B is invokedâ
âThe default constructor of B is invokedâ
Question 2. Question : (TCOs 1â8) The getValue() method is overridden in two ways. Which one is correct?
// Program I:
public class Test {
public static void main(String[ ] args) {
A a = new A();
System.out.println(a.getValue());
}
}
16. class B {
public String getValue() {
return âAny objectâ;
}
}
class A extends B {
public Object getValue() {
return âA stringâ;
}
}
// Program II:
public class Test {
public static void main(String[ ] args) {
A a = new A();
System.out.println(a.getValue());
}
}
class B {
public Object getValue() {
return âAny objectâ;
}
}
17. class A extends B {
public String getValue() {
return âA stringâ;
}
}
I
II
Both I and II
Neither
Question 3. Question : (TCOs 1â8) Invoking _____ returns the number of the elements in an ArrayList x.
x.getLength(0)
x.size()
x.length(1)
x.getSize()
Question 4. Question : (TCOs 1â8) Given the following code,
class C1 {}
class C2 extends C1 { }
class C3 extends C2 { }
class C4 extends C1 {}
C1 c1 = new C1();
C2 c2 = new C2();
C3 c3 = new C3();
18. C4 c4 = new C4();
which of the following expressions evaluates to false?
c3 instanceof C1
c4 instanceof C2
c1 instanceof C1
c2 instanceof C1
Question 5. Question : (TCOs 1â8) Suppose you create a class Cylinder to be a subclass of Circle. Analyze the following code.
class Cylinder extends Circle {
double length;
Cylinder(double radius) {
Circle(radius);
}
}
The program compiles fine, but it has a runtime error because of invoking the Circle classâs constructor illegally.
The program compiles fine, but you cannot create an instance of Cylinder because the constructor does not specify the length of the
cylinder.
The program has a compile error because you attempted to invoke the Circle classâs constructor illegally.
Question 6. Question : (TCOs 1â8) Analyze the following code.
import java.awt.*;
import javax.swing.*;
public class Test {
public static void main(String[ ] args) {
19. JFrame frame = new JFrame(âMy Frameâ);
frame.add(new JButton(âOKâ));
frame.add(new JButton(âCancelâ));
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(200, 200);
frame.setVisible(true);
}
}
Both button OK and button Cancel are displayed, and button OK is displayed on the left side of button OK.
Both button OK and button Cancel are displayed, and button OK is displayed on the right side of button OK.
Only button OK is displayed.
Only button Cancel is displayed.
Question 7. Question : (TCOs 1â8) What should you use to position a Button within an application Frame so that the size of the Button is
not affected by the Frame size?
A FlowLayout
The East or West area of a BorderLayout
The North or South area of a BorderLayout
A GridLayout
The center area of a BorderLayout
Question 8. Question : (TCOs 1â8) What layout manager should you use so that every component occupies the same size in the container?
Any layout
A FlowLayout
20. A BorderLayout
A GridLayout
Question 9. Question : (TCOs 1â8) The correct order of the following three statements is _____
frame.setLocationRelativeTo(null); // 1
frame.setSize(100, 200); // 2
frame.setVisible(true); // 3
2 1 3.
1 3 2 .
3 2 1 .
1 2 3.
Question 10. Question : (TCOs 1â8) To specify a font to be bold and italic, use the font style value _____
Font.BOLD.
Font.BOLD + Font.ITALIC.
Font.PLAIN.
Font.ITALIC.
Devry CIS 355A Week 4 Quiz latest
1. 1.Question : (TCOs 1â8) Analyze the following code.
public class Test {
public static void main(String[ ] args) {
Number x = new Integer(3);
21. System.out.println(x.intValue());
System.out.println((Integer)x.compareTo(new Integer(4)));
}
}
The program has a compile error because the member access operator (.) is executed before the casting operator.
The program has a compile error because intValue is an abstract method in Number.
The program compiles and runs fine.
The program has a compile error because x cannot be cast into Integer.
The program has a compile error because an Integer instance cannot be assigned to a Number variable.
Question 2. Question : (TCOs 1â8) Which of the following statements are not correct?
Object i = 4.5;
Integer i = 4.5;
Number i = 4.5;
Double i = 4.5;
Question 3. Question : (TCOs 1â8) Suppose A is an interface and B is a concrete class with a default constructor that implements A.Which
of the following is correct?
B b = new B();
A a = new A();
B b = new A();
none of them
Question 4. Question : (TCOs 1â8) Assume Calendar calendar = new GregorianCalendar(). _____ returns the month of the year.
calendar.get(Calendar.MONTH)
22. calendar.get(Calendar.WEEK_OF_MONTH)
calendar.get(Calendar.MONTH_OF_YEAR)
calendar.get(Calendar.WEEK_OF_YEAR)
Question 5. Question : (TCOs 1â8) Assume Calendar calendar = new GregorianCalendar(). ________ returns the number of days in a month.
calendar.get(Calendar.WEEK_OF_YEAR)
calendar.get(Calendar.WEEK_OF_MONTH)
calendar.get(Calendar.MONTH_OF_YEAR)
calendar.getActualMaximum(Calendar.DAY_OF_MONTH)
calendar.get(Calendar.MONTH)
Question 6. Question : (TCOs 1â8) Pressing a button generates a(n) _____ event.
ContainerEvent
MouseMotionEvent
ItemEvent
ActionEvent
MouseEvent
Question 7. Question : (TCOs 1â8) Every event object has the _____ method.
getSource()
getKeyChar()
getTimeStamp()
getActionCommand()
getWhen()
Question 8. Question : (TCOs 1â8) The interface _____ should be implemented to listen for a button action event.
23. FocusListener
ContainerListener
ActionListener
MouseListener
WindowListener
Question 9. Question : (TCOs 1â8) To listen to mouse moved events, the listener must implement the _____ interface or extend the _____
class.
ComponentListener/ComponentAdapter.
MouseListener/MouseAdapter.
MouseMotionListener/MouseMotionAdapter.
WindowListener/WindowAdapter.
Question 10. Question : (TCOs 1â8) Which of the following statements registers a panel object p
as a listener for a button variable jbt?
jbt.addActionEventListener(p);
jbt.addActionListener(p);
jbt.addEventListener(p);
addActionListener(p);
Devry CIS 355A Week 5 Quiz latest
1. 1.Question : (TCOs 1â8) Given a graphics object g,
to draw a line from the upper left corner to the bottom right corner, you use _____
g.drawLine(0, 0, getHeight(), getHeight()).
24. g.drawLine(0, 0, 100, 100).
g.drawLine(0, 0, getWidth(), getHeight()).
g.drawLine(0, 0, getWidth(), getWidth()).
Question 2. Question : (TCOs 1â8) Which of the following statements is false?
You can create a FileInputStream/FileOutputStream from a File object or a file name using FileInputStream/FileOutputStream constructors.
A java.io.FileNotFoundException would occur if you attempt to create a FileOutputStream with a nonexistent file.
All methods in FileInputStream/FileOutputStream are inherited from InputStream/OutputStream.
The return value -1 from the read() method signifies the end of file.
A java.io.FileNotFoundException would occur if you attempt to create a FileInputStream with a nonexistent file.
Question 3. Question : (TCOs 1â8) Given a graphics object g,
to draw a filled oval with width 20 and height 30 centered at (50, 50), you use _____
g.fillOval(30, 30, 40, 30).
g.fillOval(30, 30, 20, 30).
g.fillOval(40, 35, 20, 30).
g.fillOval(50, 50, 20, 30).
g.fillOval(50, 50, 40, 30).
Question 4. Question : (TCOs 1â8) Which of the following statements is correct to create a DataOutputStream to write to a file named
out.dat?
DataOutputStream outfile = new DataOutputStream(FileOutputStream(âout.datâ));
DataOutputStream outfile = new DataOutputStream(new File(âout.datâ));
DataOutputStream outfile = new DataOutputStream(new FileOutputStream(âout.datâ));
DataOutputStream outfile = new DataOutputStream(âout.datâ);
25. Question 5. Question : (TCOs 1-8) With which I/O class can you append or update a file?
DataOutputStream()
RandomAccessFile(),
OutputStream()
None of them
Question 6. Question : (TCOs 1â8) âabcâ.compareTo(âabaâ) returns _____
2.
1.
-2.
0.
-1.
Question 7. Question : (TCOs 1â8) Which code fragment would correctly identify the number of arguments passed via the command line
to a Java application, excluding the name of the class that is being invoked?
int count=0; while (!(args[count].equals(ââ))) count ++;
int count = args.length;
int count = args.length â 1;
int count = 0; while (args[count] != null) count ++;
Question 8. Question : (TCOs 1â8) Assume s is âABCABCâ, the method _____ returns an array of characters.
String.toChars()
s.toChars()
toChars(s)
String.toCharArray()
26. s.toCharArray()
Question 9. Question : (TCOs 1â8) What is the output of the following code?
public class Test {
public static void main(String[ ] args) {
String s1 = âWelcome to Java!â;
String s2 = âWelcome to Java!â;
if (s1 == s2)
System.out.println(âs1 and s2 reference to the same String objectâ);
else
System.out.println(âs1 and s2 reference to different String objectsâ);
}
}
s1 and s2 reference to the same String object
s1 and s2 reference to different String objects
Question 10. Question : (TCOs 1â8) Which class do you use to write data into a text file?
File
PrintWriter
System
Scanner
Devry CIS 355A Week 6 Quiz latest
27. 1. 1.Question : (TCOs 1â8) Which of the following is true?
You can create a JButton using its default constructor.
You can create a JButton by specifying an icon.
You can create a JButton using its default constructor by specifying a text.
You can create a JButton by specifying a text.
You can create a JButton by specifying an icon and text.
Question 2. Question : (TCOs 1â8) Which of the following statements is false?
You can create a text field with a specified text.
You can disable editing on a text field.
You can specify the number of rows in a text field
You can specify the number of columns in a text field.
You can specify a horizontal text alignment in a text field.
Question 3. Question : (TCOs 1â8) The method _____ gets the contents of the text field jtf.
jtf.findString()
jtf.getText(s)
jtf.getString()
jtf.getText()
Question 4. Question : (TCOs 1â8) Which of the following statements is false?
You can disable editing on a text area.
You can specify the number of columns in a text area.
You can create a text field with a specified text area.
You can specify a horizontal text alignment in a text area.
28. Question 5. Question : (TCOs 1â8) Clicking a JRadioButton generates _____ events.
ActionEvent
ComponentEvent
JRadioButtonEvent
ContainerEvent
Question 6. Question : (TCOs 1â8) If a prepared statement preparedStatement is a SQL SELECT statement, you execute the statement using
_____
preparedStatement.executeQuery();.
preparedStatement.execute();.
preparedStatement.query();.
preparedStatement.executeUpdate();.
Question 7. Question : (TCOs 1â8) Database metadata are retrieved through _____
a PreparedStatement object.
a Statement object.
a ResultSet object.
a Connection object.
Question 8. Question : (TCOs 1â8) Suppose that your program accesses MS Access database. Which of the following statements is false?
If the database is not available, the program will have a runtime error, when attempting to create a connection object.
If the driver for MS Access database is not in the classpath, the program will have a runtime error, indicating that the driver class cannot be
loaded.
If the driver for MS Access database is not in the classpath, the program will have a syntax error.
If the database is not available, the program may create it and then connect with it.
29. Question 9. Question : (TCOs 1â8) Invoking Class.forName method may throw _____
ClassNotFoundException.
IOException.
SQLException.
RuntimeException.
Question 10. Question : (TCOs 1â8) Which of the following statements is false?
PreparedStatement is for SQL query statements only. You cannot create a PreparedStatement for SQL update statements.
The parameters in a prepared statement are denoted using the ? sign.
PreparedStatement is efficient for repeated executions.
PreparedStatement is a subinterface of Statement.
Devry CIS 355A Week 1 ilab latest
iLab Overview
Scenario/Summary
In this iLab, you will learn how to write a console application in Java using the Eclipse IDE. The JDK Installation tutorial shows you how to
download and install the JDK. The JDK is required for successful completion of this course.
JDK Installation tutorial
Play00:00MuteFullscreen
Transcript
Software Citation Requirements
This course uses open-source software, which must be cited when used for any student work. Citation requirements are on the Open
Source Applications page.
30. Please review the installation instruction files to complete your assignment.
Deliverables
Program files for the sales tracking program: SalesTracking.java
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the
program.
Example:
/***********************************************************************
Program Name: ProgramName.java
Programmerâs Name: Student Name
Program Description: Describe here what this program will do
***********************************************************************/
How to submit your assignment:
The program must have the same name as the assignment title (SalesTracking.java).
The Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
In addition to the program source code file and byte code file, complete a LAB REPORT (see template in doc sharing) that includes
information about your design process as well as testing and results (with screen shots of your program output).
You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder.Place all
of the .java and .class file for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week1,
and this zip folder will contain all the weekly programming assignments.
Required Software
Eclipse
Access the software at https://lab.devry.edu.
Lab Steps
31. STEP 1: SalesTracking.java
You must create a sales tracking program named SalesTracking.java. This program will use arrays to store and process monthly sales as
well as compute average yearly sales, total sales for the year, and which month had the highest sales and which month had the lowest
sales. You should use parallel arrays. Your first array (monthArray) should be initialized with all of the months. This array should have 12
locations of course. Your other array should be named monthlySales. Like your monthArray, this array should be 12 locations that store the
amount of sales for each month.
The program should prompt the user for the sales for each month starting with January. The arrays (monthlySales and monthArray) should
be created in main and passed to the methods as needed. Your program should have methods that do the following.
getSales(monthArray, monthlySales): This method receives the monthArray and monthlySales arrays as arguments. It prompts the users for
the sale for each month. This amount should be stored and returned into the corresponding location in the monthlySales array. For
example, January sales should be stored in the first location, February sales should be stored in the second location, and so forth.
computeTotalSales(monthlySales): This method receives the monthly sales array as an argument and returns the total sales of the year.
computeAverageSales(monthlySales): This method receives the monthly sales array as an argument and returns the average sales for the
year.
computeHighestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare
the values of the monthly sales array for the highest value. The method will return the index(or location in the array) of the month with the
highest value.
computeLowestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare
the values of the monthly sales array for the lowest value. The method will return the index (or location in the array) of the month with the
lowest value.
displaySaleInfo(totalSales, averageSales, highestMonth, highestSales, lowestMonth, lowestSales): This method will receive the total yearly
sales, average monthly sale, the month with the highest sales, as well as the sales for that month and the month with the lowest sales. This
method will display all of the data it received as arguments.
All methods should be STATIC therefore no object will need to be instantiated to call them. All methods must be called from the main
method. Sales amounts should be rounded to two decimal places. .
Your monthArray should have the following values.
monthArray
32. JANUARY FEBRUARY MARCH âŚ.. âŚ.. âŚ.. NOVEMBER DECEMBER
You should demonstrate the use of loop and decision structures also. Use the lab forum to ask questions about this lab.
SalesTacking Points Description
Standard header included
and Lab Report
1
Must contain programâs name, student name, and description of the program
Lab Report
9
Lab Report required (see template in doc sharing)
Use of methods
24
Implement all methods correctly (4 points each)
Use of arrays
6
Implement arrays correctly
Subtotal
40
Devry CIS 355A Week 2 ilab latest
iLab 2 of 7: Classes, Objects, and Methods (40 points)
Scenario/Summary
33. In this lab, you will create two programs that use classes and methods.
Note!Software Citation Requirements
This course uses open-source software which must be cited when used for any student work. Citation requirements are on the Open
Source Applications page.
Please review the installation instruction files to complete your assignment
Deliverables
NOTE
Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-
step instructions.
(See the Syllabus section âDue Dates for Assignments & Examsâ for due dates.)
Program files for the following program
StudentGPAInfo
CurrencyConversion
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the
program.
Example:
/***********************************************************************
Program Name: ProgramName.java
Programmerâs Name: Student Name
Program Description: Describe here what this program will do
***********************************************************************/
How to submit your assignment:
The programs must have the same names as the assignment title.
34. Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program
output files into a Word document.
You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder.Place all
of the .java and .class files for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week2,
and this zip folder will contain all the weekly programming assignments.
Required Software
Eclipse
Access the software at https://lab.devry.edu.
Steps: 1 and 2
Lab Steps
Step 1: StudentGPAInfo (20 points)
Devry CIS 355A Week 3 ilab latest
iLab 3 of 6: Inheritance and Applets (40 points)
Scenario/Summary
In this lab, you will create one project that uses inheritance and one simple Applet.
Note!Software Citation Requirements
This course uses open-source software which must be cited when used for any student work. Citation requirements are on the Open
Source Applications page.
Please review the installation instruction files to complete your assignment
Deliverables
NOTE
35. Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-
step instructions.
(See the Syllabus section âDue Dates for Assignments & Examsâ for due dates.)
Program files for each of the following programs
InheritanceTest; and
Greeting.
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the
program.
Devry CIS 355A Week 5 ilab latest
iLab 5 of 6: GUI Graphics and File I/O (40 points)
Scenario/Summary
In this lab, you will create one project that reads from a file, one project that writes to a file, and one project drawing a snowman.
Note!Software Citation Requirements
This course uses open-source software which must be cited when used for any student work. Citation requirements are on the Open
Source Applications page.
Please review the installation instruction files to complete your assignment
Deliverables
NOTE
Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-
step instructions.
(See the Syllabus section âDue Dates for Assignments & Examsâ for due dates.)
Program files for each of the following programs.
Manage client information
36. Draw a snowman
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the
program.
Devry CIS 355A Week 6 ilab latest
iLab 6 of 6: Swing and Database Connection (40 points)
Scenario/Summary
Develop one application using JTabbedPanes and JFrames and another application that connects to a MySQL database.
Note!Software Citation Requirements
This course uses open-source software which must be cited when used for any student work. Citation requirements are on the Open
Source Applications page.
Please review the installation instruction files to complete your assignment
Deliverables
NOTE
Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-
step instructions.
(See the Syllabus section âDue Dates for Assignments & Examsâ for due dates.)
JavaPizza
ContactList
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the
program.
Devry CIS 355A Full Course Project latest
All week course project
37. Developing a graphical user interface in programming is paramount to being successful in the business industry. This project incorporates
GUI techniques with other tools that you have learned about in this class.
Here is your assignment: You work for a flooring company. They have asked you to be a part of their team because they need a computer
programmer, analyst, and designer to aid them in tracking customer orders. Your skills will be needed in creating a GUI program that
calculates the flooring cost and stores the order in the database.
The project has three components: an analysis and design document, the project code, and a user manual. The analysis and design
document is due Week 4. The code and user manual are due in Week 7. It is suggested that you begin working on the code in Week 5,
which should give you ample time to complete the project. You will find that the lectures and lab assignments will prepare you for the
Course Project.
Guidelines
Your application must include at least three tabs. The user will choose wood flooring or carpet, enter the length and width of the floor, as
well as the customer name and address. The application will compute the area of the floor and the cost of the flooring considering that
wood floor is $20 per square foot and carpet is $10 per square foot. A summary should be displayed, either in a tab or another window,
listing the customer name and address, floor selection, area, and cost. This information should also be stored in the MySQL database table.
The program should validate that all information is entered and that the length and width are numeric values. Any numeric or currency
values must be formatted appropriately when output. Recommendations for the components used for input are
radio buttonsâflooring type (wood or carpet);
text fieldsâcustomer name, customer address, floor length, and floor width; and
buttonsâcalculate area, calculate cost, submit order, display order summary, display order list.
The MySQL database table is called flooring and has the following description.
Field Type
CustomerName
varchar(30)
CustomerAddress varchar(50)
FlooringType
38. varchar(10)
FloorArea
double
FloorCost
double
In addition to entering new customer orders, your application should list all customer orders stored in the database. These will be viewed
as a list, in a text area, and will not be updated by the user.
Analysis and Design (Due Week 4)
In Week 4, you will complete the analysis and design for the project. You will use the guidelines described above and the grading rubric
below to complete this document. You will create the following items.
Request for new application
Problem analysis
List and description of the requirements
Interface storyboard or drawing
Design flowchart or pseudocode
The analysis and design document will be a single MS Word document, which contains all descriptions and drawings. See the grading
rubric below for the analysis and design document, due in Week 4.
Item Points Description
Request for New Application
2.5
A table containing: date of the request, name of the requester (your professor), the purpose of the request, the title of the application
(create your own title), and brief description of the algorithms used in the application
Problem Analysis
39. 2.5
Analyze the problem to be solved, and write in a few words what is the problem and what is being proposed to solve the problem
List and Description of Requirements
5
A description of the items that will be implemented in order to construct the proposed solution
Interface Storyboard or Drawing
5
A picture or drawing of what the application will look like; must include the image of each section of the application in detail
Design Flowchart or Pseudocode
5
A sketch of the flow of the application or the pseudocode of the application
Subtotal
20
User Manual (Due Week 7)
Your actual Course Project and user manual are due at the end of Week 7. However, it is strongly recommended that you start your
project in Week 5 to avoid many last minute issues.
In Week 7, you will be required to submit a user manual, as well as your Java code. The user manual can be a simple Word document with
screenshots that explains how to run your application. Your mark will depend both on the program quality and the quality of the user
manual.
Here are some more detailed guidelines about the user manual.
It does not need to be long, probably not more than 5 pages, including screenshots.
Write at the expected userâs level, not too technical.
Detail all the functionality that the application provides.
40. For each function, show what is its purpose and sample execution, with a screenshot.
User Manual Points Description
Sufficient length to describe the application
5
Manual contains explanation in detail of all relevant areas of the application
Contains screenshots of the key interface components
5
Images of each section of the application
Operations are explained
5
Detailed operation of each section of the application
Written to the userâs level and is not technical
5
Must not contain code or any other technical items irrelevant to the users
Subtotal
20
Application Code (Due Week 7)
The following grading rubric will be used for the code portion of the project.
Flooring Application Points Description
Standard header included
2
Must contain program name, student name, and description of the program
41. Program compiles
2
Program does not have any error
Program executes
2
Program runs without any error
Includes at least 3 tabs
10
Three or more tabs are used
Includes components for all required inputs
35
Components for customer name, address, floor type, length, width, area and cost with buttons to calculate area, calculate cost, display
order summary, and display order list are included
Area calculation
4
Area is calculated correctly
Cost calculation
5
Cost is calculated correctly
Included data validation
10
If no values or non-numeric values are entered, the proper error message should display.
42. Correct data is stored in the database table
10
When values are entered, the data is stored correctly in the database table.
Customer orders are displayed in a list
10
All records saved to the database are displayed in a list with appropriate formatting.
Correct output is displayed
10
When values are entered, the order summary is shown with appropriate formatting.
Total
100
DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 355A Full Course Latest ,
then contact us through call or live chat.
Download File Now