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 (C)</p> Signup and view all the answers

What is the role of an executive in scheduling?

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

What does hardware coupling refer to?

<p>Transmission of data between circuits (A)</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 (D)</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 (A)</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 (A)</p> Signup and view all the answers

Which statement best describes message flow in an Association relationship?

<p>Bidirectional - messages flow in both directions (B)</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 (D)</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 (D)</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 (D)</p> Signup and view all the answers

Which UML diagram is an instance of a class diagram?

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

What do component diagrams visualize in a system?

<p>Organization and relationships among components (D)</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 (D)</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 (B)</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 (A)</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 (A)</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 (A)</p> Signup and view all the answers

What should be identified before drawing a deployment diagram?

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

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

<p>Preemptive (C)</p> Signup and view all the answers

What is a processor in the context of deployment?

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

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

<p>Scheduling criteria (A)</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 (B)</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 (D)</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 (A)</p> Signup and view all the answers

What is an instance object?

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

What is the purpose of the 'init' method?

<p>To initialize the object's variables (C)</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 (B)</p> Signup and view all the answers

More Like This

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