University | Nanyang Technological University (NTU) |
Subject | Fundamental of Computer Systems Assignment |
Fundamental of Computer Systems Assignment, NTU, Singapore: You are required to write a C programme that keeps the score of a golf game for 1 player
Part A
1. Using the appropriate methods taught in class, please follow the instructions to complete Table 1.
(a) Convert the decimal number to hexadecimal.
(b) Convert the hexadecimal number to octal.
(c) Convert the octal number to binary.
(d) Add the two binary numbers.
(e) Convert the binary sum to octal.
(f) Convert the octal number to hexadecimal.
(g) Convert the hexadecimal to decimal.
Please show your workings, no mark will be awarded if no working is shown.
Buy Custom Answer of This Assessment & Raise Your Grades
2. Using the appropriate methods taught in class, please follow the instructions to complete Table 2.
(a) Convert the decimal fraction to binary fraction
(b) Add the two binary fractions
(c) Convert the binary fraction to hexadecimal fraction
Please show your workings, no mark will be awarded if no working is shown.
3. Simplify the following Boolean expression:
(a) AB + A‘C + BC
(b) A‘BC + A‘BC‘ + AC
(c) (A + B) (A‘ + B)
(d) (A + AB) + A‘B
Please show your workings, no mark will be awarded if no working is shown.
4. Using the truth table, prove the following expressions are equivalent:
(a) (AB)‘ = A’ + B’
(b) (BC‘ + A‘C)’ = AB‘ + AC + B‘C‘
5. Construct a truth table for (x’ + z)(y + z’) and draw the corresponding logic circuits.
Stuck with a lot of homework assignments and feeling stressed ? Take professional academic assistance & Get 100% Plagiarism free papers
Part B
You are required to write a C programme that keeps the score of a golf game for 1 player. The rules of the game are as follows:
The player needs to complete two rounds and each round comprises 9 holes (Hole 1 through Hole 9). Each hole has an assigned score, and the player will play the hole trying to score as close to the assigned score as possible. The player will try to score lower than the assigned score for each hole, the lower the total score the better the player performs. Table 1 & 2 denote the scoring format.
The C programme should have the following features:
• Prompt the user to enter the player’s name.
• Prompt the scorer to input the scores for the 2 rounds.
• Print the holes in which the player scored less than the assigned score.
• Print the holes in which the player scored the same as the assigned score.
• Print the total score for each round.
• Print the average score for both rounds (18 holes)
Hire a Professional Essay & Assignment Writer for completing your Academic Assessments
Struggling with your Fundamental of Computer Systems Assignment at NTU, Singapore? look for no further essay writers for hire in Singapore and assignment help online right here.
Tags:-
- A2329C Dosage Form Design AY2024 Term 4 – Graded Assignment (Individual Report), Singapore
- ANL312 Text Mining and Applied Project Formulation, End-of-Course Assessment, SUSS, Singapore
- CMM315 Peacebuilding and Security, End-of-Course Assessment, SUSS, Singapore
- HFS351 ECA (End-of-Course Assessment) SUSS : July Semester 2024 – Safety Management and Audit
- HFSY217 ECA (End-of-Course Assessment) SUSS : July Semester 2024 – Emergency Preparedness and Response Planning, Singapore
- NSG3EPN Assignment Two instructions rubric – Contemporary nursing practice :Engagement in Professional Nursing, LTU Singapore
- HFS201 GBA (Group-based Assignment) SUSS: July 2024 – Workplace Evaluation and Design
- Business Accounting & Finance – (VM) – A3 Assignment, UOM, Singapore
- HRM3010S: Managing People At Work, Assignment, UCD, Singapore
- HFS351: Safety Management and Audit, End-of-Course Assessment, SUSS, Singapore
UP TO 15 % DISCOUNT