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.

Interpersonal Communication / Business management

Interpersonal Communication / Business management

All of us, no matter how learned or skilled in the field of communication, still experience problems communicating interpersonally with others to some degree, so we need to find ways to increase our competence as communicators. By completing this paper I hope you will gain both confidence and ability to more effectively deal with interpersonal communication problems in the future.

Specifics of the Paper

In this paper, you will: (1) describe an aspect of interpersonal communication that you recognize as being an area of needed improvement for yourself, (2) apply 3 theories (no more no less –  bold type the names of the theories or lose points) and concepts from our textbook and/or class Power Points to analyze why you might encounter some of the communication problems that you experience, (3) again, using theories and concepts from text reading and/or online lectures or class information, describe an action plan for improving communication competence in that area you’ve discussed.

Selecting a Topic Area

One way to proceed with this paper is to think of situations where you find it difficult to engage in communication or to achieve your communication goals. For example, maybe you find it difficult not to compete during interpersonal conflict, maybe you’re just not sure how to disclose feelings in a relationship that is important to you, or maybe you don’t know how to effectively listen to a child or parent.

Another suggestion is to make notes of topics discussed in your text with which you can personally identify. For example, after reading the text you may realize that you use language in unconventional ways, possibly in detrimental ways. Or, after reading about nonverbal communication, you realize that you misinterpret a friend’s facial expressions a great deal.

Format of the paper

  • The paper should be 250 – 500 words. No fluff. Headings, title pages, and works cited pages do NOT count toward your word count. The greatest part of the paper should be devoted to how the 3 theories or concepts will help you improve. Spend your words carefully.
  • The paper should include documentation of your source(s) – at a minimum, you should cite our textbook in a works cited page.
  • The paper should be double-spaced the paper with 12 point Time New Roman font.

Organizational Guide

You do not submit this outline. I am providing the guide to help you organize your writing.

Introduction (usually 1-2 paragraphs)

I. Statement to get reader’s attention

II. Identify importance of communication to relationships

III. Thesis statement

Body (majority of paper – usually 3 to 8 paragraphs)

I. Describe an aspect of communication that you recognize as being an area of needed improvement for yourself.

  • Provide at least one detailed illustration of how this aspect of communication impacts your ability to achieve communication goals.

II. Analyze why you might experience the problems that you do.

  • In this section, it’s critical that you use theories and concepts from your textbook and/or class lecture as a basis for your analysis.
  • Please be very specific about how a theory/concept relates to the analysis you’re making.

III. Describe an action plan for improving communication in the area that you’ve discussed.

  • Prepare and detail a plan for improving your communication competence.
  • Again, use theories and concepts from reading and lectures as a basis for your plan.
  • Also, explain how your plan will help you attain your goals.

Conclusion

I. Summarize the paper

II. Wrap up the paper with a statement of significance

  • I call this the “So What?” statement. You should tell your readers why this experience and/or concept/principle is important for you, for them, and/or for everyone to know

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.

Article Review: “Unconstitutional Policing/ Law

Article Review: “Unconstitutional Policing/ Law

 

 

Article Review: “Unconstitutional Policing: The Ethical Challenges in Dealing with Noble Cause Corruption” Police Chief Magazine – http://www.policechiefmagazine.org/magazine/index.cfm?fuseaction=display_arch&article_id=1025&issue_id=102006

 

Reaction Paper #2– Prepare a 2 page Reaction paper on this article. In your discussion, provide two examples of Noble Cause Corruption.

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?

Need a program that reads in a description of a context free grammar, then outputs the FIRST sets for all non-terminals in the grammar

Need a program that reads in a description of a context free grammar, then outputs the FIRST sets for all non-terminals in the grammar

Need a program that reads in a description of a context free grammar, then outputs the FIRST sets for all non-terminals in the grammar

Need a program that reads in a description of a context free grammar, then outputs the FIRST sets for all non-terminals in the gramma

Write, in Java (Lab2.java), a program that reads in a description of a context free grammar, then outputs the FIRST sets for all non-terminals in the grammar.
The input grammar will be given on input file (line argument passed), and your program
should output to standard output (console / stdout).
Grammar Description
All grammar symbols are case-sensitive and whitespace-separated.
The first line of the input file lists all the non-terminals of the grammar.
The first non-terminal in the list is the start symbol of the grammar.
Symbols that appear in the grammar other than non-terminals are terminals.
Production rules are seperated by the newline symbol n. (One rule per one line.)
A production rule starts with a non-terminal symbol (the left-hand side) followed
by ->, then followed by a sequence of zero of more terminals and non-terminals,
which represent the right-hand side.
If the right-hand side of a rule is empty, then this represents a rule of X ! .
Input File Example
program stmt_list stmt expr term_tail term …
program -> stmt_list $$
stmt_list -> stmt stmt_list
stmt_list ->
stmt -> id := expr
stmt -> read id
stmt -> write expr
…
Output
Use eps as the meaning of the empty string
FIRST(program)={eps,id,read,write}
FIRST(stmt_list)={eps,id,read,write}
FIRST(stmt)={id,read,write}
…

[Extra credits] Write, in Python in python 2.7 (Lab2.py), a program that reads in a description
of a context free grammar, then outputs the FIRST sets for all non-terminals
in the grammar. The input grammar will be given on input file (line argument passed),
and your program should output to standard output (console / stdout).

Remark
You may assume the test input file is error-free.
You may refer the algorithm in Figure 2.24 of the text book. However, you are required
to add eps into FIRST(X) if EPS(X) is true.
USE a console argument to pass an input file, i.e. argv[1], instead of user input.

File #1
File #2
program stmt_list stmt expr term term_tail factor factor_tail add_op multi_op
program -> stmt_list $$
stmt_list -> stmt stmt_list
stmt_list ->
stmt -> id := expr
stmt -> read id
stmt -> write expr
expr -> term term_tail
term_tail -> add_op term term_tail
term_tail ->
term -> factor factor_tail
factor_tail -> multi_op factor factor_tail
factor_tail ->
factor -> ( expr )
factor -> id
factor -> number
add_op -> +
add_op -> –
multi_op -> *
multi_op -> /

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

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.

First prove the statement for the base case

First prove the statement for the base case

First prove the statement for the base case

Software Engineering

Let G = (V, E) be a graph in which V = {a1, a2, · · · , an} is the set of its nodes and E ={(ai, aj )|1 ≤ i, j ≤ n}, is the set of its edges. Let di be the degree of each node ai. By induction, provethat the sum of all degrees in the graph is an even number, i.e. Pni=1 di = 2 · K where K ∈ N.a) Basis: First prove the statement for the base case – where you have a graph with only one edge.b) Induction step: Suppose that the statement is true for a graph with some m edges, and prove it willbe true if you added one more edge to the grap