QUESTION ONE: One of the reasons for having an OS is to provide a user interface to a computer system –Name two different types of interface that an OS should provide –Identify for each type of interface a device that could be used to enter data –Identify and explain briefly three other management tasks carried out by an OS QUESTION TWO:•A PC OS will make available to a user a number of utility programs–Identify two utility programs that might be used to deal with a hard disk problem–For each of these utility programs explain why it might be needed and explain what it does–Identify two other utility programs for a PC user•Library programs are made available for programmers–Explain why a programmer should use library programs–Identify two examples of a library program QUESTION THREE:•Assemblers, compilers and interpreters are examples of translation programs–State the difference between an assembler and a compiler or interpreter–A ‘two-pass’ assembler is usually used. Give two examples of what might be done in the first pass–State what will be produced in the second pass•A programmer can choose to use an interpreter or a compiler.–State three differences between how an interpreter works and how a compiler works–Discuss the advantages and disadvantages of an interpreter compared to a compiler–If a programmer chooses java, a special approach is used. Identify one feature of this special approach.
Question
QUESTION ONE: One of the reasons for having an OS is to provide a user interface to a computer system –Name two different types of interface that an OS should provide –Identify for each type of interface a device that could be used to enter data –Identify and explain briefly three other management tasks carried out by an OS QUESTION TWO:•A PC OS will make available to a user a number of utility programs–Identify two utility programs that might be used to deal with a hard disk problem–For each of these utility programs explain why it might be needed and explain what it does–Identify two other utility programs for a PC user•Library programs are made available for programmers–Explain why a programmer should use library programs–Identify two examples of a library program QUESTION THREE:•Assemblers, compilers and interpreters are examples of translation programs–State the difference between an assembler and a compiler or interpreter–A ‘two-pass’ assembler is usually used. Give two examples of what might be done in the first pass–State what will be produced in the second pass•A programmer can choose to use an interpreter or a compiler.–State three differences between how an interpreter works and how a compiler works–Discuss the advantages and disadvantages of an interpreter compared to a compiler–If a programmer chooses java, a special approach is used. Identify one feature of this special approach.
Solution
QUESTION ONE:
- Two different types of interface that an OS should provide are Graphical User Interface (GUI) and Command Line Interface (CLI).
- A device that could be used to enter data for GUI is a mouse, and for CLI is a keyboard.
- Three other management tasks carried out by an OS are:
- Process Management: The OS manages the execution of different programs or processes, allocating resources as necessary.
- Memory Management: The OS is responsible for managing the computer's memory, including the allocation (and reallocation) of memory space to programs as they run.
- File System Management: The OS manages files and directories on the computer, including reading, writing, and organizing data on storage devices.
QUESTION TWO:
- Two utility programs that might be used to deal with a hard disk problem are Disk Defragmenter and Check Disk.
- Disk Defragmenter is needed to rearrange fragmented data, making your hard drive work more efficiently. Check Disk is used to scan the hard disk for logical and physical errors.
- Two other utility programs for a PC user could be an antivirus program and a backup utility.
- A programmer should use library programs to reuse code, save time, and improve efficiency.
- Two examples of a library program are the Standard Template Library in C++ and the Java API.
QUESTION THREE:
- An assembler translates assembly language into machine code, while a compiler or interpreter translates high-level language into machine code.
- In the first pass of a 'two-pass' assembler, it might identify all the labels and calculate their addresses, and check the syntax of the assembly code.
- In the second pass, it will generate the object code or machine code.
- Three differences between how an interpreter works and how a compiler works are:
- An interpreter translates and executes code line by line, while a compiler translates the entire program before execution.
- An interpreter does not produce an output program, while a compiler does.
- An interpreter is slower in execution, while a compiler is faster.
- The advantages of an interpreter include ease of debugging and no need for a separate compilation step. The disadvantages include slower execution speed. The advantages of a compiler include faster execution speed and more optimization opportunities. The disadvantages include a more difficult debugging process.
- If a programmer chooses Java, a special approach is used. One feature of this special approach is the use of a Just-In-Time compiler, which combines the advantages of both compilers and interpreters.
Similar Questions
Describe the primary purpose of an operating system, and then discuss at least three features that modern operating systems provide.
Discussion:The three types of software-application, utility and operating system- communicate only with those immediately above and belowIntroduction about Hardware, software and operating systemsHow an operating system works?What critical tasks are performed by an operating systemDiscuss variety of Operating systems such as: Windows, Android etc.Resources:Clink on the following link to watch the video:Operating SystemsOperating systems explained
Operating systems basics
Question 1What is an operating system?1 pointA computer, smartphone, or tabletThe physical components of a computerA program for sending emailThe interface between the computer hardware and the user2.Question 2Which of the following are operating systems? Select all that apply.1 pointWindowsLinuxAndroidSmartphones3.Question 3Which of the following statements correctly describe operating systems? Select all that apply.1 pointOperating systems help people interact with computers.Operating systems are able to run many applications at once.Computers run efficiently because of operating systems.Operating systems are the physical components of a computer.4.Question 4Computers communicate in a language called binary, which consists of 0s and 1s.1 pointTrueFalse
Which of the following statements accurately describe operating systems? Select three answers.Operating systems help humans and computers communicate with each other.Operating systems allow users to run multiple applications at once.Operating systems consist of physical components.Maintaining the security of an operating system is critical for the security of a computer.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.