creating a python client or java client and using unix commands with the client

There are numerous tutorials explaining the basics of socket based network programming. The in-class examples described how Unix TCP/IP sockets use the metaphor of telephone switchboard “sockets” and the sequence of operations performed by old fashioned telephone exchanges:

On the server:

  • Create a socket and Bind the socket to a port
  • Have the socket Listen for a connection on the bound port (the phone to ring)
  • Accept a connection (answer the phone)
  • Communicate bi-directionally (talk back and forth)
  • Close the connection (hangup)

On the client:

  • Create a socket
  • Connect the socket to a server on a specified port (dial the server’s phone number and extension)
  • Communicate bi-directionally (talk back and forth)
  • Close the connection (hangup)

For more: Read the sockets entire tutorial at http://www.javaworld.com/article/2077322/core-java/core-java-sockets-programming-in-java-a-tutorial.htmlfor more background and step by step instructions. Also read https://docs.oracle.com/javase/tutorial/networking/sockets/

There is a Python socket programming tutorial at https://docs.python.org/2/howto/sockets.html

Procedure

Students may implement the following features in either Java or Python. There is no need to write solutions in both languages. One or the other is sufficient. Please use Windows or Linux.

Simple client and server socket code samples are posted in Ppilot, please download the files from Pilot–>Content–>Resources–>Networking:

Java – JavaScoketSever.java, JavaSocketClient.java

python – client2.py, server2.py

Submit the following files to Pilot Dropbox:

1) A plain text answer file (lab10-lastname-firstname.txt)

2) Your well-documented client and server socket programs that meet the following requirements. If you collaborate with other students to complete this project, you must list all involved student names in a comment at the top of every file submitted.

Part 1 (1 point):

Build and test either the Python client and server socket code in Pilot or the Java client and server socket code in Pilot. Provide evidence of the tests you performed to assure that your client and server programs work. For example, copy and paste the input and output from your client and server programs into lab10-lastname-firstname.txt.

Part 2: (5 points)

Modify the server to accept commands in the form of strings: “ls”, “get”, “put”, “quit“.

a) Implement “ls” to return a string containing a listing of the contents of the server’s C: drive ( in Windows ) or your home directory (in Linux).

  1. Client sends ‘ls’
  2. Server performs file listing ( Using system commands such as dir/ls or python/java methods/functions) and sends that output to the client
  3. Client prints the message received from the server

b) Implement “get” to read bytes from a named file on the server and send the bytes to the client as a string. e.g. “get anotherFile.txt

  1. Client sends ‘get filename’ (filename should be replaced with a named file on the server)
  2. Server reads the content of the file and sends it to the client
  3. Client prints the message received from the server

c) Implement “put” to read bytes from a named file on the client and send the bytes to the server as a string. e.g. “put anotherFile.txt

  1. Client sends ‘put filename’
  2. Client reads the file and sends file content to the server
  3. Server prints the message received from the client

d) Implement “quit” to close the socket connection

e) Implement the client side to accept input from a user and display output from the server: e.g. a client user can typels[enter]” and see the listing of files on the server’s C: drive

In your answers file, provide detailed instructions for compiling/running your client and server programs.

In your answers file, provide evidence of the tests you performed to assure that your client and server programs work. For example, copy and paste the input and output from your client and server programs. The text you paste must show that each required command was executed and required results were returned from the server.

quantitative reasoning activity

Quantitative Reasoning Activity

Student Name:

Instructions: Below are the results of two different psychological studies. In the first study, the raw data are presented along with an explanation of the hypotheses explored in the study. In the second study, a graphical representation of the findings is presented for review. Please examine the questions below and provide the information requested for each of the two psychological studies on this document and submit it to the Assignment folder no later than Sunday 11:59 PM EST/EDT of Module 5.

Study 1: An industrial/organizational psychologist wants to examine the best predictors of job performance at her company. The organization evaluates employees once a year using the “Employee Performance Evaluation” – a form that evaluates employees on ten important job dimensions and results in scores of 10 through 100 with 100 being indicative of outstanding performance. The other variables available for examination include gender, college grade point average (GPA), and interview score (which ranges from 30 to 80 with a higher score being more positive). The data for the employees of the organization are presented below.

ID

Gender

College GPA

Interview Score

Employee Performance Evaluation

1

1

3.01

50

92

2

2

2.98

60

78

3

1

3.49

40

56

4

1

3.90

30

66

5

2

2.75

45

78

6

2

2.89

33

88

7

1

2.76

56

67

8

2

3.26

35

72

9

1

3.65

78

79

10

2

3.08

87

83

11

2

3.18

55

86

12

2

3.33

33

82

13

1

2.92

32

66

14

1

3.76

51

99

15

1

3.21

54

76

16

1

2.90

49

67

17

2

4.00

77

89

18

2

3.82

43

88

19

1

3.21

56

82

20

2

3.07

34

78

21

1

2.94

65

69

22

2

3.19

62

79

23

1

3.22

68

84

24

1

3.41

74

85

25

2

3.52

34

81

26

2

3.44

80

90

27

1

2.78

55

60

28

1

3.06

59

78

29

1

3.54

62

88

Using the data in the table above, please answer the following three questions to the best of your ability (NOTE: SPSS is a special program that is available for purchase, but is not required for this course):

1.Using VasserStats (http://www.vassarstats.net) or another appropriate software program like Excel or SPSS, compute the mean for the GPA variable and the standard deviation for Employee Performance Evaluation. Fill in the values where indicated below:

Mean for GPA __________

Standard Deviation for Employee Performance Evaluation __________

2.Using VasserStats (http://www.vassarstats.net) or another appropriate software program like Excel or SPSS, compute the bivariate correlation (Pearson Product Moment Correlation Coefficient) between the Interview Score variable and the Employee Performance Evaluation variable. Fill in the value where indicated below:

Correlation between Interview Score and Employee Performance

Evaluation __________

Review the scores of participant 26 in relation to the mean and standard deviation for the Employee Performance Evaluation (Hint: You will need to calculate the mean for this variable but you can use the standard deviation you found in question 1). Based on this information about central tendency and variability, describe in a few sentences how this person performed on the evaluation. Write your responses in the space below

causal argument essay

write a Causal Essay about 800 words.

need evidence and bibliography.

A causal analysis or cause-effect essay examines the causes or consequences of actions or events — why they happen or what the effects are. Careful consideration of the topic, support, and structure of the essay make the causal relationship clearer to the reader.

my topic is :The harm of Internet addiction

evaluation argument essay

I need some help for my Evaluation Argument Essay( any topic). The due day is 11/19, and Essay need to follow teacher’s Evaluation Instruction

answer the following questions based on the reading

http://www.gutenberg.org/ebooks/61?msg=welcome_str…

use the link to read and answer the following questions

1.What is “haunting Europe”?

2.What is the history of “all hitherto existing society”?

3.What is distinct, according to Marx and Engels, about the tensions of the “epoch of the bourgeoisie”?

4.How does the Manifesto explain the following claim from Part I “The bourgeoisie, historically, has played a most revolutionary part.”

5.How is the contemporary moment different from all “previous historical moments”?

6.What will the proletariat do once elevated to the status of “ruling class,” according to Marx and Engels?

7.In Part III of the Manifesto Marx and Engels identify a variety of socialisms. Identify TWO of them in the space below and give a general overview of what they stand for.

8.Why do the Communists turn their attention to Germany (Part IV)?

9.What is the leading question in each revolutionary Communist movement?

not too long and not to short answer around 3 to 4 lines depends on the question.

make sure to get the answer from the reading provided on the ling above

read the description 5

Extra Credit: Babel or Crash

Ethics Students, here’s an extra credit project you can do — watch a movie (and include your friends while you do it). Seriously, I’m giving you extra credit if you watch either “Babel” or “Crash” and write a short 1 page reflection on what you “take away” from the movie. Both are about human relationships and the tendency to talk “past each other” rather than “with each other.” They are both on my top 10 list of movies and I think you’ll enjoy them, as well as learn a great deal from them. Watch it with your family or friends. It will spark a lot of “food for thought.” Both are available on Netflix, as well as other internet rental options. You can choose either one (or both if you really want). Have fun!

Notes:

Please choose one of these movies and write about it.

Please avoid plagiarism, and make it simple.

Use APA format..

how do you build self confidence

I have often said throughout the semester that self-confidence is key for effective communication. In order to become better communicators, there is a certain level of confidence that is portrayed to connect with the audience.

In his brief TED Talk Dr. Ivan Joseph, Athletic Director and head coach of the Varsity Soccer team at Ryerson University discusses his perception of how to build self-confidence. During his presentation, he discusses his self-affirmation – something that helps him build his own personal self-confidence and methods that he uses to build that confidence in his players and personal life.

Throughout this semester there have been several assignments and tasks meant to stretch you outside your comfort zone. Some of these challenges required you to take a step back, reassess and execute. In 1-2 pages, no more than 2, discuss your self-affirmation. How do you build self-confidence? What are some tips and strategies that you use to help you build self-confidence? What was the most challenging for you – in this class – that required you to remind yourself of this affirmation?

essay about 4 research articles about watchmen

One of the sources will be “The Human Stain” that is attached already and the other 3 you will search for them in grossmont library if you can then view them on google

For this project, you will do some scholarly research on Watchmen. The finished project will be an annotated bibliography with 4 sources. One of these sources is the article I provided to you, “The Human Stain,” to get you started.

Objectives:

  • Find appropriate

sources

  • Use MLA citation
  • Distinguish between types of sources
  • Summarize sources
  • Evaluate sources
  • Apply research to course text

Keep in mind that these academic sources don’t necessarily need to be directly about the particular work you are researching. You may use history, psychology, sociology, economics, or any approach that you can clearly apply to your chosen work. After deciding upon 3 sources, you will create an annotated bibliography.

The Assignment: For each article, you will turn in a 1­page, single­spaced response that includes the following. Label each section.

Citation (Use MLA format.)

Summary (Be sure to present the main points, and demonstrate by using examples and quotations)

Evaluation (Explain the strengths and weaknesses of the content, type, and author of your source)

Synthesis (Briefly explain how you would use the source in a research paper about the literary work)

NO PLAGIARISM AT ALL.

I provided you 2 samples on a different topic that I would like you to look at and follow its pattern.

marketing strategy assignment

1. Why do some large, financially strong manufacturers choose not to own their dealers but instead establish contractual relationships with them?

2. What are the advantages and limitations of the use of multiple channels of distribution by a manufacturer?

3. Identify and discuss some of the factors that should increase the trend toward collaborative relationships in vertical marketing systems.

Please write 2 pages, use APA format

solve the case of government financial condition analysis for new orleans 1

Solve the case of GOVERNMENT FINANCIAL CONDITION ANALYSIS for New Orleans

All the details in the attachment