YouTube2Text

Data Types in Computer Organization | Number Systems and Conversions | BCD & Alphanumeric | COA — Transcript

by T V Nagaraju Technical · 1,408 words · 208 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Welcome to our channel. In this session,
  2. 0:02we will discuss the concept of data
  3. 0:04types in a computer organization.
  4. 0:07Simply, in digital computers, the
  5. 0:09information is stored in registers or
  6. 0:13memory as a binary information. Now, the
  7. 0:16registers are generally store two types
  8. 0:19of information. One is data information,
  9. 0:24and the second one is control
  10. 0:26information. So, here the bits that are
  11. 0:29present in the data used for calculation
  12. 0:33purpose. Similarly, the data that is
  13. 0:36present in the control information is
  14. 0:38used to control the operation of a
  15. 0:41computer. That is it is what we have to
  16. 0:45do. That is what is the next operation
  17. 0:47to be performed. Clear? Now, in
  18. 0:50registers, we are storing the data in
  19. 0:53three different ways. The three ways are
  20. 0:57The first one is numbers, which is used
  21. 1:00for arithmetic operations. And the next
  22. 1:03one is BCD, binary coded decimal, which
  23. 1:08is used to represent the decimal
  24. 1:10numbers. And the third one is
  25. 1:13alphanumeric.
  26. 1:14So, this representation here it is used
  27. 1:17to store the letters, characters, and
  28. 1:19symbols. Now, we will discuss how each
  29. 1:22type of information is stored in a
  30. 1:25register. First, coming to numbers. So,
  31. 1:28the generally the numbers is here the
  32. 1:30data that is used for arithmetic
  33. 1:33operation. Each number is associated
  34. 1:37with some base.
  35. 1:39So, what are the different types of
  36. 1:41numbers we are using? A decimal number
  37. 1:44system, the base is equal to 10. If the
  38. 1:48base is equal to 10, what are the
  39. 1:50possible digits? The possible digits are
  40. 1:520 to 9. How do you get the possible
  41. 1:55digits? Whatever the base, divide any
  42. 1:58number with 10. These are the possible
  43. 2:01remainders. Obviously, 0 to 9 are the
  44. 2:04possible digits. By using the
  45. 2:07combination of 0 to 9, you can make any
  46. 2:09large number. This is a decimal number.
  47. 2:12Now, binary number. So, the binary
  48. 2:15number, the base is equal to 2. The
  49. 2:18possible digits are 0 {comma} 1. And
  50. 2:22octal number, the base is equal to 8.
  51. 2:26The possible digits from 0 to 7. And the
  52. 2:30last one is hexadecimal representation.
  53. 2:34So, the base is equal to 6. 6 means 6,
  54. 2:37and decimal means 10. The total 60. So,
  55. 2:40total 16 in that sense. What are the
  56. 2:43possible value? 0 to 15. But, if 15 is
  57. 2:46possible to represent in decimal? No.
  58. 2:49That is the reason they are taking from
  59. 2:510 to 9. And 10 is represented as A. 11
  60. 2:56is represented as B. 12
  61. 2:5913
  62. 3:0114 and 15. Like this, 0 to 15 values are
  63. 3:05represented. These are the different
  64. 3:08number systems. Anyway, we can convert
  65. 3:10from one number to another number also.
  66. 3:13I think everyone know the basic
  67. 3:15conversion rules. For example, if you
  68. 3:17want to convert a decimal number into
  69. 3:20binary, assume the decimal number is on
  70. 3:2343.25.
  71. 3:25If this is the decimal number, how do
  72. 3:27convert into a binary?
  73. 3:30Simply, a repeated division of the
  74. 3:33integer part. Repeated division of the
  75. 3:35integer part with two. Why? I am
  76. 3:38converting into binary, so divide with a
  77. 3:41two. So, 221.
  78. 3:44The remainder is one. Okay? Two 10s are
  79. 3:4820, remainder is one. Two five, zero.
  80. 3:51Two two, four one. Two one.
  81. 3:55now that this binary for 43 is equal to
  82. 4:00in the reverse direction 101011.
  83. 4:05This is the binary. Similarly, for the
  84. 4:08fractional part repeated multiplication
  85. 4:11by two. So, 0.25
  86. 4:14into two, the answer is simply two fives
  87. 4:17are 10, two twos are four five 0. Again,
  88. 4:22multiply with two two zeros 1.0.
  89. 4:27Again, multiply with two.
  90. 4:31Again, multiply with two. So, no need.
  91. 4:33Why? We are already getting zero.
  92. 4:35Simply, what is the answer here? You are
  93. 4:37getting zero. Here, you are getting
  94. 4:39zero. Here, you are getting one. 001.
  95. 4:42This is the binary conversion. Suppose,
  96. 4:45if you want to convert a decimal number
  97. 4:47into octal, similar procedure. Divide
  98. 4:49with eight, multiply with eight.
  99. 4:51Hexadecimal, divide with 16, multiply
  100. 4:54with 16. Decimal to any conversion is
  101. 4:57integer part is division, fraction part
  102. 4:59is multiplication. For example, if you
  103. 5:02want to convert a binary number into
  104. 5:05octal, simply make a group of three
  105. 5:08bits. Assume this is my binary number.
  106. 5:12How do you think? Make a group of three
  107. 5:15bits. One, two, three. So, this number
  108. 5:18is six six seven. 667 is the octal
  109. 5:23representation. No confusion. For
  110. 5:25example, here only two bits are there.
  111. 5:28Always, we are divide from the left to
  112. 5:30right. For example, if this is my
  113. 5:32number,
  114. 5:34how? First two three bits, next three
  115. 5:36bits. Here, you assume there only two
  116. 5:38bits. No, include zero. If I add in zero
  117. 5:41at the left side, here there is no
  118. 5:43meaning. If you want to convert to to
  119. 5:46hexa, then a group of four bits. Uh, for
  120. 5:49example, take the same number.
  121. 5:52Group of first two four bits, second two
  122. 5:55four bits. Now, what is hexadecimal
  123. 5:56number? One. This value is 8 + 4 12, 12
  124. 6:00+ 1 13. That 13 is 10 11 12 13. That 13
  125. 6:05is a D 7. This is the hexadecimal
  126. 6:09representation. This is the first one
  127. 6:11number. What are the different bases?
  128. 6:14How do convert one format into another
  129. 6:16format? The second scenario is BCD,
  130. 6:21binary coded decimal. Generally, the BCD
  131. 6:25is used to represent the decimal number.
  132. 6:29So, the main thing, the BCD, it can
  133. 6:32store the digits from 0 to 9. There is a
  134. 6:35lot of difference between the binary and
  135. 6:38BCD. So, both binary and BCD are same up
  136. 6:43to 9 only. After 9, both are difference.
  137. 6:47Why? In BCD, each digit is represented
  138. 6:51separately. For example, I have a number
  139. 6:5470.
  140. 6:55Assume this is the what is the binary?
  141. 6:58So, the binary is equal to this one. 2 ^
  142. 7:010, 2 ^ 1, 2 ^ 2, 2 ^ 3, 2 ^ 4. So, this
  143. 7:04is my binary representation.
  144. 7:08Coming to BCD representation,
  145. 7:11the bi- BCD is one is represented like
  146. 7:15this, and seven is represented like
  147. 7:18this. Now, you got the difference? Each
  148. 7:20digit is represented separately. Not
  149. 7:23only for decimal, you can use For
  150. 7:25example, instead of binary coded
  151. 7:29decimal, you can write binary coded
  152. 7:32octal, also.
  153. 7:33For example, assume my decimal number is
  154. 7:36equal to some 50. What is the octal
  155. 7:39representation of 50? 50 is divided with
  156. 7:42eight. So, 8 * 6 are 48, remainder two.
  157. 7:46So, 62 is my octal representation. Now,
  158. 7:50what is the binary coded octal? Six is
  159. 7:53represented separately. So, the value of
  160. 7:58six is 110.
  161. 8:00Two, the value of two is 010.
  162. 8:04This is octal. That is the reason I am
  163. 8:07representing by using three bits. This
  164. 8:10is a binary coded octal. In a similar
  165. 8:13sense, we can represent a binary coded
  166. 8:16hexadecimal also. Suppose consider the
  167. 8:19same number 50. 50 is a divided with the
  168. 8:2216. 16 * 3 are 48. The remainder is two.
  169. 8:27So, the 32 is an hexadecimal number for
  170. 8:30decimal number 50. How we are
  171. 8:33represented in the binary coded hexa?
  172. 8:35Three is separately. What is the value
  173. 8:38of three? 11. But, it is hexa. Each one
  174. 8:41is represented with the four digits.
  175. 8:44Now, two. 0010.
  176. 8:47Now, this is a binary coded hexadecimal
  177. 8:50number. This is a binary coded decimal.
  178. 8:53This is a binary coded octal. That is we
  179. 8:56can represent each digit separately.
  180. 8:59Now, the last one is alphanumeric.
  181. 9:02So, the alphanumeric is used to store
  182. 9:06letters, characters, symbols. Each and
  183. 9:09every has some ASCII value. So, a
  184. 9:13standard notation, American Standard
  185. 9:15Code for Information Interchange, it
  186. 9:18uses seven bits. For example, if you
  187. 9:21have an alphabet A, how it is
  188. 9:23represented in the binary? The value of
  189. 9:26A is equal to 65 in decimal. This is
  190. 9:30represented as So, 2 ^ 0, 2 ^ 1, 2 ^ 2,
  191. 9:352 ^ 3, 2 ^ 4, 2 ^ 5 2 power 6. So 2
  192. 9:39power 6 value is 64. So the binary 1 0 0
  193. 9:430 0 0 1.
  194. 9:45In this the value of capital A is
  195. 9:48represented. For example, 0. Remember
  196. 9:51this is not 0. This is a character 0.
  197. 9:54The value of character 0 is 48. That is
  198. 9:57internally a value of 48 is stored for
  199. 10:00representing the character. How the 48?
  200. 10:0332
  201. 10:05plus 16. So 32 plus 16 48.
  202. 10:10That is in the system if anything that
  203. 10:13starts with a 011. That is considered as
  204. 10:16a numeric character. Like this,
  205. 10:18different types of data is available.
  206. 10:21The different types of data that is
  207. 10:23stored in the computer. That is the end
  208. 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.