Discuss in 500 words or more best practices for incident response in the cloud. Refer to at least one incidence response framework
Work Computer Science
1 – What is deep learning? What can deep learning do that traditional machine-learning methods cannot?
2 – List and briefly explain different learning paradigms/methods in AI.
3- What is representation learning, and how does it relate to machine learning and deep learning?
4- List and briefly describe the most commonly used ANN activation functions.
5- What is MLP, and how does it work? Explain the function of summation and activation weights in MLP-type ANN.
6 -Cognitive computing has become a popular term to define and characterize the extent of the ability of machines/computers to show “intelligent” behavior. Thanks to IBM Watson and its success on Jeopardy!, cognitive computing and cognitive analytics are now part of many real world intelligent systems. In this exercise, identify at least three application cases where cognitive computing was used to solve complex real-world problems. Summarize your findings in a professionally organized report.
be sure to include an APA cover page and include at least two APA formatted references (and APA in-text citations) to support the work this week.
No Plagiarism, please
And follow APA
NEED 2 Pages (Excluding cover page and reference page )
Shemrock Inc
Shemrock Inc. is a brake pad manufacturing company. This company uses raw materials, such as carbon powder, iron, ash, and resin. It wants to develop an inventory management system that will have the following features:
The system should store the current inventory levels for different raw materials in a file.
If carbon powder is less than 500 lbs, then the system will check if orders are still pending on the shop floor. If pending orders are for more than 5,000 brake pads, then someone should order 2,000 lbs of carbon powder; otherwise, someone should order for 1,000 lbs of carbon powder.
Similarly, perform the same check for other raw materials iron, ash, and resin.
The list of all the raw-material vendors is available with Shemrock Inc. The system should read and store the vendor information and then, depending upon the raw material that is to be ordered, print out the purchase order for that raw material. The purchase order will contain the details of the raw material such as the name, quantity, total cost, and vendor address.
Create a flowchart and pseudo code using control breaks that enable the user to print invoices for any raw material that is selected.
Submit a document containing the flowchart and the pseudo code
Software Development
In 250 words or more, answer the following.
Please respond to the following:
- There is no real prominent certification in the programming industry that says to an employer that you have programming skills. What are some tips you have for your classmates on how you plan to showcase what you have learned as a programmer? How do you plan to document your education and experience in order to look valuable to a potential employer?
Discussion
This week we focus on the various generations. Please note the various generations starting with the 1950s and note the major contributions and concerns from each generation. Do you agree with these generalizations?
Your response should be 250-300 words.
APA 7 format
Interpreting HTML Markup
Chapter 6 Lab
If you want to become a programmer, you will need to study one or more languages. You have a variety of options available, including online materials, in-person classes, and study guides. While this chapter certainly didn’t teach you everything you need to know to become a programmer, you did learn some concepts and a bit about how to read and understand code. For this lab, you will look at a few different websites and see how their code was constructed.
Open the website www.youtube.com in Chrome or Edge. To view the source code in Chrome, right-click the page, and choose View Page Source. In Edge, press the F12 key to show the code. (Or, you can click the Settings And More menu—the three horizontal dots in the upper-right corner—and click F12 Developer Tools.)
Here are some questions for you:
- In what language is the page written?
JavaScript
- What organizational techniques do you see?
- Do you see any branching or looping logic?
- Does the page use functions at all?
- Which scripting languages are used on the home page?
- Find a string of text. Can you find where that string is on the web page?
- Can you find any instances of where a background color is set?
Research paper
You need to begin thinking about your Research Paper. The subject is CPTED (Crime Prevention Through Environmental Design) Best Practices. Please download the Research Paper Template and begin your research. Instructions are in the template. Need a paper in the below format.
NEED BY SUNDAY MORNING
NO PLAGIARISM
Pricing Strategy
What are some of the difference between demand influences and supply influences on our pricing decisions? After reviewing this week’s resources and your research, consider the challenges marketers face as they seek to balance supply and demand. Increased prices typically result in lower demand and vice versa. However, this is not always the case. Identify a product in which a price increase or decrease resulted in the opposite demand and explain the factors why.
Your initial response to the discussion question should be 250-300 words. You must have at least one course (our text) and one non-course scholarly/peer reviewed source in your initial posting. Sources require in-text citations and must be incorporated into the body of the post in addition to a full APA citation at the end of the post.
Company Name: Walmart
Product: Same product which have been used last week.
References:
Blog:
How to Price Your Product: 5 Common Strategies
https://www.bdc.ca/en/articles-tools/marketing-sales-export/marketing/pricing-5-common-strategies
Blog:
How to Choose a Pricing Strategy for Your Business
https://quickbooks.intuit.com/r/pricing-strategy/6-different-pricing-strategies-which-is-right-for-your-business/
Project CS 3377
Updated 3/29 with project grading %s CS 3377 Project The goal: create several versions of a process that updates and saves a binary file as a new file. The Setup This project will be done in 4 parts. To keep them separate, I implemented a factory pattern so that you (and the autograder) can test each copying method separately. It will look like this: FileModifierFactory: creates 1. Part1SimpleFileModifier: fill in during part 1 2. Part2MultiProcessModifier: fill in during part 2 3. Part3ThreadedModifier: fill in during part 3 4. Part4SocketModifier: fill in during part 4 You will be given (and not need to modify): 1. main.cpp. Launches the appropriate test based on the arguments 2. Util.cpp/h. Includes some useful attributes. 3. FileModifierFactory.cpp & .h. These build the proper PartXModifier based on the argument. 4. PipeCopier.cpp & .h. Helps you with the pipe for part 2. While each part will be tested separately, you are encouraged to reuse code as much of it will be useful for multiple parts. The File The file you are to read, modify, and save is a binary file that contains a sales list. A binary file is a non-text file, meaning some things (like numbers) aren’t stored as digits but as the ints/floats you use as variables. The name of the files to read and write will be in Util.h. The file will be structured like this: Field Size Type Purpose HEADER NumEntries 4 bytes Integer Tells you how many entries you need to read ENTRY (repeated NumEntries times) Date/Time sizeof(time_t) Time Timestamp (# seconds since 1/1/1970) Item ID Sizeof(int) Integer Item’s code Item Name 50 bytes char* Name of the item sold Item Quantity Sizeof(int) Integer Number sold Item Price Sizeof(float) Float Price of the products What You’ll Do In each part, the goal is to copy the file, adding two additional sales: 1. The Sobell book: a. Time 1612195200 (2/1/2020 4 PM GMT) b. ID 4636152 c. Name “A Programming Guide to Linux Commands, Editors, and Shell Programming by Sobell” [warning: this is more than 49 characters, so you have to truncate it—I say 49 because you need a null terminator] d. Quantity: 70 e. Price: 70.99 2. The Advanced Programming book a. Time 1613412000 (2/15/2020 6 PM GMT) b. ID 6530927 c. Name “Advanced Programming in the UNIX Environment by Stevens and Rago” [warning: more than 49 characters again] d. Quantity: 68 e. Price: 89.99 Be sure to update the total number of entries to account for these new ones. Part 1 (Due 3/29, worth 20%) You will read in the file (Util::inputFileName), add the two entries, and save the file (Util::outputFileName) using open(), close(), read(), and write(). You must use the low-level functions we will talk about in APUE chapter 3 (open, close, read, write). Failure to do so will result in 0 points for this part of the project. It is highly recommended that you do the file reading and writing in class(es) outside Part1SimpleFileModifier, as that code will be useful later. Part 2 (Due 4/12, worth 20%) In this case you will spawn a new process using fork() and exec(), and split the responsibilities like this: 1. The original process will read the file (2nd argument=2) and then write the data over a pipe to the child process. 2. The child process will read the file from the pipe (which will be set to standard input) and write the data to the output file. 3. PipeMaker will take care of the pipe setup for you: a. Create PipeMaker before the fork. b. In the parent process, call setUpToWrite() to ready this process for writing. You’ll get back the file descriptor to write to. Write the file data to that file descriptor (hint: it’s just like writing to a file). c. In the child process, before execing, call setUpToRead() to dup the pipe output to standard input. You can then exec the process (21S_CS3377_Project) with the write option (2nd argument=3), read the data from standard input (just a file descriptor, remember!), and write to the output file. d. Either the parent or the child process can do the update (but not both, obviously). When calling exec, use the command 21S_CS3377_Project 2 3. This will trigger main to give you the proper setup for the child process. You will be responsible for spotting the Util::IOType of WRITE (3), and read from standard input rather than the input file. Part 3 (Due 4/26, worth 30%) In this part you will create a thread and pass the file data from one thread to the other. The threads will be like this: 1. Main thread: read the data, create the thread, and pass the data along 2. Created thread: receive the data and output it to the file I did all of this inside of Part3ThreadedModifier. Create a mutex and condition for both threads to share, and pass a pointer to the Part3ThreadedModifier object to pthread_create (and read it in the other thread). Then you can use the shared mutex and condition to coordinate passing the data. The easiest way to pass the data is to use a variable inside Part3ThreadedModifier (type EntryInfo). The main thread should lock the mutex before creating the receiving thread (and the receiving thread should attempt to lock the mutex right after it starts up) to ensure the proper ordering. Then do a loop in each thread like this: Main (sending) thread Receiving thread Wait on shared condition (for writing thread to be ready) Signal condition to say we’re ready Wait on condition (for an entry to be ready) Update the variable with the next entry Signal the condition Loop around and wait on the condition again Retrieve the info, save it for later writing Loop around and signal the condition again Once you’ve passed all the entries (5 or 7 depending on where you want to add the new ones), unlock the mutex on both sides. Part 4 (Due 5/10, worth 30%) Here you will use two processes again, this time with a socket connecting them. A port number to use (12345) is at Util::portNumber. • Note: if you get an error that the port is already in use, it’s likely because you just ran the project and the operating system hasn’t released the port yet. You can either wait a bit (a few minutes at most) or change the port number (12346, etc.). When I did this step, I reversed the setup from part 2: the main process here reads from the socket (writing to the output file) and the spawned process writes to the socket (reading from the input file). Again, it is up to you where you want to add the two new entries. When you spawn the 2nd process, use 21S_CS3377_Project 4 3. After the fork, the socket reading process (parent process for me) creates a socket and listens on that socket using the port number above. The socket writing process (child process for me) creates a socket and connects to the listen socket. Depending on the timing of things the listen socket may not be ready the first time; here is code to repeatedly wait for the listen socket to be available: int amountToWait = 1; while ( connect(fileDescriptor, (struct sockaddr*) &serverAddress, sizeof(serverAddress))) { if ( errno != ECONNREFUSED) { // Something unexpected happened throw FileModifyException(“Error connecting”); } std::cout << "Not ready to connect yet...n"; // Exponential backoff sleep(amountToWait); amountToWait = amountToWait * 2; } Once the connection is made (reader gets back a file descriptor from accept() and the writer gets out of the loop above) you can transfer the data. Remember that a socket is just a file descriptor, so your code to write/read from earlier parts will work here, too.
Event Management App
- Start by creating a new branch in I211_flask called “unit-2”
- It must be in I211_flask!
- All event data should be stored in the file ‘events.csv’
- The file should contain AT LEAST 4 headers: name, date, host, description
- The file should contain AT LEAST 4 headers: name, date, host, description
- All templates should extend base.html
- You may use the existing bootstrap styles from I211_practice OR use any of the bootstrap hero styles found at https://getbootstrap.com/docs/5.1/examples/heroes/ (Links to an external site.)
- base.html must contain:
- A header/navigation
- A main containing a
- A footer
- Route: /
Template: index.html- Create a homepage for your application
- This page must contain the following:
- logo
- title
- description
- a button that takes you to the /events/ route
- Route: /events/
Template: events.html- This page will list the date and name of all events, pulling the data in from ‘events.csv’
- Events should be ordered by date with oldest on top
- Each event name should be a link to the individual event page (route /events/
) by event ID - The page should contain a button link to create a new event (route /events/create)
- Route: /events/
Template: event.html- This page will contain all of the data for the event:
- Event name, date, host, description.
- The page will also contain button links to:
- Edit the event (route: /events/
/edit ) - Delete the event (route: /events/
/delete )
- Edit the event (route: /events/
- Route: /events/create
Template: event_form.html- This page will contain a form to collect all of the data for the event:
- Event name, date, host, description.
- The form will also contain reset and submit buttons
- Upon submission, the event data will be added to the events.csv file and the page will redirect to the /events/ route.
- Route: /events/
/edit
Template: event_form.html- This page will contain the same form from /event/create to collect all of the data for the event:
- Event name, date, host, description.
- The form will also contain reset and submit buttons
- The pre-existing event data should be loaded into the form fields
- Upon submission, the relevant event data will be changed in the events.csv file and the page will redirect to the /event/
route.
- Route: /events/
/delete
Template: delete_form.html- Presents a delete confirmation page for the event specified by
: - Display “Confirm Delete?”
- Show the description for the event
- The “Go Back” button takes the user back to the /event/
/ page without deleting the event. - The “Delete” button will delete the event data from the events.csv file and redirect back to the /events/ route.