Questions
The following details are for questions 24–26. Each individual question will appear below the details. The...

The following details are for questions 24–26. Each individual question will appear below the details.

The Not-too-tough company started its operation in 2018. Its balance sheet for December 31, 2018, showed the following account balances (there were no other accounts listed, numbers are in thousands):

Assets

2019

Cash and cash equivalents

400

Inventory

59

Accounts receivable

90

Property, plants, and equipment

100

Less: accumulated depreciation

(10)

Property and equipment – net

90

Prepaid rent

0

Total Assets

639

Liabilities and Equity

2019

Accounts payable

50

Advance from customers

40

Wages payables

6

Paid-in capital

350

Retained earnings

193

Total Liabilities and Shareholders’ Equity

639

During 2019 the following transactions occurred:

  1. Rent for 24 months, starting January 1, 2019, in the amount of $48, was paid in cash.

  2. On July 31, 2019, the company enters into a new labor contract with the employees’ union that calls for a $15 increase in wages, effective February 1, 2020.

  3. Sales, all on credit, were $850. Collections from customers were $720.

  4. In addition to the transactions described in item 3 above, products were shipped to the customer who paid $40 in advance (see December 31, 2018 balances). The selling price was $120, and the customer will pay the balance in early 2020.

  5. The company purchased $550 worth of inventory, on account. Payments on accounts payable were $470.

  6. Based on a physical count, inventory balance as of December 31, 2019 was $85. The market value of these inventories was $90.

  7. The employees earned $54 as wages. Cash wage payments to employees were $57.

  8. Depreciation for the year equals $15.

  9. A dividend of $55 was declared and paid during 2019.

Question

Prepare the Balance Sheet, Income Statement and Cash Flow from operations using the indirect method.

Type your answer in the text box below. Present the answer as a list and don't worry about left or right indentation.

In: Accounting

owner made a cash investment into the company $3,000 bought supplies on account $100 paid salaries...


owner made a cash investment into the company $3,000
bought supplies on account $100
paid salaries $700
paid for supplies purchased on October 8
received company telephone bill, to be paid later , $ 50

In: Accounting

On August 1, supplies were purchased; Accounts Payable was debited and Supplies credited for $1,500. The...

On August 1, supplies were purchased; Accounts Payable was debited and Supplies credited for $1,500. The account was due in October, and $700 of these supplies were on hand at the end of August. The entry to correct the accounts at August 31:

In: Accounting

Consumers can purchase nonprescription medications at food stores, mass merchandise stores such as Target and Wal-Mart,...

Consumers can purchase nonprescription medications at food stores, mass merchandise stores such as Target and Wal-Mart, or pharmacies. About 45% of consumers make such purchases at pharmacies. What accounts for the popularity of pharmacies, which often charge higher prices?

A study examined consumers' perceptions of overall performance of the three types of stores, using a long questionnaire that asked about such things as "neat and attractive store," "knowledgeable staff," and "assistance in choosing among various types of nonprescription medication." A performance score was based on 27 such questions. The subjects were 196people chosen at random from the Indianapolis telephone directory. Here are the means and standard deviations of the performance scores for the sample.

Store type x s
Food stores 18.49 24.97
Mass merchandisers 32.55 33.68
Pharmacies 48.74 35.41

(b) Give 90% confidence intervals for the mean performance for each type of store. (Round your answers to three decimal places.)

Food stores

( , )  

Mass merchandisers

( , )

Pharmacies

( , )

In: Statistics and Probability

Task 2.5: Write a script that will ask the user for to input a file name...

Task 2.5: Write a script that will ask the user for to input a file name and then create the file and echo to the screen that the file name inputted had been created

1. Open a new file script creafile.sh using vi editor

# vi creafile.sh

2. Type the following lines

#!/bin/bash

echo ‘enter a file name: ‘

read FILENAME

touch $FILENAME

echo “$FILENAME has been created”

3. Add the execute permission

4. Run the script #./creafile.sh

5. Enter the file name you want to create

6. Check whether file is created

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

Task 3.4 Challenge Exercises

a.Write Script to see current date, time, username, and current directory.

b.Take the script from Task 2.5 and write it so it does not create a file if no input is received.

c. In this exercise, you will create a script based on case statement.

d. Write a Shell using for loop to print three strings.

e. Write a bash Script to reverse a given positive integer.

In: Computer Science

You are given an array as below: IFS=", " #set IFS to be a comma. MYARRAY=(101,102,103,105)...

You are given an array as below:
IFS=", " #set IFS to be a comma.

MYARRAY=(101,102,103,105)

Which of the following structure can be used to expand an array?

${MYARRAY[]}
${MYARRAY[?]}
${MYARRAY[@]}
${MYARRAY[!]}

Which of the following is a test statement that can be used with while or if or elif statements?

#Initialized variables are as below

i=0 #variable i initialized to be 0

[$i -lt 10]
{$i -lt 10}
($i -lt 10)
[i -lt 10]

Which of the following variable stores the first argument given to a shell program command?
#
2
1
3

You executed a command as below on a terminal

$grep -n "hello" myfile.txt

What is the value of exit status variable "?" if the command returns an empty output?
none
0
1
2

A variable '!' used by a program is used to store the number of argument to a shell command.
T/F

-f is an operator to check if a regular file exist in a directory. It is used as:

if test -f myfile.txt

then

echo "file exists"

else

echo "file does not exist"

fi


True

False

In: Computer Science

You are implementing a brand new type of ATM that provides exact amounts of cash (bills...

You are implementing a brand new type of ATM that provides exact amounts of cash (bills only, no coins). In order to maximize potential revenue an algorithm is needed that will allow for using different denomination amounts as needed by the local currency (value of bills will vary, but are integers).

  1. The program shall graphically prompt the user for a file.

  2. The program shall read the selected file of which the first line will be a space separated list of the

    bill denomination sizes.

  3. The program shall then read each line in the rest of the file containing an integer and output the

    number of different ways to produce that value using the denominations listed in the first line.

  4. The program shall indicate after that the number of milliseconds the program spent calculating

    the answer.

  5. The program shall implement 2 different forms of the algorithm: 1 recursive and 1 using dynamic

    programming.

  6. The program shall have 2 sets of output, 1 for each implementation.

  7. The program shall write the output to a file in the same directory as the input file.

  8. The program must be written in Java.

In: Computer Science

Linux 1. Give a command line (one command) for displaying the files lab1, lab2, lab3, and...

Linux

1. Give a command line (one command) for displaying the files lab1, lab2, lab3, and lab4. Can you give another command lines that do the same thing by making use of the file name similarities? What is the command line for displaying the files lab1.c, lab2.c, lab3.c, and lab4.c? (Hint: use shell metacharacters.)

2. How to determine the number of users who are logged on to Linux server system at this time? What command did you use to discover this?

3. Determine the name of the operating system that the Linux server runs. What command did you use to discover this

4. What are special files in UNIX? What are character special files and block special files? Run the ls /dev | wc -w command to find the number of special files that the linux server system has.

5. What is the inode number of the root directory on the linux server? Give the commands that you used to find the inode number.

In: Computer Science

Follow these steps to implement the following browser-based puzzle game:(Javascript/html/css) 1. Get a photo of yourself...

Follow these steps to implement the following browser-based puzzle game:(Javascript/html/css)
1. Get a photo of yourself and save it as an image file
2. Use a image-splitting program such as splitter.imageonline.co to break the image into 9 roughly equal parts (3 x 3). Save those files in a directory
3. Write Javascript that takes these nine images and randomly rearranges them in a 3 x 3 grid.
4. Each cell in the grid will also have a checkbox.
5. At each turn, the user will click two checkboxes, press a Swap button, and the program will swap the two images that were checked.
6. Play continues until all the sub-images are in their correct positions.
7. The program will state how many turns (swaps) it took to solve the puzzle.
8. Use CSS to make your puzzle game aesthetically (stylistically) pleasing
9. Upload your game (and the photo pieces) to your website.
10. Provide the URL of your puzzle game where it can be tested.

In: Computer Science

-----xxxxx-------Could you please use java language. thank you. :::::: XXXX::::::::::: Implement a recursive reverse sorting algorithm....

-----xxxxx-------Could you please use java language. thank you. :::::: XXXX:::::::::::

Implement a recursive reverse sorting algorithm. The following requirements should meet:

a The program shall graphically prompt the user for a file.

bThe program shall read the selected file which will contain 1 integer per line.

c. The program shall sort the values it reads from the file from largest to smallest.

d.The program shall write the values to an output file from largest to smallest in the same directory as the input file.

eThe program shall write 1 integer per line in the output file.

f.The program shall use a recursive algorithm to sort the values

​This assignment should be based on:

i) Functionality - Does the program meet the requirements?

ii) Style - Do you have comments and well-written code?

iii) Design - Were good design principles used in the construction of the program?

iv) Additional Elements - Error handling, unit tests, input checking, etc.

In: Computer Science