Suppose you are an operating system designer and have been approached by the system administrator to help solve the recurring deadlock problem in your installation’s spooling system. What features might you incorporate into the operating system so that deadlocks in the spooling system can be resolved without losing the work (the system processing) that was underway or already performed by the deadlocked processes? Discuss using a short essay summary to explain how you go about solving deadlock problems.
Discuss Linux as an open source software articulating the advantages and disadvantages of using open source software.
Discuss the features that makes Linux more secured than other operating systems.
Write a program that uses a structure to store the following data about a customer account:
· Name
· Address
· City
· Telephone Number
· Account Balance
With a function of withdrawMoney( float amountwithdraw) and depositMoney(float amountdeposit).
Implement a structure of car having car model, plate number, location, isParked (boolean type).
Car can move and park.
Move(): This function may update the location of car as it is moved.
Park(): This function added car details in the system and update is parked status.
Your program will also tell the parking managemt about the status of parking using isParked().
IsParked() : This function can find a car is it parked on not?
Create objec-oriented java program that will ask the user for 2 names ( boy and girl).
1. Two (2) classes -MyMainClass and Other Class
2. One (1) Constructor - set the name of the girl and boy (for object)
3. Two (2) accessors
getBoyNumLetters () & getGirlNameLetters (return numbers of letters)
4. One (1) mutator - check (to check who has the higher number of letters)
Sample output:
Enter the name of the girl: Claire
Enter the name of a boy: Christian
Claire has 6 letters of her name.
Christian has 9 letters in his name
The boy's name has more letters than the girls
Write a class named
Student that has the following member variables:
• name. A string that holds the student ’s name.
• ID Number. An int variable that holds the student ’s ID number.
• major. A string that holds the name of the major of the student.
• Grade. A string that holds the student ’s grade.
The class should have the following member functions:
• get (): A member function that defined outside of the class, accepts the following values as arguments and assigns them to the appropriate member variables: student’s name, student’s ID number, major, and grade.
• put (): A member function that defined in side the class and display all the values as an output.
Write a C++ program that creates one object of Student class to hold the following data.
Name: Susan Meyers
ID Number: 47899
Major: MIS
Grade: A
The manager of the company has informed his assistant to enter the age
of all the workers working in production department. Among all he has to
find the employee with maximum age employee. Help the manager with
c++ program based on the concept of object oriented programming by
creating a class employee having members empid, empname, edept,eage
and display the name ,dept. and salary employee whose age is maximum.
Store the date of at least 7 employees. Make the data members of class
only public .
Constraints
Employee age should greater than 22 if constraints are not matched then
display "wrong age input
Write a C# Program to rotate an Array of size 10 in left and right Direction three times Create a Class of ArrayRotate with data member of integer type array of size 10, property of that member, all constructors, destructor, user define displayArray() Method, RotateLeft(int[] arr) Method, RotateRight(int[] arr) Method. Then test the functionality of Class in the Driver Class of RotateArray.
Write a program to create a vehicle Class with nax_speed and mileage instance attributes