Compiler Design
Q1. What is a compiler?
answer - A compiler is software that converts a higher-level language to a low-level language /machine code.
Q2. What are the phases of converting HHL to machine code?
answer -
Compiler Design
answer - A compiler is software that converts a higher-level language to a low-level language /machine code.
answer -
Software Engineering
answer - An operating system is software that handles all the resources of a computer system, including hardware and software. It creates an environment for the user to run their programs efficiently and conveniently by simplifying the underlying hardware complexity and serving as a resource manager.
examples -
Let's say we have two apps, App1 and App2. When we start App1, it takes control of the necessary hardware and starts working. However, if we try to run App2 while App1 is still running, we won't be able to access it as App1 is using up all the resources and the new app will freeze. This problem is solved by the operating system, which divides the resources based on each app's requirements.
Currently, the management of resources is in place, but what if App1 attempts to manipulate the data of App2? Such actions could alter the user's data, rendering it unreliable. Therefore, the Operating System (OS) is responsible for ensuring the security of data and the functionality of parallel-running programs.
When a system lacks its own operating system files, there is a need to create additional resources and security management files for individual applications. This can cause the size of applications to increase to more than 100%. However, an operating system resolves this issue, as it is a basic requirement that can be shared.
Compiler Design Q1. What is a compiler? answer - A compiler is software that converts a higher-level language to a low-level language /mach...