Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do question 1 and two since they link together please Question 1 Draw a flow chart for the general process of converting a specified

image text in transcribed

please do question 1 and two since they link together please

Question 1 Draw a flow chart for the general process of converting a specified value (given in the decimal system) to a number system of a user-defined base of 10 or less. Use the process of repeated division (as shown in the lecture slides on number systems) to perform the conversion. The flowchart must accept user inputs for the value (Value) to be converted and the base of the number system to be converted to (Base). The value of the output variable (ConvertedValue) must be displayed to the screen after the conversion has taken place. Note: The floor and modulo functions may be used. Remember to initialise your output variable. Question 2 Complete a value table for the flow chart in Question 1. Use the following input values: Value = 485210 Base = 8 Your output variables should have the following values at the end of the value table: ConvertedValue = 113643 [5 Marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

Students also viewed these Databases questions