The byte tag has no wiki summary.
0
votes
3answers
198 views
How do I tell a user that bps means bits per second or bytes per second?
I'm writing an application that deals with the network and the hard drive. For the network portion, the application measures in bits per second, while the disk portion measures in bytes per second. ...
2
votes
4answers
557 views
How do you compress ASCII strings into smaller bytes?
I'm working with an embedded device with a unique protocol that sends messages to other devices and I'm making an application that parses the sent packets. Each packet carries 8 bytes. The protocol is ...
2
votes
3answers
603 views
How many bits' address is required for a computer with n bytes of memory?
How many bits of address is required (for the program counter for example) in a byte-addressed computer with 512 Mbyte RAM?
What does the formula look like?
How is this connected with the fact that ...
2
votes
1answer
414 views
Java default Integer value is int
My code looks like this
import java.util.Scanner;
public class StudentGrades {
public static void main(String[] argv)
{
Scanner keyboard = new Scanner(System.in);
byte q1 = ...
38
votes
12answers
3k views
Is there an alternative to bits?
Is there an alternative to bits as the smallest unit of data? Something that won't be only 0 or 1, but actually hold many possible states inbetween? Wouldn't it be more natural to store floats like ...
21
votes
5answers
2k views
What is the history of why bytes are eight bits?
What where the historical forces at work, the tradeoffs to make, in deciding to use groups of eight bits as the fundamental unit ?
There were machines, once upon a time, using other word sizes, ...
