Design a solution to a repetitive computational problem

Assignment Help Management Information Sys
Reference no: EM132367299

Assignment 1, Part A: Tessellation

Motivation

One of the most basic functions of any IT system is to process a given data set to produce some form of human-readable output. This assignment requires you to produce a visual image by following instructions stored in a list. It tests your abilities to:

• Process lists of data values;

• Produce maintainable, reusable code;

• Design a solution to a repetitive computational problem; and

• Display information in a visual form.

In particular, you will need to think carefully about how to design reusable code segments, via well-planned function definitions and the use of repetition, to make the resulting program concise and easy to understand and maintain.

Goal

Completely filling a plane with tiles of different shapes is a computational challenge that goes back to ancient times. Formally this process is called “tessellation”. In this assignment you will solve this challenge by drawing “tiles” (rectangular images) in a grid using automatically-generated solutions.

To do so you must follow a set of instructions, provided as a Python list, to place differently-sized tiles in various locations in the grid. When this is done properly the grid will be entirely filled with non-overlapping tiles. Most importantly, the pattern to be followed is generated randomly, so your solution must be sufficiently general that it can work correctly for any possible pattern of tiles that fills the grid.

Resources provided

A template Python 3 program, tessellation.py, is provided with these instructions.

When run it creates a drawing canvas and displays a simple grid image on which you will draw tiles of specific shapes in specific locations. You have a free choice in the design of the individual tiles, but they must all be related by a common theme. The default image drawn by running the provided Python template appears as shown overleaf. It consists of a numbered grid representing the plane to be tiled, with space on either side for a legend in which you will describe the theme and tokens you have designed.

Assignment 1, Part B: Broken Tiles

Motivation

One of the most common tasks in “Building IT Systems” is modifying some existing code. In practice, computer programs are written only once but are subsequently modified and extended many times during their operational lifetime. Code changes may be required in response to internal factors, such as the need to correct design flaws or coding errors, or external factors, such as changes in consumer requirements.

A common situation is where some new feature must be added to an existing program. This is the scenario simulated in this part of the assignment. This task requires you to extend your solution to Part A of the assignment by adding an additional feature. It tests:

• Your ability to work under time pressure; and

• The quality and clarity of your code for Part A, because a well-written solution to

Part A will make completing this part of the assignment easy.

Goal

In Part A of this assignment you were required to develop a program which could follow instructions, encoded as a randomly-generated Python list, to draw a pattern of differentlyshaped tiles that precisely filled a rectangular area. However, one of the frustrations of “tessellation” using real ceramic tiles is that they can become cracked or broken, spoiling the pattern. In this part of the assignment you will simulate this annoying, but realistic, situation.

Specifically:

• For each of your four different types of tiles you must develop a “broken” version; and

• You must draw a broken tile for any instruction in the pattern that ends with an ‘X’.

To complete this additional task you must extend your solution to Part A. No additional Python template file is supplied for this part. As per Part A, your Part B solution must work for any randomly-generated pattern that can be returned by the provided function random_pattern.

Attachment:- Assignment Tessellation.rar

Reference no: EM132367299

Questions Cloud

Discuss challenges in the hospitality and tourism industry : Industry-Based Project - Gain research experience, thereby understanding the challenges and processes in the hospitality and tourism industry
Estimate the new building bid : Another building (virtually identical) is planned for a bid opening in January 2020. Estimate the new building bid.
Building of the bridge will result in an estimated : The building of the bridge will result in an estimated cost of 250,000 per year to the general public. The project requires a return of 10 percent.
Board-driven and ceo-driven organizations : What is meant by "board-driven" and "CEO-driven" organizations? What might be the distinctive characteristics of each?
Design a solution to a repetitive computational problem : IFB104 Building IT Systems-Queensland University of Technology-Australia-Develop a program which could follow instructions, encoded as a randomly-generated.
Why are us long-term interest rates currently higher : Why are US long-term interest rates currently higher than those in Australia post 2018?
Perfect competition and monopoly : We learned about perfect competition and monopoly. Find real world examples of each and apply the criteria for defining markets (number of producers
Demand itinerary for coffee at inter metro : Assume that students and faculty have the following demand itinerary for coffee at Inter Metro:
Discuss the implications of this change for prices : You would like to suggest to the management making 6-bottle packs available for sale in addition to that. Discuss the implications of this change for prices

Reviews

Write a Review

Management Information Sys Questions & Answers

  Information technology and the changing fabric

Illustrations of concepts from organizational structure, organizational power and politics and organizational culture.

  Case study: software-as-a-service goes mainstream

Explain the questions based on case study. case study - salesforce.com: software-as-a-service goes mainstream

  Research proposal on cloud computing

The usage and influence of outsourcing and cloud computing on Management Information Systems is the proposed topic of the research project.

  Host an e-commerce site for a small start-up company

This paper will help develop internet skills in commercial services for hosting an e-commerce site for a small start-up company.

  How are internet technologies affecting the structure

How are Internet technologies affecting the structure and work roles of modern organizations?

  Segregation of duties in the personal computing environment

Why is inadequate segregation of duties a problem in the personal computing environment?

  Social media strategy implementation and evaluation

Social media strategy implementation and evaluation

  Problems in the personal computing environment

What is the basic purpose behind segregation of duties a problem in the personal computing environment?

  Role of it/is in an organisation

Prepare a presentation on Information Systems and Organizational changes

  Perky pies

Information systems to adequately manage supply both up and down stream.

  Mark the equilibrium price and quantity

The demand schedule for computer chips.

  Visit and analyze the company-specific web-site

Visit and analyze the Company-specific web-site with respect to E-Commerce issues

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd