InstructionsManagement Tools Assignment Part 1 and Part 2Additional Notes:1) All Journal Entries MUST include the "Explanation" line.Due Dates2) All Debit account entry lines MUST be fully left-justified.Assignment Part 1 - Due at the end of Unit 2 (40 Points)3) All Credit account entry lines MUST be indented 4 or 5 spaces, UNIFORMLY.Assignment Part 2 - Due at the end of Unit 3 (40 Points)4) You will be required to create at least ONE additional general Ledger Account to accommodate a few Journal Entires.5) You may creat one "Miscellaneous Expense" account in the General Ledger to accommodate all of the otherwise unspecified entries, OR you may create 2 or 3 new G/L accounts. For example "Utilities."6) Be sure that you use proper formatting when you create the Financial Statements. For example, all underlining and "$" signs must be properly formatted.7) These templates are NOT fully "pre-formatted". You must re-format them for proper presentation in many places.MAKE SURE TO COMPLETE ALL REQUIREMENTS WHICH ARE LISTED BELOW.There are 9 Sheets in the Workbook including this one.All of the Information you need for the Project is located in this Workbook.RequirementsSheet in WorkbookAssignment Part 1 Due in Unit 02Requirement 1 - Prepare the Journal Entries in the General JournalJounral Entries<-- VERY IMPORTANT NOTE: You must revise the General Ledger in Unit 3 to include the Adjusting & Closing Entries.Requirement 2 - Post Journal Entries to the General LedgerGeneral LedgerRequirement 3 - Prepare a Trial BalanceTrial BalanceAssignment Part 2 - Due in Unit 3Requirement 4 - Prepare the Adjusting EntriesAdjusting EntriesRequirement 5 - Post Adjusting Entries to the General LedgerGeneral LedgerRequirement 6 - Prepare an Adjusted Trial BalanceAdjusted TBRequirement 7 - Prepare the Financial StatementsFinancial StatementsRequirement 8 - Prepare the Closing EntriesClosing EntriesRequirement 9 - Post Closing Entries to the General LedgerGeneral LedgerRequirement 10 - Prepare the Post Closing Trial BalancePost Closing TB
Journal Entries-Due in Unit 2Prepare journal entries to record the June transactions in the General Journal below.General JournalDateDescription(Account Name)DebitCreditNote: Remember that Debits must equal Credits - All of your Journal Entries should balance.
General Ledger - Due in Unit 2This Sheet will be used for Requirements 2, 5 and 9 GENERAL LEDGERACCOUNT:CASHACCOUNTNO. 11YEARPOST. BALANCEMONTHDAYITEMREF.DEBITCREDITDEBITCREDIT20101ACCOUNT:ACCOUNTS RECEIVABLEACCOUNTNO. 12POST. BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--ACCOUNT:SUPPLIESACCOUNTNO. 14POST. BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--ACCOUNT:PREPAID RENTACCOUNTNO. 15POST. BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--ACCOUNT:PREPAID INSURANCEACCOUNTNO. 16POST. BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--ACCOUNT:OFFICE EQUIPMENTACCOUNTNO. 18POST. BALA.
InstructionsManagement Tools Assignment Part 1 and Part 2Additiona.docx
1. InstructionsManagement Tools Assignment Part 1 and Part
2Additional Notes:1) All Journal Entries MUST include the
"Explanation" line.Due Dates2) All Debit account entry lines
MUST be fully left-justified.Assignment Part 1 - Due at the end
of Unit 2 (40 Points)3) All Credit account entry lines MUST be
indented 4 or 5 spaces, UNIFORMLY.Assignment Part 2 - Due
at the end of Unit 3 (40 Points)4) You will be required to create
at least ONE additional general Ledger Account to
accommodate a few Journal Entires.5) You may creat one
"Miscellaneous Expense" account in the General Ledger to
accommodate all of the otherwise unspecified entries, OR you
may create 2 or 3 new G/L accounts. For example "Utilities."6)
Be sure that you use proper formatting when you create the
Financial Statements. For example, all underlining and "$"
signs must be properly formatted.7) These templates are NOT
fully "pre-formatted". You must re-format them for proper
presentation in many places.MAKE SURE TO COMPLETE ALL
REQUIREMENTS WHICH ARE LISTED BELOW.There are 9
Sheets in the Workbook including this one.All of the
Information you need for the Project is located in this
Workbook.RequirementsSheet in WorkbookAssignment Part 1
Due in Unit 02Requirement 1 - Prepare the Journal Entries in
the General JournalJounral Entries<-- VERY IMPORTANT
NOTE: You must revise the General Ledger in Unit 3 to include
the Adjusting & Closing Entries.Requirement 2 - Post Journal
Entries to the General LedgerGeneral LedgerRequirement 3 -
Prepare a Trial BalanceTrial BalanceAssignment Part 2 - Due in
Unit 3Requirement 4 - Prepare the Adjusting EntriesAdjusting
EntriesRequirement 5 - Post Adjusting Entries to the General
LedgerGeneral LedgerRequirement 6 - Prepare an Adjusted
Trial BalanceAdjusted TBRequirement 7 - Prepare the Financial
StatementsFinancial StatementsRequirement 8 - Prepare the
Closing EntriesClosing EntriesRequirement 9 - Post Closing
Entries to the General LedgerGeneral LedgerRequirement 10 -
2. Prepare the Post Closing Trial BalancePost Closing TB
Journal Entries-Due in Unit 2Prepare journal entries to record
the June transactions in the General Journal below.General
JournalDateDescription(Account Name)DebitCreditNote:
Remember that Debits must equal Credits - All of your Journal
Entries should balance.
General Ledger - Due in Unit 2This Sheet will be used for
Requirements 2, 5 and 9 GENERAL
LEDGERACCOUNT:CASHACCOUNTNO. 11YEARPOST.
BALANCEMONTHDAYITEMREF.DEBITCREDITDEBITCRE
DIT20101ACCOUNT:ACCOUNTS
RECEIVABLEACCOUNTNO. 12POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:SUPPLIESACCOUNTNO. 14POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:PREPAID RENTACCOUNTNO. 15POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:PREPAID INSURANCEACCOUNTNO. 16POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:OFFICE EQUIPMENTACCOUNTNO. 18POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:ACCUMULATED DEPRECIATIONACCOUNTNO.
19POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:ACCOUNTS PAYABLEACCOUNTNO. 21POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDITACC
OUNT:SALARIES PAYABLEACCOUNTNO. 22POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:UNEARNED FEESACCOUNTNO. 23POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:DUSTIN LARKIN, CAPITALACCOUNTNO.
31POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:DUSTIN LARKIN, DRAWINGACCOUNTNO.
32POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
3. ACCOUNT:INCOME SUMMARYACCOUNTNO. 33POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:FEES EARNEDACCOUNTNO. 41POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:SALARY EXPENSEACCOUNTNO. 51POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:RENT EXPENSEACCOUNTNO. 52POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:SUPPLIES EXPENSEACCOUNTNO. 53POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:DEPRECIATION EXPENSEACCOUNTNO.
54POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
ACCOUNT:INSURANCE EXPENSEACCOUNTNO. 55POST.
BALANCEDATEITEMREF.DEBITCREDITDEBITCREDIT20--
Trial Balance - Due in Unit 3REQUIREMENT #3:Prepare a trial
balance for June in the space below.DebitCredit
Adjusting Entries-Due in Unit 3Requirement #4: Remember to
post these to the G/L, too.General
JournalDateDescription(Account Name)DebitCreditNote:
Remember that Debits must equal Credits - All of your Journal
Entries should balance.
Adjusted TB - Due in Unit 3Requirement #6: Prepare an
Adjusted Trial Balance in the space below.DebitCredit
Financial Statements - Unit 3Requirement #7:VERY
IMPORTANT NOTE:Insert rows as neededYou will have to
MODIFY the spreadsheet to properly include all accounts and
formatting.Income StatementHint: Remember, Quixote
Company is NOT a corporate business. Therefore, any
terminology that would not be associated with Quixote
Company MUST be revised.Revenues:Expenses: Total
ExpensesNet IncomeStatement of Owners EquityRetained
Earnings, October 1Add: Additional InvestmentAdd: Net
IncomeSubtotalLess: DividendsRetained Earnings, October
31VERY IMPORTANT NOTE:You will have to MODIFY the
spreadsheet to properly include all accounts and
4. formatting.Balance SheetAssets:Liabilities:Total
LiabilitiesStockholders' Equity:Total Stockholders' EquityTotal
Liabilities & Stockholders' Equity
Closing Entries - Unit 3Requirement #8:Remember to post these
to the G/L, too.Prepare the closing entries at June 30 in the
General Journal below.Hint: use the balances for each account
which appear on the AdjustedTrial Balance for your closing
entries.General JournalDateDescription (Account
Name)DebitCreditRequirement #9:Post the closing entries to the
General Ledger T-accounts and compute ending balances.Just
add to the adjusted balances already listed.
Post Closing TB - Unit 3Requirement #10:HINT:Only
"Permanent" or "Real" account balance should remainPrepare a
post-closing trial balance as of October 31 in the space below.at
this point in the Acocunting Cycle.To be specific, only Balance
Sheet Accounts should be here.Post-Closing Trial Balance
1-Information sharing
2-Computation speedup
3-Modularity
4-Convenience
5-allows exchanged data and informations
Two IPC Models
1. Shared memory- is an OS provided abstraction which allows
a memory region to be simultaneously accessed by multiple
programs with an intent to provide communication among them.
One process will create an area in RAM which other processes
can accessed
2. Message passing - is a form of communication used in
interprocess communication. Communication is made by the
sending of messages to recipients. Each process should be able
5. to name the other processes. The producer typically uses send()
system call to send messages, and the consumer uses
receive()system call to receive messages
Shared memory
Faster than message passing
After establishing shared memory, treated as routine memory
accesses
Message passing
Useful for exchanging smaller amounts of data
Easy to implement, but more time-consuming task of kernel
intervention
Bounded-Buffer Problem Producer Process
do {
...
produce an item in nextp
...
wait(empty);
wait(mutex);
...
add nextp to buffer
...
signal(mutex);
signal(full);
} while (true);
Bounded-Buffer Problem Consumer Process
do {
6. wait(full);
wait(mutex);
...
remove an item from buffer to nextc
...
signal(mutex);
signal(empty);
...
consume the item in nextc
...
} while (true);
client-server model, the client sends out requests to the
server, and the server does some processing with the request(s)
received, and returns a reply (or replies)to the client.
Since Socket can be described as end-points for communication.
we could imagine the client and server hosts being connected by
a pipe through which data-flow takes place.
1-sockets use a client-server while Server waits for incoming
client requests by listening to a specified port.
2-After receiving a request, the server accepts a connection
from the client socket to complete the connection
3-then Remote procedure call (RPC) abstracts procedure call
mechanism for use between systems with network connections
4-and pipes acts as a conduit allowing two processes to
communicate
7. A process is different than a program
- Program is static code and static data
- Process is Dynamic instance of code and data
-Program becomes process when executable file loaded into
memory
No one-to-one mapping between programs and processes
-can have multiple processes of the same program
-one program can invoke multiple process
Execution of program started via GUI mouse clicks and
command line entry of its name
The process state transition
As a process executes, The process is being created, then The
process is waiting to be assigned to a processor therefore,
Instructions are being executed then The process is waiting for
some event to occur,thereafter The process has finished
execution
Parent process creates children processes, which, in turn create
other processes, forming a tree of processes
The new child process is a complete copy of the executing
program
Generally, process identified and managed via a process
identifier (pid)
getpid ()
The new child process has a new process identifier.
8. fork () returns the child’s PID to the parent, 0 to the child.
When calling exec (), all data in the original program is lost,
and replaced with a running copy of the new program:
Overlaying
UNIX examples
fork () system call creates new process
exec () system call used after a fork() to replace the process’
memory space with a new program
/**
* Programming Languages: Implementation and Design.
*
* A Simple Compiler Adapted from Sebesta (2010) by Josh
Dehlinger further modified by Adam Conover
* (2012-2015)
*
* A simple compiler used for the simple English grammar in
Section 2.2 of Adam Brooks Weber's
9. * "Modern Programming Languages" book. Parts of this code
was adapted from Robert Sebesta's
* "Concepts of Programming Languages".
*
* This compiler assumes that the source file containing the
sentences to parse is provided as the
* first runtime argument. Within the source file, the compiler
assumes that each sentence to parse
* is provided on its own line.
*
* NOTE: A "real" compiler would more likely treat an entire
file as a single stream of input,
* rather than each line being an independent input stream.
*/
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class Compiler {
10. /**
* It is assumed that the first argument provided is the name
of the source file that is to be
* "compiled".
*/
public static void main(String[] args) throws IOException {
//args = new String[]{"<some hard coded path for
testing>"};
//args = new
String[]{"D:Version_Controlled_SVN_NewtonCOS420J
avaParserSampleinput.txt"};
if (args.length < 1) {
System.out.println("Need a filename!");
} else {
// Java 7 "try-with-resource" to create the file input
buffer.
try (BufferedReader br = new BufferedReader(new
FileReader(args[0]))) {
// Create the new lexer.
LexicalAnalyzer lexer = new LexicalAnalyzer();
11. // Start lexing and parsing.
processFile(lexer, br);
}
}
}
/**
* Reads each line of the input file and invokes the lexer and
parser for each.
*/
static void processFile(LexicalAnalyzer lexer,
BufferedReader br) throws IOException {
String sourceLine;
// Read each line in the source file to be compiled as a
unique sentence
// to check against the grammar.
while ((sourceLine = br.readLine()) != null) {
// Ignore empty lines and comments.
12. if (sourceLine.trim().length() <= 0) {
continue;
}
if (sourceLine.trim().startsWith("#")) {
System.out.println("Comment: " +
sourceLine.substring(1).trim());
continue;
}
// Create a new syntax analyzer over the provided lexer.
SyntaxAnalyzer parser = new SyntaxAnalyzer(lexer);
// Parse the given sentence against the given grammar.
We assume that the
// sentence, <S>, production is the start state.
try {
// Start the lexer...
lexer.start(sourceLine);
13. // Start the parser...
parser.analyze();
// No exceptions, so we must be good!
System.out.printf("The sentence '%s' follows the
BNF grammar.%n", sourceLine);
} catch (ParseException error) {
// If a syntax error was found, print that the sentence
does not follow the grammar.
System.out.printf("SYNTAX ERROR while
processing: '%s'%n", sourceLine);
System.out.printf("ERROR MSG: %s%n",
error.getErrMsg());
}
System.out.println("------------------------------------------
-----------------");
}
}
}
14. Assume we start with a simple "sentence" grammar as follows:
<S> ::= <NP><V><NP>
<NP> ::= <A> <N>
<V> ::= loves | hates | eats
<A> ::= a | the
<N> ::= dog | cat | rat
Part A:
Show the BNF above with the following additional grammar
elements:
· Adjectives: (0 or more Adjectives separated by commas may
precede any Noun. A comma may or may not be preceded by a
space.)
· furry
· fast
· slow
· delicious
· Adverbs: (0 or 1 Adverb may precede any Verb)
· quickly
· secretly
· Conjunctions: (0 or more may appear in any sentence
· and
· or
· Sentence terminator (The terminator may or may not be
preceded by a space.)
· . (a single period)
· ! (a single period)
·
Part B:
Show/Draw the syntax diagrams for each of the grammar
elements above. Hyperlink reference not valid.
Part C:
Show the parse trees (which can be generated in ANTLRWorks)
15. for each of the following sentences:
Examples of SYNTACTICALLY VALID Input Strings:
a dog loves the cat.
the cat eats the slow rat and the slow , furry dog secretly hates
the cat and a dog loves the rat !
Examples of SYNTACTICALLY INVALID Input Strings (where
do they fail):
a dog barks at the cat.
the fast furry cat eats quickly
NOTE: You can generate the full parse trees from
ANTLRWorks (as can be done with the attached sample for the
base grammar) or simply draw out the cooresponding AST's
(Abstract Syntax Trees) "by hand" on paper or with a simple
drawing tool. The point of this is to have something that you
can then verify against the parse trees generated by your own
code (in the next part).
Part D:
Modify the (attached) sample code to accept valid sentences
based upon the newly defined grammar above. The parser
should also "reject" invalid sentences with a descriptive error
message. Note that the program should still accept a filename
from the "Command Line" as illustrated in the example. Please
no HARD-CODED file paths in the source.
Unit 2 [AC499: Bachelor’s Capstone in Accounting]
Unit 2 Assignment: Management Tools
Application
For the past several years, Dustin Larkin has operated a part-
16. time consulting business from his
home. As of June 1, 2013, Dustin decided to move to rented
quarters and to operate the business,
which was to be known as Quixote Consulting, on a full-time
basis. Quixote Consulting entered into
the following transactions during June:
June 1. The following assets were received from Dustin Larkin:
cash,
$10,000; accounts receivable, $1,500; supplies, $1,250; and
office equipment, $7,500.
There were no liabilities received.
June 1. Paid three months' rent on a lease rental contract,
$4,500.
June 2. Paid the premiums on property and casualty insurance
policies, $1,800.
June 4. Received cash from clients as an advance payment for
services to be provided (Record
it as unearned fees), $3,000.
June 5. Purchased additional office equipment on account from
Crawford Company, $1,800.
June 6. Received cash from clients on account, $800.
June 10. Paid cash for a newspaper advertisement to run during
17. June, $120.
June 12. Paid Crawford Company for part of the debt incurred
on June 5, $800.
June 12. Recorded services provided on account for the period
June 1 to June 12, $2,250.
June 14. Paid part-time receptionist for 2 weeks' salary, $400.
(Note: Ignore any payroll tax or
withholdings).
June 17. Recorded cash from cash clients for fees earned
during the period June 1-16, $3,175.
June 18. Paid cash for supplies, $750.
June 20. Recorded services provided on account for the period
June 13-20, $1,100.
June 24. Recorded cash from cash clients for fees earned for
the period June 17-24, $1,850.
June 26. Received cash from clients on account, $1,600.
June 27. Paid part-time receptionist for two weeks' salary,
$400. (Note: Ignore any payroll tax or
withholdings).
June 29. Paid telephone bill for June, $130.
Unit 2 [AC499: Bachelor’s Capstone in Accounting]
18. June 30. Paid electricity bill for June, $200.
June 30. Recorded cash from cash clients for fees earned for
the period June 25-30, $2,050.
June 30. Recorded services provided on account for the
remainder of June, $1,000.
June 30. Dustin withdrew $4,500 for personal use.
Instructions-Use the Excel template provided in the class titled
“Unit 2 and 3 Management
Tools Assignment” to complete the following 3 requirements for
Unit 2:
1. Journalize each transaction in the two-column journal tab,
referring to the following chart of
accounts in selecting the accounts to be debited and credited.
11-Cash 31-Dustin Larkin, Capital
12-Accounts Receivable 32-Dustin Larkin, Drawing
14-Supplies 41-Fees Earned
15-Prepaid Rent 51-Salary Expense
16-Prepaid Insurance 52-Rent Expense
18-Office Equipment 53-Supplies Expense
19. 19-Accumulated Depreciation 54-Depreciation Expense
21-Accounts Payable 55-Insurance Expense
22-Salaries Payable 59-Miscellaneous Expense
23-Unearned Fees
2. Post the journal to a ledger of four-column accounts, see the
Excel tab labeled accordingly.
3. Prepare a trial balance as of June 30, 2013 – using the tab in
the Excel workbook labeled
accordingly.
Be sure and save your work, you will complete the accounting
cycle in Unit 3 using the same Excel
Template and information.
Unit 2 [AC499: Bachelor’s Capstone in Accounting]
Notes:
1) Proper Journal Entry Formatting is absolutely mandatory.
a. Debit Account Descriptions are to be fully left-justified in
the line.
b. Credit Account Descriptions are to be indented in the cell.
20. c. A short description is required for every journal entry.
2) You will be required to create at least ONE additional
general Ledger Account to
accommodate a few Journal Entries.
3) You may need to add the “Miscellaneous Expense" account to
the General Ledger.
4) Or, you may create 2 or 3 new G/L accounts. For example
"Utilities."
5) Be sure that you use proper formatting when you create the
Financial Statements. For
example:
a. Add required underlining,
b. "$" signs must be properly formatted.
6) The templates are NOT fully “pre-formatted.” You must re-
format them for proper presentation
in a number of places.
Remember, if you have any questions, concerns, or doubts about
any of the instructions, please
21. contact your instructor in the Virtual Office as soon as possible.
AC 499 Unit 2 Rubric:
Category
Your
score
Possible
Points
Instructor Comments
1-Prepare the Initial Journal Entries.
Scoring Criteria:
(13 – 15 Points): Entries use accurate accounts and amounts;
and
debits and credits are used correctly.
(10 – 12 Points): Journal Entries mostly use accurate accounts
and amounts; and debits and credits are used correctly.
(7.5 – 9 Points): Journal Entries have some errors in use of
accounts and amounts; debits and credits are only somewhat
used correctly.
22. 0 15
Unit 2 [AC499: Bachelor’s Capstone in Accounting]
(0 – 7 Points): Journal Entries have some errors in use of
accounts
and amounts; and debits and credits are not used correctly.
2-Post the journal entries to the G/L.
Scoring Criteria:
(13 – 15 Points): Posting is correct - trial balance is accurate.
(10 – 12 Points): Posting and T/B are mostly correct.
(7.5 – 9 Points): Posting and T/B have several errors.
(0 – 7 Points): Posting and T/B have significant errors.
0 15
3-Prepare the Unadjusted Trial Balance.
Scoring Criteria:
(9 - 10 Points): All Accounts properly presented in correct order
with correct balances.
23. 0 10
(7 - 8 Points): Trial Balance mostly correct, 1 or 2 accounts
listed
incorrectly, 1 or 2 balances incorrect, and based on carry-
forward
errors from Parts 1 & 2.
(5 - 6 Points): Trial Balance has several errors, but they are
independent of any carry forward errors.
(0 - 4 Points): Trial Balance is poorly prepared, numerous
errors,
balances incorrect, accounts out of order.
Preliminary Totals 0 40
Additional Items:
Deductions for uncorrected errors from Unit 2 (Enter negative
amount -->)
Late Penalty (If applicable) (Enter as a negative amount -->)
Final Total 0 40