Scripting

  

1. Script Requirements

This task requires you to create two scripts – one that can run in a Linux environment (BASH) and one that can run in a windows environment (Powershell). The tasks required in both scripts are the same. Scripts must adhere to good design practices and be well commented. Here is a summary of the tasks:

1. Design two Scripts which can be used to create an Inventory (details below) of hardware and software stored on computers in a business. 

2. The names of the Computers (to create the Inventory from), must be read in from a text file. 

3. The Inventory data must then be output to a text file, suitably formatted. 

4. Additional marks will be allocated to students who show independent learning for example outputting to Excel or Word files.

Required Inventory Data

Name of Computer

CPU: Number of cores, clock speed, manufacturer/description

RAM: Total amount. Number of sticks.

Disk Drives: All local disk drives 

Network Interfaces: IP address of each

Local Users: Username and description of each.

Operating System Version 

Uptime

2. Technical Report 

Write a report detailing the work carried out. It should contain the following sections: 

Introduction

Task List

Code with Explanation

Problems and Solutions

Conclusion

Bibliography

3. Submission Requirements

You should submit the following on the Repeat CA section on Moodle by the deadline:

1. Your report in PDF 

2. Your script(s) 

3. The documents produced by your script

Your programs will be graded by an auto-grader

  

Programming Homework 9

Important: Your programs will be graded by an auto-grader (a program that we’ve written to grade your programs). What that means for you is that your output must exactly match the output we are expecting in order to receive credit. 

Also, coding style will be included as a portion of your grade. Code readability is very important in programming. Some coding style guidelines have been posted to Canvas here:  https://utexas.instructure.com/courses/1229504/pages/coding-style-guidelines

Put a comment at the top of your file that includes your name and UTEID. If you want to include additional things in the header comments, like “Assignment 8”, a date, CS 303E, etc, that is fine.

Save your file as Assignment9_uteid.py where you replace “uteid” with your UTEID. For example, mine would be Assignment9_asc1492.py

Turn in one program file that does all of the following things:

1. use recursion to reverse a string. Your function must be named reverse_string, it should take in 1 string as an argument, and it should return the reversed string. Your solution MUST use recursion, or you will not receive any credit for this part.

2. use recursion to draw the “H-Tree” fractal. 

The H-Tree fractal is defined as follows: 

1. Begin with the letter H. The Three lines of the H are all of the same length, as shown in the first image. This is an H-Tree of order 0.

2. The letter H has four endpoints. Draw an H centered at each of the four endpoints, as shown in the second image. These H’s are half the size of the previous H. This is an 

H-Tree of order 1.

3. Repeat step 2 to create an H-Tree fractal of higher orders, as shown in images 3 and 4. 

Your function definition MUST have this format:

def h_tree(order, center, size):

Where:

order is is the order of the fractal, as described above

center is the center point of the H-Tree, in the format [x, y]

size is the length of each of the lines in the H

  

3. Make a star spin. Write a function called animate that draws a star (you can draw any type of star you want: 5-pointed, 6-pointed, 10-pointed, etc, any size, any color, etc.) and then spin the star in an infinite animation loop. The star does not necessarily need to rotate around its center – any pivot point is fine. You may create additional functions to help you with this task (maybe a draw_star() function?), but your solution to this problem must be displayed by calling animate(). 

You only need to spin one star to earn full credit for this problem. But, if you are feeling creative, feel free to add additional elements to your animation! J (There must be at least 1 spinning star somewhere in your result.)

I have posted some examples to canvas: https://utexas.instructure.com/courses/1229504/pages/hw-9-spinning-stars

4. You have been provided with a main function in HW9_starter_file.py. When you submit your file, it must use this exact main function. If you submit your file with an altered main function, you will lose points!

The way this main is set up, it will call your reverse_string three times on three different strings. It will then call your h_tree function to draw the H-Tree fractal. Then, the turtle window will pause until you click the mouse inside of the turtle window. Once you click the mouse inside of the turtle window, the window will clear and call your animate function to display the spinning star. Since animate runs an infinite loop, you can just close the turtle window to stop the program (this will throw an error, but that is ok).

You will notice that the animate function needs to take in two arguments (x, y) since it is triggered by a mouse click. 

Question 21

 

Last week, you developed a business case for your SCRUM project. This week, define the scope and the requirements of your project. Then, enter them as product backlog features and user stories (or work items) in the Visual Studio Online (VSO) project that you created in Week 1. 

Your product backlog must include at least 3 backlog features and 10 user stories (or work items) in a nested, hierarchical order. The backlog work items must also be arranged based on the value they provide to the customer.
Summary of the backlog features and their associated user stories, and how they contribute toward the successful completion of the project
Explanation of your approach to this assignment and the decisions you made
Reflection on this learning experience and lessons learned

 

Electronic Innovation

 

  1. Find a peer-reviewed scholarly journal article discussing electronic innovation and the government. Complete a review of the article by writing a 2-3 page overview of the article. This will be a detailed summary of the journal article, including concepts discussed and findings. Additionally, find one other source (it does not have to be a peer-reviewed journal article) that substantiates the findings in the article you are reviewing. 
    You should use the UC library (https://www.ucumberlands.edu/library) and/or Google Scholar to find these types of articles (https://scholar.google.com/ )
    Once you find the article, you will read it and write a review of it.  This is considered a research article review.
    Your paper should meet these requirements: 

    • Be approximately three to four pages in length, not including the required cover page and reference page.
    • Follow APA 7E guidelines. Your paper should include an introduction, a body with fully developed content, and a conclusion.
    • Support your answers with the readings from the course and at least two scholarly journal articles to support your positions, claims, and observations, in addition to your textbook. The UC Library is a great place to find resources.
    • Be clearly and well-written, concise, and logical, using excellent grammar and style techniques. You are being graded in part on the quality of your writing.

Features for a research paper

The ability to write and format a research paper is an essential part of your academic career, and proficiency in this will help you write reports in your professional career as well. There are many things to consider when writing any document, including layout, formatting, spelling and grammar, images, etc. It is critical that you have a good understanding of these items in order to present your ideas according to the standards of your class, professor or supervisor. Assume you were to create a research paper for one of your classes or a professional report for your employer, in addition to the aforementioned features, which functions of Word would you utilize and why?

100 words minimum 

SIEMENS SIMATIC

I need to write a term paper on the topic Siemens Simatic- PCS7/WINCC (SCADA) 

There are all the requirements for the term paper alongside the template for the term paper.
Please help and thank you 

Internet research 3 to 4 paragraphs

 Go online and search for information about companies that have been harmed or bankrupted by a disaster. Choose one such company and create a brief case study about it. Successful narratives will focus on the manner in which the organization was impacted, including financial losses, losses of sales, or the need for layoffs. Your assignment should be 3-4 paragraphs in length. 

Exp19_Word_Intro_Cap_Thinking

  

#Exp19_Word_Intro_Cap_Thinking

  

#Exp19 Word Intro Cap Thinking

  

Project Description:

 As a class assignment, you are working with a research report related to decision making. You are finalizing the first draft and will submit it for your instructor’s approval. In so doing, you edit and format text, include a table of contents and a cover page, design a table, and include citations and a Works Cited page 

      

1

Start Word. Download and open the file   named Exp19_Word_Intro_Cap_Thinking.docx.   Grader has automatically added your last name to the beginning of the   filename.

0

 

2

By   displaying nonprinting characters, you see such indicators as page and   section breaks, which are helpful when managing document flow.

Display   nonprinting characters. Note that the document includes a blank first page.   Change the document theme to Retrospect and select Colors of Blue Warm.   Select all text in the document and change the font to Times New Roman. Click   the View tab and display the ruler.

4

 

3

Some phrases, such as full names of people   or publications, display more attractively if they are not divided between   lines, as is the case with the name of the publication referenced in this paper. By including a Nonbreaking Space,   you ensure that the publication name will not be divided between lines.

Remove the word why from the second sentence in the first body paragraph on page   2. Remove the space following the word Cognitive   in the last sentence of the first body paragraph on page 2 and insert a   Nonbreaking Space symbol between Cognitive   and Creativity.

5

 

4

Insert   check mark bullets on the three single-line paragraphs in the first body   paragraph, beginning with the   irrationality of humans and ending with the nature of well-being. Reduce the indent to position bullets at   the left margin and ensure that each bulleted text begins with a capital letter. Change the left and right margins to 1”.

6

 

5

In Outline view, you can collapse headings   to any level of detail and then manage sections, perhaps dragging to   rearrange them as you do in this step.

Change to Outline View. Change the Show Level   setting to Level 2. Drag Stages of   Prospect Theory directly below the heading Prospect Theory so that it becomes the first sublevel in the Prospect Theory section. Close Outline   View. Bold the bulleted items on page 2.

5

   

  

Step

Instructions

Points Possible

 

6

Select   all text in the document and adjust paragraph spacing before and after to 0   pt. Double-space the document. Add a first line indent of 0.5″ to the   first body paragraph on page 2 (beginning with The study of behavioral economics). Center the title and subtitle   (Cognitive Creativity and An Analysis). Change the line spacing   of the first line, Cognitive Creativity,   to 1.0.

5

 

7

Text that is formatted in a particular   style adheres to the design requirements of the style. To quickly change all   text based on a particular style, or to ensure that text that is typed in   that style is formatted appropriately, you can modify a style. By default,   style settings are applied to the open document only.

Modify document properties to include Parker Adams as   the author, removing any existing author. Modify Heading 1 style to include a   font of Times New Roman, 14 pt., Black, Text 1. Modify Heading 2 style to   include a font of Times New Roman, Black, Text 1. Changes in style should   apply to the current document only.

6

 

8

Tabbed   text can, in some cases, be formatted and worked with more easily if it is   identified as a table. In this case, arranging the tabbed text as a table   enables you to apply a preset style and to include an appropriate formula in   a future step.

Select the   lines of tabbed text near the top of page 3 (beginning with System 1 and ending with 0.39) and convert the selection to a   table, accepting all default settings. Insert a row above the first row of   the new table, merge all cells, and type Systems   of Decision Making. (Do not type the period.)   Center text in the first row.

7

 

9

Insert a row below the first row. Split the   cells in the row, adjusting the number of columns shown in the dialog box to   4 and ensuring that Merge cells before   split is selected. Select the table and choose Distribute Columns on the   Table Tools Layout tab to align all columns.

3

 

10

Type the following text in row   2:

System Theory Characterized by Percentage Employed Probability Factor

2

 

11

Insert a row at the end of the table and   merge the first three cells on the new row. Type Average Probability in the   merged cell on the last row and center the text. In the last cell on the last   row, enter a formula to average the numbers in the column above. You do not   need to select a Number format.

6

   

  

Step

Instructions

Points Possible

 

12

Apply   a table style of List Table 3 –   Accent 1 (row 3, column 2 under List Tables).   Deselect First Column in the Table Style   Options group to remove bold formatting from the first column. Bold text on   the second row. Select the table   and change all font to 10 pt. size. Center all text in rows 2, 3, and 4.   Center the numeric value in the last cell on the last row.

5

 

13

Add a caption below the table with the   text, Table 1:   Decision-Making Strategies. (Do not type the period and be sure to   include a hyphen between Decision and   Making.) Change the probability   factor for System 1 (in row 3) to 0.62. Update the field in the last cell on   the last row to reflect the change in probability.

5

 

14

Select   rows 2, 3, and 4, click the Table Tools Design   tab and choose a Pen Color of Black, Text 1.   Ensure that the line style is a single line and the line weight is ½ pt.   Apply the border selection to All   Borders.

2

 

15

A footnote provides space for additional   clarity or exposition on a statement included in the document. Use a footnote   if you want to provide additional detail, but do not want to clutter the   document text with that information.

Click after the period that ends the last sentence   in the first body paragraph under System   Biases (ending in economical   solutions to problems). Insert a footnote with the text, For more   information on theory-induced blindness, visit   http://cognitivecreativity.com/theory. (Include the period and be sure to include   a hyphen between theory and induced.) Right-click the footnote and   modify the style to include Times New Roman 12 pt. font.

5

 

16

Shade   the first two lines on page 2, Cognitive   Creativity and An Analysis in   Blue, Accent 2, Lighter 60% (row 3, column 6). Add a ½ pt. Box border,   selecting color of Black, Text 1. Insert a DRAFT 1 watermark, colored Red   (second column in Standard Colors).

5

 

17

Click before the Cognitive Creativity heading at the top of page 2 (in the shaded   area) and insert a page break. Click before the new page break indicator on   the newly inserted page 2 and insert a table of contents, selecting Automatic   Table 1.

Mac users, select the Classic table of contents   style.

5

 

18

Because   you plan to format the first page independently of the remaining pages, you   insert a continuous section break before the first

3.5

   

  

Step

Instructions

Points Possible

 

page   is inserted. Breaking a document into sections enables you to format each   section independently.

Click before   the table of contents title and insert a continuous section break. Click   before the page break indicator on the first page and insert text from the   file Cover.docx. Use settings in   the Page Setup dialog box to center the cover page vertically. Ensure that   the settings apply to the current section only.

 

19

Click before the fourth blank paragraph   below the words An Analysis on the   Cover page. Insert Question_Mark.png.   Change the picture height to 1.5” and choose Top and Bottom text wrapping.   Apply an artistic effect of Paint Strokes to the picture (row 2, column 2).

5.5

 

20

Cover pages typically do not   include such items as watermarks, headers, or footers. You ensure that the   cover page in this document is clear of such items.

Add a   right-aligned header. Type Parker Adams   and include a space following the name.   Insert a page number in the current position, selecting the Plain Number   option if available. Ensure that the header does not show on the first page.   The watermark may be automatically removed from the first page as well. Click   before Submitted by Parker Adams at   the end of the document. Insert a right tab at 5.5”. Press TAB to align the   text at the right tab stop.

4

 

21

Change the writing style to MLA. Click   before the period ending the first sentence in the paragraph under the Decision Systems heading on page 3   (ending in and decisions are made).   Insert a citation, using the existing source of Daniel Conner. Edit the citation to show page 157 and   to suppress Author, Year, and Title).

1.5

 

22

Click   before the period ending the first sentence under the System Biases heading (ending in theory-induced bias). Insert a citation to a new source as   follows, making sure to include a hyphen between Decision and Making in   the Title:

Type: Article in a Periodical Author: Leo   James

Title: Decision-Making Strategies

Periodical   Title: Journal of Behavioral   Economics

Year: 2020 Month: April Day: 21

2

  

  

Step

Instructions

Points Possible

 

Pages: 45-52

 

23

Insert a page break at the end of the document.   Insert a bibliography, selecting Insert Bibliography so that a title is not   included. Mac users, delete the title after inserting the bibliography. Click   before the first source shown and press ENTER. Click before the new blank   paragraph and include a centered line with the words Works Cited. (Do not include   the period.) Select all text on the Works Cited page and change the font to   Times New Roman 12 pt. Change the line spacing of the two bibliography   sources to Double. Remove any Before or After paragraph spacing from all text   on the Works Cited page.

3

 

24

Select   the heading, Decision Systems, on   page 3. Insert a comment reading This is   often referred to as Decision Support Strategies. (Include the period.) Check spelling and grammar, making   corrections as necessary. The word spills   is correctly used so you should ignore the error. Ignore any clarity and   conciseness concerns.

4.5

 

25

Save and close Exp19_Word_Intro_Cap_Thinking. Exit Word. Submit the file as directed.

0