Data Types in Computer Organization | Number Systems and Conversions | BCD & Alphanumeric | COA — Transcript
Full transcript
- 0:00Welcome to our channel. In this session,
- 0:02we will discuss the concept of data
- 0:04types in a computer organization.
- 0:07Simply, in digital computers, the
- 0:09information is stored in registers or
- 0:13memory as a binary information. Now, the
- 0:16registers are generally store two types
- 0:19of information. One is data information,
- 0:24and the second one is control
- 0:26information. So, here the bits that are
- 0:29present in the data used for calculation
- 0:33purpose. Similarly, the data that is
- 0:36present in the control information is
- 0:38used to control the operation of a
- 0:41computer. That is it is what we have to
- 0:45do. That is what is the next operation
- 0:47to be performed. Clear? Now, in
- 0:50registers, we are storing the data in
- 0:53three different ways. The three ways are
- 0:57The first one is numbers, which is used
- 1:00for arithmetic operations. And the next
- 1:03one is BCD, binary coded decimal, which
- 1:08is used to represent the decimal
- 1:10numbers. And the third one is
- 1:13alphanumeric.
- 1:14So, this representation here it is used
- 1:17to store the letters, characters, and
- 1:19symbols. Now, we will discuss how each
- 1:22type of information is stored in a
- 1:25register. First, coming to numbers. So,
- 1:28the generally the numbers is here the
- 1:30data that is used for arithmetic
- 1:33operation. Each number is associated
- 1:37with some base.
- 1:39So, what are the different types of
- 1:41numbers we are using? A decimal number
- 1:44system, the base is equal to 10. If the
- 1:48base is equal to 10, what are the
- 1:50possible digits? The possible digits are
- 1:520 to 9. How do you get the possible
- 1:55digits? Whatever the base, divide any
- 1:58number with 10. These are the possible
- 2:01remainders. Obviously, 0 to 9 are the
- 2:04possible digits. By using the
- 2:07combination of 0 to 9, you can make any
- 2:09large number. This is a decimal number.
- 2:12Now, binary number. So, the binary
- 2:15number, the base is equal to 2. The
- 2:18possible digits are 0 {comma} 1. And
- 2:22octal number, the base is equal to 8.
- 2:26The possible digits from 0 to 7. And the
- 2:30last one is hexadecimal representation.
- 2:34So, the base is equal to 6. 6 means 6,
- 2:37and decimal means 10. The total 60. So,
- 2:40total 16 in that sense. What are the
- 2:43possible value? 0 to 15. But, if 15 is
- 2:46possible to represent in decimal? No.
- 2:49That is the reason they are taking from
- 2:510 to 9. And 10 is represented as A. 11
- 2:56is represented as B. 12
- 2:5913
- 3:0114 and 15. Like this, 0 to 15 values are
- 3:05represented. These are the different
- 3:08number systems. Anyway, we can convert
- 3:10from one number to another number also.
- 3:13I think everyone know the basic
- 3:15conversion rules. For example, if you
- 3:17want to convert a decimal number into
- 3:20binary, assume the decimal number is on
- 3:2343.25.
- 3:25If this is the decimal number, how do
- 3:27convert into a binary?
- 3:30Simply, a repeated division of the
- 3:33integer part. Repeated division of the
- 3:35integer part with two. Why? I am
- 3:38converting into binary, so divide with a
- 3:41two. So, 221.
- 3:44The remainder is one. Okay? Two 10s are
- 3:4820, remainder is one. Two five, zero.
- 3:51Two two, four one. Two one.
- 3:55now that this binary for 43 is equal to
- 4:00in the reverse direction 101011.
- 4:05This is the binary. Similarly, for the
- 4:08fractional part repeated multiplication
- 4:11by two. So, 0.25
- 4:14into two, the answer is simply two fives
- 4:17are 10, two twos are four five 0. Again,
- 4:22multiply with two two zeros 1.0.
- 4:27Again, multiply with two.
- 4:31Again, multiply with two. So, no need.
- 4:33Why? We are already getting zero.
- 4:35Simply, what is the answer here? You are
- 4:37getting zero. Here, you are getting
- 4:39zero. Here, you are getting one. 001.
- 4:42This is the binary conversion. Suppose,
- 4:45if you want to convert a decimal number
- 4:47into octal, similar procedure. Divide
- 4:49with eight, multiply with eight.
- 4:51Hexadecimal, divide with 16, multiply
- 4:54with 16. Decimal to any conversion is
- 4:57integer part is division, fraction part
- 4:59is multiplication. For example, if you
- 5:02want to convert a binary number into
- 5:05octal, simply make a group of three
- 5:08bits. Assume this is my binary number.
- 5:12How do you think? Make a group of three
- 5:15bits. One, two, three. So, this number
- 5:18is six six seven. 667 is the octal
- 5:23representation. No confusion. For
- 5:25example, here only two bits are there.
- 5:28Always, we are divide from the left to
- 5:30right. For example, if this is my
- 5:32number,
- 5:34how? First two three bits, next three
- 5:36bits. Here, you assume there only two
- 5:38bits. No, include zero. If I add in zero
- 5:41at the left side, here there is no
- 5:43meaning. If you want to convert to to
- 5:46hexa, then a group of four bits. Uh, for
- 5:49example, take the same number.
- 5:52Group of first two four bits, second two
- 5:55four bits. Now, what is hexadecimal
- 5:56number? One. This value is 8 + 4 12, 12
- 6:00+ 1 13. That 13 is 10 11 12 13. That 13
- 6:05is a D 7. This is the hexadecimal
- 6:09representation. This is the first one
- 6:11number. What are the different bases?
- 6:14How do convert one format into another
- 6:16format? The second scenario is BCD,
- 6:21binary coded decimal. Generally, the BCD
- 6:25is used to represent the decimal number.
- 6:29So, the main thing, the BCD, it can
- 6:32store the digits from 0 to 9. There is a
- 6:35lot of difference between the binary and
- 6:38BCD. So, both binary and BCD are same up
- 6:43to 9 only. After 9, both are difference.
- 6:47Why? In BCD, each digit is represented
- 6:51separately. For example, I have a number
- 6:5470.
- 6:55Assume this is the what is the binary?
- 6:58So, the binary is equal to this one. 2 ^
- 7:010, 2 ^ 1, 2 ^ 2, 2 ^ 3, 2 ^ 4. So, this
- 7:04is my binary representation.
- 7:08Coming to BCD representation,
- 7:11the bi- BCD is one is represented like
- 7:15this, and seven is represented like
- 7:18this. Now, you got the difference? Each
- 7:20digit is represented separately. Not
- 7:23only for decimal, you can use For
- 7:25example, instead of binary coded
- 7:29decimal, you can write binary coded
- 7:32octal, also.
- 7:33For example, assume my decimal number is
- 7:36equal to some 50. What is the octal
- 7:39representation of 50? 50 is divided with
- 7:42eight. So, 8 * 6 are 48, remainder two.
- 7:46So, 62 is my octal representation. Now,
- 7:50what is the binary coded octal? Six is
- 7:53represented separately. So, the value of
- 7:58six is 110.
- 8:00Two, the value of two is 010.
- 8:04This is octal. That is the reason I am
- 8:07representing by using three bits. This
- 8:10is a binary coded octal. In a similar
- 8:13sense, we can represent a binary coded
- 8:16hexadecimal also. Suppose consider the
- 8:19same number 50. 50 is a divided with the
- 8:2216. 16 * 3 are 48. The remainder is two.
- 8:27So, the 32 is an hexadecimal number for
- 8:30decimal number 50. How we are
- 8:33represented in the binary coded hexa?
- 8:35Three is separately. What is the value
- 8:38of three? 11. But, it is hexa. Each one
- 8:41is represented with the four digits.
- 8:44Now, two. 0010.
- 8:47Now, this is a binary coded hexadecimal
- 8:50number. This is a binary coded decimal.
- 8:53This is a binary coded octal. That is we
- 8:56can represent each digit separately.
- 8:59Now, the last one is alphanumeric.
- 9:02So, the alphanumeric is used to store
- 9:06letters, characters, symbols. Each and
- 9:09every has some ASCII value. So, a
- 9:13standard notation, American Standard
- 9:15Code for Information Interchange, it
- 9:18uses seven bits. For example, if you
- 9:21have an alphabet A, how it is
- 9:23represented in the binary? The value of
- 9:26A is equal to 65 in decimal. This is
- 9:30represented as So, 2 ^ 0, 2 ^ 1, 2 ^ 2,
- 9:352 ^ 3, 2 ^ 4, 2 ^ 5 2 power 6. So 2
- 9:39power 6 value is 64. So the binary 1 0 0
- 9:430 0 0 1.
- 9:45In this the value of capital A is
- 9:48represented. For example, 0. Remember
- 9:51this is not 0. This is a character 0.
- 9:54The value of character 0 is 48. That is
- 9:57internally a value of 48 is stored for
- 10:00representing the character. How the 48?
- 10:0332
- 10:05plus 16. So 32 plus 16 48.
- 10:10That is in the system if anything that
- 10:13starts with a 011. That is considered as
- 10:16a numeric character. Like this,
- 10:18different types of data is available.
- 10:21The different types of data that is
- 10:23stored in the computer. That is the end
- 10:25of data types. Thank you.
About this transcript
This page contains the full transcript of Data Types in Computer Organization | Number Systems and Conversions | BCD & Alphanumeric | COA by T V Nagaraju Technical, generated from the public captions YouTube serves with the video. The transcript has 1,408 words across 208 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.