This document discusses different data representation methods used in digital computers including data types, number systems, complements, fixed point representation, floating point representation, and overflow detection. It describes how binary, octal, decimal, and hexadecimal numbers are represented. It also explains signed magnitude representation, 1's complement, and 2's complement representations for negative integers. Floating point representation following the IEEE 754 standard is also summarized.
This is the second lesson of Computer and Network Technology subject of BCS HEQ Certificate Level exam.
Subject: Computer and Network Technology (CNT)
Chapter: Fundamentals
Lesson: Data Representation in Computers
This lesson discuss about how integers, floating point numbers and characters are handled by modern computers.
For more lessons please visit https://www.bcsonlinelectures.com website.
It's part of Computer Organization And Architecture .Data representation is how to data represented in computer by using complements of number , float point ,fix point, so it's
slide is useful
The manual introduces the reader to the logic of arithmetic operations in computers, the logics of Boolean and Zhegalkin, the logic of decomposition, research and minimization of Boolean functions, the logic of temporal and recurrent Boolean functions, the theory of automata and regular operations, and on their basis the logic of building various computers computer circuits. Considerable attention is paid to the correct application of precise notations, definitions, simplified proof of theorems, logic and algorithms for building computer circuits.
The binary number system and digital codes are fundamental to computers and to digital electronics in general. You will learn Binary addition, subtraction, multiplication, and Division.
index of all of the financial accounts in a company's general ledger. In shor...mayurjagdale4
index of all of the financial accounts in a company's general ledger. In short, it is an organizational tool that lists by category and line item all of the financial transactions that a company conducted during a specific accounting period
Computer Architecture refers to those attributes of a system that have a dire...mayurjagdale4
Computer Architecture refers to those attributes of a system that have a direct impact on
the logical execution of a program. Examples:
o the instruction set
o the number of bits used to represent various data types
o I/O mechanisms
o memory addressing techniques
This is the second lesson of Computer and Network Technology subject of BCS HEQ Certificate Level exam.
Subject: Computer and Network Technology (CNT)
Chapter: Fundamentals
Lesson: Data Representation in Computers
This lesson discuss about how integers, floating point numbers and characters are handled by modern computers.
For more lessons please visit https://www.bcsonlinelectures.com website.
It's part of Computer Organization And Architecture .Data representation is how to data represented in computer by using complements of number , float point ,fix point, so it's
slide is useful
The manual introduces the reader to the logic of arithmetic operations in computers, the logics of Boolean and Zhegalkin, the logic of decomposition, research and minimization of Boolean functions, the logic of temporal and recurrent Boolean functions, the theory of automata and regular operations, and on their basis the logic of building various computers computer circuits. Considerable attention is paid to the correct application of precise notations, definitions, simplified proof of theorems, logic and algorithms for building computer circuits.
The binary number system and digital codes are fundamental to computers and to digital electronics in general. You will learn Binary addition, subtraction, multiplication, and Division.
index of all of the financial accounts in a company's general ledger. In shor...mayurjagdale4
index of all of the financial accounts in a company's general ledger. In short, it is an organizational tool that lists by category and line item all of the financial transactions that a company conducted during a specific accounting period
Computer Architecture refers to those attributes of a system that have a dire...mayurjagdale4
Computer Architecture refers to those attributes of a system that have a direct impact on
the logical execution of a program. Examples:
o the instruction set
o the number of bits used to represent various data types
o I/O mechanisms
o memory addressing techniques
Book Formatting: Quality Control Checks for DesignersConfidence Ago
This presentation was made to help designers who work in publishing houses or format books for printing ensure quality.
Quality control is vital to every industry. This is why every department in a company need create a method they use in ensuring quality. This, perhaps, will not only improve the quality of products and bring errors to the barest minimum, but take it to a near perfect finish.
It is beyond a moot point that a good book will somewhat be judged by its cover, but the content of the book remains king. No matter how beautiful the cover, if the quality of writing or presentation is off, that will be a reason for readers not to come back to the book or recommend it.
So, this presentation points designers to some important things that may be missed by an editor that they could eventually discover and call the attention of the editor.
Maximize Your Content with Beautiful Assets : Content & Asset for Landing Page pmgdscunsri
Figma is a cloud-based design tool widely used by designers for prototyping, UI/UX design, and real-time collaboration. With features such as precision pen tools, grid system, and reusable components, Figma makes it easy for teams to work together on design projects. Its flexibility and accessibility make Figma a top choice in the digital age.
Between Filth and Fortune- Urban Cattle Foraging Realities by Devi S Nair, An...Mansi Shah
This study examines cattle rearing in urban and rural settings, focusing on milk production and consumption. By exploring a case in Ahmedabad, it highlights the challenges and processes in dairy farming across different environments, emphasising the need for sustainable practices and the essential role of milk in daily consumption.
Hello everyone! I am thrilled to present my latest portfolio on LinkedIn, marking the culmination of my architectural journey thus far. Over the span of five years, I've been fortunate to acquire a wealth of knowledge under the guidance of esteemed professors and industry mentors. From rigorous academic pursuits to practical engagements, each experience has contributed to my growth and refinement as an architecture student. This portfolio not only showcases my projects but also underscores my attention to detail and to innovative architecture as a profession.
Transforming Brand Perception and Boosting Profitabilityaaryangarg12
In today's digital era, the dynamics of brand perception, consumer behavior, and profitability have been profoundly reshaped by the synergy of branding, social media, and website design. This research paper investigates the transformative power of these elements in influencing how individuals perceive brands and products and how this transformation can be harnessed to drive sales and profitability for businesses.
Through an exploration of brand psychology and consumer behavior, this study sheds light on the intricate ways in which effective branding strategies, strategic social media engagement, and user-centric website design contribute to altering consumers' perceptions. We delve into the principles that underlie successful brand transformations, examining how visual identity, messaging, and storytelling can captivate and resonate with target audiences.
Methodologically, this research employs a comprehensive approach, combining qualitative and quantitative analyses. Real-world case studies illustrate the impact of branding, social media campaigns, and website redesigns on consumer perception, sales figures, and profitability. We assess the various metrics, including brand awareness, customer engagement, conversion rates, and revenue growth, to measure the effectiveness of these strategies.
The results underscore the pivotal role of cohesive branding, social media influence, and website usability in shaping positive brand perceptions, influencing consumer decisions, and ultimately bolstering sales and profitability. This paper provides actionable insights and strategic recommendations for businesses seeking to leverage branding, social media, and website design as potent tools to enhance their market position and financial success.
Storytelling For The Web: Integrate Storytelling in your Design ProcessChiara Aliotta
In this slides I explain how I have used storytelling techniques to elevate websites and brands and create memorable user experiences. You can discover practical tips as I showcase the elements of good storytelling and its applied to some examples of diverse brands/projects..
Can AI do good? at 'offtheCanvas' India HCI preludeAlan Dix
Invited talk at 'offtheCanvas' IndiaHCI prelude, 29th June 2024.
https://www.alandix.com/academic/talks/offtheCanvas-IndiaHCI2024/
The world is being changed fundamentally by AI and we are constantly faced with newspaper headlines about its harmful effects. However, there is also the potential to both ameliorate theses harms and use the new abilities of AI to transform society for the good. Can you make the difference?
3. Data Types
Binary information in digital computers is stored in
memory or registers.
The data types found in digital registers or memory
is classified as one of the following types:
Numbers used in arithmetic computation
Letters of alphabets used in data processing
Other symbols used for specific purpose
4. Data Types
A number system of base or radix (r) is a system that
uses distinct symbols for r digits
Binary ->0,1
Octal->0,1,2,3,4,5,6,7
Decimal->0,1,2,3,4,5,6,7,8,9
Hexadecimal->0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
11. Data Types
Many application of digital computers require the
handling of data that consists not only of numbers
but also letters of alphabets and certain special
characters.
The standard alphanumeric binary code is
ASCII(American Standard code for Information
Interchange)which uses 7 bits to code 128 characters.
13. Complements
Complements are used in digital computers for
simplifying the subtraction operation.
There are two types of complement for base r-system
(r-1)’s complement
r’s complement
14. Complements
Let’s suppose a given number N in base r having n
digits, the (r-1)’s complement of N is defined as
(r^n-1)-N.
(r-1)’s complement can be achieved as:
Subtracting each digit from 9(for decimal)
Subtracting each digit from 1(for binary)
Subtracting each digit from 7(for octal)
Subtracting each digit from F(15)(for hexadecimal)
15. Complements
r’s complement of n-digit number N in base r is
defined as r^n-N
r^n-N = (r^n-1)-N+1 = (r-1)’s complement + 1
19. Fixed Point Representation
Sign bit placed in the leftmost position of the
number determine if the number is positive or
negative. It is 1 for negative and o for positive.
In addition to sign bit a number may have decimal or
binary point. There are two ways of specifying the
position of the binary point in register.
By giving it fixed position
By employing floating point representation
20. Fixed Point Representation
The fixed point assumes one of the following case:
Binary point in the extreme left to make stored number
fraction .
Binary point in extreme right to make the stored number an
integer
Floating point representation uses the second
register to store a number that designates the
position of the binary point.
21. Fixed Point Representation
When an integer binary number is positive, sign is
represented by o and magnitude by positive binary
number.
When it is negative sign bit is represented by 1 and
rest of the number can be represented in one of the
following ways:
Signed-Magnitude Representation
Signed-1’s Complement Representation
Signed-2’s Complement Representation
22. Fixed Point Representation
There is only one way to represent +14(0 0001110) in
8-bit register.
There are 3 different ways to represent -14 with 8
bits:
Signed Magnitude Representation: 1 0001110
Signed 1’s Complement Representation: 1 1110001
Signed 2’s Complement Representation: 1 1110010
23. Fixed Point Representation
The 1’s complement imposes difficulties because it
has two representation of 0(+0[0000] and -0[1111]).
It is seldom used in arithmetic operation except in
some older compilers.
It is useful in logical operation since change from 1to
0, 0 to 1 is equivalent to logical complement
function.
25. Fixed Point Representation
Sometime there is need to convert the data from one
bit length to another(4 bit to 8 bit etc.)
This conversion is very simple to apply in case of
signed magnitude representation, just shifting of the
signed bit is required.
But this method won’t be applicable in case of signed
2’complement.
In the case of 2’s complement representation, the
process called sign extension is implemented.
29. Arithmetic Addition
Adding the numbers in signed 2’s complement
system require only addition and complementation.
Add the two numbers, including their sign bits.
Discard any carry out of the sign(leftmost) bit position.
Note:
Negative numbers must initially be in 2’s complement and
if the sum obtained after the addition is negative it is in 2’s
complement form.
31. Arithmetic Subtraction
2’s complement subtraction includes following steps:
Take the 2’s complement of number to be subtracted including
the sign bit.
Add it the next number.
Discard the carry out of the sign bit position
33. Floating Point Representation
With a fixed point notation it is possible to represent
a range of positive and negative integers centered on
0.
This approach has limitation. Very large nor can very
small fractions can be represented.
In decimal numbers we use scientific notation to
represent very large and very small numbers.
Same approach can be used to represent binary
numbers.
36. Floating Point Representation
Left most bit stores the sign of the number
The exponent value is stored in the next 8 bits using
the biased representation.
In this representation, to obtain the actual exponent
a value called bias subtracted is subtracted from the
field.
Typical value for bias is 2^(k-1)-1 where k is the
number of bits.
In this case biased value is 127.
37. Floating Point Representation
Final 23 bits portion is significand or mantissa.
To simplified the operation, it is required that it is
normalized. For our example a normalized nonzero
number is one in the form.
Where b is either 0 or 1
39. Floating Point Representation
Floating point representation is defined in IEEE
Standard 754.
It defines both 32 bit single and 64 bit double format
with 8-bit and 16 bit exponent.
40. Overflow
When two numbers of n digits each are added and
sum occupies (n+1) digits, we say that an overflow
occur.
In many computers when overflow occurs,
corresponding flag is set which is later checked by
the user.
When two unsigned numbers are added, an overflow
is detected from the end carry out of the most
significant position.
41. Overflow
In case of signed number overflow condition can be
detected by observing the carry into the sign bit
position and carry out of the sign bit position.
If these two carries aren’t equal, an overflow
condition is produced.
If two carries are applied to exclusive-OR gate, an
overflow will be detected when output of the gate is
equal to 1.