Write a work breakdown of appliance warehouse. using the help of the following documents.
discussion
refer to the attached document.
SE492 Week 7
Week 7: Discussion
Read chapter 7. Answer Question #12 a, b, c, d, e ,on pages 269-270. Show all your work.
_____________________________________________
You are required to make at least one comment on the responses posted by your classmates with a minimum of 50 words. Make sure you design your response with your own words. Your responses to your classmates must be of substance; not just “I agree” or “Good Post.” The purpose of the responses is to convert the discussion forum into a quality academic environment through which you improve your knowledge and understanding. Read and review all assigned course materials and chapters before you start working on your assignments.
40/p1
(Security and Risk Management, Asset Security, Security Engineering, Communication and Network Security, Identity and Access Management, Security Assessment and Testing, Security Operations, Software Development Security). From the best practices area selected that is of interest of you as the basis of this Project (Change Management Program), write a two-five page paper that includes the following:
- Domain where the need for change (your research problem) exists.
- Information Assurance best practice being evaluated or selected and the justification for the selection. You can make a problem statement and justification.
- Summary paragraph of why you think it is important to study the change process as it relates to your selected Information Assurance best practice. Be sure to address how the change process impacts your research problem.
- Annotated bibliographic references of three of the previous articles used in your analysis.
C++ Program with Pointers
The program reads data from two files, itemsList-0x.txt and inventoryList-0x.txt. File extensions on Linux may be arbitrary–i.e., these files could have been named with .dat as the extensions.
The first file, itemsList-0x.txt, lists all possible items. Each line represents one item in the form id name.
Example 1: Sample itemsList-0x.txt
0 Air 1 HP Potion 2 MP Potion 5 Iron Ore 3 Bow Tie 4 Dirt 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block
The second file, inventoryList-0x.txt, lists each individual inventory–or storage chest–followed by a list of items.
Example 2: Sample inventoryList-0x.txt
# 5
- 1 10 - 2 5 - 3 2 # 6
- 4 3 - 5 27 - 6 44 - 7 55 - 8 1 - 9 4 - 4 3 # 2
- 2 5 - 9 4 - 8 1 - 5 2 - 10 5
Each line preceded by # denotes the start of a new inventory. Each line preceded by – denotes an item. The program creates a new inventory each time a # is encountered.
When a – is encountered, a stack of items, ItemStack, is created. The ItemStack is placed in the Inventory based on the following rules:
- If the Inventory is empty, store the ItemStack, and
return true
. - If the Inventory is not empty, examine the Inventory.
- If a matching ItemStack is found, merge the two ItemStacks and
return true
. - If no matching ItemStack is found, store the new ItemStack and
return true
.
- If a matching ItemStack is found, merge the two ItemStacks and
- If the Inventory is full,
return false
.
Through the magic of abstraction, this is not one function, but four (4) functions in total. Yes, it does seem unnecessary at first. However, each function does one thing and only one thing. This is an exercise in understanding the thought process behind abstraction, interfaces, and the S
/O
in S.O.L.I.D
(with some C++ code) in a multi-ADT program.
Most of your time will be spent on understanding the abstractions (and interfaces) as opposed to spamming cobblestone blocks… I mean C++ code.
3.2 Output
The output consists of three reports written to standard output, one after the other.
- A report listing items that were stored or discarded.
- A report listing all valid items.
- Finally, a detailed report is printed. listing data for each inventory:
- Maximum Capacity–i.e., total slots.
- Utilized Capacity–i.e., occupied slots
- Listing of all items.
If the program is run with the provided input files, the following output should be generated…
Example 3: Sample Output
Processing Log: Stored (10) HP Potion Stored ( 5) MP Potion Stored ( 2) Bow Tie Stored ( 3) Dirt Stored (27) Iron Ore Stored (44) Diamond Ore Stored (55) Iron Ingot Stored ( 1) Diamond Stored ( 4) Diamond Block Stored ( 3) Dirt Stored ( 5) MP Potion Stored ( 4) Diamond Block Discarded ( 1) Diamond Discarded ( 2) Iron Ore Item List: 0 Air 1 HP Potion 2 MP Potion 3 Bow Tie 4 Dirt 5 Iron Ore 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block Storage Summary: -Used 3 of 5 slots (10) HP Potion ( 5) MP Potion ( 2) Bow Tie -Used 6 of 6 slots ( 6) Dirt (27) Iron Ore (44) Diamond Ore (55) Iron Ingot ( 1) Diamond ( 4) Diamond Block -Used 2 of 2 slots ( 5) MP Potion ( 4) Diamond Block
3.3 Running the Program
The easiest way to see generate the expected output is to run the sample executable solution I have provided. These two files are named as command-line parameters when the program is executed.
For example, if the sample data above is kept in files itemList-01.txt and inventoryList-01.txt, then to run this program, do:
./storage itemList-01.txt inventoryList-01.txt
(On a Windows system, you would omit the “./”. If you are running from Code::Blocks or a similar development environment, you may need to review how to supply command-line parameters to a running program.)
4 Your Tasks
One of the most important skills in our craft is interpreting error messages. Remember the ones you receive when you attempt to compile and run the unmodified code.
The key abstractions employed in this program are Item
, ItemStack
, and Inventory
. Complete ADT implementations have been provided for Item
and Inventory
.
A partial implementation has been provided for the ItemStack
. Your task is to finish the update ItemStack
ADT.
This assignment is smaller than the previous two (in terms of code and number of new concepts). Most of your time will be spent reviewing the basics of pointers. Spend the time reviewing. Practice with pointers. You will need to use pointers (in one form or another) for the reminder of the semester.
You must implement the:
- Copy Constructor
- Destructor
- Assignment Operator
- Note this is already provided and complete. Refer to our discussions of the copy-and-swap method.
- Once you have completed the Copy Constructor, Destructor, and
swap
you are done with the Big-3.
- Logical Equivalence (i.e.,
operator==
). - Less-Than (i.e.,
operator<
). swap
Refer to the comments in each function for additional detail.
Employ your Head-to-Head Testing Skills from CS 250.
4.1 Three Main Functions?
As you look through the provided code, you will find three main functions: one in storage.cpp
(as expected), one in TestInventory.cpp
, and one in TestItemStack.cpp
. If you are creating a project in your IDE do not include both in your project settings. You will need to either create multiple targets in your project settings, or rely on the makefile.
You should probably run the tests on a Linux machine… You can compile the main program (storage) and test drivers (testInventory and testItemStack) with
make
Take note of the semicolon (;
) after testInventory
. This is a standard Linux trick to run two commands back-to-back.
You can then run storage
as described above. You can run the Inventory
and ItemStack
test drivers with:
./testInventory; ./testItemStack
If you implemented everything correctly you will see:
Inventory:
PASSED -> testDefaultConstructor
PASSED -> testConstructorSizeN
PASSED -> testAddItemStackNoCheck
PASSED -> testAddItemWithDuplicateItems
PASSED -> testAddItemAfterFull
PASSED -> testCopyConstructorForEmpty
PASSED -> testCopyConstructor
PASSED -> testAssignmentOperator
PASSED -> testDisplay
ItemStack:
PASSED -> testDefaultConstructor
PASSED -> testSecondConstructor
PASSED -> testCopyConstructor
PASSED -> testAssignment
PASSED -> testAddItems
PASSED -> testAddItemsFrom
PASSED -> testLogicalEquivalence
PASSED -> testLessThan
PASSED -> testDisplay
PASSED -> testSwap
If you see FAILED you must revisit revisit the corresponding function(s). There is a mistake somewhere in your code. Where should you look? Pay close attention to the line immediately before FAILED… use that as a starting point.
Remember to ask questions if you get stuck.
4.1.1 Segmentation Faults & Getting Started
Since ItemStack
’s item
data member is a pointer
Item* item;
segmentation faults are a consideration. If you download, compile and run the tests, without implementing anything, you will receive test output similar to:
Inventory:
PASSED -> testDefaultConstructor
PASSED -> testConstructorSizeN
[1] 21524 segmentation fault (core dumped) ./testInventory
ItemStack:
[1] 21526 segmentation fault (core dumped) ./testItemStack
Here is a free hint. Go to the Copy Constructor and add
this->item = src.item->clone();
This line will create a deep copy of src.item
. Once you have made that one-line addition, recompile everything and run
./testInventory; ./testItemStack
again. You should see:
Inventory:
PASSED -> testDefaultConstructor
PASSED -> testConstructorSizeN
FAILURE: testAddItemStackNoCheck:89 -> (*(it++) == stacksToAdd[0])
FAILED -> testAddItemStackNoCheck
FAILURE: testAddItemWithDuplicateItems:126 -> (*(it++) == stacksToAdd[0])
FAILED -> testAddItemWithDuplicateItems
FAILURE: testAddItemAfterFull:172 -> (*(it++) == stacksToAdd[0])
FAILED -> testAddItemAfterFull
PASSED -> testCopyConstructorForEmpty
FAILURE: testCopyConstructor:268 -> (aCopy == source)
FAILED -> testCopyConstructor
FAILURE: testAssignmentOperator:305 -> (aCopy == source)
FAILED -> testAssignmentOperator
FAILURE: testDisplay:204 -> (bagString.find(stacksAsStrings[0]) != std::string::npos)
FAILED -> testDisplay
ItemStack:
PASSED -> testDefaultConstructor
PASSED -> testSecondConstructor
FAILURE: testCopyConstructor:70 -> (aCopy.size() == 9002)
FAILED -> testCopyConstructor
FAILURE: testAssignment:91 -> (aCopy.size() == 9002)
FAILED -> testAssignment
PASSED -> testAddItems
PASSED -> testAddItemsFrom
FAILURE: testLogicalEquivalence:142 -> (stack1 == stack2)
FAILED -> testLogicalEquivalence
FAILURE: testLessThan:164 -> (stack3 < stack1)
FAILED -> testLessThan
PASSED -> testDisplay
FAILURE: testSwap:198 -> (stack1.getItem().getName() == "Ice")
FAILED -> testSwap
There is nothing wrong with Inventory
. Inventory
is dependent on ItemStack
. Until ItemStack
is complete you will see failures in testInventory
.
SE 493 week 7
APA FORMAT & REFERENCES EACH QUESTIONS 400 words or more
Question 1
Discuss one type of systems that may require software safety cases, and explain why safety cases are required for your proposed system ?
Question 2
Please review reputable articles/journals and describe what is Software Reuse? Briefly explain the benefits and problems with reuse.
Discussion 12/16/2022
see attachment
Business Continuty Plan and Disaster Recovery
How do you identify the potential risk of fire in your organization?
CIS312 – End-User Computing
12-15 Slides
DUE Firday Follow PDF file
CIS498 Week 2 Assignment – Project Plan Inception
Week 2 Assignment – Project Plan Inception
Overview
This is the first of a series of five sequential assignments (the course project) in which you will act as the Chief Technology Officer (CTO) of a hypothetical, e-commerce start-up company of your design. A venture capital group has funded this innovative start-up.
The CEO has given you 60 days to deliver an information technology project plan in anticipation of the company relocating to a new facility. Since this is a start-up company, currently no building or technology infrastructure exists to support the business. All information technology (hardware and software) must be implemented in a hosted solution, an on-site solution, or a hybrid model. The CEO expects you to integrate different technologies from a variety of partners and incorporate industry best practices to develop the company’s technological systems.
Additional background on the hypothetical companyCompany InformationCurrent StatusGrowth Projections (over next two years)Facility TypeNew facility is a two-story standalone building–Number of Employees1030Revenue$5 million$30 million
This assignment consists of two parts:
Part 1: Project Plan Inception
You will write a 5–7-page document outlining the project specifics, such as company background information, company business, and an overview of the company’s information systems infrastructure.
Part 2: Supporting Gantt Chart
You will use Microsoft Project to create a Gantt chart for your e-commerce company project.
Note:
- You are to create or assume all necessary assumptions to successfully complete this assignment.
- You must submit both parts as separate files to the assignment area. Label each file name according to the appropriate part.
Instructions
Part 1: Project Plan Inception
In a 5–7-page project plan inception document, you are to:
- Develop your hypothetical e-commerce company’s background information.
- Refer to this article: Top 10 Largest Ecommerce Companies in the US in 2020,(https://www.valuewalk.com/2020/04/top-10-largest-ecommerce-companies-us/) when developing your company’s background information.
- This article outlines the major types of e-commerce companies in existence. Use this as a guide when deciding what background information to include about your hypothetical e-commerce company in your project plan inception document.
- Refer to this article: Top 10 Largest Ecommerce Companies in the US in 2020,(https://www.valuewalk.com/2020/04/top-10-largest-ecommerce-companies-us/) when developing your company’s background information.
- Document your chosen e-commerce company’s business type, customers, and demographic information.
- Describe the key elements of your e-commerce company’s information systems infrastructure.
- Develop a high-level block diagram of your e-commerce company’s information systems infrastructure.
- Use three sources to support your writing.
- Choose sources that are credible, relevant, and appropriate.
- Cite each source listed on your source page at least one time within your assignment.
- Access the library or review library guides for help with research, writing, and citation.
Part 2: Supporting Gantt Chart
Use Microsoft Project to create a Gantt chart identifying the major and minor tasks, illustrating dependency relationships between activities.
Formatting
This course requires the use of Strayer Writing Standards. For assistance and information, please refer to the Strayer Writing Standards link in the left-hand menu of your course. Check with your professor for any additional instructions. Note the following:
- The preferred method is for the project plan inception portion of your assignment to be typed, double-spaced, using Times New Roman font (size 12), with one-inch margins on all sides.
- Include a cover page containing the assignment title, your name, your professor’s name, the course title, and the date. The cover page is not included in the required page length.
- Include a source list page. Citations and references must follow SWS format. The source list page is not included in the required page length.