Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1 [ 1 5 marks ] Two students who work for a Data Centre have written a program in C + + which is
Question marks
Two students who work for a Data Centre have written a program in C which is capable
of converting any number into a bit binary number system. The program has two soft
buttons. The first is Unsigned & second is Signed which indicates the type of number
that is initially entered in the command prompt. For the Signed function the programs
uses the s complement approach. These are D through to D where D represents the
most significant bit while D the least significant bit.
a What output would the program give for the inputs iii & iii in Unsigned Mode.
i marks
iiC marks
iii. marks
b What would be the output for Signed mode with the new inputs iii & iii
i marks
ii marks
iii. marks
do all questions please
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started