YouTube2Text

Tema tecnología 09: Sistemas informáticos: estructura, elementos componentes — Transcript

by Mardecuriosidad · 8,826 words · 1,379 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Good evening and welcome to another
  2. 0:03night of curiosity. Welcome to topic
  3. 0:06number nine, technology. Remember, we
  4. 0:10are doing the syllabus for preparing
  5. 0:13for secondary school exams in the
  6. 0:16specialty of technology. So, well,
  7. 0:18first of all, greetings to the people
  8. 0:20we have here today. There are very few
  9. 0:22people here, we started very, very late
  10. 0:24, so greetings to the incombustible
  11. 0:26Víctor Carrera, who today, although
  12. 0:28this is topic nine, since this is a
  13. 0:30review of the syllabus, has already
  14. 0:32seen all the topics, including the
  15. 0:34previous 71. So welcome, and also
  16. 0:36welcome to Noya de Vidre who is here
  17. 0:38enjoying the live broadcast with us. So
  18. 0:41welcome and welcome to all of you who
  19. 0:43are watching us from YouTube, where we
  20. 0:46have placed the 71 topics in the
  21. 0:49playlist of the syllabus for the exams.
  22. 0:52So, well, today we are going to talk
  23. 0:54about topic nine, computer systems,
  24. 0:56structure, elements, components and
  25. 0:58their function as a whole, programs,
  26. 1:01types and characteristics. So, let's
  27. 1:03get straight to it. Let's get started.
  28. 1:07Very good. Here we have Mario's
  29. 1:10presentation. So, come on, let's get to
  30. 1:16it. As I was saying, computer science
  31. 1:18topics, and today's topic is simple,
  32. 1:21okay? We're going to look at computer
  33. 1:23systems, structure, elements,
  34. 1:24components, and their function as a
  35. 1:26whole. The structure, elements, and
  36. 1:30their function as a whole, which would
  37. 1:33be the CPU, memory, inputs and outputs,
  38. 1:36buses, motherboard, chassis, and power
  39. 1:39supply, peripherals, and there we would
  40. 1:43have the various components. Then the
  41. 1:47programs, types and characteristics,
  42. 1:50components and functions in an
  43. 1:52educational system, I mean, sorry, in
  44. 1:54an operating system, calls to the
  45. 1:56operating system, interruptions and
  46. 1:59exceptions, and then the characteristic
  47. 2:01. Okay? With this we would basically
  48. 2:03have the entire syllabus. Very good. As
  49. 2:10always, in these new revisions of the
  50. 2:12syllabus, you can see that the intro is
  51. 2:13quite similar. It says, "The subject of
  52. 2:15technology contributes to responding to
  53. 2:18the needs of citizens in the face of
  54. 2:19the technological challenges and
  55. 2:21challenges posed by today's society,
  56. 2:23especially the growing digitalization.
  57. 2:25Thus, this subject serves as a basis
  58. 2:27not only for understanding social
  59. 2:29evolution, but also for being able to
  60. 2:31act with technical, scientific and
  61. 2:32ethical criteria in the exercise of
  62. 2:34responsible and active citizenship."
  63. 2:36Wait a moment, I have to correct this.
  64. 2:39I got it wrong. Okay. Okay. Very good.
  65. 2:46Uh, very good. Using the generation of
  66. 2:51knowledge as a driver of development
  67. 2:52and encouraging the participation of
  68. 2:54students on an equal basis with a
  69. 2:56comprehensive vision of technology,
  70. 2:58highlighting its social aspect. Because
  71. 3:01we have to understand that technology
  72. 3:02has a great social use. It says, "
  73. 3:04Computer systems accompany the daily
  74. 3:06life of our society at the end of the
  75. 3:0820th century. They have evolved
  76. 3:11exponentially in the last 40 years and
  77. 3:13have become fundamental tools for the
  78. 3:15development of most of the activities
  79. 3:17we carry out, both in professional
  80. 3:19practice and in education and praise.
  81. 3:22For example, what you would be watching
  82. 3:24right now, which would be a video or
  83. 3:26live broadcast, would be precisely what
  84. 3:30would be computing." It says, "The
  85. 3:32presence of computers and digital
  86. 3:35devices, smartphones, tablets and any
  87. 3:37other device is common in our daily
  88. 3:39lives and the knowledge, development
  89. 3:42and use of them is key to technology,
  90. 3:44the economy and social development." It
  91. 3:47says, "This topic aims to review the
  92. 3:49characteristics that govern most
  93. 3:51information processing systems and to
  94. 3:55show the structure and the most common
  95. 3:57elements of digital devices. To do this
  96. 4:00, it will first explain what a computer
  97. 4:03system consists of, along with its
  98. 4:06structure and basic operation. And
  99. 4:09secondly, it will describe how the
  100. 4:12structures of computer systems are
  101. 4:14configured. And finally, we'll talk
  102. 4:17about the programming part that makes
  103. 4:19these systems work. Okay, very good. I
  104. 4:23think we already have a slightly
  105. 4:25clearer idea here. Very good. It says,"
  106. 4:29Computer systems, structure elements,
  107. 4:32components and their function in the
  108. 4:34whole. "Okay, let's get a little bit up
  109. 4:37to date. Let's see, very good. It says,
  110. 4:40" A computer system, a computer system
  111. 4:43is a set of three fundamental
  112. 4:44components that allow information to be
  113. 4:47processed and stored. These components
  114. 4:49are hardware, the physical part,
  115. 4:51software, a set of programs, and
  116. 4:53personnel. We can define computer
  117. 4:56systems as sets of techniques that
  118. 4:59allow us to store and guarantee the
  119. 5:01security of information through digital
  120. 5:04systems. A digital system is any device
  121. 5:07designed to generate, transmit, process
  122. 5:10, or store digital signals. Remember,
  123. 5:14not all computers are digital; some
  124. 5:17computers are analog, okay? But most
  125. 5:24computers that we use today, except for
  126. 5:27very, very technical matters, are
  127. 5:29digital. The following sections will
  128. 5:32describe the general structure of
  129. 5:34microprocessor-based information
  130. 5:36processing systems, focusing on the
  131. 5:38characteristics of personal computers,
  132. 5:40since they have the most common
  133. 5:42structure, what they are used for, and
  134. 5:45because they serve as a reference for
  135. 5:47other computers, the structure of a
  136. 5:49computer. Basically, we have a figure
  137. 5:52here that explains it to us. It says, "
  138. 5:54Enter the information to enter the data
  139. 5:57." What will it do? First, it will
  140. 5:59process the data, organize it, store it
  141. 6:02, transform it, and then receive output
  142. 6:05information. Output information. Okay?
  143. 6:08And these will be the ones that come to
  144. 6:10us. Very good. It says, "The first step
  145. 6:12is to enter the input information and
  146. 6:15receive the processed data output
  147. 6:16information. This is done through the
  148. 6:20input and output system, right? Which
  149. 6:23manages, establishes, and maintains the
  150. 6:25relationship of the system with the
  151. 6:27outside world, understood as the
  152. 6:28peripheral elements that are not basic
  153. 6:30elements of the system. Very good. It
  154. 6:35says," Data processing takes place in
  155. 6:38the central processing unit, the CPU,
  156. 6:41okay? Which is the fundamental part of
  157. 6:44the system. Its function is to
  158. 6:46interpret and execute instructions,
  159. 6:48perform calculations, make logical
  160. 6:50decisions, data operations, etc. It
  161. 6:52says from now on it will be referred to
  162. 6:55by its English acronym, the CPU, okay?
  163. 6:58Central process unit, uh, because it is
  164. 7:00the most used term, CPU, because we
  165. 7:03have the memory, which is where we will
  166. 7:05store the information, okay? And the
  167. 7:08buses, which are the subsets of
  168. 7:10communication lines. It is the
  169. 7:11information that goes in and out of
  170. 7:13each of the sites through the
  171. 7:15communication channels. Very good, it
  172. 7:17says, "All the aforementioned elements
  173. 7:20are supported by a rigid support. This
  174. 7:22is the motherboard, which in turn is
  175. 7:25usually housed inside a box that will
  176. 7:28normally be a fairly large box like the
  177. 7:32one you have for your desktop computers
  178. 7:35. A very, very small box like the one
  179. 7:37for shipping. Well, this also includes
  180. 7:41the power supply. Laptops, for example,
  181. 7:43the power supply is on the outside of
  182. 7:45the case. Okay? We have to take that
  183. 7:48into account. And it says how the set
  184. 7:50of connectors to facilitate the
  185. 7:52connection of peripherals. In the
  186. 7:54following sections we are going to
  187. 7:56discuss all of these elements. It says,
  188. 7:58" Okay, let's discuss each of the
  189. 8:00elements and their function as a whole
  190. 8:02one by one. "It says," The CPU can be a
  191. 8:04single chip or a series of chips that
  192. 8:06perform arithmetic and logic
  193. 8:08calculations and that time and control
  194. 8:10the operations of the other elements of
  195. 8:12the system. "It says," Integration
  196. 8:14techniques have made it possible to
  197. 8:17develop a CPU chip called a
  198. 8:19microprocessor that incorporates
  199. 8:21additional functions and memory, okay?
  200. 8:24Typically, the microprocessor has both
  201. 8:26functions and memory. "It says,"
  202. 8:28Usually, the central processing unit is
  203. 8:31gated and composed of several
  204. 8:33fundamental sections. The first would
  205. 8:36be the arithmetic logic unit that
  206. 8:38provides the chip with its computing
  207. 8:41capacity and allows the performance of
  208. 8:44arithmetic logic operations. Very good.
  209. 8:49Then we have the registers which are
  210. 8:51temporary storage areas that contain
  211. 8:54data, keep track of instructions and
  212. 8:56maintain the location and results of
  213. 8:59said operations. Then we have the
  214. 9:02control section. Very good. What is the
  215. 9:12control section? It says it has the
  216. 9:14task of timing and regulating the
  217. 9:16operations of the entire computer
  218. 9:18system. Its instruction decoder reads
  219. 9:20the data configurations in the
  220. 9:22designated register and converts them
  221. 9:24into an activity. Then we have modern
  222. 9:30microprocessors have specialized memory
  223. 9:32sections called cache memories that
  224. 9:35serve to speed up the process, well,
  225. 9:37access to external memory or
  226. 9:39peripherals, okay? It will be what will
  227. 9:42allow us to better exchange information
  228. 9:44. It says, "Due to its length, I will
  229. 9:46try to explain the possible
  230. 9:48classifications of existing
  231. 9:49microprocessors, as well as detail the
  232. 9:51internal structure of the different
  233. 9:53generations of microprocessors that
  234. 9:55compete in the market, it's impossible.
  235. 9:58" Okay? Today, for example, I think we
  236. 10:01were today, in June 2022, I think we
  237. 10:05were on the 14 series of Intel. Uh, for
  238. 10:10example, in motherboards, uh, I don't
  239. 10:12even know where we're going. I'm pretty
  240. 10:15lost, but anyway, there's a number of
  241. 10:17components that is basically
  242. 10:18overwhelming. Okay. Uh, he says, "
  243. 10:23Because of its size, trying to explain.
  244. 10:25" Well, as we have already said,
  245. 10:28therefore, the scope of this
  246. 10:30presentation is limited to some
  247. 10:32characteristics and magnitudes related
  248. 10:34to processors, well, to microprocessors
  249. 10:36that significantly affect the rest of
  250. 10:39the elements that make up the computer.
  251. 10:42Very well, it says clock frequency.
  252. 10:44This is a quantitative factor that
  253. 10:47indicates the speed of the
  254. 10:49microprocessor's process. It normally
  255. 10:52originates from a quartz crystal that,
  256. 10:54when a certain voltage is applied,
  257. 10:57begins to vibrate, to oscillate at a
  258. 10:59certain frequency. This allows us to
  259. 11:02count time. The oscillator is usually a
  260. 11:06circuit external to the microprocessor
  261. 11:10implemented directly on the motherboard
  262. 11:12or integrated into some other circuit.
  263. 11:14Many times, current cycles can also be
  264. 11:17counted because we know that the
  265. 11:19current is very, very stable, etc.,
  266. 11:21etc. In other words, there are many
  267. 11:23ways to accurately count time. It says,
  268. 11:26"The machine instructions accepted by
  269. 11:28the microprocessor are broken down into
  270. 11:30a succession of operations, and each
  271. 11:36one of them consumes a certain number
  272. 11:38of clock cycles. Good evening, Aranzazu
  273. 11:42, welcome. Alright, alright, don't
  274. 11:45worry, we're almost empty today. You
  275. 11:47can practically sit in the front row."
  276. 11:49It says, the higher the clock frequency
  277. 11:52, the shorter the time it takes to
  278. 11:54execute the instructions in a program.
  279. 11:57Very good. It says, instruction
  280. 11:59parallelism. It says in a generic way,
  281. 12:01instruction parallelism consists of
  282. 12:04breaking the sequential execution of
  283. 12:06instructions, one after the other in
  284. 12:09time, to simultaneously execute several
  285. 12:15at the same time. This has been
  286. 12:17achieved throughout the different
  287. 12:19generations of integration by
  288. 12:20incorporating, well, additional
  289. 12:24processing units and more register
  290. 12:26banks. There are different ways to
  291. 12:29exploit parallelism. For example, if we
  292. 12:31talk about, well, we have an
  293. 12:33eight-thread microprocessor, right?
  294. 12:35Which allows eight threads to
  295. 12:37communicate simultaneously. Hm. Well,
  296. 12:40it says, come on, let's see.
  297. 12:42Segmentation. It says, "The process of
  298. 12:44executing an instruction is divided
  299. 12:47into n stages of similar duration, well
  300. 12:49, I don't know, a stage that lasts 2
  301. 12:52microseconds with the aim of processing
  302. 12:54n instructions simultaneously. Each
  303. 12:57instruction is in a different execution
  304. 13:00stage. The microprocessor needs n
  305. 13:03functional units working at the same
  306. 13:05time." He says, "Then we have
  307. 13:07superscalarity. An n-factor superscalar
  308. 13:10processor is one that duplicates the
  309. 13:12circuitry of some of its functional
  310. 13:15units n times in order to be able to
  311. 13:17execute the same NCU simultaneously in
  312. 13:21its respective computation stages. Then
  313. 13:23we have supersegmentation. He says,"
  314. 13:26It's a mix of the two previous ones. A
  315. 13:28segmented processor has duplicated
  316. 13:31functional units to execute several
  317. 13:34instructions in parallel. And these
  318. 13:37units are also segmented, so the number
  319. 13:40of instructions that can be executed is
  320. 13:42multiplied after a certain number of
  321. 13:44cycles. That would basically be the
  322. 13:47trick. "He says," Parallelism allows
  323. 13:49many instructions to be executed
  324. 13:51simultaneously, but such execution is
  325. 13:53done in a pre-established order. This
  326. 13:56concept should not be confused with
  327. 13:58multiprogramming. It consists of
  328. 14:00carrying out several different tasks
  329. 14:02simultaneously. What this does is
  330. 14:04organize how we manage information.
  331. 14:09Okay? What else do we have? Well, we
  332. 14:11have the integrated cache memory. "He
  333. 14:13says," It is normal to pay great
  334. 14:15attention to the number and quantity of
  335. 14:17instructions that are processed per
  336. 14:19unit of time. "He says," However,
  337. 14:21inside the processor, many more data
  338. 14:24accesses take place than actual
  339. 14:26operations. Many times, to perform an
  340. 14:29operation, the same data has to be
  341. 14:31moved eight times throughout the
  342. 14:33circuit. He says, "As a general rule,
  343. 14:36reading or writing data to memory is
  344. 14:39usually a much slower process than
  345. 14:41performing an operation. That is,
  346. 14:43taking data, moving it to a location,
  347. 14:46erasing where the data was taken from,
  348. 14:48trusting that the new data is written
  349. 14:51correctly, and so on, checking it, is
  350. 14:53slow. The term cache is an Anglicism
  351. 14:56that refers to fast-access memory. The
  352. 14:59goal is for the data that is going to
  353. 15:01be operated on to be available at the
  354. 15:04time of its execution. So,
  355. 15:06microprocessors integrate a series of
  356. 15:08fast-access memory units that optimize
  357. 15:11execution time. This is the move of the
  358. 15:13century, right? In other words, if I am
  359. 15:15going to work with this data and I know
  360. 15:17that I am going to need it, I am going
  361. 15:19to leave it nearby. I am going to leave
  362. 15:25it on a shelf that I can easily control
  363. 15:27, that I have quick access to." He says
  364. 15:30, "The drawbacks lie in how to ensure
  365. 15:32that this small portion of memory finds
  366. 15:35the data that is required for each
  367. 15:37operation, which is the slightly more
  368. 15:42complicated part. Okay. He says," I
  369. 15:48remember that in this topic someone
  370. 15:49explained to us that it was faster and
  371. 15:51safer to manage data in series rather
  372. 15:52than in parallel. "Yes. Uh, yes. I
  373. 15:54think we discussed it. The problem with
  374. 15:57this, I think it was Victor or
  375. 15:59Despertafer, I don't remember exactly
  376. 16:02now, who told us: that putting the data
  377. 16:05online was safer than starting to play
  378. 16:07with all the data simultaneously and
  379. 16:10recording, writing, rewriting, erasing
  380. 16:12a lot of data at the same time. Well,
  381. 16:15let's see, it's like working on an
  382. 16:17online job, because you'll probably
  383. 16:19make fewer mistakes than if all the
  384. 16:21jobs come to you simultaneously in a
  385. 16:24bunch of lines. But anyway, he says
  386. 16:26that it's normal to talk about success
  387. 16:28when an operation is performed with
  388. 16:30data that's in the cache and failure
  389. 16:32when the processor has tried to perform
  390. 16:34an operation and the data wasn't
  391. 16:36available in the cache, like," Oh, I
  392. 16:38couldn't find it, I have to do it again
  393. 16:40. "He says, on the other hand, a large
  394. 16:45cache size isn't good for several
  395. 16:47reasons. It loses speed. That is, if my
  396. 16:50fast-access shelf becomes huge, I have
  397. 16:52to go through that entire shelf again
  398. 16:55and again, and it becomes slower and
  399. 16:57slower. This process is not operational
  400. 17:00and increases the cost, but not the
  401. 17:02performance. And it has been proven
  402. 17:05that it is more appropriate to have
  403. 17:07several nested or complementary
  404. 17:09internal memory areas, such as area A,
  405. 17:12area B, area C, you know? It says," The
  406. 17:22levels of memory internal to the
  407. 17:24processor give rise to a hierarchy
  408. 17:27based on their proximity to their
  409. 17:29execution core. They can usually be
  410. 17:31distinguished by their different levels
  411. 17:32. First, we have the register bank, it
  412. 17:35says, which stores the data that is
  413. 17:37going to be processed immediately or
  414. 17:39the results obtained from an operation.
  415. 17:41"It says," Prefetch buffer for
  416. 17:44instructions or data. "It says," The
  417. 17:47simultaneous execution of several
  418. 17:49instructions requires the existence of
  419. 17:52some mechanism that supplies the
  420. 17:54instructions at the rate at which the
  421. 17:56processor executes them. Then we have
  422. 18:01the first-level cache, which is usually
  423. 18:04separated into two parts, one for data
  424. 18:06and one for instructions. And then we
  425. 18:09have the second-level cache, which
  426. 18:11would be a larger, more voluminous
  427. 18:13cache, okay? It is a cachet, therefore
  428. 18:15slower. It says, "It stores more
  429. 18:17information, but it is also slower than
  430. 18:19the previous one. It is usually
  431. 18:21integrated into the microprocessor or
  432. 18:23connected externally. Uh, it has been
  433. 18:26forced lately by the evolution of
  434. 18:28computer applications based on the
  435. 18:30massive use of data external to the
  436. 18:32microprocessor. In other words, since
  437. 18:34operations now take up a lot of space,
  438. 18:37of course, we need to have memory very
  439. 18:39close to the microprocessor. We can't
  440. 18:41be working with very, very small data.
  441. 18:44We need at least a processor, I don't
  442. 18:46know, of 64 bits, for the cache to be
  443. 18:47huge. Very good. Come on, let's talk
  444. 18:50about memory. Let's see. Very good,
  445. 18:57very good. Okay, it says memory.
  446. 18:59Depending on the characteristics of the
  447. 19:01microprocessor, its level of
  448. 19:03segmentation or the intended use of the
  449. 19:05computer, there may be more cache
  450. 19:07levels, either internal or external.
  451. 19:12Either internal or external to the
  452. 19:14microprocessor itself, organized in a
  453. 19:17certain order until reaching the main
  454. 19:19memory. Certain parameters of
  455. 19:22functionality and performance related
  456. 19:24to the main memory of the computer,
  457. 19:26well, of computers are the size, which
  458. 19:28is the parameter that describes the
  459. 19:30functionality of the memory, it
  460. 19:32measures the total amount of
  461. 19:33information that it is capable of
  462. 19:35storing. The most common unit of memory
  463. 19:38is the Megabyte, which has 1024 by 1024
  464. 19:41bytes. The minimum unit of information
  465. 19:44is the bit. A bit admits two values, 0
  466. 19:47and 1, true and false, on, off, okay?
  467. 19:50While a byte is the set of 8 bits. He
  468. 19:54says," Regarding performance, the
  469. 19:55parameters that best quantify memory
  470. 19:57are the following. The first would be
  471. 19:59latency, which is the memory access
  472. 20:01time. It characterizes the delay
  473. 20:04associated with a data query. It is
  474. 20:06normally measured by the response time.
  475. 20:09Time elapsed from when the chip
  476. 20:11receives the address of a cell until it
  477. 20:14returns the data found in it. In
  478. 20:16segmented designs, latency is measured
  479. 20:18by the cycle time, which is the time
  480. 20:20elapsed between the acceptance of two
  481. 20:22consecutive addresses. That is, from
  482. 20:24when I told you, "Go get this," you
  483. 20:27know? until I can send you to fetch the
  484. 20:29next piece of data. That would be the
  485. 20:31cycle time. Okay, latency is how long
  486. 20:33it takes to process two different
  487. 20:35pieces of data. Very good. Then we have
  488. 20:39the bus width, which quantifies the
  489. 20:41speed of data transport through the
  490. 20:43memory bus as a result of the product
  491. 20:45of its width, as we will measure it in
  492. 20:48bytes. Very good. By the working
  493. 20:52frequency measured in megabytes. As a
  494. 20:54result of measuring Megahertz times by
  495. 20:56gives a magnitude of megabytes per
  496. 20:59second which gives an idea of the data
  497. 21:01that can be read or stored in memory
  498. 21:03per unit of time. Very good. The
  499. 21:07operation of bytes per second would
  500. 21:09give us megabytes per second. Well, the
  501. 21:12operation that would give us megabytes
  502. 21:14per second is incorrect, since
  503. 21:15frequency is measured in terms of 10,
  504. 21:17while bytes are measured in terms of 2.
  505. 21:18In other words, there is no way to do
  506. 21:20that operation directly. You have to
  507. 21:22first transform everything and then you
  508. 21:24can start combining. It says 1
  509. 21:25megahertz is 10 to the 3rd power times
  510. 21:2710 to the 3rd power Hz. It is 10 to the
  511. 21:306th power Hz. And 1 MB is 1024 times
  512. 21:321024 by it says, "However, it provides
  513. 21:35a useful approximate value to be able
  514. 21:37to make comparisons between different
  515. 21:39products." Yeah, sure. Let's see, uh,
  516. 21:42megahertz are in base 10, that's not a
  517. 21:44problem. I'll also tell you that here
  518. 21:48instead of using the potential term of
  519. 21:5110, I would have said base 10, okay?
  520. 21:54That is to say, hertz are in base 10
  521. 21:57and the bytes are in base 2. In other
  522. 22:00words, let's remember that 1 MB is 2 to
  523. 22:03the 10th power of bytes. Uh, however,
  524. 22:07uh, also say that it's that, that it's
  525. 22:10approximately 1024, which is not
  526. 22:13exactly this, but anyway, it's quite
  527. 22:15similar. It says memory hierarchy, it
  528. 22:18says, "The organization of these memory
  529. 22:21levels and the way of accessing each
  530. 22:23other is determined by the memory
  531. 22:25hierarchy." It says, "The memory levels
  532. 22:28are shown in figure 2. Essentially,
  533. 22:30it's about distinguishing the
  534. 22:32information that the CPU handles at a
  535. 22:34given moment, information that is read
  536. 22:37or written to the registers and the
  537. 22:39information that will be needed later
  538. 22:42and that is saved on the hard disk."
  539. 22:45Very good. Okay, here we have, for
  540. 22:48example, the issue of hierarchies, uh,
  541. 22:50according to capacity and speed. The
  542. 22:52lower we go, the more capacity we have
  543. 22:54and the higher we go, the more speed we
  544. 22:57have. What do we have at the very
  545. 22:58bottom? Where we have the most capacity
  546. 23:00. Well, basically, we have the hard
  547. 23:04drive. Then, a little faster, we have
  548. 23:07the RAM memory, then we have the cache
  549. 23:09memory, which would be level 1, level 2
  550. 23:12, level 3. And then, finally and much
  551. 23:14faster, we would have the processor
  552. 23:16registers, okay? That's where we have
  553. 23:19the highest of all. Okay, it says, "The
  554. 23:29size of the registers is limited and
  555. 23:32their access time is determined by the
  556. 23:34processing speed of the microprocessor.
  557. 23:37The storage capacity on a hard drive is
  558. 23:40high, okay? Remember that now we have
  559. 23:4364 hard drives of 120 and some TB, in
  560. 23:47other words, real storage monsters. He
  561. 23:50says," Its data transmission speed is
  562. 23:53also extremely high compared to the
  563. 23:56processing speed. In between there are
  564. 24:00a series of auxiliary levels, so that
  565. 24:01each level is smaller and faster, but
  566. 24:07also the most expensive for each byte
  567. 24:09of information that we want to store.
  568. 24:10Even so, it must be said that the cost
  569. 24:12has dropped a lot. Consider that we
  570. 24:15have RAMs of several gigabytes today,
  571. 24:17when before a computer with 1 gigabyte
  572. 24:20of capacity was like a NASA computer.
  573. 24:23And today we have that capacity in RAM.
  574. 24:26"He says," At each level there are
  575. 24:30information structures. The basic unit
  576. 24:31of information is called a block. Its
  577. 24:33size determines memory management. "
  578. 24:35which says," Ultimately, blocks of
  579. 24:37information are going to be transmitted
  580. 24:38from one level to another in a
  581. 24:40hierarchy of memories. "Very well, he
  582. 24:43says," The presence of the desired
  583. 24:45block at a given instant in the level
  584. 24:48is called a hit. "On the contrary,
  585. 24:50attempting to access a block of
  586. 24:52information that is not at the searched
  587. 24:55level is a failure. Okay, very good. I
  588. 24:58think we had that clear. It says," The
  589. 25:04relationship between the number of
  590. 25:06times a hit occurs and the number of
  591. 25:08times a miss occurs is the hit rate.
  592. 25:11Each time a miss occurs, a certain
  593. 25:13amount of time is lost. Sure, because
  594. 25:15we have a miss, we go back to searching
  595. 25:17for the data and now maybe we have a
  596. 25:19hit, but we have already used up a
  597. 25:20cycle, we have used up time, because
  598. 25:22each time a miss occurs, a certain
  599. 25:24amount of time is lost in accessing a
  600. 25:26lower level to retrieve the desired
  601. 25:28information. And move this information
  602. 25:30that I just asked you for up a level. "
  603. 25:33And so, the hit rate indicates the
  604. 25:35frequency of access to the lower level.
  605. 25:39Very good. It says," The access time
  606. 25:41can be understood as the period of time
  607. 25:44needed to determine whether an access
  608. 25:47is a hit or a miss. "Sorry, another
  609. 25:50second, right? The miss penalty is the
  610. 25:53time used to replace a block with the
  611. 25:55one from the lower level. It says more
  612. 26:03about the time to provide it to the
  613. 26:04device that requested it. That is, hey,
  614. 26:06bring me this, they'll upload it to the
  615. 26:09level, hey, I'll take it and upload it
  616. 26:12to the next level. Okay, it's broken
  617. 26:14down into the time to access the first
  618. 26:16word of the block in a failure, access
  619. 26:18time, and the time to transfer the
  620. 26:20remaining words of the block. Okay,
  621. 26:22let's go. Optimal dimensions of a
  622. 26:23little bit, how big this has to be. It
  623. 26:27says," The size of the registers
  624. 26:28determines the size of the block as the
  625. 26:30basic unit of information. The
  626. 26:32first-level cache, usually called L1.
  627. 26:34You'll see, uh, sorry. Well,
  628. 26:47implemented within the microprocessor,
  629. 26:49is usually designed to accommodate
  630. 26:51several blocks of. As has been hinted
  631. 26:53at, listing the number and size of the
  632. 26:55registers and the size of the HL1 does
  633. 26:57not imply that the computer will run
  634. 26:59faster, because, in reality, what is
  635. 27:01being done is simultaneously increasing
  636. 27:03the penalty for misses. To improve the
  637. 27:09speed of the microprocessor, it is more
  638. 27:11important to improve the hit rate.
  639. 27:12Consider that no matter how fast my
  640. 27:16cache memory is, if it misses a lot, I
  641. 27:19am basically wasting a lot of time. In
  642. 27:21other words, in the end what I am
  643. 27:22interested in is getting it right more
  644. 27:24often and avoiding those misses that
  645. 27:26make me waste so much time. Consider
  646. 27:28that each miss costs me almost two hits
  647. 27:30of time. It says, "Well, uh, it does
  648. 27:33not imply that I order it taat. To
  649. 27:35improve the speed of the microprocessor
  650. 27:37, it is more important to improve the
  651. 27:39hit rate, as we have said, and this is
  652. 27:42achieved by nesting several levels of
  653. 27:44cache memory, applying hit criteria to
  654. 27:46ensure hits occur, the principle of
  655. 27:48locality, since we must not forget that
  656. 27:50the more cache memory is implemented
  657. 27:52inside or outside the microprocessor,
  658. 27:55the higher the cost will be. We must be
  659. 27:57clear about this. Achieving a balance
  660. 28:00in all the concepts discussed will make
  661. 28:02a microprocessor or motherboard
  662. 28:04successful in the market. For example,
  663. 28:06in current computers, a typical
  664. 28:08configuration may be the following: HL1
  665. 28:11internal to the microprocessor between
  666. 28:1316 and 64 KB. Eh, KL L2 from 256 to 512
  667. 28:17KB, which can also be internal. And the
  668. 28:21HCH L3 external to the microprocessor,
  669. 28:24which can be between 512 KB and 1 MB.
  670. 28:27These units we are talking about are
  671. 28:29current. Uh, uh, this can change in
  672. 28:32football, it can be implemented on the
  673. 28:35motherboard, but also on the main
  674. 28:38memory module. The size of main memory,
  675. 28:41normally implemented with RAM memory
  676. 28:43modules, is normally determined by the
  677. 28:45size of the programs that are going to
  678. 28:47be executed on the computer. It says,"
  679. 28:49The transfer between the cache memory
  680. 28:52levels is managed by the motherboard or
  681. 28:54control circuitry or by control signals
  682. 28:57from the microprocessor. Data readings
  683. 29:00or writings to main memory, as well as
  684. 29:02information transfers to the hard disk,
  685. 29:04are managed by the operating system or
  686. 29:06the set of programs that are executed
  687. 29:08on the computer. Okay? Now we have the
  688. 29:12principle of locality and the
  689. 29:14replacement methods. It says, "As has
  690. 29:16already been mentioned, it is important
  691. 29:19to look for criteria for replacing
  692. 29:20memory blocks that allow us to improve
  693. 29:23the hit rate, which in the end is the
  694. 29:25game, uh, avoiding failures. Always
  695. 29:27think about this, uh, that we have to
  696. 29:29try to avoid failures because they make
  697. 29:31us lose a lot, a lot, a lot of time.
  698. 29:33Very good. Uh, he says," One of the
  699. 29:36most implemented criteria is the
  700. 29:38principle of locality, which is based
  701. 29:40on two principles: Temporal locality.
  702. 29:43If a piece of data has been referenced,
  703. 29:45it is very likely that it will be
  704. 29:47referenced again soon. That is, if I
  705. 29:49use up a piece of data, it is very
  706. 29:50likely that I will use it again.
  707. 29:52Special quality. If a piece of data is
  708. 29:57referenced, it is very likely that the
  709. 29:58elements close to it will soon be
  710. 30:00referenced. If I take so-and-so data,
  711. 30:02it is very possible that so-and-so plus
  712. 30:04one will take it right now. "The latter
  713. 30:06means that as soon as a piece of data
  714. 30:08is requested from a lower level of
  715. 30:10memory, the cache of the next level
  716. 30:12dumps the data plus all the ones that
  717. 30:14follow according to size. In other
  718. 30:17words, I take so-and-so, I take
  719. 30:19so-and-so and eight more or 10 more,
  720. 30:21whichever ones you see fit in
  721. 30:23anticipation of them being requested in
  722. 30:25the following operations and thus
  723. 30:27saving time. Uh, according to the
  724. 30:30location of a block, three types of
  725. 30:32cache can be distinguished. Direct
  726. 30:34correspondence. Each block can only be
  727. 30:36placed in a specific place in the
  728. 30:38memory. Associative memory. Each block
  729. 30:41can occupy any location. This would be
  730. 30:44chaotic storage. Set-associative cache.
  731. 30:49The block can be in a restricted set of
  732. 30:51positions. That is, I can place it
  733. 30:54anywhere, but these five belong
  734. 30:56together, okay? So when I take this one
  735. 30:59, it will be this one plus the next
  736. 31:01four. Very good. Uh, it says," Each
  737. 31:08block in the cache has an identifying
  738. 31:10label. The cache can contain invalid
  739. 31:12blocks, so a system is needed to
  740. 31:15indicate which blocks are correct and
  741. 31:17which are obsolete. For this, a
  742. 31:19validity bit is usually used in the
  743. 31:21label that indicates at all times
  744. 31:23whether the address is valid or not. "
  745. 31:25It says," When a failure occurs, ah, a
  746. 31:30new block must be added to memory,
  747. 31:32replacing an existing one. In
  748. 31:34direct-mapped cache, there is no doubt,
  749. 31:36a block with invalid data is replaced
  750. 31:38by the requested block. That's it, no,
  751. 31:41there is no problem. In associative
  752. 31:45caches, the issue is a little more
  753. 31:47complicated, since it is necessary to
  754. 31:49determine among the candidate blocks to
  755. 31:51be replaced which one is going to be
  756. 31:53the one that we have to eliminate.
  757. 31:55There are three replacement methods,
  758. 31:57right? Well, random, the victim is
  759. 31:59chosen indiscriminately, boom,
  760. 32:00whichever one happens to be there and
  761. 32:03that one has fallen. What happens is
  762. 32:05that the next piece of data that you
  763. 32:07can search for might be one that you
  764. 32:08needed now. So, you have loaded a piece
  765. 32:10of data that you needed. Replace it
  766. 32:12using the least recent one, that is,
  767. 32:15the one that has been there the longest
  768. 32:17, which is probably already obsolete,
  769. 32:19or a least used algorithm that replaces
  770. 32:21the block that has been read the fewest
  771. 32:24times. Very good. Then we have the
  772. 32:28inputs and outputs, right? If ah or IO,
  773. 32:31like any system. I mean, like any other
  774. 32:39information processing system, it
  775. 32:41receives a series of data, operates on
  776. 32:43them and as a consequence returns data.
  777. 32:46The information can enter in the form
  778. 32:48of commands that are written from a
  779. 32:50keyboard, information read from a data
  780. 32:53storage system or through a network
  781. 32:55connection or a USB port. Once
  782. 32:57processed, the computer displays the
  783. 32:59results on a screen or monitor. It
  784. 33:04writes data to a disk, sends
  785. 33:06information to a printer, generates
  786. 33:08sound through speakers, and so on. It
  787. 33:10will produce outputs that are no more
  788. 33:12and no less. It says, "Each of the
  789. 33:15aforementioned elements, also called
  790. 33:17peripherals, has a specific connection
  791. 33:20system consisting of a series of
  792. 33:22physical wires through which various
  793. 33:25electrical signals are transmitted,
  794. 33:27following their own standards and
  795. 33:29protocols, as well as circuitry to
  796. 33:31adapt said electrical signals and
  797. 33:34interpret their information." In other
  798. 33:37words, this goes through cables,
  799. 33:39through wires, and the data will move.
  800. 33:41In general, input and output units are
  801. 33:44the units or systems designed to manage
  802. 33:47and control parts of the device that do
  803. 33:49not directly belong to the CPU or main
  804. 33:52memory. Very good. The buses, right? Uh
  805. 33:58, they would be the paths through which
  806. 34:00the data flows, okay? They are the
  807. 34:02physical wires through which the data
  808. 34:04flows, right? It had the set of lines
  809. 34:06and so on. And therefore, for example,
  810. 34:09imagine what we have. We have both
  811. 34:12input and output peripherals, right?
  812. 34:15Which would be connected to an
  813. 34:17expansion bus, a sound card, a USB
  814. 34:19bridge, a PCI socket, an ID bus, a
  815. 34:22network adapter. Well, we will have the
  816. 34:24memory colors that will be connected to
  817. 34:26the memory bus, a microprocessor that
  818. 34:28would be on the local bus. All this
  819. 34:30would be controlled by the chipset,
  820. 34:32which for example would send the data
  821. 34:33to the graphics card and would be what
  822. 34:35you would be seeing right now through
  823. 34:37the monitor. It says, "The grouped
  824. 34:43lines can be of several types. Address
  825. 34:46lines that are linked to the capacity
  826. 34:49to access different memory locations,
  827. 34:52data lines that determine the width of
  828. 34:55the information that is transmitted.
  829. 34:58This parameter multiplied by the
  830. 35:00transmission frequency of the bus
  831. 35:02determines the best-known performance
  832. 35:04measure, the bandwidth, which indicates
  833. 35:07the communication speed. Control lines
  834. 35:09that are defined by the transmission
  835. 35:11protocol, uh, power lines that
  836. 35:13facilitate power supply to the
  837. 35:15peripheral, can be optional depending
  838. 35:18on the interface, okay? This would
  839. 35:20depend on the interface we choose. Very
  840. 35:23good. It says, well, figure 3 basically
  841. 35:27explains what we have already seen,
  842. 35:29okay? Uh, it says," Computers have
  843. 35:32circuits called genetically trained MA
  844. 35:35controllers, which are called direct
  845. 35:41memory access. "Very good. It says that
  846. 35:43they allow some peripherals to
  847. 35:45communicate directly with the main
  848. 35:47memory. The microprocessor does not
  849. 35:49intervene during this data transfer,
  850. 35:50but it does intervene in its control
  851. 35:52lines. Then we would have the
  852. 35:54motherboard, the chassis, the power
  853. 35:56supply. Okay? Here we would have a
  854. 35:58series of important elements, okay? The
  855. 36:00board would be the skeleton, it is
  856. 36:02where all these elements that we have
  857. 36:04been discussing are, okay? Uh, it would
  858. 36:07also be where we had what we call the
  859. 36:10chipset. The chipset is where the
  860. 36:13elements that manage the connections
  861. 36:16between the various elements are. Let's
  862. 36:19go to the motherboard. Okay? And well,
  863. 36:22that's where it would go. Well, where
  864. 36:24we also have the CPU. Remember that the
  865. 36:29chassis is generally called the
  866. 36:31computer case and it is also usually
  867. 36:34called the CPU. In other words, when
  868. 36:36many people show you the computer case
  869. 36:37they say," That's the CPU. "No, no,
  870. 36:39guys, the CPU is the little card, the
  871. 36:41microprocessor that you have inside.
  872. 36:43Everything else is not the CPU. But
  873. 36:46okay. And then we have the peripherals.
  874. 36:48What would be a peripheral? Well, for
  875. 36:49example, the headphones. The microphone
  876. 36:52that you're listening to me through,
  877. 36:54the mouse on your phone, the keyboard
  878. 36:56that I type on and I can give you
  879. 36:58information, etc., etc., the screen
  880. 37:00that you're using, the camera that
  881. 37:02you're watching, all of these, all of
  882. 37:04these are peripherals, okay? They're
  883. 37:07peripheral elements to the computer,
  884. 37:10okay? That allow us to have both inputs
  885. 37:12and outputs. For example, my keyboard.
  886. 37:15My keyboard has the input part that
  887. 37:17allows me to press keys and it has
  888. 37:20outputs like, for example, it shows
  889. 37:22whether my caps lock is on or not. If
  890. 37:25it's on and the light is on, it's
  891. 37:26telling me. It's an output, okay? My
  892. 37:29screen is eminently a data output. My
  893. 37:33speakers, well, would be a data output
  894. 37:35or my microphone would be a data input;
  895. 37:37also an output, because I have a
  896. 37:38connection to listen to the data output
  897. 37:40. But well, these can also be called
  898. 37:43human-machine interfaces, because they
  899. 37:45allow the machine to communicate with
  900. 37:47people or they also allow machines to
  901. 37:50communicate with other machines. Okay?
  902. 37:54Then we also have storage peripherals,
  903. 37:57which would be the devices that store
  904. 38:00information. Very good. It says," It
  905. 38:08should be noted that according to this
  906. 38:10definition, a RAM memory module
  907. 38:12inserted into the motherboard does not
  908. 38:14fall into this classification, since
  909. 38:16the information it stores is lost the
  910. 38:19moment the power supply is cut off. An
  911. 38:22SSD would be a storage peripheral. RAM
  912. 38:25memory would not be a storage
  913. 38:27peripheral. For example, if a screen is
  914. 38:31displaying data, it is not a storage
  915. 38:34peripheral. The term mass data storage
  916. 38:42systems is also used. To refer to this
  917. 38:46type of device, peripherals are
  918. 38:47considered whether they are located
  919. 38:49inside the computer board or inside the
  920. 38:51computer case, or if they are external.
  921. 38:54Ultimately, a computer needs a space
  922. 38:57where the programs and data it needs
  923. 38:59for its normal operation are stored.
  924. 39:02This information must also be preserved
  925. 39:04when the power supply is cut off. Of
  926. 39:07particular interest is the device
  927. 39:09generically called the boot device or
  928. 39:11physical location where the first
  929. 39:13program that runs when the computer is
  930. 39:16turned on is stored, which is usually
  931. 39:18the hard drive. Next, they will discuss
  932. 39:22various storage methods. Very well, it
  933. 39:26says hard drive, right? The hard drive
  934. 39:29disk is a non-volatile data storage
  935. 39:33device, right? That's why we call it a
  936. 39:35hard drive. It uses a magnetic
  937. 39:38recording system to store digital data.
  938. 39:41This would basically be what we would
  939. 39:45be using to store general data,
  940. 39:47programs, and so on. Hard drives are
  941. 39:51sensitive to shocks and vibrations,
  942. 39:53right? An improper shutdown can also
  943. 39:55damage a hard drive. They were widely
  944. 39:57used for a very, very long time and
  945. 40:00little by little, although they have
  946. 40:02not changed for certain stations that
  947. 40:04require greater security, they are
  948. 40:07being replaced, especially in domestic
  949. 40:09use, by Solid State Drive Discs, which
  950. 40:12would be SSDs, which are devices that
  951. 40:16store data on microchips with
  952. 40:18interconnected flash memories, so they
  953. 40:20could be considered an evolution of USB
  954. 40:23memories. They do not have physical
  955. 40:26heads to record data. He says, "A few
  956. 40:28years ago, the price in the United
  957. 40:29States was high, but right now, it's
  958. 40:31going down a lot because its production
  959. 40:33cost has gone down a lot, a lot, and
  960. 40:35its use has increased a lot. The HDD,
  961. 40:37right?,which is digital versatile disc,
  962. 40:40right?,which allowed us to save data.
  963. 40:42They came in 4, 7, 17 GB, depending on
  964. 40:45whether they were monolayer, BAP,
  965. 40:47trilayer, etc. They could be recordable
  966. 40:50, rewritable, read-only, positive
  967. 40:52recordable, negative recordable,
  968. 40:55depending on the technology used. There
  969. 40:57were quite a few. There were quite a
  970. 41:00few. There were also Blu-rays. There
  971. 41:04were other discs that I don't remember,
  972. 41:07I think HDDVDs also came out, which
  973. 41:09were 50 GB or 100 GB, I don't remember
  974. 41:12right now, but oh well. We also had
  975. 41:18Flash memories, which would basically
  976. 41:21be what we now know as SSDs, which is
  977. 41:26electrically rewritable read-only
  978. 41:28memory, right? Be careful, it is
  979. 41:31information that can only be read once.
  980. 41:35That's what Interesting thing about
  981. 41:37memory is that every time you read it,
  982. 41:39you erase the information and you have
  983. 41:41to write it again. Very good. Uh, it
  984. 41:47says," It also offers interesting
  985. 41:49features such as its great resistance
  986. 41:51to shocks, low consumption and zero
  987. 41:53noise level. A hard drive makes noise.
  988. 41:56A flash memory is completely silent
  989. 41:57because it has no moving parts. However
  990. 42:00, all types of flash memory only allow
  991. 42:02a limited number of writes and erasures
  992. 42:04, uh, depending on the cell, the
  993. 42:06precision of the manufacturing process
  994. 42:08and the voltage needed to reduce it.
  995. 42:11Okay? Uh, I must also say that even so,
  996. 42:13they are quite high. I have USB memory
  997. 42:15sticks that still work and have been
  998. 42:17around for years and years and years
  999. 42:19also because they were designed for low
  1000. 42:22use. If you are using them every day at
  1001. 42:25all hours, you burn them out. Okay,
  1002. 42:27very good. Let's look at section two,
  1003. 42:29which would be programs, types and
  1004. 42:30characteristics. So, well, let's see,
  1005. 42:32let's see a little bit and we're going
  1006. 42:34to go over it a little bit here in the
  1007. 42:35programs section. Very good, give me a
  1008. 42:37second. Very good. It says, "Can a
  1009. 42:46program be defined as a part of a
  1010. 42:48sequence of processes and instructions
  1011. 42:50organized to perform a specific task on
  1012. 42:52a computer or computing system?" It
  1013. 42:54says, "Programs can be pre-installed on
  1014. 42:56the device to be used, considering the
  1015. 42:59operating system that controls the
  1016. 43:01operation of the computer system or
  1017. 43:03they can be added programs to perform
  1018. 43:05specific functions. The operating
  1019. 43:10system or OS is a set of programs that
  1020. 43:13directly control the physical hardware
  1021. 43:15resources of a computer, CPU, main
  1022. 43:18memory and peripherals, providing a
  1023. 43:20virtual machine that makes it easier,
  1024. 43:23well, easier to use than the underlying
  1025. 43:26hardware. Basically this operating
  1026. 43:29system is like a simplified computer.
  1027. 43:31The operating system is the lowest
  1028. 43:33software layer of a computer, as
  1029. 43:34reflected in a figure that we are going
  1030. 43:37to see now, which is figure 4,
  1031. 43:38responsible for managing, coordinating
  1032. 43:41activities and carrying out the
  1033. 43:42exchange of resources and acts as an
  1034. 43:44intermediary for the applications that
  1035. 43:46are executed. Very good. First of all
  1036. 43:49we have the hardware, which is the
  1037. 43:51physical part, they are cables, they
  1038. 43:53are the components. Then above this we
  1039. 43:55have the operating system, which is
  1040. 43:58what makes all the computers a little
  1041. 44:00bit more uniform. Then we have the
  1042. 44:02translators, the editors, the command
  1043. 44:05interpreter and above this we have the
  1044. 44:09application programs, for example,
  1045. 44:12Twitch, Chrome or whatever you're using
  1046. 44:16to watch this live, to watch the Very
  1047. 44:19good, very good, very good, very good.
  1048. 44:24Well, it says," In this figure you can
  1049. 44:26see how the operating system is the
  1050. 44:27only layer that works directly with the
  1051. 44:29hardware. That's why operating systems
  1052. 44:32are very sensitive to hardware changes.
  1053. 44:35Above the operating system is a level
  1054. 44:37formed by translators, text editors,
  1055. 44:39and command interpreters. The first two
  1056. 44:42types of programs, together with
  1057. 44:44linkers and debuggers, are useful for
  1058. 44:46creating a comfortable level of
  1059. 44:48abstraction for program development.
  1060. 44:51The union of the programs of the two
  1061. 44:53intermediate layers of the figure makes
  1062. 44:56up the system software of a computer.
  1063. 44:58Finally, there is the level formed by
  1064. 45:01the application programs, which do not
  1065. 45:03provide service to other programs, but
  1066. 45:06rather their purpose is to solve
  1067. 45:08specific problems. I want to be able to
  1068. 45:11calculate something or have a
  1069. 45:14spreadsheet or have a Word document or
  1070. 45:17whatever, well that will be the
  1071. 45:19application program. Very good, it's
  1072. 45:23what we users usually use. Then we have
  1073. 45:26components and functions of an
  1074. 45:28operating system. The first thing will
  1075. 45:32be process management, okay? Which will
  1076. 45:34manage, create, and destroy the
  1077. 45:37processes to organize the processes,
  1078. 45:39provide mechanisms for them to
  1079. 45:42communicate and synchronize, for
  1080. 45:44example, how all the processes
  1081. 45:46communicate and how the components of
  1082. 45:49an operating system would be made. This
  1083. 45:52is all that the operating system has to
  1084. 45:55touch and who depends on whom. Security
  1085. 45:57would be the one that would manage
  1086. 45:59everything and communications, for
  1087. 46:00example, would also be dependent.
  1088. 46:02Everything would depend on security.
  1089. 46:05Very good. It says, "Process management
  1090. 46:08could be similar to, uh, office work.
  1091. 46:11You can have a list of tasks to be done
  1092. 46:13and set high, medium, or low priorities
  1093. 46:15for these. For example, we should start
  1094. 46:18by doing the highest security tasks, oh
  1095. 46:21, sorry, the highest priority, and then
  1096. 46:23finish with the lowest priority ones."
  1097. 46:26Very good, it says, "Once the task is
  1098. 46:28done, it is crossed out, this can lead
  1099. 46:30to the problem that low priority tasks
  1100. 46:33would never get executed and remain on
  1101. 46:35the list forever, which is something we
  1102. 46:37cannot afford. To solve this, you can
  1103. 46:40assign high priority to older tasks.
  1104. 46:43This is a pretty interesting management
  1105. 46:45model. As tasks get older, they get
  1106. 46:49higher and higher priority. Okay, main
  1107. 46:53memory management. Okay, it says,"
  1108. 47:02Memory is a table of words or bytes,
  1109. 47:05each referenced by a unique address.
  1110. 47:09This fast-access data store is shared
  1111. 47:13by the CPU and the input/output devices
  1112. 47:16. It is volatile and loses its contents
  1113. 47:18in the event of system failures. The
  1114. 47:21operating system is responsible for
  1115. 47:23knowing which parts of memory are being
  1116. 47:26used and by whom, deciding which
  1117. 47:29processes to load into memory when
  1118. 47:31space becomes available, and allocating
  1119. 47:34and reclaiming memory space when needed
  1120. 47:37. Okay, okay, okay, okay, okay. "It
  1121. 47:45says, secondary storage management. A
  1122. 47:48secondary storage system is necessary
  1123. 47:51because main memory, primary storage,
  1124. 47:53is volatile and too small to store all
  1125. 47:56programs and data. It is also necessary
  1126. 47:59to maintain data that is not convenient
  1127. 48:01to keep in main memory. The operating
  1128. 48:03system will therefore be responsible
  1129. 48:06for, uh, planning the disks, managing
  1130. 48:08free space, allocating storage. The
  1131. 48:11input/output system consists of a
  1132. 48:13temporary storage system, cache, a
  1133. 48:15device manager interface, and another
  1134. 48:18for specific devices. The operating
  1135. 48:20system must manage the temporary
  1136. 48:22storage of inputs. outputs and handle
  1137. 48:24interrupts from input and output
  1138. 48:26devices. Okay, it says file system. It
  1139. 48:35says," Files are collections of related
  1140. 48:37information defined by their creators.
  1141. 48:40They store programs in source and
  1142. 48:42object code and data such as images,
  1143. 48:45text, database information, etc. The
  1144. 48:47operating system, therefore, will be
  1145. 48:49responsible for creating, deleting
  1146. 48:52files and directories, functions to
  1147. 48:54manipulate files and directories,
  1148. 48:56establishing correspondence to files
  1149. 48:59and making backup copies. They can be
  1150. 49:02done in many formats, these are not the
  1151. 49:04only ones. And normally, you will see
  1152. 49:06that many times you will have FAT 32,
  1153. 49:09you will have XFAT, etc. Then we also
  1154. 49:12have the protection systems, which will
  1155. 49:15be everything that will control what
  1156. 49:17things can be accessed and what cannot
  1157. 49:20be accessed. It will also control the
  1158. 49:23communications system, as well as the
  1159. 49:26system programs, the resource manager,
  1160. 49:29which is usually this little program
  1161. 49:32that opens when you use the control by
  1162. 49:35deleting to see how the computer is
  1163. 49:37working. Well, all the data appears
  1164. 49:39there. This is always managed by the
  1165. 49:41operating system itself, whether you
  1166. 49:43see it or not, and it controls a large
  1167. 49:46number of computer properties. Very
  1168. 49:50good. Then we have the issue of calls
  1169. 49:53to the operating system. It says, "
  1170. 49:55Calls to the operating system are those
  1171. 49:57that run application programs to
  1172. 49:59request a service from the operating
  1173. 50:01system. Hey, tell me what time it is."
  1174. 50:03So, the application program asks the
  1175. 50:05operating system, "Hey, give me the
  1176. 50:07time you have, hey, hey, give me access
  1177. 50:10to the graphics, I want to do something
  1178. 50:12. Hey, hey, what do I know, you know?
  1179. 50:16Give me access to the peripheral that I
  1180. 50:19need to control the position of the
  1181. 50:22user's mouse, okay? It's the one that
  1182. 50:25allows me to connect one thing to
  1183. 50:27another, okay?" Very good, it says, "
  1184. 50:28The corresponding calls must have the
  1185. 50:30same format and the call to the new
  1186. 50:32operating system must give the same
  1187. 50:34results as the corresponding one in
  1188. 50:36front." Okay. Execution mode on a CPU.
  1189. 50:40Then we'll have the topic of system
  1190. 50:43calls, system call interface libraries.
  1191. 50:46Okay. Then we have the topic of
  1192. 50:48interrupts and exceptions, which is one
  1193. 50:51of the things that the operating system
  1194. 50:53can do and it's interesting. The
  1195. 50:55operating system says, it says, it
  1196. 51:00occupies an intermediate position
  1197. 51:02between application programs and
  1198. 51:04hardware, uh, it doesn't limit itself
  1199. 51:06to using the hardware at the request of
  1200. 51:08applications, since there are
  1201. 51:10situations in which it is the hardware
  1202. 51:12that needs the operating system code to
  1203. 51:14be executed. In such situations, the
  1204. 51:16hardware must be able to call the
  1205. 51:18system with one of the following
  1206. 51:19objects. It says, "Some input/output
  1207. 51:22device needs attention, an error
  1208. 51:24situation has occurred while trying to
  1209. 51:27execute a program instruction." It says
  1210. 51:29, "In both cases, the action performed
  1211. 51:31is not ordered by the application
  1212. 51:33program, that is, it is not listed in
  1213. 51:34the program. Uh, that is, something has
  1214. 51:36happened, something has happened and
  1215. 51:38the program has hung. So, the operating
  1216. 51:40system has to say," Tuch, get out, stop
  1217. 51:42bothering me, come on, my system is
  1218. 51:44being used. "Okay, so, an interruption
  1219. 51:46is the signal sent by an input/output
  1220. 51:49device of the CPU to indicate that the
  1221. 51:52operation being performed has finished,
  1222. 51:55and an exception is an error situation
  1223. 51:57that will have to be handled by the
  1224. 52:00operating system. So, how will
  1225. 52:02interruptions be handled? Well, the
  1226. 52:06handling depends on the input/output
  1227. 52:08system, since it will interrupt the
  1228. 52:10input and output. This will depend on
  1229. 52:12how it is done. Very good. So, the
  1230. 52:15importance of interruptions. It says,"
  1231. 52:17The interruption handling mechanism
  1232. 52:19allows the operating system to use the
  1233. 52:22CPU to service an application while
  1234. 52:24another one waits for one to finish.
  1235. 52:27Man. Hello, Victor. Welcome back. We
  1236. 52:32are finishing. "It says," The hardware
  1237. 52:34is responsible for notifying the
  1238. 52:35operating system when the output device
  1239. 52:37has finished. Ah. Okay, to ensure that
  1240. 52:45the program that was waiting for the
  1241. 52:46device continues to run. "It says," At
  1242. 52:49certain time intervals, it may be
  1243. 52:51advisable not to accept interruption
  1244. 52:53signals. Therefore, interrupts can be
  1245. 52:55inhibited by the program, although the
  1246. 52:57interrupts themselves should not be
  1247. 52:59able to do so. "That is to say, what a
  1248. 53:01program cannot say is," Hey, operating
  1249. 53:02system, don't bother me. "You know?
  1250. 53:04Because when it hangs, the computer
  1251. 53:08crashes. He says an example of
  1252. 53:10interrupt synchronization is the
  1253. 53:12storage of characteristics of
  1254. 53:14characters entered using the keyboard.
  1255. 53:16He says," When a character is entered,
  1256. 53:18the device's data register is encoded
  1257. 53:20and a status register bit is also
  1258. 53:21activated that creates an interrupt in
  1259. 53:23the hardware. "That is to say, when I
  1260. 53:26press, uh, when I press, for example,
  1261. 53:29the letter E, it only presses once;
  1262. 53:31that is to say, the data only enters
  1263. 53:34once, unless I don't have it, for like
  1264. 53:375 or 10 seconds, in which case, uh, it
  1265. 53:39doesn't stop entering, but at least
  1266. 53:42during the first few seconds the beat
  1267. 53:45only enters once; that is to say, it's
  1268. 53:47not a continuous entry. I have to press
  1269. 53:50it again if I want it to enter again,
  1270. 53:53uh? No, man, no. Don't worry, it throws
  1271. 53:57blue, don't worry. It says, exceptions.
  1272. 54:01When the CPU tries to execute an
  1273. 54:03incorrectly constructed instruction,
  1274. 54:05the control unit throws an exception to
  1275. 54:07allow the operating system to execute
  1276. 54:09the appropriate treatment. Unlike an
  1277. 54:12interrupt, the instruction in progress
  1278. 54:15is aborted, it says, exceptions, like
  1279. 54:18interrupts, must be correctly
  1280. 54:21identified. Very good, it says," Come
  1281. 54:26on, let's go, for example, to the
  1282. 54:28characteristics, now. That is to say,
  1283. 54:34yes, try it, try it, try it. Uh, you'll
  1284. 54:37see that the first one took me a while
  1285. 54:39and then the following ones will come
  1286. 54:42in quickly. On a Mac, the accents
  1287. 54:46appear. Wow, this is good. I didn't
  1288. 54:48know this one. How great, how great.
  1289. 54:50Sure, on a PC keyboard, right? On a PC
  1290. 54:55keyboard, a key appears and after a
  1291. 54:57while, if you have the operating system
  1292. 55:00configured like this, the same key
  1293. 55:02signal keeps coming in other times.
  1294. 55:04Very good. It says, "Task management.
  1295. 55:07Uh, single-tasking, well, only one
  1296. 55:09process can be executed." Wow, Victor,
  1297. 55:14I didn't know you were a Mac user. Uh,
  1298. 55:17only one process can be executed, apart
  1299. 55:19from the processes of the operating
  1300. 55:21system itself at a given time. Once a
  1301. 55:23process starts executing, it will
  1302. 55:25continue doing so until it finishes.
  1303. 55:27And multitasking, well, we would have
  1304. 55:30several tasks simultaneously, okay? In
  1305. 55:33terms of user management, well, it
  1306. 55:35could be single-user, multi-user, okay?
  1307. 55:38Uh, resource management, well, whether
  1308. 55:40it is centralized or distributed. And
  1309. 55:44well, let's get to the conclusion of
  1310. 55:47the topic. Very good. He says, "This
  1311. 55:51topic has explained how computer
  1312. 55:54systems work and their structure,
  1313. 55:57especially personal computers.
  1314. 55:59Knowledge of the internal workings of
  1315. 56:02computer systems is the basis for
  1316. 56:04developing students 'digital competence
  1317. 56:06. This is where I wanted to get to.
  1318. 56:09This is why they have put it back in
  1319. 56:11CDA and it responds to the didactic
  1320. 56:13knowledge of digitalization in the
  1321. 56:16personal learning environment. Some
  1322. 56:18characteristics and parameters commonly
  1323. 56:20used to compare models and
  1324. 56:22configurations have been presented,
  1325. 56:24introducing the basic notions of
  1326. 56:25computer architecture with the
  1327. 56:27explanation of basic hardware elements.
  1328. 56:30In the last section, here are two
  1329. 56:32points, the basic fundamentals of
  1330. 56:34operating systems have been reviewed.
  1331. 56:36Operating systems, their components,
  1332. 56:38functions and characteristics. Very
  1333. 56:40good, he says," The technology subject
  1334. 56:42continues both the cross-disciplinary
  1335. 56:44approach of the discipline during the
  1336. 56:46primary equation stage, where students
  1337. 56:49begin to develop design projects and
  1338. 56:51computational thinking, as well as the
  1339. 56:53technology and digitalization subject.
  1340. 56:56Compulsory secondary education also
  1341. 56:59allows students to gain skills in depth
  1342. 57:02and develop an entrepreneurial attitude
  1343. 57:05for future studies or professional
  1344. 57:08activities. So, well, guys, let's say
  1345. 57:11goodbye with this because this closes
  1346. 57:14the topic. Let's say goodbye to the
  1347. 57:16people on YouTube. Well, guys, thank
  1348. 57:19you very much for being here watching
  1349. 57:21us one more day in this video about the
  1350. 57:24syllabus for preparing for secondary
  1351. 57:26school entrance exams in the technology
  1352. 57:28specialty. We've already done topic
  1353. 57:31nine, the new review of topic nine.
  1354. 57:33Remember that you can find this topic
  1355. 57:35in a playlist that includes the 71
  1356. 57:37topics for preparing for secondary
  1357. 57:38school entrance exams, just like today,
  1358. 57:40and I'll also show you where we got the
  1359. 57:43documentation from. And of course, if
  1360. 57:45you pause it, you can read the
  1361. 57:46documentation and you can also listen
  1362. 57:48to it, in case you want to listen to it
  1363. 57:50simply in podcast mode and be able to
  1364. 57:51do other things. Thank you very much to
  1365. 57:53everyone for the support you've been
  1366. 57:55giving me on YouTube. Quite a lot,
  1367. 57:56honestly. Many people are already
  1368. 57:58watching the live broadcasts and I hope
  1369. 58:00they are learning and I hope that this
  1370. 58:02helps them improve their knowledge or,
  1371. 58:04if they are preparing for the
  1372. 58:05competitive exams they have, a little
  1373. 58:07more luck. In any case, thank you very
  1374. 58:09much for everything. Hey, if you liked
  1375. 58:11the video, please like it, share it,
  1376. 58:12subscribe to the channel and we'll see
  1377. 58:14you here one more day on the Mar de
  1378. 58:16Curiosidad channel. Greetings and good
  1379. 58:18luck. M.

About this transcript

This page contains the full transcript of Tema tecnología 09: Sistemas informáticos: estructura, elementos componentes by Mardecuriosidad, generated from the public captions YouTube serves with the video. The transcript has 8,826 words across 1,379 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.