OpenGL

  

In the second assignment, you will add some animation and functionality to your scene. The user will be able to interact with the program using mouse and keyboard. Your canvas (window) and object sizes do not change. Window size is 500×500, and projection type is the orthographic projection. The only difference is the addition of motion and interaction. Here is a list of functionalities you will add to your program:

1) When the user presses the “ESC” key, program stops running and exits.

2) When the user left clicks the mouse on any of four shapes objects (triangle, cross, diamond, or star) on the screen, a black frame will be drawn around the shape, and a text message will appear at the bottom of the screen stating that the object is selected and press “SPACE” to spin. For example, if user clicks on the green star following image will be generated:

The thickness of the frame and the font type are up to the programmer. Only one shape can be selected at a time. The mouse selection region does not have to be precise. A circular region at shape center with diameter “n” can be used as the selection region of that shape. 

3) After the selection of a shape, the user presses the “SPACE” key. The brown arrow starts spinning clockwise around its center (black point) and randomly stops at a shape (after passing at least 3 and at most 15 shapes). The rotation is expected to be smooth, so the user will see a transition from one shape to another shape. Please set your FPS (frames per second) as 30. There will be 5-degree rotation change between each frame. And each time the user presses the key, arrow will point a random shape. The arrow will never stop between shapes. SPACE key will not work if a shape is not selected. 

If the arrow stops at the selected shape, a “You win!” message appears at the bottom of the screen. If arrow stops at a different shape, the message will print “You lose!”. For example:

Assignment

Both chapters should be written in two separate word documents. Also the link to the online version of the textbook is: https://software-engineering-book.com/

Part 1: Answer the following two exercises taken from Ch9. Use your own words as much as possible, as SafeAssign will be used to check for plagiarism. Spelling and grammar count.

1. Explain why a software system that is used in a real-world environment must change or become progressively less useful. Provide at least three reasons.

2.Under what circumstances might an organization decide to scrap a system when the system assessment suggests that it is of high quality and high business value? Provide at least two reasons.

Part 2: Answer the following two exercises taken from Ch10. Use your own words as much as possible, as SafeAssign will be used to check for plagiarism. Spelling and grammar count.

1. What are the most important dimensions of system dependability?

2. Explain why it is reasonable to assume that the use of dependable processes will lead to the creation of dependable software. 

Info Security & Risk Mgmt – PCA

Provide a reflection of at least 500 words (or 2 pages double spaced) of how the knowledge, skills, or theories of this course have been applied, or could be applied, in a practical manner to your current work environment. If you are not currently working, share times when you have or could observe these theories and knowledge could be applied to an employment opportunity in your field of study. 

Requirements:

Provide a 500 word (or 2 pages double spaced) minimum reflection.

Use of proper APA formatting and citations. If supporting evidence from outside resources is used those must be properly cited.

Share a personal connection that identifies specific knowledge and theories from this course.

Demonstrate a connection to your current work environment. If you are not employed, demonstrate a connection to your desired work environment. 

Course : Info security and Risk Management

Work field: Software Developer

2 Pages

Module 1: Course Project – Create a Windows Form Application With Basic Controls

  The course is called  Intermediate Programming 

I want you to do my whole project. Every week there will be a continuation of the project

This is module 1 project

Create a Windows Form Application With Basic Controls

In this part of the project, you will focus on creating the user interface for the project. View the videos provided in the Project Video Links for instructions and details to help guide you through your efforts. Links to other files you need are listed below.

Project Files are attached

Assignment

Elon-Musk donated $10 million to a foundation called the Future of Life Institute.  The institute published an open letter from an impressive array of AI experts who call for careful research into how humanity can reap the benefits of AI “while avoiding its pitfalls.”  Go online and find out about the institute’s initiatives.  

1. What are its primary goals?  

2. How can humans establish and maintain careful oversight of the work carried out by robots?  

3. How valid are Elon Musk, Bill Gates, and Stephen Hawking’s concerns?  

4. What ETHICAL concerns should the public bear in mind as the technological revolution advances?

Sources:  Future of Life Institute.  http://futureoflife.org

PPT presentation Robinhood

Robinhood company

Students will develop a PowerPoint presentation based on the selected and approved company.

Guidelines:

Must include (Company Name,  Course Title and Semester, Date, and Your Name)

Introduction on the company (overview), what does the company do, what product or service does it offer, and where is it located (headquarters)

Who are its main competitors (list all competitors)?

What is the market structure (e.g. pure competition, monopoly, oligopoly, etc.)?

How is it regulated?

What they got wrong analysis detailing a strategy mistake using the course concepts

What they got right analysis detailing a strategy win using the course concepts

 The Presentation must be organized in the following way:

Title Slide

Concise with sections clearly defined

10-12 slide minimum (title, conclusion, reference, and question/answer)

At minimum 10 minutes in length

All slides must have speaker notes

class diagrams

Assignment 2
Software Engineering
Fall 2021
Due date: Thursday, October 14, 2021 (Midnight)

“Rhythm. Life is full of it; words should have it, too. But you have to train your ear. Listen to the waves on a quiet night; you’ll pick up the cadence. Look at the patterns the wind makes in dry sand and you’ll see how syllables in a sentence should fall”
Arthur Gordon, A Touch of Wonder

In this assignment, you will learn how to apply design patterns to solve problems in software components design. You will work with one partner, I prefer that you choose your partner. The experiment from the first assignment was a nightmare for me! If you cannot find a partner by Wednesday, I will assign you a partner randomly.

This is an easy assignment; it was something else (I would say much harder) but I decided to change it since we have only three weeks left. The assignment, however, is a practice on how to apply some of the well-known patterns to solve problems, it also contains a general design problem.

In this assignment you need to provide solutions to the following problems. Please submit all your answers using one document in in pdf.

Problem 1. A giant industrial company produces different types of vehicles including cars, boats and buses. The company provides its vehicles with three different types of seats: luxury seats, leather seats, and clothes seats. The company buys these seats from 3 different providers: Provider A, B, and C. Any type of vehicle can have any type of seat which might be requested from any of the 3 providers. A control unit (i.e., a client code) can create vehicles of different types depending on the requests that come from the managers.

What design pattern(s) best fits your needs? Using the design pattern(s) you choose, design a solution in the form of a class diagram that shows how these classes can be structured.

Problem 2. You were asked to design a smart control unit for a printer. The printer can print three types of documents: pdf, MSWord, and JPG (images). The smart printer keeps the documents sent for printing in a queue. It can perform 2 types of operations on the jobs in the queue. These are: (1) Add colored frame, which displays a colored frame on the edges of the printed paper. (2) Add background, which adds some background on the printed paper.

The control unit should be designed in a way that allows clients to perform any operation on the jobs in the queue. So the problem is that you have a collection of heterogeneous

objects, on which you want to perform similar operations. The design also allows adding more operations upon client’s needs.
What design pattern(s) best fits your needs? Using the design pattern(s) you choose, design a solution in the form of a class diagram that shows how these classes can be structured.

Problem 3. Suppose you want to design a software component that is responsible for the calculation of the shipping cost for some shipping company. The company ships goods for three destinations: local (in the same city), domestic (same country) and international. The shipping cost consists of two factors:

  1. Handling:forlocalshipping,handlingisperformedbythecompanyemployees, for domestic, handling is performed by a contractor, and for international shipping, handling is performed by some airplane employees.
  2. Delivery:bycarforlocaladdresses,trainfordomestic,andairplanesfor international addresses

What design pattern(s) best fits your needs? Using the design pattern(s) you choose, design a solution in the form of a class diagram that shows how these classes can be structured.

Problem 4. Video Store

A new video store intends to offer rentals (and sales) of entertainment material to the wider public. The video store will keep a stock of video tapes, CDs (games and music) and DVDs. The inventory has been ordered from suppliers. All entertainment media will be bar coded so that a scanning machine integrated with the system can support the rentals, returns, and sales. Existing customers will be able to place reservations on entertainment material to be collected at a specific date. The system must have a flexible search engine to answer customer enquiries, including enquiries about the material that the video store does not stock (but may order it on request).

System Requirements:

  1. The video store keeps an extensive library of current and popular movie titles in stock. A particular movie may be held on video tapes or disks
  2. Amoviecanberentedforaparticularrentalduration(indays),witharentalcharge for that period
  3. Thevideostoremustbeabletoanswerimmediatelyanyqueriesaboutamovie’s stock availability. The current condition of each tape and disk must be known and recorded, together with generic information about the percentage of video tapes and disks in excellent renting condition

page3image531272016 page3image531272208 page3image531135088 page3image531217776

Scanning Device

<>

Rent Video

Reserve Video

page3image530954016 page3image531227920 page3image531228208

Return Video

Employee

Order Video

A use-case diagram for the video store

page3image531277872 page3image531293616

Maintain Customer Answer Enquiry

a. Designanarchitecturalcontextdiagramforthevideostoresystem.Pleasestate any assumptions you make

b. Definethearchetypesandrefinethearchitectureintocomponents,designthe component structure for the system