Comp Organization GeeksForGeeks 1-5 Flashcards
Issues in comp design, comp system level hierarchy, comp architecture and comp organization, & basic computer instructions
The basic components of a computer include
the central processing unit (CPU), memory (RAM), storage (hard drive or solid-state drive), input devices (keyboard, mouse, etc.), output devices (monitor, printer, etc.), and various peripheral devices (such as USB drives or external hard drives).
CPU
CPU is often considered the brain of the computer, as it performs most of the processing and calculations required for a computer to function.
brain of the computer and performs the bulk of the processing tasks.
RAM
RAM is the temporary memory that stores data and instructions while the computer is running, while storage is the long-term memory where data is stored even when the computer is turned off.
Memory, also known as RAM, is where data and instructions are temporarily stored while the computer is running.
input devices
allow users to input data or commands into the computer, while output devices display the results of the computer’s processing.
peripheral devices
additional components that can be added to a computer to enhance its functionality.
computer
electronic device that can perform tasks based on instructions provided to it. It consists of hardware components such as the central processing unit (CPU), memory, input/output devices, and storage devices.
Input/output devices
such as a keyboard, mouse, and monitor, allow users to interact with the computer and receive information from it.
storage devices
such as a hard drive or solid-state drive, store data and programs permanently on the computer.
Transistors
They only understand binary language whose vocabulary contains only two letters or states or symbols i.e. 0 and 1, True and False, On and off. To maintain the states transistors are used.
Transistors are tiny device that are used to store 2 values 1 and 0 or on and off.
If the transistor is on we say that it has a value 1, and if it is off the value is 0.
a memory chip contains hundreds of millions or even billions of transistors, each of which can be switched on or off individually. As transistor can store 2 distinct values, we can have millions of different values stored on a memory chip consisting entirely of 0’s and 1’s. But how a transistor get its value ?
When a very little amount of electric current passes through transistor it maintains the state of 1 and when there is no electric current then the transistor has the state of 0. Then how it’s all connected to computer ? This 0’s and 1’s forms the building block of computer. With the combinations of 0 and 1 we create a whole new language For example, 0 can be written as 0,
What is software ?
Software is a set of instructions that tells the computer what to do, when to do, and how to do. Example are, paint that we use in Microsoft, WhatsApp and games, all are the types of different software.
Separate instructions are provided for the + operator so the computer knows how to do addition when it encounters + sign. So who converts this code? Instead of who we can ask what converts the code? And answer to that question is a software called interpreter that interprets our language code into binary code. Interpreter converts our code into machine language that can be understood by computer.
Suppose we want to add 2 number and want to know what 2 + 2 is 4. Then we must give the computer instructions,
Step-1: take 2 value.
Step-2: store that 2 value
Step-3: add 2 value by using + operator
Step-4: save the answer
Now the question is how we give our input ?
We give our input with the use of hardware for example like scanner, keyboard, mouse. When we give input through hardware, the software interprets it into machine language and then it is processed and our output is shown.
Process: If we want to display letter ‘A’ on screen we first will open notepad. Then we will press Capslock key or shift key to make letter capital, after that we will press letter ‘a’. And our screen will show the letter ‘A’.
Under the hood process: When we pressed the capslock or shift key the software tells that whatever following this should be printed on the screen and after we have pressed the letter a which is small letter, the software first converts it into binary like it had converted the shift or capslock key and then after the computer understands it prints A on the screen.
binary code
Computers communicate and process information using a binary code, which is a system of ones and zeroes. Each binary digit (or bit) represents a simple “on” or “off” state, and combinations of bits can represent more complex information.
algorithms
An algorithm is a set of instructions or steps that a computer program follows to solve a problem or complete a task. Algorithms are used to perform a wide range of tasks, from sorting data to searching for patterns.
programming languages
Programming languages are used to write computer programs. There are many different programming languages, each with its own syntax and set of rules.
hardware vs. software
Hardware refers to the physical components of a computer, such as the CPU, memory, and storage devices. Software, on the other hand, refers to the programs and instructions that tell the hardware what to do.
networks
Computers can be connected together in networks, which allow them to communicate and share resources. Networks can be wired or wireless, and can be used for tasks such as sharing files, accessing the internet, or playing multiplayer games.
user interfaces
User interfaces are the means by which humans interact with computers. They can be graphical, such as a desktop or mobile operating system, or text-based, such as a command line interface.
Personal computers (PCs)
These are the most common type of computer and are designed for personal use. PCs include desktops, laptops, and tablets.
Servers
Servers are designed to manage and distribute resources and data to multiple users or devices. They are often used in businesses or organizations to store and share data and run applications.
mainframes
Mainframe computers are large, powerful machines that are designed to handle massive amounts of data and perform complex operations. They are often used in large corporations or government agencies.
supercomputers
Supercomputers are extremely powerful computers that are designed to process data at extremely high speeds. They are often used for scientific research and other specialized applications.
embedded systems
Embedded systems are small computers that are built into other devices, such as appliances, cars, and medical devices. They are designed to perform specific functions and operate without human intervention.
wearable computers
Wearable computers are small, portable devices that are worn on the body, such as smartwatches or fitness trackers. They are designed to track data and provide information on the go.
processor
The processor is the brain of the computer, and it carries out all the instructions and calculations required by the system.
memory
The memory or RAM (Random Access Memory) stores data temporarily for the processor to access quickly.
storage
Storage devices like hard disks, solid-state drives, or external drives provide long-term storage for data and files.