Application and Utility Software Quiz
37 Questions
5 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What type of software is designed specifically for end-users to perform tasks?

  • System software
  • Application software (correct)
  • Utility software
  • Firmware
  • Utilities are essential for directly interacting with hardware.

    False

    Name one example of application software.

    Word processor

    The process of rearranging fragmented files on a hard disk is called _____ defragmentation.

    <p>disk</p> Signup and view all the answers

    Which of the following is an example of a utility program?

    <p>Antivirus</p> Signup and view all the answers

    Compilers are types of application software.

    <p>False</p> Signup and view all the answers

    What is the primary function of an antivirus utility?

    <p>Detect and remove threats</p> Signup and view all the answers

    Match the following types of software with their descriptions:

    <p>Systems software = Software for user tasks Application software = Responsible for running the computer system Utility software = Maintains high performance of the operating system Translators = Convert source code into machine code</p> Signup and view all the answers

    What is a key characteristic of static linking?

    <p>Modules are added directly into the main file</p> Signup and view all the answers

    Dynamic linking allows programs to automatically incorporate updates to libraries without the need to rewrite the code.

    <p>True</p> Signup and view all the answers

    What are loaders used for in a program?

    <p>Loaders are programs that retrieve libraries or subroutines from a specified memory location when a file is executed.</p> Signup and view all the answers

    Libraries are pre-compiled programs that can be incorporated within other programs using either ______ or ______ linking.

    <p>static, dynamic</p> Signup and view all the answers

    Match the following types of linking with their characteristics:

    <p>Static Linking = Increases the size of the file Dynamic Linking = Addresses are included for runtime retrieval Loader = Retrieves libraries from memory Library = Pre-compiled and ready to use in programs</p> Signup and view all the answers

    What is the primary function of the automatic updating utility?

    <p>Automatically updating the operating system with security patches and bug fixes</p> Signup and view all the answers

    Open source software requires a paid license to use.

    <p>False</p> Signup and view all the answers

    What is one advantage of closed source software?

    <p>High levels of security</p> Signup and view all the answers

    The _____ utility creates routine copies of specific files selected by the user.

    <p>backup</p> Signup and view all the answers

    Match the following terms with their correct descriptions:

    <p>Open Source = Can be modified and improved by anyone Closed Source = Requires a license to use and does not allow access to source code Backup Utility = Creates routine copies of selected files Automatic Updating = Ensures the operating system receives regular security updates</p> Signup and view all the answers

    Which of the following is a disadvantage of open source software?

    <p>Support available online may be insufficient or incorrect</p> Signup and view all the answers

    Closed source software can be modified freely by users.

    <p>False</p> Signup and view all the answers

    What is one responsibility of the user regarding the backup utility?

    <p>To specify how often files are backed up</p> Signup and view all the answers

    What is the first stage of compilation called?

    <p>Lexical Analysis</p> Signup and view all the answers

    The purpose of the optimisation stage is solely to add more lines of code to the program.

    <p>False</p> Signup and view all the answers

    What is produced as a representation of the source code in the syntax analysis stage?

    <p>abstract syntax tree</p> Signup and view all the answers

    During the syntax analysis stage, tokens that break the language rules are flagged as ________ errors.

    <p>syntax</p> Signup and view all the answers

    Match the following compilation stages with their key activities:

    <p>Lexical Analysis = Removes whitespace and comments Syntax Analysis = Produces abstract syntax tree Code Generation = Generates machine code Optimisation = Increases code execution efficiency</p> Signup and view all the answers

    Which of the following is a potential error detected during semantic analysis?

    <p>Multiple declaration</p> Signup and view all the answers

    Which of the following is a disadvantage of using closed source software?

    <p>Lower security due to development in a controlled environment</p> Signup and view all the answers

    Linkers are responsible for linking external modules and libraries included in the code.

    <p>True</p> Signup and view all the answers

    Interpreters are generally slower than compilers because they translate code line-by-line.

    <p>True</p> Signup and view all the answers

    What is the purpose of a symbol table during compilation?

    <p>to store information about tokens</p> Signup and view all the answers

    What is the main function of a translator in programming?

    <p>To convert high-level source code into low-level object code.</p> Signup and view all the answers

    Assembly code is considered a ______-level language.

    <p>low</p> Signup and view all the answers

    Match the type of translator with its description:

    <p>Compiler = Translates high-level code all at once Interpreter = Translates and executes code line-by-line Assembler = Translates assembly code into machine code High-level language = Designed to be easy for humans to read and write</p> Signup and view all the answers

    What is a key advantage of interpreted code?

    <p>It can be executed on various platforms if the correct interpreter is available.</p> Signup and view all the answers

    Compiled code can be executed on any device without the need for a translator.

    <p>False</p> Signup and view all the answers

    Name the three types of translators mentioned.

    <p>Compiler, Interpreter, Assembler.</p> Signup and view all the answers

    Study Notes

    OCR Computer Science A Level - 1.2.2 Applications Generation

    • Applications software is designed for specific tasks, needing systems software to run
    • Examples include desktop publishing, word processing, spreadsheets and web browsers
    • System software is low-level, running the computer smoothly and providing a platform for applications.
    • Users do not directly interact with system software, but it ensures high performance
    • Examples are library programs, utility programs, operating systems, and device drivers
    • Utilities are crucial system software, ensuring consistent high performance of the OS
    • Examples include compression (large files compressed for internet transmission), and Disk Defragmentation (reorganizing files for speed.)
    • Antivirus is responsible for detecting, alerting, and removing computer threats.

    Open Source vs Closed Source

    • Source code is the object code before compilation
    • Open source code is accessible to the public, usable without license, and distributed with source code
    • Closed source code requires a license, users cannot access the source code (copyright held by company.)
    • Open source advantages include modification and improvement by anyone, technical support from online communities, and modification/sale
    • Open source disadvantages include insufficient/inaccurate online support, lack of user manuals, and lower security
    • Closed source advantages include thorough updates, regular testing, expert company support and user manuals, and high levels of security
    • Closed source disadvantages include license restrictions on use, restricted user modification, and no software improvements by users.

    Translators

    • Translators convert high-level source code to low-level object code, executable by the computer
    • Three types: compilers, interpreters, and assemblers
    • Compiler translates high-level codes into machine code all at once, and reports errors
    • Compiler process is longer than interpreters or assemblers, and if changes are needed, the entire program has to be recompiled
    • Compiled code can only be executed on certain devices, specific to a particular processor type and operating system.
    • Interpreter translates and executes code line-by-line, stopping and reporting errors if necessary.
    • Interpreted code is useful for testing, but slower than compiled code, as code translation is performed each time
    • Interpreted code is platform independent because it needs a specific interpreter to run on.

    Assembler

    • Assembly code is one level up from machine code, platform-specific (based on processor)
    • Translates assembly code to machine code, with each assembly line equivalent to almost/nearly a machine code line

    Stages of Compilation

    • Lexical analysis: whitespace and comments are removed, code is analyzed for keywords and variables
    • Syntax analysis: tokens are analyzed against the language rules, errors identified
    • Parsing: verifies if the code is well-formed
    • Code Generation: abstract syntax tree produced in syntax analysis is used to produce machine code
    • Optimisation: code is examined for efficiency, redundant sections removed, repeated code portions may be replaced, for increased speed.

    Linkers, Loaders and Use of Libraries

    • Many programs use external code (subroutines/libraries) from outside sources.
    • Linkers join external modules and libraries into the main program
    • Static linking includes modules and libraries directly into the main file (larger file size, external updates don't impact program)
    • Dynamic linking uses addresses in the program to reference external modules and libraries (smaller files, external updates automatically applied.)
    • Loaders are OS programs that retrieve libraries and subroutines when a file is executed.
    • Libraries are pre-compiled programs for specific functions, saving programming time

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    Test your knowledge on different types of software, including application and utility programs. This quiz covers definitions, functions, and characteristics associated with software used by end-users and systems. Gain insights into concepts like defragmentation, linking, and the roles of utilities.

    More Like This

    Mastering Computer Software
    10 questions
    Types of Software
    5 questions

    Types of Software

    StrongMeerkat avatar
    StrongMeerkat
    Application Software in Education
    10 questions
    Use Quizgecko on...
    Browser
    Browser