subject

A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For example, the binary sequence 0101 represents the corresponding decimal value 5. Using this programming language, a programmer attempts to add the decimal values 14 and 15 and assign the sum to the variable total. Which of the following best describes the result of this operation?. A. The correct sum of 29 will be assigned to the variable total.
B. An overflow error will occur because 4 bits is not large enough to represent either of the values 14 or 15
C. An overflow error will occur because 4 bits is not large enough to represent 29, the sum of 14 and 15.
D. A round-off error will occur because the decimal values 14 and 15 are represented as approximations due to the fixed number of bits used to represent numbers.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 22:50
Which of these might be an example of an advertiser's target group? a.people who have no access to media b.people the advertisers know nothing about c. people who watch a variety of tv shows d. people who live in the same region of the country
Answers: 2
question
Computers and Technology, 24.06.2019 23:00
Why is it preferable to code web pages in html format? a. to create more lines code b. to apply general formatting rules c. to display properly as search results in all browsers d. to add meaning to the document
Answers: 1
question
Computers and Technology, 25.06.2019 11:30
In a personal computer, the system software
Answers: 1
question
Computers and Technology, 25.06.2019 14:00
Ken paid $12 for two magazines. the cost of each magazine was a multiple of $3. what are the possible prices of the magazines?
Answers: 1
You know the right answer?
A certain programming language uses 4-bit binary sequences to represent nonnegative integers. For ex...
Questions
Questions on the website: 13722362