Top answers


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
10556 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
3131 Views

Taken from an AQA paper: A common misconception is that the Internet is the World Wide Web. Explain the differences between the Internet and the World Wide Web.

Using these terms interchangeably is a pet-hate of Sir Tim-Bernes-Lee, who invented the WWW and works at our university, so it seemed an appriate choice! The internet can be thought of as a massive network (...
GG
Answered by George G. Computing tutor
3771 Views

Why are bit patterns often displayed in hexadecimal notation instead of binary notation?

Hexadecimal notation is compact, compared to binary notation, hence easier to understand by humans.
AK
Answered by Artur K. Computing tutor
8515 Views

How does the Stack data type work?

A Stack is an abstract data type (ADT), this means its a concept rather than an implementation. I will explain the Stack ADT using the idea of a pile of plates. The pile is the Stack. With a pile of plates y...
SO
Answered by Sam O. Computing tutor
1962 Views