Maintainability and Software Portability Quiz
30 Questions
0 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 does preemptive scheduling imply?

  • Lower priority processes preempt higher priority processes (correct)
  • Higher priority processes preempt lower priority processes
  • Processes run without any priority
  • Processes are terminated abruptly
  • In non-preemptive scheduling, what happens when a process is running?

  • The process runs until completion (correct)
  • The process is sent to the waiting queue
  • The process is terminated immediately
  • The next process begins execution
  • What characterizes round-robin scheduling?

  • The CPU cycles between processes in a fixed time interval (correct)
  • Processes are executed manually by the user
  • Processes are executed based on priority levels
  • Processes execute without any time constraints
  • What is a time quantum in multitasking systems?

    <p>A short time given to each user or program for execution</p> Signup and view all the answers

    What is the role of an executive in scheduling?

    <p>Directing the scheduling algorithm</p> Signup and view all the answers

    What does hardware coupling refer to?

    <p>Transmission of data between circuits</p> Signup and view all the answers

    What is the purpose of an Association relationship in a class diagram?

    <p>To model communication between classes</p> Signup and view all the answers

    How is an Association represented in a class diagram?

    <p>By a solid line with a line arrowhead</p> Signup and view all the answers

    What do two classes need to be able to do in order for an Association relationship to exist between them?

    <p>Communicate with each other</p> Signup and view all the answers

    Which statement best describes message flow in an Association relationship?

    <p>Bidirectional - messages flow in both directions</p> Signup and view all the answers

    In the context of a class diagram, what does the term 'Multiplicity' refer to?

    <p>The number of objects that can participate in a relationship</p> Signup and view all the answers

    What visual element is used to represent an Association in a class diagram?

    <p>Solid line with an arrowhead</p> Signup and view all the answers

    What is the purpose of an object diagram?

    <p>To show a snapshot of the detailed states of system objects at a specific time</p> Signup and view all the answers

    Which UML diagram is an instance of a class diagram?

    <p>Object Diagram</p> Signup and view all the answers

    What do component diagrams visualize in a system?

    <p>Organization and relationships among components</p> Signup and view all the answers

    In what way are object diagrams different from component diagrams?

    <p>Object diagrams capture detailed states of system objects</p> Signup and view all the answers

    How does a dependency relationship typically occur between classes?

    <p>From the Cart class to the Product class</p> Signup and view all the answers

    When creating a diagram, why should only necessary information be added?

    <p>To ensure the diagram is as simple as possible</p> Signup and view all the answers

    What is maintainability in the context of a system?

    <p>The ability of a system to be maintained</p> Signup and view all the answers

    What is the primary goal of software portability?

    <p>To make the source code run on different platforms</p> Signup and view all the answers

    What should be identified before drawing a deployment diagram?

    <p>The nodes and their relationships</p> Signup and view all the answers

    What type of scheduling criterion allows high-priority processes to interrupt low-priority processes?

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

    What is a processor in the context of deployment?

    <p>Any machine with processing power</p> Signup and view all the answers

    What determines the order in which processes are selected by a processor?

    <p>Scheduling criteria</p> Signup and view all the answers

    What is the purpose of the 'self' keyword in a class?

    <p>To refer to the current object being created</p> Signup and view all the answers

    What is a constructor in object-oriented programming?

    <p>A special method that is called when an object is created</p> Signup and view all the answers

    What does the 'protected' access modifier do?

    <p>Makes the member accessible to the class, its subclasses, and classes in the same package</p> Signup and view all the answers

    What is an instance object?

    <p>A class itself</p> Signup and view all the answers

    What is the purpose of the 'init' method?

    <p>To initialize the object's variables</p> Signup and view all the answers

    What is a method in object-oriented programming?

    <p>A function that is inside a class and takes an instance object</p> Signup and view all the answers

    More Like This

    Software Architecture Attributes Quiz
    12 questions
    Attributes of Excellent Software Architecture
    11 questions
    Importancia de la simplicidad en software
    40 questions
    Use Quizgecko on...
    Browser
    Browser