Expert Answers

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY 

1- How would you estimate the opportunity cost of the existing assets now being used by an existing bakery in your appraisal of an investment project to expand the bakery using the Net Replacement Cost approach?
2-What is the criterion used by an analyst to decide whether the net replacement cost or the liquidation value is an appropriate way to measure the opportunity cost of the existing assets?
3-Under what circumstances (at least two) one should have a real residual value of land that is greater than its initial market price?
4-What is the main objective or question addressed by a cost-effectiveness analysis? How does a cost-effectiveness analysis differ from a cost-benefit analysis?
5-Please provide three examples of expenditure decisions where a cost-effectiveness analysis can be used to assist decision makers in the selection of alternative projects.
6-What is meant by the marginal or incremental cost-effectiveness ratio? How is it measured?
7-What are two shortcomings or defects of cost-effectiveness analysis? Explain?
8-When constructing the incremental cash flow profile of a project you need to compare the situation with the project with present situation before the project is undertaken. Briefly explain why is this statements True, False or Uncertain.
9-A project is experiencing an increase in sales. This implies that there will be an increase in its net cash flow. Briefly explain why is this statements True, False or Uncertain.
10-A debt service reserve account usually restricts the payment of dividends in order to accumulate cash for the purpose of servicing the debt of a project.Briefly explain why is this statements True, False or Uncertain.
11-A project with a bigger IRR should always be preferred to the one with a lower IRR.
If ADSCR and LLCR figures are not satisfactory, rather than rejecting a project, an investor should opt for bridge financing. Briefly explain why is this statements True, False or Uncertain.
12-Why would you undertake a risk analysis of a project? How would you use the results of such an analysis?
13-Explain what is meant by project monitoring? What aspects of a project are monitored?
14 An analyst has stated that the internal rate of return (IRR) is an unreliable criterion for selecting projects when the projects are mutually exclusive. The analyst has also stated that the internal rate of return (IRR) is a reliable investment criterion in all other circumstances. Briefly explain why this analysis is correct, or not correct
15 What does Net Present Value (NPV) measure and how is interpreted for values of zero, greater and lower than zero?
16 An analyst argues that maximizing a project’s ratio of (PV of benefits / PV of costs), implies the project’s NPV would also be maximized? Do you agree with the analyst? Explain your reasoning. 

Expert Answers

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY 

Question 1.1. (TCOs 1–8) _____ translates high level language program into machine language program. (Points : 3)
CPU
A compiler
An assembler
The operating system
Question 2.2. (TCOs 1–8) -25% 5 is _____ (Points : 3)
1.
2.
3.
4.
0.
Question 3.3. (TCOs 1–8) What is the printout of System.out.println(z – a)? (Points : 3)
26
z
a
25
Question 4.4. (TCOs 1–8) What is y after the following statement is executed?
x = 0;
y = (x > 0) ? 10 : -10; (Points : 3)
-10
0
20
10
Illegal expression
Question 5.5. (TCOs 1–8) What is the output of the following code?
boolean even = false;
System.out.println((even ? “true” : “false”)); (Points : 3)
False
Nothing
True false
True
Question 6.6. (TCOs 1–8) What is the value in count after the following loop is executed?
int count = 0;
do {
System.out.println(“Welcome to Java”);
} while (count++ < 9);
System.out.println(count); (Points : 3)
10
9
0
8
11
Question 7.7. (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: (Points : 3)
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 8.8. _____ is to implement one method in the structure chart at a time from the top to the bottom. (Points : 3)
Bottom-up approach
Bottom-up and top-down approach
Stepwise refinement
Top-down approach
Question 9.9. When you invoke a method with a parameter, the value of the argument is passed to the parameter. This is referred to as _____ (Points : 3)
pass by value.
pass by name.
pass by reference.
method invocation.
Question 10.10. Analyze the following code.
public class Test {
public static void main(String[ ] args) {
int[ ] x = new int[5];
int i;
for (i = 0; i < x.length; i++)
x = i;
System.out.println(x);
}
} (Points : 3)
The program displays 4.
The program displays 0 1 2 3 4.
The program has a runtime error because the last statement in the main method causes ArrayIndexOutOfBoundsException.
The program has a compile error because i is not defined in the last statement in the main method.
——————————————————————————————————————
Page 2
Question 1.1. (TCOs 1–8) Analyze the following code.
// Program 1:
public class Test {
public static void main(String[ ] args) {
Object a1 = new A();
Object a2 = new A();
System.out.println(a1.equals(a2));
}
}
class A {
int x;
public boolean equals(Object a) {
return this.x == ((A)a)x;
}
}
// Program 2:
public class Test {
public static void main(String[ ] args) {
Object a1 = new A();
Object a2 = new A();
System.out.println(a1.equals(a2));
}
}
class A {
int x;
public boolean equals(A a) {
return this.x == a.x;
}
} (Points : 3)
Program 1 displays true and Program 2 displays true
Program 1 displays false and Program 2 displays false
Program 1 displays false and Program 2 displays true
Program 1 displays true and Program 2 displays false
Question 2.2. (TCOs 1–8) Which of the statements regarding the super keyword is incorrect? (Points : 3)
You can use super.super.p to invoke a method in superclass’s parent class.
You cannot invoke a method in superclass’s parent class.
You can use super to invoke a super class constructor.
You can use super to invoke a super class method.
Question 3.3. (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);
}
} (Points : 3)
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 4.4. (TCOs 1–8) Analyze the following code.
// Program 1:
public class Test {
public static void main(String[ ] args) {
Object a1 = new A();
Object a2 = new A();
System.out.println(a1.equals(a2));
}
}
class A {
int x;
public boolean equals(A a) {
return this.x == a.x;
}
}
// Program 2:
public class Test {
public static void main(String[ ] args) {
A a1 = new A();
A a2 = new A();
System.out.println(a1.equals(a2));
}
}
class A {
int x;
public boolean equals(A a) {
return this.x == a.x;
}
} (Points : 3)
Program 1 displays false and Program 2 displays false
Program 1 displays false and Program 2 displays true
Program 1 displays true and Program 2 displays false
Program 1 displays true and Program 2 displays true
Question 5.5. (TCOs 1–8) Suppose a JFrame uses the GridLayout(2, 2). If you add six buttons to the frame, how many columns are displayed? (Points : 3)
4
3
1
2
Question 6.6. (TCOs 1–8) How many frames are displayed?
import javax.swing.*;
public class Test {
public static void main(String[ ] args) {
JFrame f1 = new JFrame(“My Frame”);
JFrame f2 = f1;
JFrame f3 = f2;
f1.setVisible(true);
f2.setVisible(true);
f3.setVisible(true);
}
} (Points : 3)
2
0
3
1
Question 7.7. (TCOs 1–8) Which of the following statements is for placing the frame’s upper left corner to (200, 100)? (Points : 3)
frame.setLocation(100, 100)
frame.setLocation(200, 200)
frame.setLocation(100, 200)
frame.setLocation(200, 100)
Question 8.8. (TCOs 1–8) Which color is the darkest? (Points : 3)
new Color(20, 0, 0)
new Color(0, 0, 0)
new Color(30, 0, 0)
new Color(10, 0, 0)
f.setForeGround(Color.yellow)
Question 9.9. (TCOs 1–8) Which of the following statements will convert a string s into a double value d? (Points : 3)
d = Double.valueOf(s).doubleValue();
d = Double.parseDouble(s);
d = (new Double(s)).doubleValue();
All of them.
Question 10.10. (TCOs 1–8) Analyze the following code.
Number numberRef = new Integer(0);
Double doubleRef = (Double)numberRef; (Points : 3)
The compiler detects that numberRef is not an instance of Double.
The program runs fine, because Integer is a subclass of Double.
A runtime class casting exception occurs, because numberRef is not an instance of Double.
You can convert an int to double, so you can cast an Integer instance to a Double instance.
There is no such class named Integer. You should use the class Int.
Question 11.11. (TCOs 1–8) Which of the following statement is correct? (Points : 3)
BigInteger and BigDecimal are immutable
BigInteger and BigDecimal are not immutable
BigInteger is immutable, BigDecimal is not immutable
BigInteger is not immutable, BigDecimal is immutable
Question 12.12. (TCOs 1–8) What is the output of the following code?
public class Test {
public static void main(String[ ] args) {
java.math.BigInteger x = new java.math.BigInteger(“3”);
java.math.BigInteger y = new java.math.BigInteger(“7”);
x.add(y);
System.out.println(x);
}
} (Points : 3)
3
11
10
4
Question 13.13. (TCOs 1–8) The method in the ActionEvent _____ returns the action command of the button. (Points : 3)
getActionCommand()
getModifiers()
getID()
paramString()
Question 14.14. (TCOs 1–8) The handler (e.g., actionPerformed) is a method in _____ (Points : 3)
both source and listener object.
the EventObject class.
a listener object.
the Object class.
a source object.
Question 15.15. (TCOs 1–8) To be a listener for ActionEvent, an object must be an instance of _____ (Points : 3)
WindowEvent.
EventObject.
WindowListener.
ActionEvent.
ActionListener.
Question 16.16. (TCOs 1–8) To check whether a DELETE key is pressed or released, the following handlers should be used, except (Points : 3)
keyTyped(KeyEvent e).
keyReleased(KeyEvent e).
keyPressed(KeyEvent e).
Question 17.17. (TCOs 1–8) What is the printout for the first 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);
}
k = i + j;
System.out.println(“k is ” + k);
System.out.println(“j is ” + j);
}
} (Points : 3)
i + j is 5
i + j is 23
i + j is 6
i + j is 22
Question 18.18. (TCOs 1–8) Analyze the following code.
import javax.swing.*;

public class ShowErrors {
public static void main(String[ ] args) {
int i;
int j;
String s = JOptionPane.showInputDialog(null,
“Enter an integer”, “Input”,
JOptionPane.QUESTION_MESSAGE);
j = Integer.parseInt(s);
i = (i + 4);
}
} (Points : 3)
The program compiles but has a runtime error because i
does not have an initial value when it is used in i = i + 4;
The program cannot compile because i does not have an initial value when it is used in i = i + 4;
The program cannot compile because j is not initialized.
The program compiles and runs fine.
Question 19.19. (TCOs 1–8) BigDecimal gives you control over how values are rounded. By default (Points : 3)
all calculations are approximate and no rounding occurs.
all calculations are approximate and rounding occurs.
all calculations are exact and no rounding occurs.
all calculations are exact and rounding occurs.
Question 20.20. (TCOs 1–8) Which statement is false? (Points : 3)
The actual data representation used within the class is of no concern to the class’s clients.
Clients generally care about what the class does but not how the class does it.
Clients are usually involved in a class’s implementation.
Hiding the implementation reduces the possibility that clients will become dependent on class-implementation details.
Question 21.21. (TCO 1-8) An object is an instance of a _____ (Points : 3)
method.
class.
data.
program.
Question 22.22. (TCOs 1–8) How many JFrame objects can you create, and how many can you display? (Points : 3)
unlimited
two
three
one
Question 23.23. (TCOs 1–8) What is wrong in the following code?
class TempClass {
int i;
public void TempClass(int j) {
int i = j;
}
}
public class C {
public static void main(String[ ] args) {
TempClass temp = new TempClass(2);
}
} (Points : 3)
The program compiles fine, but it does not run because class C is not public.
The program has a compilation error because TempClass does not have a constructor with an int argument.
The program compiles and runs fine.
The program has a compilation error because TempClass does not have a default constructor.
Question 24.24. (TCOs 1–8) What is the value of myCount.count displayed?
public class Test {
public static void main(String[ ] args) {
Count myCount = new Count();
int times = 0;
for (int i=0; i<100; i++)
increment(myCount, times);
System.out.println(
“myCount.count = ” + myCount.count);
System.out.println(“times = “+ times);
}
public static void increment(Count c, int times) {
c.count++;
times++;
}
}
class Count {
int count;
Count(int c) {
count = c;
}
Count() {
count = 1;
}
} (Points : 3)
99
101
100
98
——————————————————————————————————————
Page 3
Question 1.1. (TCOs 1–8) Given a graphics object g, to draw an outline of a rectangle of width 20 and height 50 with the upper-left corner at (20, 20), you use _____ (Points : 3)
g.drawRect(20, 20, 20, 50).
g.drawRectFill(20, 20, 20, 50).
g.drawRectFill(20, 50, 20, 20) .
g.drawRect(20, 50, 20, 20).
Question 2.2. (TCOs 1–8) To draw graphics, it is better to declare a class that extends _____ and override the paintComponent method. (Points : 3)
JComponent
JButton
JPanel
JLabel
Question 3.3. (TCOs 1–8) Given a graphics object g, to draw an circle with radius 20 centered at (50, 50), you use _____ (Points : 3)
g.drawOval(30, 30, 20, 20).
g.drawOval(30, 30, 40, 40).
g.drawOval(50, 50, 20, 20).
g.drawOval(50, 50, 40, 40).
Question 4.4. (TCOs 1–8) With which I/O class can you append or update a file? (Points : 3)
DataOutputStream()
RandomAccessFile()
OutputStream()
None of them
Question 5.5. (TCOs 1–8) Which of the following statements creates an instance of File on Window for the file c:\t.txt? (Points : 3)
new File(“c:\txt.txt”)
new File(“c:/txt.txt”)
new File(“c:\\txt.txt”)
new File(“c://txt.txt”)
Question 6.6. (TCOs 1–8) Suppose s1 and s2 are two strings. What is the result of the following code?
s1.equals(s2) == s2.equals(s1) (Points : 3)
True
False
Question 7.7. (TCOs 1–8) Assume s is ” abc “, the method _____ returns a new string “abc”. (Points : 3)
s.trim(s)
String.trim(s)
s.trim()
trim(s)
Question 8.8. (TCOs 1–8) Which of the following returns the path separator character? (Points : 3)
File.pathSeparatorChar
File.separator
File.separatorChar
File.pathSeparator
Question 9.9. (TCOs 1–8) The method _____ specifies that the text is placed on the right of the icon in the button jbt. (Points : 3)
jbt.setVerticalTextPosition(JButton.LEFT)
jbt.setHorizontalAlignment(JButton.LEFT)
jbt.setHorizontalTextPosition(JButton.RIGHT)
jbt.setHorizontalTextPosition(JButton.LEFT)
jbt.setHorizontalAlignment(JButton.RIGHT)
Question 10.10. (TCOs 1–8) Which of the following is true? (Points : 3)
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 11.11. (TCOs 1–8) Which of the following statement is false? (Points : 3)
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 12.12. (TCOs 1–8) The method _____ appends a string s into the text area jta. (Points : 3)
jta.appendText(s)
jta.append(s)
jta.setText(s)
jta.insertText(s)
Question 13.13. (TCOs 1–8) Suppose a callable statement is created as follows.
CallableStatement callableStatement = connection.prepareCall(
“{call sampleProcedure(?, ?, ?)}”);
Assume that the second parameter is an OUT parameter with value John. To register this parameter, use (Points : 3)
callableStatement.registerOutParameter(0, java.sql.Types.STRING);.
callableStatement.registerOutParameter(2, java.sql.Types.STRING);.
callableStatement.registerOutParameter(1, java.sql.Types.STRING);.
Question 14.14. (TCOs 1–8) Analyze the following code.
ResultSet resultSet = statement.executeQuery
(“select firstName, mi, lastName from Student where lastName “+ ” = ‘Smith'”);
System.out.println(resultSet.getString(1)); (Points : 3)
resultSet.getString(1) returns the lastName field in the result set.
If the SQL SELECT statement returns no result, resultSet is null.
resultSet.getString(1) returns the mi field in the result set.
The program will have a runtime error, because the cursor in resultSet does not point to a row.
You must use resultSet.next() to move the cursor to the first row in the result set.
Subsequently, resultSet.next() moves the cursor to the next row in the result set.
Question 15.15. (TCOs 1–8) Result set meta data are retrieved through _____ (Points : 3)
a Statement object.
a Connection object.
a ResultSet object.
a PreparedStatement object.
Question 16.16. (TCOs 1–8) Which of the following statement is false? (Points : 3)
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

————————————————————————–
Page 4
Question 1. 1. (TCOs 1–8) Write a class called point
for the 2-D environment.
Select appropriate variable(s).
Write constructors.
Write access methods for the variables.
Write a Print method to display the variables when called.
Write a test program to test it. (Points : 20)
Question 2. 2. (TCOs 1–8) Write a class called circle,
which inheres the above point class.
Select appropriate variable(s).
Write constructors.
Write access methods for the variables.
Override the inherited Print method to display variable in circle and point.
Write a test program to test it. (Points : 20)
Question 3. 3. (TCOs 1–8) Start from the following code, and add Action Listener to make it functional. (Need about 10 lines)
Note:

import javax.swing.*;
import
java.awt.GridLayout;
import
java.awt.event.*;
import
java.text.DecimalFormat;

public class temperatureConverter extends JFrame {
public static void
main(String[] args) {
JFrame frame = new temperatureConverter();
frame.setTitle(“Temp”);
frame.setSize(200, 100);
frame.setLohcationRelativeTo(null);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.sehtVisible(true);
}

puhblic
tehmperatureConverter() {
JLabel lblC = new
JLabel(“C”,SwingConstants.CENTER);
JLabel lblF = new
JLabel(“F”,SwingConstants.CENTER);
final
JTextField jtfC = new JTextField();
final
JTextField jtfF = new JTextField();
JButton jbtLeft = new JButton(“<=”);
JButton jbtRight = new JButton(“=>”);

JPanel panel = new JPanel(new GridLayout(2, 3));
panel.add(lblC);
panel.add(jbtLeft);
panel.add(lblF);
panel.add(jtfC);
panel.add(jbtRight);
panel.add(jtfF);

this.add(panel); // Add panel to the frame

final
DecimalFormat dec = new DecimalFormat(“#.00”);
}
}

Site Design

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY 

using Microsoft Word, create a document that includes the following: Create your title page with, “Web Site Design Document Part 2, Week 3: Web Site ‘Look and Feel.”
A 1-paragraph description of the key elements of look and feel that all Web designers should be aware of. For part two of this assignment, visit one of the following existing sites of your choice, not related to your own site: business, club, or educational. Write a minimum of 2 paragraphs based on the chapter for this week, detailing the elements needed to create a specific look and feel for the site you chose. What impression, do you think owners of the site want visitors to feel? What elements would you choose to use to create the impression?

Expert Answers

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY 

1.Suppose that a new “miracle pill” will allow a person to function with only one hour of sleep per night. However, because a night’s sleep is so short, a person who takes the pill will never dream again. Knowing what you do about the functions of sleep and dreaming, what would be some of the advantages and drawbacks of such a pill from a personal standpoint? Would you take such a pill?
2. The rational style of learning sometimes conflicts with the traditional school environment. Could a school be created that takes advantage of the characteristics of the rational style? How? Are there types of learning for which the analytical style is clearly superior?
3. What study strategies can you think of that would make effective use of the levels-of-processing approach to memory?
4. What approaches to motivation are more commonly used in the workplace? How might each approach be used to design employment policies that can sustain or increase motivation?
5. When researchers find similarities in development between very different cultures, what implications might such findings have for the nature-nurture issue?
6. Should personality tests be used for personnel decisions? Should they be used for other social purposes, such as identifying individuals at risk for certain types of personality disorders?
7. What cultural factors might contribute to the rate of anxiety disorders found in s culture? How might the experience of anxiety differ among people of different culture?
8. How can people be successfully treated in group therapy when individuals with the “same” problems are so different? What advantages might group therapy offer over individual therapy?
9.Do you think it matters that some people have implicit biases against certain groups if those people never express their biases explicitly?

iLAB

CLICK HERE TO DOWNLOAD THIS TUTORIAL INSTANTLY 

iLAB OVERVIEW
Scenario/Summary
A local recruiter wants you to make a Web page for his information technology staffing company. He wants a Web page that has informed recent graduates about careers as Web programmers and Web designers. Create a Web page that will give information about each of the positions mentioned. The page content should be as followed:
Descriptions about each of the positions
Skills and/or education required for these positions
Salaries, benefits associated with these positions
Professional organizations of which people who hold these positions are typical members
This page must have at least five graphical elements. You must implement the following CSS features:
Box Model
Floating Elements
Borders
Remember that the recruiter wants this page to be well organized, informative, and attractive. Use colors and great graphics to make this Web page interesting so that he can attract more business.
Deliverables
Submit a Week 3 Lab folder, including
• The HTML Web page
• Associated CSS files
• Images and multimedia (if any)
Category Points
Use of Box Model, bordering, and floating elements 15
Completed Web page based on project specifications 15
Correct External CSS file that attaches to each page 10
Total 40
Required Software
Software Name 1
Access the software at https://lab.devry.edu.
Steps: 1, 2, and 3
Software Name 2
Access the software at https://devrydesktop.rkon.com.
Steps: 4 and 5
iLAB STEPS
STEP 1: Gather Web Content
Back to Top
• Create written Web content about each of the positions.
• Gather all images that you will use.
STEP 2: Create Your Web Page

• Create an informal page layout for the Web page.
• Create the Web page based on criteria mentioned.
STEP 3: Submit Your Assignment