Search over 10,000 free study notes
Over a million students use our free study notes to help them with their homework
Top answers
How would 12 be represented in binary?
Decimal (the system you use everyday) is a base- 10 number system, meaning it only uses 10 digits: 0-9. - Binary is a base- 2 number system, meaning it only uses 2 digits: 0 and 1. - The decimal system's pla...
AD
Answered by
Aiden D.
•
Computing tutor
3073 Views
Given a graph with n nodes and m edges, every edge has a passing cost that can be negative, find the minimum distance between node 1 and every other node
We will use the Bellman-Ford algorithm to compute the minimum distance between that start node and every other one, by passing through each edge for a maximum of n times and "relaxing the edge", wh...
VS
Answered by
Victor S.
•
Computing tutor
4659 Views
How can the idea of precondtioning as part of 'Thinking Ahead' benefit a programmer when writing code?
'Thinking Ahead' is one of 5 main aspects of Computational Thinking. It is the planning of inputs, ouputs and preconditions that the program will adhear to. By 'Thinking Ahead' programmers can discover how t...
NH
Answered by
Nathan H.
•
Computing tutor
10560 Views
Explain how cache memory can improve system performance.
Cache is a small amount of memory which is part of the CPU which is physically closer to the CPU than RAM is. The more cache there is, the more data can be stored closer to the CPU. Cache memory is beneficia...
AH
Answered by
Ariane H.
•
Computing tutor
124923 Views
What is the decimal equivalent of the following sequence of bits, which represents an unsigned binary integer: 1101001. What is the decimal equivalent if the sequence in bits encodes a two’s complement binary integer.
1101001 Unsigned binary number means every bit represents a power of two. The sum of the powers present in the binary representation gives the number in decimal. We start from right to left: 1 2 0 +0 2 1 +0 ...
AP
Answered by
Alexandru P.
•
Computing tutor
3139 Views
←
27
28
29
30
31
→