Questions
You will need to provide screenshots of each number and each task. Example: Number 8 in...

You will need to provide screenshots of each number and each task. Example: Number 8 in VM One should have 20 screenshots, one for each command. Once completed merge all shots into a Word document and upload to the appropriate drobox.

VM One

  1. Ubuntu
  2. 8 GB RAM
  3. 20 GB HDD (Dynamic)
  4. Install from Live DVD
  5. Run Command to Update
  6. Run Command to Upgrade
  7. Create a new file named Mid-Term and store it in the /bin directory
  8. Run 20 Terminal Commands of your choosing
  9. Show output for release in terminal

VM Two

  1. Mint
  2. 4 GB RAM
  3. 15 GB HDD (Dynamic)
  4. Install from Live DVD
  5. Run Command to Update
  6. Run Command to Upgrade
  7. Create a new file named Mid-Term and store it on the desktop
  8. Run 20 Terminal Commands of your choosing
  9. Show output for release in terminal

VM Three

  1. Ubuntu Server
  2. 8GB RAM
  3. 20 GB HDD Fixed
  4. Create a new file named Mid-Term and store it on the root directory
  5. Show output for release in terminal

In: Computer Science

Credit Card Number Check. The last digit of a credit card number is the check digit,...

Credit Card Number Check. The last digit of a credit card number is the check digit, which protects against transcription errors such as an error in a single digit or switching two digits. The following method is used to verify actual credit card numbers but, for simplicity, we will describe it for numbers with 8 digits instead of 16:

• Starting from the rightmost digit, form the sum of every other digit. For example, if the credit card number is 4358 9795, then you form the sum 5 + 7 + 8 + 3 = 23.

• Double each of the digits that were not included in the preceding step. Add all digits of the resulting numbers. For example, with the number given above, doubling the digits, starting with the next-to-last one, yields 18 18 10 8. Adding all digits in these values yields 1 + 8 + 1 + 8 + 1 + 0 + 8 = 27.

• Add the sums of the two preceding steps. If the last digit of the result is 0, the number is valid. In our case, 23 + 27 = 50, so the number is valid. Write a program in Java that implements this algorithm. The user should supply an 8-digit number, and you should print out whether the number is valid or not. If it is not valid, you should print the value of the check digit that would make it valid.

In: Computer Science

Question 1 - Create a class named Student that has fields for an ID number, number...

Question 1 - Create a class named Student that has fields for an ID number, number of credit hours earned, and number of points earned. (For example, many schools compute grade point averages based on a scale of 4, so a three-credit-hour class in which a student earns an A is worth 12 points.) Include methods to assign values to all fields. A Student also has a field for grade point average. Include a method to compute the grade point average field by dividing points by credit hours earned. Write methods to display the values in each Student field. Save this class as Student.java.

In: Computer Science

Using the Fermat primality test, find the number of Fermat witness and number of Fermat liars...

Using the Fermat primality test, find the number of Fermat witness and number of Fermat liars for 341 via computer programming (ex;c++).

In: Computer Science

Convert the hexadecimal number directly to base 4; then convert both the original number and your...

Convert the hexadecimal number directly to base 4; then convert both the original number and your answer to binary to check your result.

Please show steps and explain

In: Computer Science

Print numbers 0, 1, 2, ..., userNum as shown, with each number indented by that number...

Print numbers 0, 1, 2, ..., userNum as shown, with each number indented by that number of spaces. For each printed line, print the leading spaces, then the number, and then a newline. Hint: Use i and j as loop variables (initialize i and j explicitly). Note: Avoid any other spaces like spaces after the printed number. Ex: userNum = 3 prints:

0
 1
  2
   3

import java.util.Scanner;
public class NestedLoop {
   public static void main (String [] args) {
      Scanner scnr = new Scanner(System.in);
      int userNum;
      int i;
      int j;

      userNum = scnr.nextInt();

    /* Your solution goes here */

   }
}

In: Computer Science

4. Prompt user to enter a double number from console. Round this number so it will...

4.

Prompt user to enter a double number from console. Round this number so it will keep 2 places after the decimal point. Display new number. For example, number 12.3579 will round to 12.36; number 12.4321 will round to 12.43

This is meant to be written in Java 14.0

In: Computer Science

Using C++ There are number of cable company in southern California which offer number of services...

Using C++

There are number of cable company in southern California which offer number of services

for customers. This company have two types of customers:

Residential and business. There are two rates for calculating a cable bill: one for Residential customers and one for business customers.

For residential customers the following rates apply:

  • Bill processing Fee $4.50
  • Basic service fee $20.50
  • Premium channels $7.50 per channel

For business customers the following rates apply:

  • Bill processing fee $15.0
  • Basic service fee $75.0 for the first 10 connections, $5.00 for additional connections.
  • Premium channels: $ 50.00 per channel for any number of connections.

Input:

The customer’s account number,

Customer code

Number of premium channels

And in case of business customers, number of basic service connections

What to deliver (output) Customers’ account number and the billing amount

Run your program for the given data:

Enter customer code: R or r (Residential) or B or b (Business) B

Enter number of service connections 16

Enter number of premium channels 8

Display total billing amount:

Run for residential customers:

R

Test your program for 12 premium channels.

flow chart, pseudo code are required for every projects and activities.

In: Computer Science

IN C++ Implement in C++ a game called “Your Lucky Number”. The lucky number is calculated...

IN C++

Implement in C++ a game called “Your Lucky Number”. The lucky number is calculated based on an individual’s birth month, day, and year. The algorithm assigns any person a number between 1 and 9. Many people believe that a group of people with the same lucky number share common features. The lucky number is calculated as the sum of digits of the birth month, day, and year numbers. If this sum is not a single-digit then you need to keep adding up its digits. Use the C++ functions when you implement the game. Test your program for corrections. To start the game you should enter your full birthdate in the format: month day year, e.g. 9 21 1985. The month is represented by its corresponding integer: January is 1, February is 2, ..., and December is 12. Be sure that your program will verify the input format and print an error message when the format is incorrect (use exceptions), and will ask to re-enter the birthdate again. The algorithm for calculating the lucky number

(a) Enter the month as an integer from 1 to 12.

(b) Reduce the month, day and year numbers down to a one-digit number by adding all digits in the month, day and year numbers, see the example below.

(c) Map the number to the category listed below and display the message on the screen with at least four features for a person in each category. I provided only one feature (as an adjective) for each category and you should complete the list.

(d) Test your program using at least 10 your friends’ or relatives’ birthdays.

Categories:

1. The Leader: original thinker (add 3 more features)

2. The Mediator: diplomatic (add 3 more features)

3. The Communicator: expressive (add 3 more features)

4. The Teacher: trustworthy (add 3 more features)

5. The Freedom Seeker: adventurous (add 3 more features)

6. The Nurturer: family-oriented (add 3 more features)

7. The Seeker: analytic (add 3 more features)

8. The Power House: authoritative (add 3 more features) 9. The Humanitarian: charitable (add 3 more features)

In: Computer Science

Java Beginner a)Create a class named Student that has fields for an ID number, number of...

Java Beginner

a)Create a class named Student that has fields for an ID number, number of credit hours earned, and number of points earned. (For example, many schools compute grade point averages based on a scale of 4, so a three-credit-hour class in which a student earns an A is worth 12 points.) Include methods to assign values to all fields. A Student also has a field for grade point average. Include a method to compute the grade point average field by dividing points by credit hours earned. Write methods to display the values in each Student field. Save this class as Student.java.

b)Write a class named ShowStudent that instantiates a Student object from the class you created and assign values to its fields. Compute the Student grade point average, and then display all the values associated with the Student. Save the application as ShowStudent.java.

c)Create a constructor for the Student class you created. The constructor should initialize each Student’s ID number to 9999, his or her points earned to 12, and credit hours to 3 (resulting in a grade point average of 4.0).Write a program that demonstrates that the constructor works by instantiating an object and displaying the initial values. Save the application as ShowStudent2.java.

In: Computer Science