Skip to main content

Posts

Showing posts from June, 2020

Multiple Choice Questions on Errors and Floating-Point

Multiple Choice Questions on Errors and Floating-Point. We have discussed the questions based on significant numbers, round off, truncation, measures of errors, normalized floating-point, and arithmetic operations on normalized floating points. MCQ ON THE SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS: MCQ on the solution of algebraic and transcendental equations   are discussed here with answers underlined. You can test your knowledge.  0% Question 1: Round off the number 5.9154 up to 3 decimal places A) `5.915` B) `5.916` C) `5.91` D) None Explanation: `5.915`. Question 2: Truncation errors are caused by A) Rounding off B) Both rounding and replacing one C) Replacing an infinite process to finite one D) None Explanation: Replacing an infinite process to finite one Question 3: Absolute error is given by A) `|True value - Approximate value|` ...

Errors in Computation

Errors in the computation mean while computation the types of errors found. We have discussed the accuracy of numbers and then the sources of errors. Also, we discussed how to improve accuracy and then types of errors. We provided a few examples so that we understand the concept of these topics. In the end, we discussed the errors in numerical computation and provided a few examples. For practice, we provided a few examples related to the topic.

Computer Arithmetic

Computer Arithmetic,  we discuss the floating-point numbers and then discuss the normalized floating-point numbers. After this, we discuss the arithmetic operations using normalized floating-point with examples. So that we understand with more precision. In the end, we provide a few examples for practice.   Floating Point Representation of Numbers First of all, we should know what is floating point numbers. As the name suggests floating point numbers   contain floating decimal points. For example, 6 . 55 , 0 . 0001, and − 2 , 345 . 5432 are floating point numbers. Numbers are known as integers if they do not have decimal places. In a computer two types of arithmetic operations are available. They are   1.     Integer arithmetic   2.     Floating point arithmetic   Integer arithmetic grapples with integer operands and  is  used as subscripts and in counting. Fl...