Suitable diagram created using drawing tool

Assignment Help Python Programming
Reference no: EM132873998

Requirements

1. Model
• The model must be based on the bit adder below.
• The model may include a number of bit adders linked to form a byte adder, which allows adding two integers. The maximum value of each of these integers can be represented in the Binary number system using one byte only.

1654_figure.jpg

• The model can be presented using suitable diagram created using drawing tool or graphics editor of your choice (the bit adder can be a box with input and output only)

2. Algorithm
• The algorithm for adding two integers must be based on the use of standard logical operations which have direct hardware implementation (AND, OR, XOR, NOT)
• It can use additional data processing operations which might be necessary to manipulate the data (i.e., input/output operations, type conversion operations, information retrieval operations, bitwise data processing operations, etc.)
• The algorithm must be specified using pseudocode, structured English, or plain text.
• The algorithm can be illustrated using a diagram.

3. Data Structures
• The programming should be done using data structures and operations in Pythonfor input/output, character and string processing, logical or bitwise manipulations.
• It can use any primitive or complex data structures which might be necessary for holding the data (pairs, lists, strings, dictionaries, etc.)
• The choice of data structures must be specified in the report.

4. Program
• The program must work in a loop, reading two integer numbers, computing the sumof them and printing out the result until instructed to quit.
• The program must check the input data for the data type permitted (representation ofan integer) and the data value limitations. The value of the integer must not exceed the actual size of byte-coded integers, i.e. min 00000000 and max 11111111 in Base2. That means min 0 and max 255 in Base 10 for positive integers, or min 11111111 and max 01111111 in Base 2, or min -127 and max +127 in Base 10 for signed integers.
• The program must be implemented in a modular way with separate functions for inputting data, bit operations, integer operations and outputting the result of the calculation.

5. Description
• The program must be described in terms of its structure and behaviour.
• It can be presented using text and structural charts, flowcharts or other diagrams as needed.

6. Testing
• The tests must be performed using suitable test data (i.e., normal data, max/min boundary values, wrong data types, wrong values)
• The testing can be presented using screen shots of the execution.
• The program testing must be described in terms of test cases (or scenarios), input data, expected results, actual results, and analysis of the results (pass/fail). They can be presented in a table, reporting each test case separately. Program execution screen shots can be used for illustration.

7. Reporting
• The report must present all of the above components of the work, i.e. model, algorithm, data, the program's description and testing.
• It must be written in proofread English in good style.

• The report must have a title page with the student's name & ID, a table of contents, page numbers and a reflection on the individual experience.

Deliverables
1. Written report, submitted by the deadline (one .pdf file only)
2. Python program, submitted by the deadline (one .zip file containing all Python modules and data files)

Attachment:- algorithm.rar

Reference no: EM132873998

Questions Cloud

Learning a culture of safety program : Given the staggering cost of workplace injuries, it is critical that occupational health and safety (OHS) training be as effective as possible to reduce inciden
Human rights trial-fact scenerio : Betty is a cleaning custodian who has worked at XBAS company for 9 years. She is responsible for dusting furniture, washing window s, mopping floors and perform
Roles of directorate of dispute prevention and resolution : Title, Table of Contents, Introduction, Body with subheadings, Conclusion, Reference list.
Components that make up strategic business plan : What are the components that make up a strategic business plan
Suitable diagram created using drawing tool : model can be presented using suitable diagram created using drawing tool or graphics editor of your choice - The algorithm for adding two integers
What are the pitfalls of mergers and acquisitions : - What are the pitfalls of mergers and acquisitions
Aspects in the evaluation process : Do you feel Covid will alter any aspects in the evaluation process? Will there be more pressure to reduce the human element to the process?
Best balance the concerns of all stakeholders : As with many areas of rapid advancement, the law often lags behind the actual situation that exists with regards to technology and privacy in the workplace
What does thoreau mean by the word economy : 1-What does Thoreau mean by the word "economy"?

Reviews

Write a Review

Python Programming Questions & Answers

  Enter an amount as a floating-point value representing

The program lets the user enter an amount as a floating-point value representing a total dollars and cents, and then outputs a report listing the monetary.

  Write a python program to determine a given pattern appears

In this assignment, your goal is to write a python program to determine whether a given pattern appears in a data series

  Explore a dungeon filled with traps and treasure

Explore a dungeon filled with traps and treasure. The dungeon geography will be specified by a dungeon map file on disk, which you will load in and parse.

  Discuss how the use of standards such as variable naming

Discuss how the use of standards such as variable naming, the use of class diagrams, and good programming practices all contribute to both rapid program.

  Write about the validity of the political dogma

CSE 231-Write a paragraph on your conclusions of the validity of the political dogma that "Democrats want big government and Republicans create jobs."

  Create a print command to output each variable

Write a Python script that meets the following requirements: declares three variables: GPA (floating-point number), studentName ( a string), studentNumber.

  Create a python code with a function named rolls

You need help creating a python code with a function named Rolls that will roll a dice as many times as the user asks and with a user specified number of sides.

  Create a cheat commands in the game so player can teleport

Create a cheat commands in the game so player can teleport to any location in the map - The first four tasks in this section can be completed by modifying only the code within the ProcessStatement() and Game() functions. This section typically requ..

  Compute the sum of the first n prime numbers

Write the statements needed to compute the sum of the first n prime numbers. The sum should be associated with the variable total.

  Build a python application to recommend Training modules

The project is to build a python application to recommend Training modules based on skill proficiency, current project/job skills

  Write a function digitize that takes two parameters

Write a function digitize (using loops) that takes two parameters: one integer parameter and one bool parameter.

  How many total times the dice were thrown

How many total times the dice were thrown and how many times the individual face values were thrown. You should initialize these 8 variables to 0.

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