Questions
A random sample of 6IC's is taken from a large consignment and tested in two independent...

A random sample of 6IC's is taken from a large consignment and tested in two independent

stages. The probability that an IC will pass either stage is p.All the 6IC's are tested at the first stage.

If 5 or more pass the test, those which pass are tested at the second stage.The consignment is accepted if

there is at most one failure at each stage.

a) what is the probability that stage two of the test will be required?

b) the number of items expected to enter stage 2

c) the probability of accepting the consignment

In: Statistics and Probability

Watch this discussion with Edward Said on "ORIENTALISM." What does "Orientalism" mean? and What does Said...

Watch this discussion with Edward Said on "ORIENTALISM."

What does "Orientalism" mean?

and What does Said say were his first experiences with "Orientalism?"

Why does Said say that most Arab countries do not have information campaigns that critique how the U.S. and West depict Arabs in popular media?

What does Said say about Oklahoma City?

How does Said's concept of "Orientalism" relate to his ideas on "co-existence?"

In: Computer Science

Incorporate the concepts of game theory with international trade and tariffs. Set up two payoff matrices....

Incorporate the concepts of game theory with international trade and tariffs. Set up two payoff matrices. Set up the first payoff matrix such that the outcome will be harmful to both countries. Set up the second payoff matrix such that the outcome will be beneficial to the United States. Evaluate the two matrices using current actions by each country to see which matrix is most likely correct. Discuss with your classmates whether or not the ensuing trade war will produce successful outcomes.

In: Economics

(b) After the newly formed protein leaves the ribosome the first amino acid in the protein,...

(b) After the newly formed protein leaves the ribosome the first amino acid in the protein, methionine, is removed. What specific type of enzyme catalyzes this reaction?

(c) When benzo[a]pyrene is formed in the burning of meat. What substance(s) in the meat is the source of the aromatic rings in the product?

(d) How do drug manufacturers make most drugs water soluble?

(e) What is the name of the reaction that would convert a RNA nucleoside into a DNA nucleoside?

In: Biology

The solution should be written in Java. Your POSmain program should take three file names from...

The solution should be written in Java.

Your POSmain program should take three file names from command line arguments. The first file contains a list of products and their prices; the second and third files are lists of items in two shopping carts of two customers. The POSmain program should first read the price file, then read each of the cart files to load a list of items in a shopping cart and store them in a ShoppingCart objects. The price file may contain a variable number of products and the cart files may contain a variable number of items.
POSmain then will create a CashRegister object by passing the price list to it. The POSmain program then will use the CashRegister object to scan items in a cart and print a receipt for each shopping cart one by one. At last, POSmain will use the CashRegister object to print a report for the day.
The students of CSIT111 and CSIT811 will print a different report for the day, which requires different design of your CashRegister class.

The output should be like this:-

One customer is checking out ...
========================================
Product Price Qty Subtotal
----------------------------------------
Bed $499.99 2 $999.98
Char $45.49 4 $181.96
TV $999.99 1 $999.99
Table $199.0 2 $398.0
-------------------------
Total $2579.93
========================================
One customer is checking out ...
========================================
Product Price Qty Subtotal
----------------------------------------
Bread $1.75 2 $3.5
Butter $2.84 1 $2.84
Ham $2.5 1 $2.5
Lettuce $1.0 1 $1.0
Milk $3.0 2 $6.0
Onions $0.54 3 $1.62
Tomato $0.76 5 $3.8
-------------------------
Total $21.26
========================================
Report for the day
========================================
Number of customers: 2
Total sale: $2601.19
List of products sold:
----------------------------------------
Product Qty
----------------------------------------
Bed 2
Bread 2
Butter 1
Char 4
Ham 1
Lettuce 1
Programming Fundamentals - 3/4 -
Milk 2
Onions 3
TV 1
Table 2
Tomato 5

In: Computer Science

Name your source code file sh.c Write your own simple shell. Your shell should prompt the...

Name your source code file sh.c

Write your own simple shell. Your shell should prompt the user for a command, run it, then prompt the user for their next command. If the user types "exit", then the shell should terminate. The shell should ignore Ctrl-C.

Inside the attached parse.h header file, there is a parse function that you can use to split up the command line into separate strings. Recall that execvp accepts two arguments: the name of the command, and then an array of command-line arguments as strings. The parse() function in parse.h accepts the string and returns the array of argument strings.

You can use parse.h or roll your own parse function.

Hints :

Remember the logic for the shell :

while input != exit
parse the command
fork
if parent process :
wait
else
execvp command

You'll need the chdir system call to add support for cd. This needs to be part of the shell as their is no cd system command.

man chdir, execvp, wait, fork, strtok

This may be the most challenging assignment of the quarter for some people. Don't wait to get started on it.

This assignment is a capstone of sorts for the course. Help will be limited to clarification of requirements and concepts.

// splits input into separate strings
// inputs:  input: a string to split up, args: an array of char pointers to
//    store the separate strings
// outputs: an array of strings, with null in the last element, passed back
//    through args
// preconditon: input is a valid c-string, read from the keyboard using fgets
// postcondition:  args contains the separate strings, one 
//    string per element.  Last element contains null
#ifndef PARSE_H
#define PARSE_H

#include "string.h"

static void parse( char* input, char* args[] )
{
  int i = 0;
  
  // fgets reads the \n, so overwrite it
  input[strlen(input)-1] = '\0';  
  
  // get the first token
  args[i] = strtok( input, " " );
  
  // get the rest of them
  while( args[++i] = strtok(NULL, " ") );
}

#endif

In: Computer Science

XYZ Corporation issued bonds on January 1, 2020 with a face value of $1,000, 10% stated...

XYZ Corporation issued bonds on January 1, 2020 with a face value of $1,000, 10% stated interest rate, with semi-annual payments, and a maturity date of December 31, 2024 (4 years). The market interest rate is 8%.

Required: (Answers may be rounded to the nearest dollar)

1. Compute the market price of the bonds and the journal entry to record issuance of the bonds on January 1, 2020. 2. Record the journal entry for the first semi-annual interest payment on July 1, 2020 using the effective interest rate method.

Chapter 15

Prepare an Income Statement (including cost of goods sold calculation) and a Statement of Cost of Goods Manufactured for the month ended January 31 in proper form using the following information (note that some balances are missing and must be computed):

(in $000's)

Sales revenue $1,127.0

Cost of goods sold ?

Gross profit ? / Net income ?

Operating expenses (selling and administrative) 117.6

Direct materials inventory January 1 65.8

Direct materials inventory January 31 ?

Direct materials purchased 282.8

Cost of Direct materials used 317.8

Direct labor costs 387.8

FOH costs 148.4

Total manufacturing costs in January ?

Total manufacturing costs 973.0

WIP inventory Janaury 1 119.0

WIP inventory January 31 172.2

Cost of goods manufactured ?

FG inventory January 1 224.0

FG inventory Janaury 31 197.4

In: Accounting

At the beginning of 2020, Dexter Company estimated that it would incur $220,000 of manufacturing overhead...

At the beginning of 2020, Dexter Company estimated that it would incur $220,000 of manufacturing overhead cost during 2020 and use 20,000 direct labor hours. On January 1, 2020, beginning balances of Materials Inventory, Work in Process Inventory, and Finished Goods Inventory were $60,000, $-0-, and $115,000, respectively.

Required:

Using the following account letters, indicate the journal entries to record the following for 2020. For example, the payment of an account payable would be: A, C. List the debit letter(s) first. Also indicate the entry amounts for 2, 3, 5, 6 and 7.

1. Purchased materials on account, $425,000.

2. Of the $425,000 total dollar value of materials used, $395,000 represented direct material.

3. Determined total factory labor, $228,000 (19,000 hrs. @$12/hr.). Of the factory labor, 16,500 were direct labor hours.

4. Incurred actual manufacturing overhead other than those items already recorded, $110,000. (Credit Accounts Payable and Accumulated Depreciation)

5. Applied manufacturing overhead based on direct labor hours to production.

6. Ending inventory of work in process was $75,000. Record the cost of goods manufactured.

7. Transferred the balance in Manufacturing Overhead to the appropriate account.

A. Accounts Payable

B. Accumulated Depreciation

C. Cash

D. Cost of Goods Sold

E. Finished Goods Inventory

F. Materials Inventory

G. Manufacturing Overhead

H. Wages Payable

I. Work in Process Inventory

In: Accounting

URGENT Ateeq Generators is a manufacturer of power generating equipment for commercial and industrial use. It...

URGENT

Ateeq Generators is a manufacturer of power generating equipment for commercial and industrial use. It commenced business on December 1. Below is a list of transactions conducted during its first month of operations:       

Transaction

$

1

Materials were purchased on credit terms.

400,000

2

Direct material was issued for Job A (for the manufacture of mobile generators).     

89,000

3

Direct material was issued for Job B (for the manufacture of diesel generators).

141,000

4

Direct material was issued for Job C (for the manufacture of portable generators).

28,000

5

Incurred direct labour cost on each of the jobs mentioned above as follows: job A, $9,000; job B, $11,000; job C, $5,000.          

6

Manufacturing overhead was applied to the jobs. The overhead rate used is 300% of direct labour dollars.

7

Job A and Job C were completed and moved to the finished goods warehouse.      

8

Job A was sold on credit terms for $200,000.

9

Actual manufacturing overhead incurred and paid for he month amounted to $78,000.

10

Manufacturing overhead was closed to Cost of Goods Sold.

                                                                                                                                    

a. Prepare the journal entries for the following transactions ONLY: [3 marks]

Transactions 2, 6, 7

b. Compute the Cost of Goods Manufactured (COGM) for the month ended December 31. [1 mark]

c. Compute the Cost of Goods Sold (COGS) for the month ended December 31. [1 mark]                        

d. Compute the inventory balances reported in the company’s Statement of Financial Position at December 31. [NO NEED TO ADJUST FOR UNDER- or OVER- APPLIED OVERHEADS] [3 marks]

In: Accounting

Segado, Inc. mass-produces goods in three processes. In the second process, direct materials are added at...

Segado, Inc. mass-produces goods in three processes. In the second process, direct materials are added at the beginning, conversion costs are incurred evenly throughout the process, and the normal spoilage rate is 5%. This period, the 90,000 units transferred into the second process had costs of $450,000 attached to them from the first process. The 20,000 units in beginning work-in-process inventory (30% complete) were worth $280,000 ($100,000 in transferred-in costs, $120,000 in conversion costs, and $60,000 in direct materials costs). During the period, the second process cost $303,000 for direct materials and $402,720 for conversion. At the end of the period, 85,000 units had been transferred on to the third process, and 22,000 units from process 2 were only 40% complete.

Enter all dollar values without dollar signs

Round your answers to the nearest dollar except costs per equivalent unit.

Physical units:
Normal spoilage
Abnormal spoilage
Equivalent units:
For goods completed and transferred out (same for all costs)
For goods normally spoiled (same for all costs)
For goods abnormally spoiled (same for all costs)
For ending work-in-process inventory, transferred-in costs
For ending work-in-process inventory, direct materials costs
For ending work-in-process inventory, conversion costs
Cost per equivalent unit:
For transferred-in costs
For direct materials
For conversion costs
The value of:
Good units completed and transferred out
Abnormal spoilage
Ending work-in-process inventory

In: Accounting