The Difference between Unicode and ASCII (2 marks)
Describe the difference between Unicode and ASCII.
The Difference between Unicode and ASCII (2 marks) Read More »
Describe the difference between Unicode and ASCII.
The Difference between Unicode and ASCII (2 marks) Read More »
Subtract the binary number 0010 from 1100 using the two’s complement method. Show your working and final answer.
Binary Subtraction using Two’s Complement (4 marks) Read More »
(a) Describe an arithmetic shift right operation and its effect on the binary number 10110010. (b) If this operation is performed twice on the original number, what is the resulting binary number?
Arithmetic Shift Functions (3 marks) Read More »
Explain what is meant by ‘overflow’ and ‘underflow’ in the context of binary arithmetic.
Overflow and Underflow (3 marks) Read More »
Perform the following binary addition: 1101 + 0110. Show your working and state if there is an overflow.
Binary Arithmetic (2 marks) Read More »
(a) Represent the denary number -18 in an 8-bit binary using two’s complement. (b) Represent the same number using sign and magnitude representation.
Two’s Complement and Sign and Magnitude (2 marks) Read More »
Convert the hexadecimal number 5A to binary and denary. Show your workings.
Conversion between Counting Systems (3 marks) Read More »
What value would the Boolean variable isEven hold if it stores the result of the expression (10 mod 2) == 0? Explain your answer.
Boolean Data Type (2 marks) Read More »
Consider the following pseudo-code segment: var ageAsString = “25” var age = INTEGER(ageAsString) a) What is the data type conversion that is taking place here? (1 mark) b) Explain why this type of conversion might be necessary in a computer program. (3 marks)
Conversion Between Data Types (4 marks) Read More »
Notifications