Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

CSCI 457 Assignment 2 – Hexadecimal Calculator

29/10/2020 Client: happyw Deadline: 2 Day

Implement a hexadecimal calculator for iOS.


Requirements:



  • The calculator should support 4 basic arithmetic

    operations: + - * and /

  • The calculator will operate on hexadecimal numbers, not

        decimal numbers 

  • The calculator only needs to operate on unsigned integers

    (i.e. UInt). You do not need to consider negative numbers

    or fractions.

  • The calculator should support the 16-digit hexadecimal

    numbers (i.e. The range of the numbers is from 0 to FFFF FFFF FFFF FFFF). Prevent the user from entering a number that is greater than FFFF FFFF FFFF FFFF.

  • The calculator should handle overflow and underflow gracefully. The app must not crash.

  • The calculator should handle division-by-zero error gracefully. The app must not crash.

  • The calculator should be able to support most of the devices and orientations. If it does not support the old devices earlier than iPhone 6, it is okay.

    Hint:

  • To convert a string to a hex number, use “radix: 16” as an

    argument. For example:

    var s:String?

    s = "1A"

    var intHex:UInt = 0

    intHex = UInt(s!, radix: 16)! print(intHex) // shows 26

    intHex = 90

    s = String(intHex, radix: 16).uppercased() print(s!) // shows 5A

  • It is recommended that you use a UI label instead of a text field, so that the user will not type directly by using a keyboard. You will need to provide a button for each digit.

  • Strings may be concatenated by using + operator. E.g. var s1 = "1234"


var s2 = "5"

print(s1 + s2) // shows 12345

You may want to do string concatenation in the action of each digit button.



  • To prevent the user from entering a number exceeding the size of 16 digits, you may verify the length of the string associated with the UI label.

  • To handle overflow and underflow, use &+, &-, and &* instead of +, -, and *.

  • To support different devices and orientations, use stack view, scroll view, or both.

  • Design your algorithm first! Think about the status of the calculator: when to take the first operand, when to take the second operand, when to append digits to the current number, and when to refresh the current number, etc.

    The functionality of your hex calculator worth 60% of the credit, while the appearance of the user interface worth 40%.

    When you submit the assignment, please compress the entire project folder into a single zip file, and upload it to D2L. In addition, please provide 4 to 5 screenshots of your app in different devices and orientations. If your app doesn’t work on every device/orientation, please specify why.

    The screenshots of a sample program are shown below. Your UI does not have to be the same as the sample program. As long as it has a pleasing looking, it should be fine.



Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Writer Writer Name Offer Chat

Writers are writing their proposals. Just wait here to get the offers for your project...

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Cueing hierarchy for articulation - Phylosophy - Wellspan multiphasic blood screening 2020 schedule - Time cost trade off in project crashing - Jingle bells jingle bells santa's coming - Quadrat sampling lab answers - Words rhyming with dan - Mount grace land trust - Similarities between academic and nonacademic writing - Lección 1 lesson test answers - Chinese dragon pearl story - Marine engineering curriculum philippines - Competency Final Paper - Cisco umbrella sku list - Everything's an argument chapter 13 notes - Info Tech Mini Project - William shakespeare sonnet 116 analysis - Professional Development of Nursing Professionals - Hhmi great transitions interactive - A company began its fiscal year with inventory of - Hookstick operated disconnect switch - A long-standing charge against intermediaries is that they mark up prices beyond the ________. - What should you do about an insubordinate employee - Ucsd math 20c final - Ash tree species identification - Eston grange power station - Sheep kidney dissection labeled - State of indiana fssa jobs - Econ 104 final exam - Week 6 individual - Pop evil university of michigan song - Allmand light tower parts manual - Professor layton and the miracle mask battle of wits - Major categories of computer crimes - Cognitive mediational theory example - Too big to fail movie download - In the word claustrophobic phob is the - Importerror no module named py31compat - Titanic outline - What is a reference slide - The past oodgeroo noonuccal themes - Iodine clock reaction lab calculations - Asian american culture essay - William fine method risk assessment - Religious literacy stephen prothero chapter summary - Bus dungannon to portadown - To kill a mockingbird novel study questions and answers - Aliaga nueva ecija mayor - Hoverboard remote key instructions - Amoeba sisters video recap sex linked traits answer key - DR7 - 4.0 cm to mm - Operation anaconda summary - Mezzo level of social work - 1st draft - Nike mission statement and strategy - Tv commercial script english - Montana 1948 prejudice quotes - A day in the lab worksheet answers - Madden corporation manufactures t shirts - Our origins discovering physical anthropology fourth edition pdf - Spss export to word - Plastimo 4 man valise liferaft - Callable preferred stock accounting - Psychology - Printer not activated error code 30 cantax - Prestige semi concealed hinges - Will smith pursuit of happiness speech - Why is alessi successful - 9409 buffalo avenue rancho cucamonga - Rl circuit lab report - Average cost of a loaf of bread - English_Journal Assignments_week4 - Research paper outline and research paper - Report for experiment 15 forming and naming ionic compounds answers - Trigonal planar shape examples - St martin guide to writing 11th edition - 90 confidence interval z score - Donna's philosophy as she coordinates the marketing efforts - Sleep poem by annie matheson - Computer Science Terms Need To know About - Pwc management override of controls - Fill in the missing values in the table below - Questions for finding forrester answers - How to write a poetry explication - Health care issues are receiving much attention - Altium designer footprint library download - East lawns parkes act - Versailles wedding hall disaster - Texas driving law has tougher standards for aceable - How much does Costco pay per hour in Canada? - Micro-critical aseptic fields are essential in standard antt - Toll priority alice springs - Business Proposal Preparation - How to fold a draw sheet - Advanced diploma of network security - Sketch and label dna replication - Alan sugar wife plastic surgery - 150 word ,1 or 2 pages - Beginning inventory plus net purchases is