Write code for a simple snake game (using dots) on C program.
Using openframeworks. it should be simple because I am new to coding and I cant write complicated code.
just make it simple.
In: Computer Science
QUESTION 7 (6 + 6 = 12 marks)
(a) With the aid of appropriate diagrams, explain the following
three polarization mechanisms amongst
dielectric materials: (i) electronic, (ii) ionic and (iii)
orientational.
(b) For diamond, solid KCl, and liquid Hg (mercury) what kind(s) of
polarization (e.g. electronic, ionic
and/or orientation) is (are) possible?
In: Physics
I JUST WANT TO FIND OUT HOW TO CALCULATE THE 189,540 MONEY AMOUNT OF COMMON STOCK IN PART C?
THANK YOU!
In 2013, Elizabeth and some of her friends invested money to start a company named LADIEZ Corporation. The following transactions occurred during 2013:
| Jan 1 | The corporate charter authorized 72,000, $4 cumulative preferred stock and unlimited common stock up to a maximum amount of $21,000,000 to be issued. |
| Jan 6 | Issued 178,000 common shares at $18 per share. Shares were issued to Elizabeth and other investors. |
| Jan 7 | Issued another 540 common shares to Elizabeth in exchange for her legal services in setting up the corporation. The Stockholders agreed that the legal services were worth $9,180. |
| Jan 12 | Issued 4,200 preferred shares for $303,000. |
| Jan 14 | Issued 11,000 common shares in exchange for a building acquired. For this purpose shares were valued at $19. |
| Nov 15 | The first annual dividend on preferred stock was declared. |
| Dec 20 | Paid the dividends declared on preferred stock. |
LADIEZ Corporation generated a $145,000 net income during the
year.
a) Prepare the journal entries to record the above
transactions.
Do not enter dollar signs or commas in the input boxes.
| Date | Account Title and Explanation | Debit | Credit |
| Jan 6 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Issued common stock for cash | |||
| Jan 7 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Issued common stock in exchange for services | |||
| Jan 12 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Issue of preferred stock for cash | |||
| Jan 14 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Issued common stock for building | |||
| Nov 15 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Dividend declared on preferred stock | |||
| Dec 20 | AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | |
| AnswerAccounts PayableAccounts ReceivableAdvertising ExpenseBuildingCashCommon StockCommon Stock Dividends DistributableCost of Goods SoldDividends Payable - CommonDividends Payable - PreferredIncome SummaryInterest ExpenseInterest PayableInterest ReceivableInterest RevenueInventoryLandLegal ExpenseNotes PayablePreferred StockPrepaid RentRent ExpenseRetained EarningsSalaries ExpenseSales RevenueSupplies ExpenseTelephone ExpenseTravel ExpenseUtilities Expense | Answer | ||
| Recording payment of dividend | |||
b) Prepare the statement of retained earnings for the year ended
December 31, 2013.
| LADIEZ Corporation | |
| Statement of Retained Earnings | |
| For the Year Ended December 31, 2013 | |
| Opening Balance | Answer |
| Add: Net Income | Answer |
| Less: Dividends Paid | Answer |
| Balance – December 31, 2013 | Answer |
c) Prepare the Stockholders’ equity section of the balance sheet as
at December 31, 2013.
| LADIEZ Corporation | |
| Stockholders' Equity | |
| December 31, 2013 | |
| Stock Capital | |
| Authorized: 72,000 $4 cumulative preferred stock and unlimited common stock | |
| Issued: | |
| 189,540 Common Stock | Answer |
| 4,200, $4 Preferred Stock | Answer |
| Total Stock Capital | Answer |
| Retained Earnings | Answer |
| Total Stockholders’ Equity | Answer |
In: Accounting
Hello ! i need ideas. i need peoples opinion about Martin L. King. and the letter he wrote from jail Specifically his opinion about just and unjust laws. . . Does every codified social law has to be in harmony with moral law? or not? why?
In: Psychology
In: Operations Management
int Function(int n)
{
for(int i = 0; i < n; i++)
{
for(int j = 0; j < n; j++)
{
for(int k = 0; k < n; k++)
{
Print(“hello world”);
}
}
}
}
In: Computer Science
Write a simple Python program that will generate two random between 1 and 6 ( 1 and 6 are included).
If the sum of the number is grader or equal to 10 programs will display “ YOU WON!!!”. if the sum is less than 10, it will display “YOU LOST”.
After this massage program will ask users a question: “if you want to play again enter Y. if you want to exit enter ‘N’)
If the user enters Y they will continue to play and if they enter N the program terminates.
In: Computer Science
Create your initial post on the DQ 3 Discussion Board in
response to the following questions:
In: Computer Science
Question
As a marketing planner, you need to practice creating your own marketing plan. You are required to design a marketing plan for your organization focusing on the following sections:
You must provide adequate Harvard references in every section you present. For information about your organization, you are also required to reference. Some companies may not have published information online however; you can still try to project your ideas with valid peer-reviewed articles
In: Operations Management
Let’s say that we work at some new video store and need to design some classes that will help us organize our database of movies. You are to write the following classes:
Write a class called Video that will have the following properties:
Declare the instance fields title (String), length (int), avail (Boolean)
Declare two constructors
One default
One with title and length as parameters
Write a method that will output the fields of the objects by overriding the print method
Write an accessor method for availability:
public boolean getAvail()
Write a mutator method for availability!
public void setAvail(boolean b)
2. Write another class called Movie that will inherit the properties of the Video class but will also define two new fields: the movie rating and the name of the director. Give the movie class it’s own print method and constructors for default and with title, length, rating, and director as paramenters.
3. In the Main.java class create the following objects:
Video – Name: CPC Sports, 90 mins Available: No
Video - Name: CPC Through the Years, 2 hours, Available: Yes
Movie- Name: Mission Impossible 4, 2 hours 30 mins, Available: No, Director: Brad Bird, Rating: 4 stars
Movie- Name: Star Wars, 2 hours, Available: Yes: Director: George Lucas, Rating 5 stars
Can you change the availability of a movie using the mutator method from Video?
Given Code:
Main.java
class Main {
public static void main(String[] args) {
}
}
Video.java
class Video{
}
Movie.java
class Movie extends Video{
}
In: Computer Science
Photosynthesis Homework Name:_______________________
DIRECTIONS: Use Chapter 10 to help answer the questions and fill in the table below. Bring to class completed at the beginning of lecture.
|
Molecule |
Reaction Involved? |
Purpose |
|
Photon |
||
|
H2O |
||
|
CO2 |
||
|
ATP |
||
|
NADPH |
In: Biology
<!doctype html>
<html lang="en">
<head>
<title>Programming 1</title>
<meta charset="utf-8"/>
</head>
<body>
<script type="text/javascript">
function findAnswer() {
var a = new Date(2020, 12, 29);
// HINT: Be careful with getMonth()
var d = a.getFullYear() + a.getMonth();
var sum = d % 5;
document.getElementById("ans").innerHTML = sum.toString();
}
</script>
<form action="#" method="post" name="form1" id="form1" class="form" >
<input type="button" name="Submit" id="submit" value="Submit" onclick="findAnswer();"/>
</form>
<p id ="ans"></p>
</body>
</html>
none
Will the code from above print anything, if so, what printed ? If not, say NONE.
In: Computer Science
What is the universal audience and what is its pupose and characteristics
In: Psychology
Nice Number Programming: Nice program ask user to enter three integers from keyboard (java console), the three integers represent left bound, right bound and arbitrary digit ‘m’, where left bound is less than right bound. Program should print all nice numbers in the given range that doesn’t contain digit 'm'. The number is nice if its every digit is larger than the sum of digits which are on the right side of that digit. For example 741 is a nice number since 4> 1, and 7> 4+1. with digit m=2 Write a complete program in Java that Call only One method (niceNumbers method) that will print all nice numbers excluding a given digit ‘m’ that also entered by user ? Input Sample : Enter Left bound: 740 Enter Right bound:850 Enter digit to exclude it:2 Output sample: Nice Numbers in Range Left=740, Right=850 with exclude digit m= 2 are: 740 741 750 751 760 810 830 831 840 841 843 850 Your method prototype is like this: public static void niceNumbers(int left, int right, int dight) { ...
In: Computer Science
Do women have a right to an abortion?
(Please write a 300 word response)
In: Psychology