Questions
Create a new project called: ToDoList Purpose: To demonstrate your ability to use a linear structure  to...

Create a new project
called:
ToDoList

Purpose:

To demonstrate your ability to use a linear structure  to insert, contain, change, and remove data elements (Strings). Also to show that you can perform the detailed work in functions with the main function containing only the major program logic.

Specifications:

Create a new project called ToDoList and save it in the appropriate Lab folder.

Step 1: To begin the main program, use an ArrayList or LinkedList, to declare a structure to hold String values. Add at least five (5) tasks to the structure(this may be done in main or in a separate function (preferred).

Add a function to print a numbered list of the tasks (numbering must start at 1). The list should display all the elements with the assigned number (1, 2, 3, … n). The numbers are not permanently associated with a tasks but are reassigned each time the list is displayed. The listed number should identify the current position the task occupies in the list.

Step 2: Provide a simple vertical menu to allow the user the option to add,  change, or  delete a task from the list. Also include the option to terminate the program. The menu options should be listed vertically. The menu display and its selection validation may be done as a separate class in its own file or via a function called by the main program.

Step 3: In the main program logic, use the menu selection to determine the next operation.

Hint: using a switch to handle the menu options provides a neat and orderly structure in the main function.

When the user opts to add a task , add it to the end of the list.

When the user opts to change or delete a task, require the user to supply the assigned task number. If the task number entered is not in the list, display an error, pause the screen to allow the user to see the error, and end the operation.

When the user opts to change a task, obtain the new task description and replace the old description with the new.

When the user opts to delete a task remove it.

After each operation (with or without an error), clear the screen and redisplay the list followed by the menu.

Note: each of the operations (add, change, delete) should be coded in its own function and called from the main function.

Provide a main function loop (while or do...while) to allow the user to continue processing until the user selects the terminate menu option.

Step 4: Using the JAVADOC format, document the program and every function (main is a function, not a constructor) as displayed in the sample programs found in the downloaded files for Self Study Activity. Completeness, accuracy, and spelling count.

In: Computer Science

Assignment Specifications Background You are recently employed as a business analyst at Adam & Co, a...

Assignment Specifications Background You are recently employed as a business analyst at Adam & Co, a Perth-based wholesaler of industrial supplies. Adam & Co sources its inventories from manufacturers in China, Thailand and Vietnam. The company has a centralised accounting system with networked terminals at different locations. Adam & Co’s expenditure cycle procedures are described as follow:

Purchases System

The process begins when the purchasing clerk checks the inventory subsidiary ledger at his/her computer terminal each morning. When the quantity of an item is deemed to be too low, the clerk selects a vendor from the valid vendor file and prepares a digital purchase order. The clerk prints two hard copies: one copy is sent to the vendor, and the other is filed in the purchasing department. Digital purchase order record is added to the purchase order file. When the goods arrive in the receiving department, the receiving clerk inspects them and reconciles the items against the information in the digital purchase order and the packing slip. The clerk then manually prepares two hard copies of the receiving reports. One of these accompanies the goods to the inventory warehouse, where the clerks shelves the goods and updates the inventory subsidiary ledger from his/her computer terminal. The clerk then files the receiving report in the department. The other copy of the receiving report is sent to the accounts payable department, where the accounts payable clerk files it until the supplier’s invoice arrives. When the accounts payable clerk receives the invoice he pull the receiving report from the temporary file, prints a hard copy of the digital purchase order, and reconcilesthe three documents. At this time, the clerk updates the digital accounts payable subsidiary ledger, the accounts payable control account and the inventory control account in the general ledger from his terminal. The clerk then sends the invoice, receiving report, and the purchase order copy to the cash disbursement department.

Cash Disbursements System

Upon the receipt of the documents from the accounts payable department, the cash disbursements clerk files the documents until their payment due date. On the due date, the clerk prepares a cheque for the invoiced account, when is sent to the treasurer who sign it and mail the cheque to the vendor. The cash disbursements clerk then updates the cheque register, accounts payable subsidiary ledger, and the accounts payable control account from his/her computer terminal. Finally, the receiving clerk files the invoice, purchase order copy, receiving report, and cheque copy in the department.

Payroll System

Adam & Co’s employees record their hours worked on time cards every day. Their supervisors review the time cards for correctness and submit them to the payroll department at the end of each week. Using a computer terminal connected to the central payroll system, which is located in the data processing department, the payroll clerk inputs the time card data, prints hard copies of the pay cheques, print two copies of the payroll register, and posts to digital employee records. The payroll clerk files the time cards in the payroll department and sends the employee pay cheques to the various supervisors for review and distribution to their respective department employees. The payroll clerk then sends one copy of the payroll register to the accounts payable department, and files the other with the time cards in the payroll department. Page 3 of 5 HA2042 Accounting Information Systems Individual Assignment The accounts payable clerk reviews the payroll register and manually prepares a disbursement voucher. The clerk sends the voucher and the payroll register to the general ledger department. The accounts payable clerk then writes a cheque for the entire payroll and deposits it in the imprest account at the bank. Finally the clerk files a copy of the cheque in the accounts payable department. Once the general ledger clerk receives the voucher and payroll register, the clerk posts to the general ledger from the department computer terminal and files the voucher and payroll register in the department.

required

Description of internal control weakness in each system and risks associated with the identified weakness??

In: Computer Science

One example each for the below question. Please don't provide the differences as its already available....

One example each for the below question. Please don't provide the differences as its already available.

What is the fundamental difference between a fat-client and thin-client approach to client–server systems architectures? Give an example for each.

In: Computer Science

Describe the Pipeline branch handling techniques and compare their impacts on the virtual memory, instruction cycle,...

Describe the Pipeline branch handling techniques and compare their impacts on the virtual memory, instruction cycle, and temporal locality concepts for international scientific research laboratory operations by giving definitions, examples, justifications, etc.

In: Computer Science

I am getting the following error: SalaryCalc.java:41: error: variable shift might not have been initialized if(shift==0)...

I am getting the following error: SalaryCalc.java:41: error: variable shift might not have been initialized if(shift==0) ^ 1 error

Please FIX

This is my Java code:

import java.util.Scanner;
public class SalaryCalc
{
double Rpay=0, Opay=0;
void calPay(double hours, double rate){
if(hours<=40){
Rpay = hours * rate;
Opay = 0;
}
else {
double Rhr,Ohr;
Rhr = 40;
Ohr = hours-Rhr;
Rpay = Rhr * rate;
Opay = Ohr * (1.5*rate);
}
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String name;
int shift;
Double rate, hours;
System.out.println("Pay Calculator");
System.out.println("Enter Your Name");
name=sc.next();
System.out.println("Enter Your Shift, Enter 0 for Day, Enter1 for Night");
System.out.println("0=Day, 1= Night");
System.out.println("Enter Number of Hours Worked");
hours=sc.nextDouble();
System.out.println("Enter Hourly Pay");
rate=sc.nextDouble();
SalaryCalc c= new SalaryCalc();
c.calPay(hours,rate);
Double Tpay= c.Rpay+ c.Opay;
System.out.println();
System.out.println("Calculate Pay");
System.out.println("Employee Name: "+name);
System.out.println("Employee Regular Pay: "+c.Rpay);
System.out.println("Employee Overtime Pay: "+c.Opay);
System.out.println("Employee Total Pay: "+Tpay);
if(shift==0)
{
System.out.println("Employee PayPeriod is Friday");
}
else{
System.out.println("Employee PayPeriod is Saturday");
}
}

}

In: Computer Science

In C++ for netbeans. Use a 1 dimensional array object to create a 2 dimensional table...

In C++ for netbeans.

Use a 1 dimensional array object to create a 2 dimensional table object. Then modify to create a triangular table.

Objective -> create an array of dynamic objects of RowAray inside Table i.e. an Aggregate. See Specs RowAray.h, Table.h Then create a triangular table, i.e. Triangle.

Fill each cell with random 2 digit integers. The example Table has 8 columns of RowAray objects each filled with 6 rows of random 2 digit numbers.

Then create a triangular table using the concept of the original table.

Complete the class implementations RowAray.cpp, Table,cpp, and Triangle.cpp use the driver program, obtain similar results.

https://github.com/ml1150258/2019_Fall_CSC-CIS_17c/tree/master/Hmwk/Review1_CSC17c_Object_Array

When complete for #rows=#cols, then create a version 2 that does a random number of cols per row with sorted column size output like the first assignment for the Triangular Matrix.

We will augment this assignment later and progress to templates.

In: Computer Science

For this assignment, pretend you have been hired by a school district to create an application...

For this assignment, pretend you have been hired by a school district to create an application enabling access to educational videos freely available on the Internet.

For examples of places where these videos are available, check out this page:

https://www.refseek.com/directory/educational_videos.html (Links to an external site.).

For this assignment, you are responsible for developing a database schema (both conceptual and physical) to support this application. The schema must support the following application features:

  1. It should be possible to efficiently search the application for videos, filtering on the following characteristics:
    • Title (required)
    • Keywords (note that a video may have multiple keywords)
    • Length of Video (required)
    • Appropriate Grade Level (optional)
    • Video Source (i.e. which of the sites referenced on the page above houses the video. required.)
  2. It should be possible for teachers to comment on videos. Each comment should have the following fields:
    • Timestamp (required)
    • Name of teacher (optional)
    • Rating (1 to 5 stars, optional)
    • Text of comment (required)

The submission for this assignment should include the following artifacts:

  • An entity-relationship diagram for the conceptual schema. You can do this on paper or whiteboard and submit a photograph, or do it using diagramming software and submit a screen shot or PDF. (Please do not submit a file in the diagramming software's native format.)
  • A physical schema in the form of SQL CREATE TABLE statements. Please submit the SQL and not the database file (or files) itself.
  • SQL INSERT statements creating at least 3 sample video records, each of which should have at least 2 keywords. Note that you will need to insert into multiple tables for each record if the assignment was done correctly.

This assignment can be completed adequately using as few as four tables. Your schema may end up with more tables and that is fine, but if you end up with more than 7-8 tables there is a good chance you are overthinking things.

In: Computer Science

Please explain answer and show steps if possible A new network is being designed for your...

Please explain answer and show steps if possible

A new network is being designed for your company, Acme, Inc. If you use a Class C IP network, which subnet masks will provide one usable subnet per department while allowing enough usable host addresses for each department specified in the table? (Choose three)

Department

Number of Users

Corporate

60

Customer Support

62

Financial

25

HR

5

Engineering

4

  1. 255.255.255.0
  2. 255.255.255.128
  3. 255.255.255.192
  4. 255.255.255.224
  5. 255.255.255.240
  6. 255.255.255.248
  7. 255.255.255.252

The network address of 172.16.0.0/20 provides how many subnets and hosts?

  1. 7 subnets, 30 hosts each
  2. 16 subnets, 8,190 hosts each
  3. 16 subnets, 4,094 hosts each
  4. 7 subnets, 2,046 hosts each

You need to configure a server that is on the subnet 192.168.19.24/29. The router has the last available host address. Which of the following should you assign to the server?

  1. 192.168.19.0 255.255.255.0
  2. 192.168.19.33 255.255.255.240
  3. 192.168.19.26 255.255.255.248
  4. 192.168.19.30 255.255.255.248

On a VLSM network, which mask should you use on point-to-point WAN links to reduce the waste of IP addresses?

  1. /27
  2. /30
  3. /28
  4. /29

In: Computer Science

please debug this so that it will compiler: C# // Uses PrintWebAddress method three times using...

please debug this so that it will compiler: C#

// Uses PrintWebAddress method three times
using System;
public class DebugSix2
{
   public void Main()
   {
      PrintWebAddress();
      Console.WriteLine("Shop at Shopper's World");
      PrintWebAddresses();
      Console.WriteLine("The best bargains from around the world");
      PrintWebAddress;
   }
   public void PrintWebAddress()
   {
      Console.WriteLine(------------------------------");
      Console.WriteLine(Visit us on the web at:");
      Console.WriteLine(www.shoppersworldbargains.com");
      Console.WriteLine(******************************");
   }
}

In: Computer Science

Please explain answer and show steps Which two statements describe the IP address 10.16.3.65/22? (Choose two)...

Please explain answer and show steps

Which two statements describe the IP address 10.16.3.65/22? (Choose two)

  1. The subnet address is 10.16.3.0 255.255.252.0.
  2. The lowest host address in the subnet is 10.16.0.1 255.255.252.0.
  3. The last valid host address in the subnet is 10.16.3.255 255.255.252.0
  4. The broadcast address of the subnet is 10.16.3.255 255.255.252.0.
  5. The network is not subnetted.

Which IP addresses are valid for hosts belonging to the 10.1.160.0/20 subnet? (Choose three)

  1. 10.1.169.0
  2. 10.1.176.1
  3. 10.1.175.254
  4. 10.1.160.0
  5. 10.1.175.255
  6. 10.1.160.255

Which one of the following IP addresses is the last valid host in the subnet using mask 255.255.255.192?

  1. 192.168.2.60
  2. 192.168.2.61
  3. 192.168.2.62
  4. 192.168.2.63
  5. 192.168.2.32

An administrator is working with the 192.168.4.0 network, which has been subnetted with a /27 mask. Which two addresses can be assigned to hosts within the same subnet? (Choose two)

  1. 192.168.4.30
  2. 192.168.4.31
  3. 192.168.4.32
  4. 192.168.4.33

In: Computer Science

Brief Introduction Suppose that you are an analyst for the ABC Company, a large consulting firm...

Brief Introduction

Suppose that you are an analyst for the ABC Company, a large consulting firm with offices around the world. The company wants to build a new knowledge management system that can identify and track the expertise of individual consultants anywhere in the world on the basis of their education and the various consulting projects on which they have worked. Assume that this is a new idea that has never before been attempted in ABC or elsewhere. ABC has an international network, but the offices in each country may use somewhat different hardware and software. ABC management wants the system up and running within a year.

Action Items

  • Given the situation, what methodology would you recommend that ABC Company use? Why?
  • Support or Oppose the above statements with arguments
  • Respond to two other class member postings: observe and criticize their statements

In: Computer Science

Please explain answer and show steps If your current Network ID is 223.40.35.0 with the default...

Please explain answer and show steps

If your current Network ID is 223.40.35.0 with the default subnet mask and you need to have 15 subnets and maximizing the number of valid node IP addresses what would be the most appropriate subnet mask?

  1. 255.255.224.0
  2. 255.255.255.224
  3. 255.255.240.0
  4. 255.255.255.240

Given the following IP address from the Class B address range using the default subnet mask: 100.110.0.0. Your network plan requires no more than 64 hosts on a subnet. When you configure the IP address in Cisco IOS software, which value should you use as the subnet mask?

  1. 255.255.0.0
  2. 255.255.128.0
  3. 255.255.255.128
  4. 255.255.255.252

Given an IP address of 131.107.2.104 and a subnet mask of 255.255.255.224, which of the following is the other form of representing this address?

  1. 131.107.2.104/26
  2. 131.107.2.104/24
  3. 131.107.2.104/25
  4. 131.107.2.104/27
  5. 131.107.2.104/19

                                   

Identify how many valid host addresses can you have on 192.168.27.32 network with a subnet mask of 255.255.255.240.  

  1. (2^4) - 2
  2. (2^3) – 2
  3. (2^2) - 2
  4. (2^1) – 2

In: Computer Science

1. Write an algorithm to calculate the Matrix multiplication (or write with pseudo code) 2. Write...

1. Write an algorithm to calculate the Matrix multiplication (or write with pseudo code)
2. Write an algorithm to calculate the recursive Matrix multiplication (or write with pseudo code)
3. Find the time complexity of your pseudo code and analyze the differences

In: Computer Science

Please debug this by fixing all the mistakes so it will compile in C# // Program...

Please debug this by fixing all the mistakes so it will compile in C#



// Program prompts user for any number of values
// (up to 20)
// and averages them

using System;
public class DebugFive04
{
    public static void Main()
    {
        const int QUIT = 999;
        int[] numbers = new int[20];
        int x;
        int num;
        double average;
        double total;
        string inString; // intString
        Console.Write("Please enter a number or " +
           QUIT + " to quit...");
        inString = Console.ReadLine();
        num = Convert.ToInt32(inString); // inString
        x = 0;
        while ((x < numbers.Length))
        {
            numbers[x] = num;
            ++x;
            total = +numbers[x]; // =+ not +=
            Console.Write("Please enter a number or " +
               QUIT + " to quit...");
            inString = Console.ReadLine();
            numbers = Convert.ToInt32(inString);
        }
        Console.WriteLine("The numbers are:");
        for (int y = 0; y < x; ++y)
            Console.Write("{0,6}", numbers[y]);
        average = total / numbers.Length;
        Console.WriteLine();
        Console.WriteLine("The average is {0}", average);
    }
}

In: Computer Science

1) What are the values of doing formal evaluation? 2) What do you see as the...

1) What are the values of doing formal evaluation?

2) What do you see as the drawbacks of evaluation?

In: Computer Science