









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










C++ is a general-purpose programming language that was developed as an extension of the C programming language. It was created by Bjarne Stroustrup, a Danish computer scientist, in the early 1980s at Bell Labs (AT&T). The development of C++ began in 1979 when Stroustrup started working on "C with Classes," which later evolved into C+ +.
C++ is often referred to as a "middle-level" programming language because it combines both low-level features (similar to C) and high-level abstractions. It supports procedural, object-oriented, and generic programming paradigms, making it a versatile language suitable for various applications. C++ is known for its efficiency, performance, and ability to directly manipulate hardware, which makes it popular in systems programming, game development, embedded systems, and more.
Internal Components Most importantly, the internal components are the elements that directly connects with the main functionalities of the computer. CPU, RAM, ROM, and motherboard are few examples. CPU is the main execution unit of the computer. It divides further into two components: Arithmetic and Logic Unit (ALU) and the Control Unit (CU). The ALU performs the mathematical calculations and the logical operations. The Control Unit (CU) carries the control signals to operate other components. RAM which stands for Random Access Memory that stores data, programs and program results for the CPU to perform tasks. It is possible to perform read and write operations in RAM. The amount of RAM is a considerable factor to determine the performance of the computer. It requires more time for the CPU to access secondary storage such as hard disk for all operations. Therefore, the RAM is used as the primary storage. It is a volatile memory. Therefore, it holds data temporary. In other words, powering off the device will erase the data in the RAM. ROM stands for Read Only Memory. It is only possible to read from the ROM. It is a nonvolatile memory, so the data is permanent. It consists of the instructions required to start a computer. Moreover, a motherboard is a single platform. It connects CPU, memory, hard drives and other ports through cables. Those are main hardware components found in a computer. What is Software Software is a collection of procedures, instructions, documentation that tells a computer exactly what to do or allows users to interact with a computer. Sometimes it is abbreviated as S/W and SW, which is most important for a computer or other similar devices. Most of the computers may be useless without software. For example, if a software program, MS-Word is not installed into your computer, you cannot make any document that can be completed through MS-Word. Also, you cannot surf the Internet or visit any website if your system has no Internet browser software. Additionally, the browser could not run on the computer without an operating system. The Google Chrome, Photoshop, MS Word, Excel, MySQL and more are examples of software. The picture is shown below, is an example of software, which is a picture of Google Chrome, which is an Internet software program.
Figure 2: Software System Software System software allows operating, controlling and extending the processing capability of a computer. This software is necessary to run hardware and application software. They are the interface between the hardware and the end users. Usually, computer manufacturers develop system software. The common programming languages to develop system software are C, C++, and Assembly language. Some examples for system software are operating system, compilers, assemblers, interpreters and device drivers. An operating system performs task management, memory management, file handling and hardware management and many more. The compilers and interpreters convert a high-level program into machine understandable machine code. An assembler converts the assembly language program to machine code. The device drivers control and monitor the functionalities of specific devices such as printers.
o Entertainment Software: Video games, multimedia players, and streaming programs are examples of entertainment software. These programs allow users to participate in engaging, entertaining, and recreational activities. o Communication Software: Email clients, instant messaging programs, video conferencing tools, and web browsers are all examples of communication software. These programs allow users to connect, work together, and access internet resources.
Bytes in computer processing and programming
How many bits in a byte?
What is Character? In computer words, It can be the representation of anything, let it be comma, punctuation, or next line, or any symbol which has a measurable size in bits. Its definition was first given by ASCII and represents any kind of symbol in the terminology. Even the word computer has characters. It is otherwise called char and can represent texts, numbers, or symbols used in the codes or languages. Here, something to note is that all the characters should belong to any program or at least to the OS. This makes the character have an identity, and it will not throw any error when called in the language or any program. They are represented in different
ways, such as if they are texts or letters, they should be represented within single quotes, while if they are numbers, It will not use any quotes to represent the same. It will have meaning, and meaningless letters or symbols are not part of the character. Each character represents the flow of a program and is important to ensure efficient working of the program or coding in the system. Even space is a character, and if graphics-based applications are considered, all the punctuations and symbols on the screen are characters. It is the visual representation of the information through any letter or number, or symbol passed in the program or the stored data to run successfully in the system. All the information is displayed on the system, and hence we can say that characters store and display the information of any program related to it. Importance of Character
is important to denote the end of a program or a string in the computer program. Other non-printable keys are the enter key and tab key. We can say that letters, symbols, emojis, and numbers are types as each represents the representation, and one cannot be replaced for another. Symbols cannot be avoided in a program, and each symbol is represented by keys so that each is recognizable in its own ways. Smileys or emojis come under the Unicode standard and have a specific size for each smiley. Conclusion They are important to any program or process in the computer, and understanding it becomes the basis for understanding any program or the computer hardware. All the processes are represented with the help of characters and recognized to modify the codes in the program