please read all directions
corrections
corrections from comments
Hash Mining
Part 1
· Hash Mining. Name the file hash_mining.py.
Write a program that accepts an input string, and outputs a SHA256 hash with a predefined pattern for that input string. You will define your own format for the hashes (see below).
Here is a sample execution of a program looking for hashes that start with “0000” using the input “Joe Snuffy”
· HASH MINER
· by me
·
· Input Text: Joe Snuffy
· Hash Found: 00000cf0a4c5c566bc1cf869f14974e97b0350063e640c6fb7b4531715d7c2a7
· Nonce: 19334
Watch the first 5 mins of the following video for a description of process of hash mining:
Play Video
We shall call the process of finding a particular hash “Hash Mining,” and it works as follows (pseudo code):
1. Ask user for input string s
2. Set the variable nonce to 1
3. Let C be the result of concatenating s and nonce as a string
4. Let H be the hash corresponding to C
5. While H has NOT the right format Do
6….Add one to nonce
7….Set C to the result of concatenating s and nonce
8….Let H the hash corresponding to C
9. End While
10. Display hash H
11. Display nonce value
Notes:
– Steps 7 and 8, are the same as 3 and 4.
– To obtain H in step 4 use: H = get_hash(C) . This function is provided below.
– In order to concatenate nonce at the end of s, you need to convert nonce to a string.
– In order to decide the condition in step 5 see below.
Hash Format
In the example above, the format of the hash is that it starts with ‘0000’
For this assignment, you will choose your own prefix pattern by using a word with at least 4 characters, and spelled only using the letters a thru f. You can find a list here: http://www.alecjacobson.com/weblog/?p=475
Theget_hash Function
In order to get the SHA256 hash of a string, add to your program the code below:
importhashlib
defget_hash(string):
m = hashlib.sha256()
m.update(str.encode(string))
returnm.hexdigest()
Mine A Hash For Your Name
Run the program using your full name as input. Copy the output hash at then end of your program as a comment. (10 out of 50 points)
How Do I Know It Actually Worked?
First, make sure the output hash has the format you selected.
Then, copy and paste the code above (the import statement and the get_hash function) in the shell. Last, call the function with your full name and the nonce together. For example, using the input “Angel Rivera” and the nonce 19334 we get:
>>>get_hash(“Joe Snuffy19334“)
00000cf0a4c5c566bc1cf869f14974e97b0350063e640c6fb7b4531715d7c2a7
Part 2
· List Maintainer. Name program list_maintainer.py
Write a program that allows the user to add, delete and organize the items in a list.
Your program will provide the following options:
o Append: adds an items, input by the user, at the end of the list.
o Delete: removes an item indicated by the user from the list.
o Move up: moves an item indicated by the user, to the previous position in the list.
o Move Down: moves an item indicated by the user to the next position in the list.
o Move Top: moves an item indicated by the user to the first spot in the list.
o Move Bottom: moves an item indicated by the user to the last position in the list.
o Swap: swaps two items indicated by the user in the list.
o List all: display the items in the list; one item per line.
o Quit: allows the user to end the program.
Your program shall show appropriate error messages when trying to move, swap, or delete items not found in the list.
You program shall also properly handle invalid actions, like trying to move up the first item in the list, or trying to move down the last item in the list.
In order to get you started, download the file list_maintainer_base.py which you can find at the bottom of this page.
Here is a sample run. Let’s assume we already added the following items (in this order): cake, cookies, ice cream.
Adding “donuts”
Business Intelligence Tools Comparisons
Attached PDF are the Chapters and the word document is the actual requirement
In this section of the professional paper, apply what you have learned from chapters 13 and 14 to descriptively address and answer the problems below. Important Note : Dot not type the actual written problems within the paper itself.
- Go to cloudera.com, MapR.com, hortonworks.com, or marklogic.com or in combination to find at least three customer case studies on Hadoop implementation, and then discuss the commonalities and differences of these cases.
- Search the job search sites like monster.com, careerbuilder.com, and so forth. Find at least five job postings for data scientist. Identify the key characteristics and skills expected from the applicants and based on what you are learned in this class, how high is your motivation now to seek these types of career choices?
- Important Note: With limited time for a college class, perfection is not expected but effort to be exposed to various tools with attempts to learn about them is critical when considering a career in information technology associated disciplines.
Research paper
A research paper on the characteristics that make an ethical leader and how ethical leadership helps enhance the decision-making process.
Activity- 13 Exe Project
Case 13.3 “Dear Mr. President—Please Cancel our Project!”: The Honolulu Elevated Rail ProjectThis case is a great current example of a very expensive project that was kicked off because of an assumed need—to relieve congestion in downtown Honolulu through an elevated urban rail system. Critics argue that in addition to having a ballooning cost, the actual planning was poorly conceived, leaving Honolulu with an intrusive and ugly rail system through the downtown area, ruining panoramic views, and impeding traffic. Additionally, advocates underestimated the power needs for the rail system, requiring the transport authority to renegotiate electricity fees for the system. Finally, the original costs that were assumed for the project were calculated during an economic downturn and with the economy booming again, the costs of the project have gone up dramatically. All of these elements points to a state Governor who is anxious to be rid of the project and hoping that President Trump will deny additional federal funding, in which case the project will likely be cancelled.Questions
- Why are public works projects like the Honolulu Rail project nearly impossible to stop once they have been approved, even if later cost estimates skyrocket?
- Project Management researchers have charged that many large infrastructure projects, like this one, suffer from “delusion” and “deception” on the parts of their advocates. Explain how “delusion” might be a cause of ballooning budgets in this project. How does “deception” affect the final project budget overruns?
Text
Title: Project Management
ISBN: 9780134730332
Authors: Pinto
Publisher: Pearson
Edition: 5TH 19
CMGTCB/554: It Infrastructure – Competency 1 – Assessment
Narrative Descriptions of Network Diagrams for International Plastics Inc.
The set of network diagrams for International Plastics Inc. consists of five (5) diagrams. They are as follows:
International Plastics Inc. – Network Overview
This diagram shows the 4 physical locations of International Plastics Inc. interconnected by a WAN. The WAN connection between corporate headquarters and the China facility is specifically designed as a satellite link. Along with the location pictorial is a listing of the main functions taking place at that location and the number of current employees.
International Plastics Inc. Corporate Headquarters
The network diagram for the corporate headquarters is really a composite of a number of sections: Note the backbone base for this location is 100baseT.
1. The administration section displays the main operational functions (Corporate, HR, etc.) with a computer icon that defines the current number of employees in that function with a description of the computer. There are 36 VOIP telephones in this section.
2. The R&D function has a 1000baseF network backbone and is a totally MAC-based environment. There are 15 employees each with their computers; the section includes 3 high-end color printers and a plotter. The 1000baseF network is connected to the corporate LAN through a switch.
3. The servers and aNAS include WIN server, a WIN Exchange server, a UNIX server, which hosts the corporate SAP ERP SW. All the servers are IBM servers: the WIN servers are IBM HS20 blade servers and the main UNIX server is an IBM p series.
4. A UPS provides backup power for the server room.
5. The last section is the communications environment, which has two main parts: the data link to the Satellite base station through a switch and a VOIP router to connect the two facilities with voice. The satellite operates in Ka band and is setup to handle an OC1 data rate with end-to-end encryption. The second part of the communications environment is a router providing a T3 connection through a firewall to the outside network.
International Plastics Inc. – Albany, GA Network Diagram
The Albany network includes 20 office computers for the administration people in the facility. The local server is an HP BL460P blade server, which handles local print; file, exchange and interfaces back to the home office. A local NAS system provides local data backup. A 5KVA UPS is provides for power backup. A link to the router/firewall provides the T2 connection to the outside network. Internally the factory floor is connected to the main LAN through a 24 port Cisco switch.
International Plastics Inc. – Pontiac MI Network Diagram
The Pontiac network includes 45 office computers for the administration people in the facility. The local server is an HP BL460P blade server, which handles local print, file, exchange and interfaces back to the home office. A local NAS system provided local data backup. A 5KVA UPS is provides for power backup. A link to the router/firewall provides the T2 connection to the outside network. Internally the factory floor is connected to the main LAN through a 24 port Cisco switch.
International Plastics Inc. China Headquarters
The network diagram for the China facility is a composite of a number of sections: Note the backbone base for this location is 100baseT.
1. The administration section displays the main operational functions (Corporate, HR, etc.) with a computer icon that defines the current number of employees in that function with a description of the computer. There are 35 VOIP telephones in this section.
2. The R&D function has a 1000baseF network backbone and is a totally MAC-based environment. There are 15 employees each with their computers; the section includes 3 high-end color printers and a plotter. The 1000baseF network is connected to the corporate LAN through a switch.
3. The servers and aNAS include WIN server, a WIN Exchange server, a UNIX server, which interfaces to the corporate SAP ERP SW. All the servers are IBM servers: the WIN servers are IBM HS20 blade servers and the main UNIX server is an IBM p series.
4. A UPS provides backup power for the server room.
5. The last section is the communications environment, which has two main parts: the data link to the Satellite base station through a switch and a VOIP router to connect the two facilities with voice. The satellite operates in Ka band and is setup to handle an OC1 data rate with end-to-end encryption. The second part of the communications environment is a router providing a T3 connection through a firewall to the outside network.
Discussion Question – Need 3 answers for 1 question
Each answer 150 words with 1 APA 7 reference.
Write a boolean
1. Write a boolean expression that will evaluate to true if the checkbox named regentsCompletedCheckBox is checked.
2. Write an if statements that displays the text “You are eligible to vote!” in the voteStatusLabel if the value in the variable age is 18 or higher.
Display “You are not old enough to vote!” if the value in the variable age is less than 18.
3. This is an expansion of the previous problem. Write an if statement that displays the text “You are eligible to vote!” in the voteStatusLabel if
the value in the variable age is 18 or higher and the variable isRegistered is true. Display “You are not eligible to vote!” if the value in the
variable age is less than 18 or the variable isRegistered is false.
4. Write an If statement that will set the resultLabel to the text “Look out for rainbows” if both of the checkboxes sunShiningCheckBox and rainingCheckBox are checked.
5. Write an if statement that will set the resultLabel to “I will pass the exam!” if the checkboxes studyCheckBox, workExamplesCheckBox, and
askQuestionsCheckBox are all checked.
status report
Within this document you will find three primary categories of information. Complete each section as follows:
- Project Work Stream Status Overview: This is a brief overview of the overall status of the RFP response creation, along with the overall status color being:
- Green (all is good)
- Yellow (obstacles are in the way, but delivery time has not been affected yet)
- Red (delivery is going to be delayed, and action is needed immediately).
- Top Issues, Obstacles & Risks – Treat this as if you are communicating with your employer. Any problems, questions or concerns about the RFP project should be placed in this section. The instructor will be responding to these each week with your graded assignments.
- Key Activities / Accomplishment: Again, treat this as if you are communicating with your employer, but in this case, add the key activities and accomplishments for this week’s RFP response.