Top answers


Compress the following bit pattern using RLE (Run Length Encoding). 1111 0011 1100 0000

The answer is as follows: (4,1) (2,0) (4,1) (6,0)
DC
Answered by Daniel C. Computing tutor
5997 Views

How can XOR be used in encryption and what type of encryption is this ?

As we know, XOR is a logical operator which can take 2 inputs and process one output. Given that two parties want to exchange this would be very useful. If A has message 1010 which may stand for "hello&...
AA
Answered by Ahmed A. Computing tutor
2338 Views

Write the binary number 11011 in decimal.

Similarly to how the digits in decimal represent values of increasing powers of 10 (the far right digit is the number of units, the next digit to the right is the number of 10s, the next digit along is the n...
ML
Answered by Matthew L. Computing tutor
24898 Views

Given an unlimited number of light bulbs (that break at a certain height), and a building with 100 floors, how do you determine the height that the light bulb breaks?

The solution is a binary search algorithm (where you start on floor 50th and move up or down depending if the bulb breaks or not, always picking the middle floor of your option range).
DG
Answered by Diana G. Computing tutor
2004 Views

What is 'Virtual Memory', and how does it work?

Virtual memory is the practice of moving information from RAM to secondary storage (eg the hard disk). It allows computers to make use of more memory than they have installed . When space in the RAM is runni...
BC
Answered by Barnaby C. Computing tutor
2614 Views