17. Most of the maintenance cost is spend on O Adapt to environmental changes O Fixing faults O Refactoring O Adding new functionalities
Q: The Shortest Job First is a process scheduling strategy which is: A Pre-emptive B Non-pre-emptive C…
A: B.Non preemptive
Q: Write an HLA Assembly language program that implements a function which correctly identifies when…
A:
Q: 38. Establishing how a system may be structured and built is known as: A. System analysis. B. System…
A: The options in Question 40 are not visible so please resubmit the complete question. 38. System…
Q: Describe terms Managed or Unmanaged Code?
A: Managed: It is executed by common language runtime. All the security issues are handley Common…
Q: Software compatibility levels determines a. Amount of existing software b. Flexibility c. Protection…
A: Here, Four options are given.
Q: The concept of process for the structure of operating system is a. Fundamental b. Effectiv
A: The concept of process for the structure of operating system is fundamental Remaining options are…
Q: a) Discuss the System Engineering processes lifecycle b) The system environment is everything…
A: A)The Software Development Life Cycle (SDLC), also known as the application development life cycle,…
Q: What do you consider to be the most viable options for the future of a legacy system? In what…
A: Legacy system: The term "legacy system" refers to any system whose hardware, software, or both have…
Q: Which of the following is NOT a pitfall or fallacy listed in the text when evaluating the…
A: A pitfall or fallacy is a weakness.
Q: Q1: Define the following terms Resource allocation. o Accounting. File management Status information…
A: Answering first 3 parts as per the guidelines. The problem is based on the basics of operating…
Q: 29. Which of the following is not advantage of multiprogramming? a. Increased throughput b.…
A: 1) Multiprogramming Increases Throughput − Total number of programs executed over a fixed period of…
Q: A task runs to completion in X seconds, where X is the least significant two digits of your student…
A: A task runs to completion in X seconds, where X is the least significant two digits of your student…
Q: Which one of the following is NOT the advantages of Modularization? Select one: O a. Smaller…
A: Modularization: It is basically the process of breaking down the large piece of code into smaller…
Q: Discuss the possibility that a system may continue to operate normally even without the presence of…
A: Given: The operating system serves as a link between the user and the machine's hardware. It's a…
Q: Distinguish between consumable and reusable resources and give four examples of each.
A: Resources can be consumable or reusable. These resources play a major role in deadlocks. Reusable…
Q: ng is NOT often car assembly? CAM system. control and order B. Magnetic tape. C. Floppy disk. D.…
A: 9. As far as processor scheduling strategies are concerned, the acronym SJF stands for A. Smartest…
Q: C. Assume that the maintenance activity is performed according to the IEEE framework for sequential…
A: Assume that the maintenance activity is performed according to IEEE for a sequential maintenance…
Q: 1. Show execution schedule (Gant chart is preferred) 2. Waiting time for P1, P2, P3 and P4 3.…
A: Shortest job first non-premptive 1.find out Gantt chart 2.find out waiting time for process…
Q: The way a system actually works is referred as: Select one: O a actual system Ob unofficial system O…
A: The way a system actually works is the actual working of the system in practice different from what…
Q: C. Permits command lines operations. D. All of the above. 1. Which of the following can be…
A: 14. Answer: Option B. Java Object oriented and platform independent language: JAVA Given Options…
Q: The following is a condensed version of several suggestions for the creation of operating system…
A: Encryption: In contrast to the traditional kernel-based approach, the microkernel operating system…
Q: The new system is gradually introduced. When parts of the new system are working at a satisfactory…
A: The following solutions are
Q: Most of the maintenance cost is spend on .1 Adapt to environmental changes Fixing faults O…
A: The correct answer option is provided with explanation along with explanation for incorrect options…
Q: b) Analyze this program and FIND the error of the syntax. Give the reason and how it can be fixed. (…
A: The error in the code is that it is not properly formatted. The code should be formatted as shown in…
Q: 4. Calculate the late finishing time (backwards calculations) 5. Calculate the slack time of the…
A: Given that a certain type of activities and their durations to complete the project in time. find…
Q: Software consistency is often thought about in terms of flaws and errors by developers. Faults are…
A: Vulnerability of software Insecure software is described as software that violates security…
Q: Discuss the importance of the following software construction tools which are being used to…
A: Software Version Controlling System A version control system records all the changes made to a file…
Q: Use Round robin process scheduling method Process 1 completion time: 100ms Process 2 Completion…
A: Here each process can only for 40ms in a single stretch and will get preempted since CPU context…
Q: 38. Program pre-emption is A. Forced withdrawal of CPU from a program which is executing. B. Release…
A: Basics A context switch is the way towards putting away the condition of an interaction or string,…
Q: What are the things you need to consider in planning the maintenance procedures of computer systems…
A: The computer system is a combination of input, and output processes to store information. For…
Q: take apart assembled" components" means replace dismantle examine carry out planned maintenance"…
A: Assembled components is the method of combining the individual components into final product as the…
Q: The time lag, between the keying of the last character on the keyboard input and the appearance of…
A: Dear Student, The time lag, between the keying of the last character on the keyboard input and the…
Q: A computer expert produces a solution with HCI which is very efficient in computer resources, based…
A: HCI is also known as Human Computer interaction.
Q: A process loop, the technical term for a machine cycle, has four major components. Machine cycles…
A: In computing, a device's processing speed and performance are determined by the number of…
Q: ion needed code in java Priority: I/P: Process names, burst times, priority values O/P: Process…
A: Introduction: Below the java program Priority: I/P: Process names, burst times, priority values…
Q: What is the example to describe the Trojan horse? A. The poor quality program, e.g use of CASE…
A: Given To know the example that describe the Trojan horse.
Q: service of the Operating system keeps track of the system activity to optimize future performance?…
A: Please find the answer below :
Q: Concerns related to task synchronization or memory management is a. systemic b. functions c.…
A: Concerns related to task synchronization or memory management is systemic
Q: what is the best way to determine whether a software application is using system resources and…
A: The answer:
Q: 321. Software which controls general operations of computer system is classified as a. dump programs…
A: Answer: c. operating system.
Q: Create the Gannt Chart for preemptive and non-preemptive Priority Scheduling b. Computer for the…
A: Assume that, process with priority 7 has the highest and 1 is the least priority. Preemptive…
Q: *: The priority of a real time task a) Must not degrade over time O b) Must degrade over time O c)…
A: Answer the above question are as follows:
Q: Which of the following statements pertain to the software quality of portability? a. It can be…
A: Portability refers to the testing with ease of moving one product or software from one environment…
Q: Shortest Process First (SPF) scheduling in a multiprocessing system is unrealistic because (select…
A: SJF scheduling in a multiprocessing system is unrealistic because : opt a. Processes may stop…
Q: How can you assess if a software program is using system resources and thus slowing down the system?…
A: Introduction: Until the offending programmer is found, you may have to cope with the issue of system…
Q: Q. Each of the five fundamental task management methodologies used in operating systems should be…
A: Answer: Five basic task management approaches used in the operating systems are: 1) File management:…
Q: o project new technology which SDLC performs better. [CO2] which one answer ? Scrum XP…
A: Scrum: It belongs to agile methodology and comes into picture when there is very high demand of…
Q: A system contains five tasks. There are three resources X, Y, and Z. Th resource requirements of the…
A:
Step by step
Solved in 2 steps
- InClass Exercise Task01 (V1.0)Requested files: Inclass_Task01.java ( Download)Type of work: Individual workThe Namibia University of Science and Technology would like to introduce an automated student number and email generation system. The system takes into consideration the following: a) To generate the student number it takes three letters(the first, middle and last letter) of the student’s surname and adds it to the first three letters from the first name, then finally adds a three digit postfix number. b) To generate the email is quite easy it just takes the first letter from the first name and adds it to the surname , then it adds the @students.nust.na postfix Your task is to create a program that can achieve the above requirements when given the students surname, first name and three digit postfix through CMD arguements Sample run 1: java InClass01_task01 Kandjeke Jenifer 003 Output: Good day Jenifer welcome to NUST. Your email address is : jkandjeke@students.nust.na Student…Art.java In this part you will create a program Art.java that produces a recursive drawing of the design attached in the picture. Requirements Art.java must take one (1) integer command-line argument n that controls the depth of recursion. Your drawing must stay within the drawing window when n is between 1 and 7. (The autograder will not test values of n outside of this range.) You may not change the size of the drawing window (but you may change the scale). Do not add sound. Your drawing can be a geometric pattern, a random construction, or anything else that takes advantage of recursive functions. Optionally, you may use the Transform2D library you implemented in Part 1. You may also define additional geometric transforms in Art.java, such as sheer, reflect across the x- or y- axis, or rotate about an arbitrary point (as opposed to the origin). Your program must be organized into at least three separate functions, including main(). All functions except main() must be private. call…JAVA LANGUAGE Body Mass Index Version 2.0 by CodeChum Admin Recall that according to the National Heart, Lung, and Blood Institute of the National Institutes of Health, body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women. It is used to monitor one's health by determining whether one is underweight, overweight, has normal weight or is obese. It is computed based as follows (when using standard weight in pounds and height in inches): BMI = 703 x (weight/(height2)) Furthermore, people with BMI scores that are less than 18.5 are said to be underweight. Those with scores between 18.5–24.9 (inclusive) are of normal weight. Those with scores between 25–29.9 (inclusive) are said to be overweight. And those with scores 30 or higher are obese. Input The input is composed of two positive integers representing the weight in pounds and the height in inches. 140·65 Output A single line containing two values: the computed…
- Code in Java Kattis the Cat enjoys clearing quests on her mobile game. Each quest has an energy consumption E, and gold reward G. However, as Kattis has become very busy lately with grading her student’s problem sets, she does not have much spare time as before to keep clearing quests.Edit only the class definition. DO NOT CHANGE the code given under 'main' please. Steps: Additionally implement any Python Magic/Dunder methods such that instances of the class minimally:1. Support addition, subtraction, equality operations and the built-in abs function2. Are Iterable i.e., support for loops and star arguments for unpacking into function calls3. Support a string representation that displays the class name and coordinates stored by the instance: i.e. for an object initialized as: Vector(0, 3), the string representation should be ‘Vector(0, 3)’The code given under main tests for each of the program requirements and subsequently uses the turtle module to plot randomly generated points rotated. A screenshot for a sample run of the program is attached. Template.py: from math import hypot, pi from random import uniform import turtle as t class Vector2D: ... if __name__ == '__main__': # Test Vector class a, b = Vector2D(0, 3), Vector2D(0, -3) tests =…Answer in Swift language please: Urgent Class design and implementation. create a command line in which you should design and implement a math operation class for fraction calculation. The class name is MOpt, which should include numerator and denominator and support the functions: add, subtract, multiply, and divide. You should also implement the operation reduce, where all the operations performed (+, -, *, /) must be reduced to the simplest form before being returned. Your class should perform the following math operations: 1/4 + 3/4 = 4/4 = 1 1/4 – 3/4 = -1/2 (not -2/4 using operation reduce) 3/4 – 1/4 = 1/2 (not 2/4) 1/2 * 2/5 = 1/5 (not 2/10) 1/4 / 1/2 = 1/2 (not 2/4) Your code should look like this: let m1 = MOpt(1, 4) let m2 = MOpt(3, 4) let m3 = MOpt(1, 2) let m4 = MOpt(2, 5) let m5 = m1.add(m2) let m6 = m1.subtract(m2) let m7 = m2.subtract(m1) let m8 = m3.multiply(m4) let m9 = m1.divide(m3) The toString() method should be create to print out the fraction number, for example,…
- Swapping Values in Java Summary In this lab, you will complete a Java program that swaps values stored in three int variables and determines maximum and minimum values. The Java file provided contains the necessary variable declarations, as well as the input and output statements. You want to end up with the smallest value stored in the variable named first and the largest value stored in the variable named third. You need to write the statements that compare the values and swap them if appropriate. Comments included in the code tell you where to write your statements. Instructions Write the statements that test the first two integers, and swap them if necessary. Write the statements that test the second and third integer, and swap them if necessary. Write the statements that test the first and second integers again, and swap them if necessary. Execute the program using the following sets of input values. 101 22 -23 630 1500 9 21 2 2 Use the given code // Swap.java - This…248. The ability for programmers to use the same written and debugged existing class. a. Reusability b. Design c. Debugging d. ImplementationMixed Fraction Arithmetic Java Project: Problem Description: Make a java program that facilitates addition, subtraction, multiplication, and division of mixed numbers (similar with the first activity) but this time all of the inputs /outputs may involve fractions, mixed fractions, or a combination. Points to consider: MixedFraction class must override the operations (add, subtract, multiplyBy, divideBy) inherited from Fraction class to have a different implementation if the MixedFraction object will have a Fraction object as parameter in performing the required operation, On top of that, the inherited operations must also be overloaded to allow a MixedFraction object to accept other parameters such as a whole number or another MixedFraction object. The toString method which is inherited must also be overridden by MixedFraction to have a more appropriate return value. Further formatting must also be considered such that if the result of the operation has a zero value for the whole…
- Fractran interpreter def fractran(n, prog, giveup=1000): John Conway, who was quite a character among mathematicians, is best known for The Game of Life, not to be confused with the family board game sharing the same name. That achievement eclipsed basically all other wacky and original creations of Conway, so in the name of fairness, we ought to give his less appreciated creations an occasional turn in the flashing lights of the red carpet fame. This lab has you write an interpreter for the simple esoteric programming language called FRACTRAN, named as a pun of the word “fraction” and the FORTRAN programming language. (Things used to be all in uppercase back in when real scientists wore horn-rimmed glasses and their cars were equipped with tail fins, with occasional dollar signs interspersed as separators to keep the pampered prices of the military-industrial complex happy.) A program written in such mysterious and hard-to-decipher form consists of nothing but a list of positive…Find the bug in my simple python code and correct it. let me knwo if there are tab errors # Course : ICT 4007: Creative Problem Solving and Programming Concepts # Term : Fall 2021 # Program Name : Python Coding Project # Author : Robel Geremew # Date Written : 11/14/2021 # Description : This program demonstrates our understanding of classes, objects and arrays in python # Declaring an employee class class Employee: def __init__(self, name): self.name = name def print_array (self,name): emlpoyee = ["Homer" , "Lisa", "Marge", "Maggie", "Bart"] for n in emlpoyee: emlpoyee(n) # Creating employee objects and accessing attributes my_employee_1 = Employee("Homer") print(" The first employee is " , my_employee_1.name) my_employee_2 = Employee("Lisa") print(" The Second employee is " , my_employee_2.name) my_employee_3 = Employee("Marge") print(" The Third employee is " ,…*C Programming This exercise is to help you learn how to debug compiler warnings/errors and other common errors in your code. For each part labeled P(n), there is a warning/error/problem that goes with it. Write down what the issue was in the `Error:` section of each problem. Work on `segfault.c` along with your fixes and error comments. segfault.c file // P0#include <stdio.h>#include <stdlib.h>/* Error: */ void fib(int* A, int n); intmain(int argc, char *argv[]) {int buf[10];unsigned int i;char *str;char *printThisOne;char *word;int *integers;int foo;int *bar;char *someText; // P1for (i = 0; i <= 10; ++i) { buf[i] = i;}for (i = 0; i <= 10; ++i) { printf("Index %s = %s\n", i, buf[i]);}/* Error: */ // P2str = malloc(sizeof(char) * 10);strcpy(str, "Something is wrong");printf("%s\n", printThisOne);/* Error: */ // P3word = "Part 3";*(word + 4) = '-';printf("%s\n", word);/* Error: */ // P4*(integers + 10) = 10;printf("Part 4: %d\n", *(integers +…