Questions
The five major activities of an operating system in regard to process management are?

The five major activities of an operating system in regard to process management are?

In: Computer Science

You have decided to enter a South African Innovative App Competition. The competition requires you (and...

You have decided to enter a South African Innovative App Competition. The competition requires you (and your team) to think of an innovative idea that could lead to the development of an App aimed at assisting and benefiting South African citizens in government services

Some fundamental assumptions and project requirements:
• Preferably, the system approach/project information system approach is to be followed;
• Budget is limited to R500 000;
• A minimum of five team members must be involved in the running of the project from start
to finish. You are expected to conduct your own research regarding the product, project
team selection and developing a project schedule and management;
• Project duration must not exceed 10 months;
• Additional assumptions and requirements must be adequately added.

This question may be completed using any suitable application software, including Microsoft Word.

Create a Project Activity List for your chosen project using the following format. The Activity List should include but is not limited to the following information:

Task | Task Name | Duration | Start Time | Finish Time | Predecessors | Budget Number

The solution should include the following tasks:
 An activity list of no less than 40 activities for the chosen project;
 Identify all activities:
o Number each task;
o Name each task;
o Provide the duration of each task;
o Schedule, and sequence project accordingly;
 Use phases, summary tasks, deliverables, and work packages;
 Use at least (minimum) of four team members as resources;
 Use at least (minimum) of six milestones;
 Estimate the cost of each task;
 Project summary;
 Show the total cost (budget) of the project.

PROJECT ACTIVITY LIST
Activity list +/‐ 40 activities for the chosen project; Duration of each of the identified activities;
Scheduling (including resources) of each of the identified activities;
Sequencing (including numbering, predecessors, etc.) of each of the identified activities;
Use phases, summary tasks and deliverables;
Use at least (minimum) of four (4) team members;
Use at least (minimum) of six (6) milestones;
Budget of the project

In: Computer Science

def main(): phrase = input('Enter a phrase: ') # take a phrase from user acronym =...

def main():
phrase = input('Enter a phrase: ') # take a phrase from user
acronym = '' # initialize empty acronym
for word in phrase.split(): # for each word in phrase
acronym += word[0].upper() # add uppercase version of first letter to acronym
print('Acronym for ' + phrase + ' is ' + acronym) # print results

main()

The program should then open the input file, treat whatever is on each line as a phrase and make its acronym using the function you wrote. It should print the acronyms, one per line to the output file. Assume that the input file will be already present in your default Python folder. The output file will be expected to get saved to the same folder. See below for an example input file input.txt and its corresponding output file output.txt that the program should generate.

Input: personal computer

Output:PC

In: Computer Science

Write a Java program to do the following USING ARRAYS 1) input 15 integers (input validation,...

Write a Java program to do the following USING ARRAYS

1) input 15 integers (input validation, all numbers must be between 0 and 100)

2) find the largest number.

3) Find the Smallest Number

4) Find the Sum of all numbers in the Array

Display:

Largest Number

Smallest Number

Sum of all numbers

the original Array

DO NOT USE METHODS OR FUNCTIONS

In: Computer Science

USE C++ for the program and kindly keep it as simple as possible , use recursion...

USE C++ for the program and kindly keep it as simple as possible , use recursion and do not use loops please keep program simple and comment if possible

Suppose you have been given the task to design a text editor which will take any
multiline text from user and then display the statistics like total number of characters i.e.,
characters_count (excluding the white space and punctuations), words_count, and

redundant_words_count. Create a structure named Text_Editor having four type members
namely inserted_text (of type string), characters_count (of type unsigned int),
words_count (of type unsigned int), and redundant_words_count (of type unsigned int).
The structure should also have member functions namely Insert_Text( ) for obtaining the
multiline text from user and assigning to input_text member-variable. End of text insertion
should be specified by ‘#’ character. Moreover, there should be a separate member-function
of the created structure named Count_Ch( ), Count_Words( ), and
Count_Redundant_Words( ) that should process the input text in order to calculate and
print the relevant statistics. All these different tasks are to be implemented using recursion
technique.

In: Computer Science

Lab 1 – Numbers in Descending Order Design an application that accepts 10 numbers and displays...

Lab 1 – Numbers in Descending Order

Design an application that accepts 10 numbers and displays them in descending order

For the programming problem, create the pseudocode and enter it below.

Enter pseudocode here

In: Computer Science

Please no plagiarism and must be in your own words. (4 pages minimum) Case: You run...

Please no plagiarism and must be in your own words. (4 pages minimum)

Case: You run cybersecurity operations for the for a healthcare emergency response logistics firm with global contracts with contracts with the United States and the Canadian government. COVID-19 had caused your organization to move to telework.

Write an overview of 3-4 pages introduction paper explaining what is currently happening. the paper should address the following questions:

  1. What is the impact of COVID 19 on organizations?
  2. What are some key statistics about COVID 19 costs to organizations?
  3. What are the staffing and employee safety issues related to COVID 19?
  4. What are organizational responses to COVID 19 (Telework, Social Distancing, etc.)?

In: Computer Science

Describe the fundamental differences between “White Hat, Black Hat, and Grey Hat” Hackers. What do all...

Describe the fundamental differences between “White Hat, Black Hat, and Grey Hat” Hackers. What do all these different types of hackers have in common? What positive and negative consequences could their actions have? Include a question that responding students can reply to within your initial post.

In: Computer Science

Create a for which will have the following controls. 1. Label for First Name and TextBox...

Create a for which will have the following controls.

1. Label for First Name and TextBox for the First Name

2. Label for Last Name and TextBox for the Last Name

3. Label for bank account balance and TextBox for the bank account balance (assume $1000 in the bank account)

4. Create a button Name. The user will click the button and the first name and last name will be displayed on the label. You will create a label called lblFirstLastName to display the First and last Name.

5. Create a button bankbalance. The user will click the button and the balance will be displayed on the label. You will create a label called lblBankbalance to display the bank balance.

6. Create a Cancel button to cancel the form

------------------------------------------------------------------------------------------------

package swing;
import javax.swing.*;
public class SwingInheritance extends JFrame
{
   private static final long serialVersionUID = 1L;
   SwingInheritance()
   {
       JTextField userName = new JTextField();
       //userName.setBounds(x, y, width, height);
       userName.setBounds(80,100,100, 40);
       userName.setText("Hello");
       JLabel lblText = new JLabel();
       lblText.setBounds(80,150,300, 40);
       lblText.setText("You Entered: " + userName.getText());
       JButton button=new JButton("click");
       //create button
       button.setBounds(80,200,100, 40);
       JButton close = new JButton("Close");
       close.setBounds(80,250,100, 40);
       close.addActionListener(e ->
       {
           dispose();
       });
       //add to JFrame
       add(button);
       add(close);
       add(userName);
       add(lblText);
       //set frame properties
       setSize(400,500);
       setLayout(null);
       setVisible(true);
       }
   public static void main(String[] args)
   {
       new SwingInheritance();
   }
}

In: Computer Science

Write a full MIPS assembly code for: Function Compare(int A[][], int B[][], int M, int N,...

Write a full MIPS assembly code for: Function Compare(int A[][], int B[][], int M, int N, int i, int j, int k, int l). This function compares the elements of the array A placed between (i,j) and (k,l) with the corresponding elements of the array B placed between the same indexes. The function returns the number of elements of both matrices that coincide in the same position (c,d). That is, it is necessary to check each element A[c,d] with the element B[c,d], with (c,d) inside the corresponding indexes to (i,j) and (k,l), both included. The function accepts 8 arguments:

A: starting address of an integer matrix of MxN dimension.

B: starting address of an integer matrix of dimension MxN.

M: number of rows of the A and B matrix.

N: number of columns of the A and B matrix.

i: an integer corresponding to the row of the first element of the matrix to be considered.

j: a whole number corresponding to the column of the first element of the matrix to be considered. o

k: a whole number corresponding to the row of the last element of the matrix to be considered.

l: a whole number corresponding to the column of the last element of the matrix to be considered.

The function returns two values. In case of error, it simply returns a result with value -1. The possible errors are: o M or N are negative or zero. o The indexes passed as arguments (i,j,k, and l) are out of range. o The element (k,l) is previous in the matrix to the element (i,j). It will not be considered an error if (i,j) and (k,l) have the same value and refer to the same element. If no error is detected, the function returns as a first result the value 0 and as second the number of elements that coincide in the same position in the arrays A and B.

In: Computer Science

a)     Write a program that reads a list of integers, and outputs all even integers in the...

a)     Write a program that reads a list of integers, and outputs all even integers in the list. For example, if the input list is [1, 2, 13, 14, 25], the output list should be [2, 14].

b)    Based on your code for part (a), write a program that reads a list of integers, and reports True if all numbers in the list are even, and False otherwise. Example: For input [1, 2, 13, 14, 25], the output should be False.

Your program must define and call the following two functions.

evens() returns all even integers in the list are even.

all_even() returns True if all integers in the list are even and false otherwise.

Your code could look like this

#Your name here

def evens(thelist):
#your code goes here



def all_even(thelist):
#your code goes here



evens([1, 2, 13, 14, 25]) #should return [2,14]
all_even([1, 2, 13, 14, 25]) #should return False

In: Computer Science

Using Java Although the long data type can store large integers, it cannot store extremely large...

Using Java

Although the long data type can store large integers, it cannot store extremely large values such as an integer with 100 digits. Create a HugeNumber class that uses a linked list of single digits to represent non-negative integers of arbitrary length. The class should include a method to add a new most significant digit to the existing number so that longer and longer numbers can be created. Also add methods to reset the number and to return the value of the huge integer as a String (is this toString?) along with appropriate constructor and accessor methods.

In addition to the requirements given above, implement an inner class iterator which will allow you to sequence through the digits of the HugeNumber one at a time.

Decide if the HugeNumber contains no digits, then converting it to a String should return a “-1” or an empty string and document your decision.

Submit program files for your HugeNumber class and of your class containing main. Include at least test cases for 3 huge numbers, each with 12 or more digits. Make sure to demonstrate the methods to reset the HugeNumber, to return the number as a String, and to iterate through the digits of the HugeNumber one at a time.

In: Computer Science

*// 1- Add JavaDoc to This classes 2- Mak a UML */ import java.util.*; public class...

*//
1- Add JavaDoc to This classes 
2- Mak a UML
*/
import java.util.*;
public class Display
{
   public static void main(String[] args)
   {
       altEnerCar car1 = new altEnerCar(20000, 2001, 20000);
       altEnerCar car2 = new HydrogenCar(0, 2012, 50000, 100, false);
       altEnerCar car3 = new ElectricCar(0, 2014, 30000, 10, 50);
       altEnerCar car4 = new NaturalGasCar(0, 2000, 60000, 5, 20);
       altEnerCar car5 = new PropaneCar(0, 2011, 45000, 10, true);
      
       ArrayList<altEnerCar> cars = new ArrayList<altEnerCar>();
      
       cars.add(car1);
       cars.add(car2);
       cars.add(car3);
       cars.add(car4);
       cars.add(car5);
       Collections.sort(cars);
       System.out.println(cars);
      
   }


}




/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */






public class ElectricCar extends NoEmissionsCar
{
   private double batterycharge;
   public ElectricCar()
   {
       this.batterycharge = 200;
   }
   public ElectricCar(double miles, int yearmade, double price, double fuelcost, double batterycharge)
   {
       super(miles, yearmade, price, fuelcost);
       this.batterycharge = batterycharge;
   }
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setBatteryCharge(double batterycharge)
   {
       this.batterycharge = batterycharge;
   }
   public double getBatteryCharge()
   {
       return this.batterycharge;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake year: "+yearmade+"\tPrice: "+price+"\tFuel cost: "+fuelcost+"\tBatery Charge: "+batterycharge;
   }


}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class EmissionsCar extends altEnerCar
{
   protected double emissions;
   public EmissionsCar()
   {
       this.emissions = 60;
   }
   public EmissionsCar(double miles, int yearmade, double price, double emissions)
   {
       super(miles, yearmade, price);
       this.emissions = emissions;
   }
   public abstract void setEmissions(double emissions);
   public abstract double getEmissions();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class HydrogenCar extends NoEmissionsCar
{
   private boolean infastructure;
   public HydrogenCar()
   {
       this.infastructure = false;
   }
   public HydrogenCar(double miles, int yearmade, double price, double fuelcost, boolean infastructure)
   {
       super(miles, yearmade, price, fuelcost);
       this.infastructure = infastructure;
   }


   
   @Override
   public void setFuelCost(double fuelcost)
   {
       this.fuelcost = fuelcost;
   }
   @Override
   public double getFuelCost()
   {
       return this.fuelcost;
   }
   public void setInfastructure(boolean infastructure)
   {
       this.infastructure = infastructure;
   }
   public boolean getInfastructure(boolean infastructure)
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tFuel Cost: "+fuelcost+"\tInfrastructure: "+infastructure;
   }
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class NaturalGasCar extends EmissionsCar
{
   private double methaneemissions;
   public NaturalGasCar()
   {
       this.methaneemissions = 15;
   }
   public NaturalGasCar(double miles, int yearmade, double price, double emissions, double methaneemissions)
   {
       super(miles, yearmade, price, emissions);
       this.methaneemissions = methaneemissions;
   }


    
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(double methaneemissions)
   {
       this.methaneemissions = methaneemissions;
      
   }
   public double getMethaneEmissions()
   {
       return this.methaneemissions;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmission: "+emissions+"\tMethane Emission: "+methaneemissions;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */




public abstract class NoEmissionsCar extends altEnerCar
{
   protected double fuelcost;
   public NoEmissionsCar()
   {
       this.fuelcost = 30;
   }
   public NoEmissionsCar(double miles, int yearmade, double price, double fuelcost)
   {
       super(miles, yearmade, price);
       this.fuelcost = fuelcost;
   }
   public abstract void setFuelCost(double fuelcost);
   public abstract double getFuelCost();
}


/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */


public class PropaneCar extends EmissionsCar
{
   private boolean infastructure;
   public PropaneCar()
   {
       this.infastructure = true;
   }
   public PropaneCar(double miles, int yearmade, double price, double emissions, boolean infastructure)
   {
       super(miles, yearmade, price, emissions);
       this.infastructure = infastructure;
   }
   @Override
   public void setEmissions(double emissions)
   {
       this.emissions = emissions;
      
   }
   @Override
   public double getEmissions()
   {
       return this.emissions;
   }
   public void setMethaneEmissions(boolean infastructure)
   {
       this.infastructure = infastructure;
      
   }
   public boolean getMethaneEmissions()
   {
       return this.infastructure;
   }
   @Override
   public String toString()
   {
       return "\tMiles: "+miles+"\tMake Year: "+yearmade+"\tPrice: "+price+"\tEmissions: "+emissions+"\t Infrastructure: "+infastructure;
   }


}
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author charl
 */
public class altEnerCar implements Comparable<altEnerCar>
{
   protected double miles;
   protected int yearmade;
   protected double price;
  
   public altEnerCar()
   {
       this.miles = 0;
       this.yearmade = 2019;
       this.price = 50000;
   }
   public altEnerCar(double miles, int yearmade, double price)
   {
       this.miles = miles;
       this.yearmade = yearmade;
       this.price = price;
   }
   public void setMiles(double miles)
   {
       this.miles = miles;
   }
   public void setYearMade(int yearmade)
   {
       this.yearmade = yearmade;
   }
   public void setPrice(double price)
   {
       this.price = price;
   }
   public double getMiles()
   {
       return this.miles;
   }
   public int getYearMade(int yearmade)
   {
       return this.yearmade;
   }
   public double getPrice()
   {
       return this.price;
   }
   public String toString()
   {
       return "\nmiles: "+miles+"\nyear made: "+yearmade+"\nprice: "+price;
   }
   public int compareTo(altEnerCar otherAECar)
   {
       return -1*(Double.valueOf(otherAECar.getPrice()).compareTo(this.price));
   }
  
}

In: Computer Science

Create a JavaScript program of objects that asks the user how old they are in years....

Create a JavaScript program of objects that asks the user how old they are in years. Then ask the user if they would like to know how old they are in months, days, hours, or seconds. Use if/else conditional statements to display their approximate age in the selected timeframe. Perform all calculations using an AgeConverter class that accepts the age in years during initialization and has separate properties and methods to calculate and return the age in months, days, hours, and seconds. Include data validation in the class and error handling in the main program by using Node Js as IDE.

In: Computer Science

What is the role of physical software media in documentation? What are all the information must...

What is the role of physical software media in documentation? What are all the information must be stored on a media label? i need a unique answer please don't copy from other answers

In: Computer Science