The video owner has disabled playback on external websites.

This video is no longer available on YouTube.

This video cannot be played right now.

Watch on YouTube

افتح أدوات التعلم بالذكاء الاصطناعي

سجّل للوصول إلى أدوات قوية تساعدك على التعلم أسرع من كل فيديو.

شارح المشهد صائد العبارات مراجعة البطاقات تمرين المحاكاة الرد الصوتي
سجل مجاناً
B1 متوسط الإنجليزية 16:49 Educational

COMPUTER SCIENCE explained in 17 Minutes

Wacky Science · 3,331,059 مشاهدات · أُضيف منذ 3 أسابيع

إحصائيات التعلم

B1

مستوى CEFR

5/10

الصعوبة

الترجمة (255 مقاطع)

00:00

Computers make no sense. Throw some metal in a box  and boom [monke]. What the heck is going on here? 

00:11

Inside your PC is a Central Processing Unit,  or CPU. It’s basically just a piece of silicon  

00:15

with billions of microscopic switches called  transistors. Depending on the flow of electricity,  

00:19

they can be on or off, kind of like a light  bulb, which gives us two states: 1 and 0. 

00:23

The value at one of these switches is called a  “bit”. One bit by itself doesn’t really do much.  

00:28

But put them together, and magic starts to happen. A group of 8 bits is called a “byte” and can  

00:32

have 256 different combinations of 0s and 1s.  Congratulations! We can now store information  

00:37

by counting in a system called “binary”. Every bit represents a power of 2,  

00:41

1 meaning the power is included and 0 meaning  it’s not, so this number has 1 times 64,  

00:45

1 times 4, and 1 times 1, which adds up to 69. This is nice, but for humans, hexadecimal is  

00:50

even better: It’s often denoted by this 0x and  is simply a more readable format than binary:  

00:54

Four binary bits can take any value from  0 to 15. Hexadecimal uses 0-9 and a-f  

01:00

to represent those values, so a group of four  bits can be replaced by one hexadecimal digit. 

01:04

Okay. Now that we can store numbers,  we just need computers to actually,  

01:07

you know, do something with them. Using transistors, you can make logic gates,  

01:11

which are electronic circuits that encapsulate  logical statements. You can think of it as a  

01:14

lightbulb with two switches, where the light  only turns on under certain conditions.  

01:18

For example, only if A AND B are on. By combining logic gates in a clever way,  

01:22

you can build circuits that perform calculations  according to Boolean algebra, which is a system  

01:26

formalizing mathematical operations in binary. But, even though computers understand 0s and 1s,  

01:31

for humans, it’s not really all that useful.  So, using a character encoding like ASCII,  

01:35

we can assign a binary number to each  character. When you type an A on your keyboard,  

01:39

it gets translated into this binary code, and as  soon as the computer sees this, it says: “Ah yes,  

01:44

that is a capital A.”, and slaps it on the screen. How these devices fit together is handled by an  

01:48

operating system kernel, like Windows, Linux or  Mac, which sits between computer hardware and  

01:52

applications and manages how they all work  together, for example with device drivers. 

01:56

Input devices allow you to give the computer  instructions with the press of a button,  

02:00

but at the lowest level, computers only  understand instructions in machine code,  

02:03

which is binary code telling the CPU  what to do, and which data to use. 

02:06

When it comes to following these instructions,  the CPU is kind of like a genius, just with the  

02:10

memory of a demented goldfish. It can handle  any instructions but it cannot store any data,  

02:15

so it’s only really useful with  random access memory or RAM. 

02:18

You can imagine it like a grid, where  every box can hold one byte of information,  

02:21

which can be data or instructions, and has an  address, so the CPU can access it in four steps: 

02:26

Fetch from memory, decode instructions  and data and finally, execute and store  

02:30

the result. This is one machine cycle. Since a program is basically just a list  

02:33

of instructions in memory, to run it,  the CPU executes them one by one in  

02:37

machine cycles until it’s complete. Oh yeah did  I mention that this happens, like, really fast? 

02:41

Modern CPUs can do billions of cycles every  second, which are coordinated and synchronized  

02:45

by a clock generator. The speed of this clock  is measured in GHz, and people often overclock  

02:50

their CPUs to improve performance, which is  nice, but might just set your PC on fire. 

02:54

What’s ever crazier though, is that a CPU has  multiple cores, which can all execute different  

02:58

instructions in parallel, so at the same time.  Each core can be split into multiple threads,  

03:03

which also allows every single core to  handle multiple instructions concurrently,  

03:06

so switch between them really quickly. Okay, that’s cool, but it doesn’t matter  

03:10

how powerful a computer is if you have no way  to give it instructions in the first place.  

03:14

Typing machine code by hand would probably make  you go insane, but luckily, you don’t have to: 

03:18

The kernel is wrapped in a shell, which is just  a program that exposes the kernel to the user,  

03:22

allowing for simple instructions in a  command line interface with text inputs. 

03:26

But the best way to make a computer do  something useful is with a programming language,  

03:29

which uses abstraction, so that instead of  this, you can write code that looks like this,  

الترجمة الكاملة متاحة في مشغل الفيديو

تدرّب مع التمارين

أنشئ تمارين مفردات وقواعد وفهم من هذا الفيديو

المفردات والقواعد اختبار الفهم اختبار IELTS ممارسة الكتابة
سجل للممارسة
لا توجد تعليقات بعد. كن أول من يشارك أفكاره!

سجّل لفتح جميع الميزات

تابع تقدّمك، احفظ المفردات، وتمرّن على التمارين

ابدأ تعلم اللغات مجاناً