answersLogoWhite

0


Best Answer

For: Using a single bit instead of an entire byte will conserve memory

Against: Processors to have addresses for single bits. So up to 8 Booleans values can be combined into a single byte, which means bit-wise arithmetic to separate the separate values. Although this conserves memory, it takes more time (CPU time) to deal with.

User Avatar

Fahim Shahoriar

Lvl 2
2y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

As single bits you could store 8 boolean values per byte, however you would have to use a logical mask to read them.
There are circumstances where this is preferable and the proccess is referred to as a flag register.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the arguments for and against representing boolean values as single bits of memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the arguments for and against representing Boolean values as single bits in memory?

for: faster, better readability against: memory isn't used optimally


What are arguments for and against representing Boolean values as single bits in memory?

for: faster, better readability against: memory isn't used optimally


How is Boolean helpful in Internet searching?

It;s a powerful 3gig 4bit memory search engine FTW!


Which god has two ravens representing thought and memory sitting on his shoulders?

Odin


Why is Boolean logic important in computer science?

Boolean logic can be thought of as "0 and 1" logic, or "True or False" logic. Boolean math started out as "True or False" expressions. In computers, the bits stored in memory are interpreted as either a '0' or a '1' (binary numbers). Computer scientists (usually, though you can prove out the concept either way) map '0' = FALSE and '1' = 'TRUE', and thus the operations and decisions made in a computer can be expressed/evaluated as Boolean logic/math expressions.


The int data type requires more memory than the double data type?

No, the int variable uses less memory, and therefore it is preferable to use an int rather than a double where you can.A boolean variable uses even less memory, but obviously is useful only in limited circumstances.


What primitive data types can normally be represented and processed by a CPU?

The primitive data types that can normally be represented and processed by a CPU are an integer, real number, character, Boolean, and memory address


The republican practice of invoking the memory of the Civil War against Southerners and Democrasts was known as?

The Campaign of Memory


What are the two basic ways in representing linear structures in memory?

Data structures are classified as either linear or non linear, a data structure is said to be linear if its elements form a sequence, or, in other words, a linear list, there are two basic ways of representing such linear structures in memory, one way is to have the linear relationship between the elements represented by means of sequential memory locations, these linear structures are called arrays, the other way is to have the linear relationship between the elements represented by means of pointers or links, these linear structures are called linked lists.


How many characters can be taken as command line arguments?

Platform dependent. Many in unix, few in WinDos.


What is system bank schema?

A bank schema system has columns and rows representing the system memory sockets. Independent sockets are shown in rows and banks of sockets are shown in columns. It is a way to diagram memory configurations.


How can you use pen drive in ps2 against memory card?

No. Sorry. Maybe if you mode it.