Blog

Create a program that fulfills the outlined in the scenario

Create a program that fulfills the outlined in the scenario

Create a program that fulfills the outlined in the scenario

Software Engineering

Application: Animal Characteristics

In today’s fast-paced world, it is important for programmers to think about potential future changes that impact their programs. One way that software developers can address this concern is by designing programs that are easy to upgrade and are adaptable to new technologies. In this Application, you work toward this goal by writing a program that uses the concept of inheritance to allow for later additions.

For this Application:

Create a program using the principles of inheritance based on the following scenario:

Scenario: The teachers of a local school need a program to teach their students the basics about animals and their characteristics. The teachers want the program to contain a database of animals, from which the teachers can choose animals to add to a list. The list will be displayed on the students’ monitors so they can study the animals and their characteristics. Right now, the teachers want a program that handles only mammals and birds, but in the future they may want to add other types of animals. The teachers also expect the program to run smoothly and be thoroughly tested to handle extraneous input.

Create a program that fulfills the specifications outlined in the scenario above. Use the concept of inheritance to allow for later additions to the program. Also use the TDD concepts from Unit 1 to test the program as you go.

Follow the steps below to create the program:

Create a class Animal with these variables:

• public String kind;
• public String integument;

Add these methods:

• public String movement(boolean fast) returns one of the two strings “I walk on four legs.” or “I run on four legs.” depending on whether fast is false or true, respectively.

• public String sound() returns the empty string.

Create two classes, Mammal and Bird, each of which extends Animal.

In the constructor for Mammal, set the variable integument to the string “hair”. Do not declare the variable again; it has already been declared in Animal. Similarly, in the constructor for Bird, set integument to the string “feathers”.

In the Bird class, override the movement method to return either “I walk on two legs.” or “I fly.” depending on the setting of the fast parameter. Use the @Override annotation.

Create additional classes to represent specific kinds of animals (each extends either Mammal or Bird). In each class, set the kind variable and override the sound() method. For example, you might create a Duck class, setting the kind to “duck” and overriding the sound() method to return the string “„quack?” (in single quotes).

Note: Remember to test the methods as you go. Use the principles of TDD that you examined in Unit 1. The methods you write in this program are simple and only return strings, so they are relatively easy to test.

Users should be able to create animals of any kind you have defined (duck, cow, etc.), but you should also prevent the user from creating a “plain” animal, because there’s no such thing. Every animal has to be a specific kind. Do this by writing a factory method in the Animal class-that is, a method to create objects of various animal kinds. Here’s how:

• First, prevent users from creating a “plain” animal by writing a no-argument constructor for Animal, but making it private.

• Second, write a method Animal newInstance(String kind) that takes the desired kind of animal (such as “duck”), calls the constructor for that particular kind of animal, and returns the result. If given an unrecognized string, the method should not crash; it should return null.

Your test of the newInstance method must verify that the objects it creates are equal to objects created by calling the appropriate constructor (for instance, new Duck()) directly. Testing equality (that is, calling assertEquals) requires an equals method in the Animal class. There are five different characteristics that should be equal for two animals to be equal-their kinds, their integuments, their slow and fast movements, and the sounds they make. You don’t need to test for every kind of animal you define, but you should test at least one kind of bird and one kind of mammal. Also, don’t forget to test the newInstance method with an unrecognized (or misspelled) kind of animal.

Write a print method in your Animal class. When called, it should print out all the information about “this” animal, for instance:

I am a duck.
I have feathers.

When I go slowly, I walk on two legs. When I go fast, I fly.

The sound I make is „quack?.

Note that the sound of the animal has single quotes around it when you see it displayed in the output of your program. The sound method returns a string which contains a single quote, the sound, and then another single quote.

Write a class called AnimalStuff containing a main method. In this class, define an
ArrayList of Animal.

In case you are not familiar with ArrayList, you need to import java.util.ArrayList and your declaration should look something like

ArrayList<Animal> myList = new ArrayList<Animal>();

Although a normal array has a fixed size which you specify, an ArrayList does not and can grow as elements are added to it. You can find more information about ArrayList in the Java API.

An ArrayList<Animal> can hold a mixture of all kinds of animals.

Finally, in your main class, write a loop asking the user which of three things to do: Add an animal of a chosen type to the list, print (every animal in) the list, or quit the program. If the user asks for an animal your program doesn’t recognize, don’t add null to the list, but do inform the user of the problem.

Use a Scanner (import java.util.Scanner) to read input from the user. First, create a Scanner object:

Scanner scanner = new Scanner(System.in);

Then, to read a word typed in by the user, you can use the following:

String word = scanner.next();

To read in an entire line, use:

String line = scanner.nextLine();

To read in an integer, use:

int number = scanner.nextInt();

To read in a floating-point number, say:

double fpNumber = scanner.nextDouble();

Include screenshots of your program running as part of your submission. Show five valid animals being added and two invalid animals trying to be added. Also show screenshots of the printed list after each animal is added. Include screenshots of your program being tested with JUnit.

The legislative branch enacts legislation

The legislative branch enacts legislation

The legislative branch enacts legislation

Software Engineering

Article

Our job as IT security professionals is to ensure an ethical approach to the safety and integrity of the data. We have been given laws to guide us on the path of ethics.

Laws were crafted to provide an entity the ability to prosecute those that hack them. A problem with the laws is that it also covers the illegal activities of those entities that are being hacked. When the entities go beyond their original scope of intent, their intentions are for selfish gain.

The entities must be put back in check, which is why groups like Anonymous have risen. On Anonymous’ website it states, “We always fight for people rights. We want every citizens of the world is equal. We harm anyone at any time who doing wrong things” (anonymoushackers.net, 2017)

The idea of keeping powers in check reminds me of how our nation’s founding fathers setup the three branches of government. The three branches are, “The legislative Branch enacts legislation” (usa.gov), while “The executive branch carries out and enforces laws” (usa.gov) and “The judicial branch interprets the meaning of laws” (usa.gov).

They are designed to keep each other in check and prevent one from becoming more power than the other. The integrity of the three controlling government bodies is only as good as the integrity of the members. This can be said of any government of the world. Anonymous is a self-appointed group for unofficial checks and balances for the governments of the world.

I do have reservations about the information Anonymous is presenting to the world, which is the integrity of that evidence. Is it being modified to make it more juicy and enticing? Can power corrupt? The 1st Baron Acton seemed to think so when he said, “Power tends to corrupt, and absolute power corrupts absolutely” (Britannica, 2012).

This does not mean anyone in power is corrupt, it just means that there is a greater chance with the more power they have. God himself has his own system of ethical checks and balances.

Jesus says in Luke 8:17, “For there is nothing hidden that will not be disclosed, and nothing concealed that will not be known or brought out into the open” (NIV, 2011).

References A. Walter James, (May 07, 2012) John Emerich Edward Dalberg Acton, 1st Baron Acton,

Retrieved from https://www.britannica.com USA.Gov, (April 3, 2017),

Retrieved from https://www.usa.gov Anonymous, (2017)

Retrieved from http://www.anonymoushackers.net

Apply principles of coding to using software to code data

Apply principles of coding to using software to code data

Apply principles of coding to using software to code data

Software Engineering

Coding Using NVivo

 

While hand-coding is one way to organize your data, you may also want to take advantage of software programs that facilitate the coding process. For this week’s activity, you will take the interview data that you collected individually, and code it using NVivo, which is one such software program. You will then compare your experiences with hand-coding and software coding, and reflect on the advantages and disadvantages of using a program like NVivo.

To prepare for this Application:

  • Review the required reading for this week.
  • Using data collected from your interviews, code the data using NVivo.
  • Apply principles of coding to using software to code data.
  • Submit your coding structure and some kind of sample documentation (e.g. screen shots) showing supporting codes.
  • Write 2-3 pages analyzing your coding experience using NVivo. What was it like? What were the challenges you faced? What are some advantages and disadvantages of using software to code data for qualitative research?

E commerce business/Software Engineering

E commerce business/Software Engineering

 

E commerce business/Software Engineering

Software Engineering

Activity – based upon Chapter 5

Idea for an e-business: For this activity come up with an idea for an e-commerce business (as you learned in Chapter 5: E-Commerce). Work on completing the tasks (A through D) below:

PART – A: Write 1-2 paragraphs describing your idea (business goals & objectives) for your e-commerce business (for example, health-care related products selling, clothing sales etc.). Be sure to include information about your potential business, products, services, and customers.

PART – B: Write 1-2 paragraphs describing your plan for the overall look and feel of your e-commerce website, specifying any fonts or color schemes you want to employ. How do you plan to find customers and establish relationships (via online) with them?

PART – C: Make a list of five keywords that can be used in your Web page header so customers can easily find your site when using a search engine.

PART – D: Find a site to host your online business and work up a table showing monthly and annual hosting costs.

Diversity of approaches to software construction

Diversity of approaches to software construction

Diversity of approaches to software construction

Software Engineering

There are at least two (2) approaches to the SDLC, two (2) approaches to software construction and modeling, and many techniques and models. The following could be possible reasons for such a diversity of approaches:

The field is young.
The technology changes quickly.
Different organizations have different needs.
There are many types of systems.
Developers have widely different backgrounds.

Write a two to three (2-3) page paper in which you:

Analyze each reason listed above as a reason for a diversity of approaches to software construction and modeling, and give your opinion on whether or not each reason is valid.

Propose at least one (1) additional reason why you believe such diversity of approaches exists. Provide support for your recommendation.

Use at least three (3) quality resources outside of the suggested resources in this assignment. Note: Wikipedia and similar Websites do not qualify as quality resources.

Role of systems analyst in system development life cycle

Role of systems analyst in system development life cycle

Role of systems analyst in system development life cycle

Software Engineering

1.What are the primary responsibilities of a system analyst? What skills do system analysts need? Discuss the role the systems analyst plays in the system development lifecycle. Is there a significant difference between typical salaries for system analysts, designers, and developers? Roughly, what is the difference between typical salaries for these different groups? What do you think are the reasons for these differences? Discuss any trends that you found and the implications.

Create the system architecture models

Create the system architecture models

Create the system architecture models

Software Engineering

Question :1. Use CASE tool Model to create an application class model that includes entity classes, user interface classes, boundary, and controller classes

2. Use CASE tool Model to create the System Architecture models. Use the 4+1 approach with the UML diagrams.

IT Online Training needs to develop an online service for IT training that includes scheduled as well as self-paced courses. The training service will be initially web-based but the architecture must have the option that different front-ends like applets, web services, or other designs can be used. The main function of the training site is to provide IT courses to its customers over the Internet.

Sponsor Requirements

The sponsors of the project have identified some preliminary requirements of the system as documented below.

The following are some initial requirements of the application.

1. Purchase courses.

Q1 Users must be able to purchase courses via an online shopping cart.
Q2 The user must be able to add courses to an online shopping cart.
Q3 Users must be able to remove courses from an online shopping cart.
Q4 Users must be able to cancel orders.
Q5 Users must be able to purchase by credit card.
Q6 System must provide certificates of completion for users.

2. Maintain Customer accounts

Q1 Users must be able to create a customer account
Q2 The system must be able to store customer information like name, address, and credit card details at login.
Q3 The system must maintain a list of accounts in its central database.
Q4 The system must match the user name and password against the information stored in the master account list when the user logs in.

3. Maintain Course information.

Q1 The system must be able to create, modify, and delete course information including course number, course title, course duration, course prerequisites, course description, CEU credits, related courses, and cost.
Q2 The system must maintain course history including offering dates (beginning and ending), number of students enrolled, and instructor.
Q3 The system must provide search capability for courses based on category, popular course, recent releases, planned courses.
Q4 The system must provide video viewing capability for courses.
Q5 The system must provide search capability for all courses offered.

4. Maintain Instruction information.
Q1 The system must be able to create, modify, and delete instructor information including name, address, bio, and stipend.
Q2 Instructors must be able to update course information and materials.

5. Maintain the Course Schedule

Q1 The system must maintain the course schedule in its central database including course title, course number, course description, course prerequisites, length of course, course outline, schedule dates, and instructor information.

Q2 The system must allow the schedule administrator to maintain the course schedule and create, modify, and delete course schedule information.

6. Search the Course Schedule
Q1 Customers must be able to search the Course Schedule by various search techniques including keyword, title, and schedule and then view the results

7. Develop a scalable architecture

Q.1 The training application must be capable of maintaining user accounts for up to 100,000 user accounts during the first six month and 1,000,000 after six months.

Q.2 The training application must be capable of servicing up to 1,000 simultaneous users initially and up to 10,000 after six months.

Q.3 The training application must be capable of handling 100 search requests per minute and up to 1,000 search requests after six months.

Q.4 The training application must be ca

Sketch flowchart to print average for student

Sketch flowchart to print average for student

Sketch flowchart to print average for student

Software Engineering

Draw a flowchart to print the average for each student in a class.

Output. Output is report showing each student’s name and average.

Input. Input consists of student records each containing a student’s name(STUDENT-NAME), score for first test(TEST), score for second test(TEST2), and score for third test(TEST3).

Calculation. AVERAGE = (TEST1+TEST2+TEST3)/3

Business & Finance – Financial markets/International Business

Business & Finance – Financial markets/International Business

International Business Letter

about ¾ of a page to one full page business letter(formatting as researched culture may dictate) + several paragraphs of rationale

One of the great things about entering a field under the sphere of business is that you’ll get to encounter people from all over the world. Because of this plethora of diversity, it’s important to understand the nuances and intricacies that comprise different cultures and to be aware about how your own cultural makeup will interact with those of others, especially with regards to business etiquette.

Please ponder a country that you find intriguing and/or a country where you can foresee yourself conducting business. Please do some research on the culture and etiquette of this country, especially with regards to the customs related to the ways this country conducts business. Some questions to ponder: how are gender relations handled? Will a more direct or indirect approach be appropriate when making a business proposal? Is the country high-context or low-context? How are public-figures perceived by the general public—are they beloved? Are they despised? How personal should you get when doing business?
I. Once you’ve researched business etiquette in this country, write a business-letter to either a potential business partner in that country or the embassy proposing some sort of business idea. In the letter you must convey proper respect for the elements of business etiquette within that country by manifesting what you’ve learned.

In other words, incorporate the ideas you learned into the letter and write the letter as would be expected in that country. You want to sound as natural as possible when expressing that you’ve done some research on customs. For example: if a country is high context, how will that effect the way you write a business letter?

II. After you write this letter, please briefly explain why you wrote the way that you did. Essentially, explain to me what you discovered (or perhaps already knew) about the business customs of the country you want to work with.

Side-notes: I encourage you to use this assignment to explore the customs a new country that you may be interested in but aren’t necessarily familiar with. That is, if you were born in Sweden and identify as Swedish, I’d urge you to avoid writing about Sweden and opt for a country you don’t know much about.

While I encourage you to search far and wide for info on other countries, www.geert-hofstede.com is a fantastic resource.