Top answers


Show how the decimal number -183 would be represented as an 8-bit two's complement arithmetic

For this question you should firstly lay out your placeholders for an 8 bit binary number, from 2^0 up to 2^7 (1,2,4,8,16,32,64,128). Then you find how 183 as a positive number would be represented in binary...
HM
Answered by Harley M. • Computing tutor
2011 Views

Choose 3 types of malware, describe them and the ways in which they may harm a device.

Virus: This type of malware is able to self-replicate, it is deployed once the user opens its host files- possibly in the form of an E-mail attachment. Once opened the virus will become a memory resident, on...
TR
Answered by Talvin R. • Computing tutor
1989 Views

What is inheritance in object-oriented programming?

Inheritance is a useful and powerful concept in object-oriented programming languages, such as Java and C++. Inheritance is used to provide subclasses with the same instance variables and operations as the s...
RF
Answered by Ryan F. • Computing tutor
2697 Views

What are the benefits of using thin clients.

A thin client is a simple computer with basic hardware. In networking, these are used as access points for a user, using the resources of a central server.The simplicity of the hardware means that for many u...
SW
Answered by Samuel W. • Computing tutor
2400 Views

Write pseudocode for the binary search algorithm and state, with an explanation, it's worst case complexity in big-O notation

procedure binarySearch(A[], start, end, item): if start <= end: i = ceil((start + end) / 2) if A[i] = item: return i if A[i] > item: return binarySearch(A[], i + 1, end, item) if A[i] < item: return...
YB
Answered by Yagna B. • Computing tutor
2167 Views