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

Planning and Organization - Maggie beer's daughter illness - Assignment 1 network infrastructure design diagramming - Business intelligence course unisa - One point east of due south - When was the italian national anthem written - Fetch decode execute cycle steps - Macbeth act 4 text - Circle theorems gcse answers - Family day care consultant - MARKETING - Presidential projects for students - Case Study - Wiseman's framework of strategy development - Tri-state bank and trust is considering giving josef company a loan - Lab activity air masses and fronts answers - Rats in the garden catch them towser - Organizational culture readiness for implementation of ebp survey - Autocad polyline area text - Unadjusted trial balance to adjusted trial balance - Formulating your brief data visualization - American literature unit 2 answers - Writers - 2h2o 2h2 o2 reaction - I need 1000 words Article on Real Industry. - Cengage Economics HW Problems - Strong like an oak - Dublin west education centre - How to graph supply and demand in excel - Discussion question 150 words max - 119 mm to inches - Karl blossfeldt art facts - Http www businessballs com howardgardnermultipleintelligences htm - Everyday uses of ph indicators - Sonnet 130 paraphrase line by line - Job application form template doc - Health assessment of a school aged child - Discussion Board - Form 3s meter wiring diagram - Dr david badov gastroenterologist - Zeise's salt bonding - Biohazard spill clean up procedure - Mike walker pam royle - War production board apush - Inverse and direct variation word problems - Texas educator code of ethics and standards - Activity 13.4 glacier national park investigation answers - Nm 1fe fx v2 - Cdu apa 7th referencing guide - Xicon passive components 800 628 0544 - Need help with english homework - Characteristics of natural approach - Islam and social progress - Pre shift checklist mcdonalds - Ucl foreign language requirement - Being a man by paul theroux thesis statement - Rosen hotels swot analysis - Marketing management mcqs with answers - Cambridge ielts 6 writing answers - Planet fitness cost per month - Sample persuasive text year 3 - Www pearsonhighered com cs resources - Osha barricade tape regulations - Determination of iron by titration with potassium permanganate - Human Services - Hecton sheep handler for sale - Genetics assignment sex linked traits answers - A practical approach to supply chain risk management - Mr barton maths m1 - Tidal river cabins wilsons prom - Walden university mission of social change - What is a good percent yield - Up ac za library - Components of just in time system - New heritage doll company capital budgeting case analysis - Vce english language unit 1 and 2 - Consider an air solar collector that is wide - Igcse chemistry experimental techniques questions - Commitment a cautionary tale and provide an example - Module 1 assignment and Discussion - Cape conran coastal park - Brain games pay attention answers - APA 7TH EDITION (9) - CSCI 303.1W – Technical Communication for Computer Professionals - What is the difference between innuendo and a downplayer - The chemical hut stoke - Cisco esa ordering guide 2016 - Building Secure Web Applications - Ca va bien merci - Multilit word attack skills recording booklet - Foliation and lineation pdf - Beeler furniture company journal - What do you think a calorimeter does - Intro to business chapter 5 quiz - Texas political culture essay - Braidwood waste transfer station - Methanol and ethanol distinguish - Intercultural Management Question - Qnt 351 quantitative analysis for business - Parallax lab answers