[Music] so hi there again everyone so this will be the chapter one of cs126-8 c plus plus programming an overview of computers and programming languages okay so in this chapter we're going to learn about different types of computers and we're going to discuss and explore the different types of hardware and software components of the computer system we're going to learn about also the language of computer and how the evolution of programming languages occurs and what are those high-level programming languages and then we're going to discuss all about what is a compiler and what it does
and we're going to have an example of c plus plus program and how c plus program is processed then we're going to learn what is an algorithm and we're going to explore some problem solving techniques dealing with algorithms such as flowchart and so the codes so if in case that i won't be able to give you examples here in online so by next meeting i'll be giving you an example of what is an algorithm in those examples of flowchart and sudo codes then we're going to become aware of what is the design of a structured
programming and the difference between a structured programming design to objected oriented design programming okay then we're going to discuss also the standard c plus plus and the ansi iso standard c plus plus and c stands for american national standard institute while iso is international standard organization okay so without software the computer is useless software developed with programming languages so what are those programming languages example of programming languages is actually c plus plus other than c plus plus we have still different types of programming languages those are very um [Music] well-known are java for example and
then the visual studio c sharp okay and um those languages such as assembly language are also examples of programming languages so for c plus plus it is actually the the foundation of all programming and this is suited for a wide variety of programming tasks so before the programming it is useful to understand all those terminology first of the computer system components so let's have a brief overview of what is actually the history of computer computer revolutions okay so general edition one is actually the early calculation devices such as abacus pass vascolin libny device the babbage
machines which are the difference in the analytical engines and holodeck machines for computer-like machines early computer-like machines we have the mark 1 the enya the von neumann architecture the univac the transistor and microprocessors now for the categories of computers these are the categories of the computers namely the mainframe computers the mid-sized computers and microcomputers which is what we call the personal computers or the one who actually we use at home what are the elements of the computer system so the elements of the computer systems are the hardware the cpu or the central processing unit the
main memory the secondary storage the input and output devices and of course software so let's take a look at first and discuss first hardware so for the hardware we have the central processing unit and of course including the primary or the main memory which is actually also called as ram or random access memory and of course hardware such as the input and output devices as well as the secondary storage so for the cpu and the main memory or the central processing unit of course we know that the central processing unit is the brain of all
the computer system you need and this is actually the most expensive piece of hardware included in the system you need and central processing you need is actually carries out arithmetic and logical operations so this is actually the components of the computer in the main memory so inside the motherboard for example we have included the central processing unit or the cpu so it directly um communicated and connected with the main memory as well as in the secondary storage so what we are actually inputted from the input device will be actually uh will be go goes to
the central processing unit and process it okay and then after it process it will be temporarily stored in the main memory and we can actually get the output from the output device so ram is stands for random access memory so this is actually as mentioned a while ago directly connected or directly communicated with the central processing unit and all programs must be loaded into main memory before they can be executed but again this is actually a volatile memory meaning when you loaded the programs on that particular memory when you turned off the computer the [Music]
documents or all the programs loaded into the main memory is automatically deleted all data must be brought into main memory before it can be manipulated and when the computer is turned off as mentioned a while ago everything in the main memory is lost or deleted so after the primary memory or the main memory we have also what we call the secondary storage so this storage are the devices that stores information permanently so what are the examples of the secondary storage these are the hard disk the flash drives floppy disks zip disks cd-roms and tape drives
so for the input output devices these are just some of the examples of the input and output devices input devices feed data and programs into computers so what are those examples of input devices these are the keyboard the mouse and of course secondary storage is also considered as an input device and then for the output device it's also display results okay so that means we can actually use displaying the results with the monitor and with the printer as well as of course if we want to retrieve the data or the file we can also get
it from the secondary storage now without hardware without people there and of course without software computer is nothing so when we say software software programs is a program that do specific tasks when you say system programs it takes control of the computer such as the operating system so there are actually two types of software the system software and the application software or we call it the system program or the application program so the system program takes control of the computer so when you say it takes the control of the computer it controls the peripheral devices
connected in our computer system you need so how we control the computer we use an operating system so after the system programs we have the application program or the application software application software performs a specific test say for example we want to do documentation or research we use word processor for example we want to create a record or if for example we want to create a simple database our simple calculations using different types of operations and conditional reformity we can use also spreadsheets and of course gains is an example of an application [Music] you