help-you-with-all-questions

help-you-with-all-questions

Lv6

University of California - Berkeley

1 Follower
0 Following
1 Helped

ANSWERS

Published143

Subjects

Architecture3Project Management4History2Law5Management5Music1English8Philosophy2Business8Science3Sociology5Geography2Nursing1Psychology1Communications1Ethics1Information Technology2Algebra4Computer Science13Accounting9Calculus17Biology11Mathematics2Statistics2Physics13Economics5Chemistry13
Answer: 3. To calculate the negative charge required to create an attractive f...
Answer: In the novel, the term "night" is recurrent and carries different mean...
Answer: 1) Physical damage to his car because of collision with another car:Th...
Answer: Conclusion:In conclusion, the six types of change – technological, str...
Answer: However, I can provide you with some general guidance on how to approa...
Answer: Certainly! Here are two direct examination questions for Dr. J. Tyrone...
Answer: I can provide you with a general understanding of the concepts involve...
Python for Beginners - Learn Python in 1 Hour Programming with Mosh Python Programming Tutorial

In this Python tutorial, you'll learn everything you need to start programming in Python. This tutorial is perfect for data science, machine learning, and web development. No prior knowledge in Python or programming is required as everything will be taught from scratch. I'm Mosh Hamadani, and I've taught millions of people how to code through this channel. If you're new here, make sure to subscribe as I upload new videos every week. Let's jump in and get started.

What is Python?

Python is a multipurpose programming language that can be used for a variety of different tasks, such as automation, web development, and data science.

  • You can use Python in automation to automate repetitive tasks and save time and increase productivity.
  • You need to install a code editor to write your own Python code.
  • You can build amazing websites powered by Python.

We'll be using PyCharm as our code editor in this tutorial. When you open PyCharm for the first time, you have to configure a few settings, but we can skip that for now and set defaults. Let's create a new project and collapse the project window to give more space. We can then print a message on our application window.

Running Python Code

To run Python code in PyCharm, we go to the run menu and select run, or use the shortcut (ctrl+shift+r on a Mac). Then select the app to run, and the output will appear in the terminal window. Python is case sensitive so make sure to use the correct case when coding. We can declare variables, such as age and price, and assign them values. Python also has boolean values that can be true or false.

Now let's start coding!

age = 30
print(age)
price = 19.95
print(price) Declare and Use Variables in Python

Here's a little exercise for you: imagine we want to write a program for a hospital, so we're going to check in a patient named John Smith. He's 20 years old and is a new patient. I want you to declare a few variables to store these values.

Use the comment section below to share your code.

Receiving User Input in Python

In Python, we have a built-in function called input() that we use to read a value from the terminal window. We can add a string argument to the function to prompt the user for input.

Let's write a simple program to demonstrate this:

name = input("What is your name? ")print("Hello, " + name)

When we run this program, it will prompt the user to input their name. Once a value is entered, the program will print the greeting message with the input value.

Data Types in Python

There are three main data types in Python: numbers, strings, and booleans.

  • Numbers - This includes integers and floating-point numbers.
  • Strings - This includes textual data.
  • Booleans - This includes True and False values.
Converting Data Types in Python

Python has several built-in functions for converting the types of our variables. For example, we have the int()function for converting a value to an integer:

birth_year = "1982"age = 2020 - int(birth_year)print("You are " + str(age) + " years old.")

In the above example, we use the int() function to convert the birth_year string to an integer so we can subtract it from the current year.

We also have the float() function for converting a value to a float:

num = "10.5"float_num = float(num)print(float_num)

In the above example, we use the float() function to convert the numstring to a floating point number.

Answer:
  1. Python for Beginners - Learn Python in 1 Hour
Programming with Mosh Python Programming Tutorial

In this Python tutorial, you'll learn everything you need to start programming in Python. This tutorial is perfect for data science, machine learning, and web development. No prior knowledge in Python or programming is required as everything will be taught from scratch. I'm Mosh Hamadani, and I've taught millions of people how to code through this channel. If you're new here, make sure to subscribe as I upload new videos every week. Let's jump in and get started.

What is Python?

Python is a multipurpose programming language that can be used for a variety of different tasks, such as automation, web development, and data science.

  • You can use Python in automation to automate repetitive tasks and save time and increase productivity.
  • You need to install a code editor to write your own Python code.
  • You can build amazing websites powered by Python.

We'll be using PyCharm as our code editor in this tutorial. When you open PyCharm for the first time, you have to configure a few settings, but we can skip that for now and set defaults. Let's create a new project and collapse the project window to give more space. We can then print a message on our application window.

Running Python Code

To run Python code in PyCharm, we go to the run menu and select run, or use the shortcut (ctrl+shift+r on a Mac). Then select the app to run, and the output will appear in the terminal window. Python is case sensitive so make sure to use the correct case when coding. We can declare variables, such as age and price, and assign them values. Python also has boolean values that can be true or false.

Now let's start coding!

age = 30
print(age)
price = 19.95
print(price) Declare and Use Variables in Python

Here's a little exercise for you: imagine we want to write a program for a hospital, so we're going to check in a patient named John Smith. He's 20 years old and is a new patient. I want you to declare a few variables to store these values.

Use the comment section below to share your code.

Receiving User Input in Python

In Python, we have a built-in function called input() that we use to read a value from the terminal window. We can add a string argument to the function to prompt the user for input.

Let's write a simple program to demonstrate this:

name = input("What is your name? ")print("Hello, " + name)

When we run this program, it will prompt the user to input their name. Once a value is entered, the program will print the greeting message with the input value.

Data Types in Python

There are three main data types in Python: numbers, strings, and booleans.

  • Numbers - This includes integers and floating-point numbers.
  • Strings - This includes textual data.
  • Booleans - This includes True and False values.
Converting Data Types in Python

Python has several built-in functions for converting the types of our variables. For example, we have the int()function for converting a value to an integer:

birth_year = "1982"age = 2020 - int(birth_year)print("You are " + str(age) + " years old.")

In the above example, we use the int() function to convert the birth_year string to an integer so we can subtract it from the current year.

We also have the float() function for converting a value to a float:

num = "10.5"float_num = float(num)print(float_num)

In the above example, we use the float() function to convert the numstring to a floating point number.

Answer: nice

I have these questions, I wanna the correct answers withexplaination FOR ALL Q , please:

1-On December 15, 2016, Rigsby Sales Co. sold a tract of landthat cost $3,800,000 for $5,000,000. Rigsby appropriately uses theinstallment sales method of accounting for this transaction. Termscalled for a down payment of $440,000 with the balance in two equalannual installments payable on December 15, 2017, and December 15,2018. Ignore interest charges. Rigsby has a December 31year-end.

In 2017, Rigsby would recognize realized gross profit of:

A- $ 0.

B- $547,200.

C- $447,200.

D- $597,200.

2-

Johnson sells $112,000 of product to Robbins, and also purchases$12,400 of advertising services from Robbins. The advertisingservices have a fair value of $9,200. Johnson should record revenueon its sale of product to Robbins of:

A- $108,800

B- $112,000

C- $102,800

D- $99,600

3-

Arizona Desert Homes (ADH) constructed a new subdivision during2015 and 2016 under contract with Cactus Development Co. Relevantdata are summarized below:

Contract amount $2,595,000
Cost: 2015 1,110,000
2016 510,000
Gross profit: 2015 665,000
2016 310,000
Contract billings: 2015 1,297,500
2016 1,297,500

ADH recognizes revenue upon completion of the contract.
In its December 31, 2015, balance sheet, ADH would report:

A- The contract asset, contract amount in excess of billings, of$1,297,500

B- The contract asset, cost and profits in excess of billings,of $477,500

C- The contract liability, billings in excess of cost, of$187,500

D- The contract asset, deferred profit, of $310,000

4-

Gupta Industries received a $290,000 prepayment from PackardAssociates for the sale of new equipment. Gupta will bill Packardan additional $111,000 upon delivery of the equipment. Upon receiptof the $290,000 prepayment, how much should Gupta recognize for acontract asset, a contract liability, and accounts receivable?

rev: 08_24_2015_QC_CS-15471

A- Contract asset: $0; contract liability: $290,000, accountsreceivable, $0.

B- Contract asset: $0; contract liability: $290,000, accountsreceivable, $111,000.

C- Contract asset: $290,000; contract liability: $0, accountsreceivable, $0.

D- Contract asset: $290,000; contract liability: $0, accountsreceivable, $111,000.

5-

Maas LLP developed software that helps farmers to plow theirfields in a manner that prevents erosion and maximizes theeffectiveness of irrigation. Sunny Dale paid a licensing fee of$17,000 for a copy of the software. Although Sunny Dale can use thesoftware as long as it wants, Maas expects that Sunny Dale will usethe software for approximately 5 years. Maas does not anticipateany further interaction with Sunny Dale following transfer of thelicense. How much revenue should Maas recognize in the first yearof the contract?

A- $3,400

B- $4,250

C- $17,000

D- $0

6-

Excerpts fromDowling Company's December 31, 2016 and 2015, financial statementsand key ratios are presented below (all dollar values are inmillions):

2016 2015
Accounts receivable (net) $27 15
Netsales $170 84
Costof goods sold $98 83
Netincome $27 24
Inventory turnover 5.60
Return on assets 11.5%
Equity Multiple 2.48

Dowling'saverage inventory balance for 2016 is (Round your answer toone decimal):

A- 15.0.

B- 18.0.

C- 17.5.

D- 18.5.

7-

Reliable Enterprises sells distressed merchandise on extendedcredit terms. Collections on these sales are not reasonablyassured, and bad debt losses cannot be reasonably predicted. It isunlikely that repossessed merchandise is in condition to bere-sold. Therefore, Reliable uses the cost recovery method.Merchandise costing $30,500 was sold for $57,250 in 2015.Collections on this sale were $21,800 in 2015, $15,300 in 2016, and$20,150 in 2017.

In 2017, Reliable would recognize gross profit of:

A- $20,150.

B- $ 0.

C- $ 6,000.

D- $ 9,000.

8-

Reliable Enterprises sells distressed merchandise on extendedcredit terms. Collections on these sales are not reasonablyassured, and bad debt losses cannot be reasonably predicted. It isunlikely that repossessed merchandise is in condition to bere-sold. Therefore, Reliable uses the cost recovery method.Merchandise costing $31,750 was sold for $58,500 in 2015.Collections on this sale were $20,600 in 2015, $14,800 in 2016, and$23,100 in 2017.

In 2015, Reliable would recognize gross profit of:

A- $ 0.

B- $8,917.

C- $ 8,254.

D- $26,750

9-

Excerpts fromDowling Company's December 31, 2016 and 2015, financial statementsand key ratios are presented below (all dollar values are inmillions):


2016 2015
Accounts receivable (net) $28 $20
Netsales $175 92
Costof goods sold $99 84
Netincome $28 25
Inventory turnover 5.50
Return on assets 11.6%
Equity Multiple 2.49

Dowling's returnon equity for 2016 is (Round your answer to wholepercentage):

A- 26%.

B- 29%.

C- 16%.

D- 7%.

10-

Lake Power Sports sells jet skis and other powered recreationalequipment. Customers pay one-third of the sales price of a jet skiwhen they initially purchase the ski, and then pay anotherone-third each year for the next two years. Because Lake has littleinformation about the ability to collect these receivables, it usesthe installment sales method for revenuerecognition. In 2015, Lake began operations and sold jet skis witha total price of $1,170,000 that cost Lake $585,000. Lake collected$390,000 in 2015, $390,000 in 2016, and $390,000 in 2017 associatedwith those sales. In 2016, Lake sold jet skis with a total price of$1,530,000 that cost Lake $918,000. Lake collected $510,000 in2016, $405,000 in 2017, and $405,000 in 2018 associated with thosesales. In 2018, Lake also repossessed $210,000 of jet skis thatwere sold in 2016. Those jet skis had a fair value of $78,750 atthe time they were repossessed.

In 2015, Lake would recognize realized gross profit of:

A- $585,000.

B- $ 0.

C- $390,000.

D- $195,000.

Answer: I'll provide you with the correct answers and explanations for each qu...
Answer: Economics is the social science that studies how individuals, business...
Answer: Economics is the social science that studies how individuals, business...
Answer: To find the values of W(1,0) and Wt(1,0), we will use the given inform...
Answer: Human Resource Management (HRM) in Ethiopia has experienced significan...
Answer: The development of Human Resource Management (HRM) in Ethiopia has bee...
Answer: To find the partial derivatives of W with respect to s and t at the po...
Answer: Training plays a crucial role in ensuring quality assurance and qualit...
Answer: Algebra is a branch of mathematics that deals with mathematical symbol...
Answer: To determine the present value of annual savings for each piece of equ...
Answer: performs specific functions that contribute to the overall functioning...
For Loops in Python

A loop is used to execute the same block of code multiple times. Each time the loop repeats is called an iteration of the loop.

Iterating Through Strings

The following loop repeats four times, one iteration for each letter in the word "word":

word = "word"
for letter in word:
 print(letter)

Output: w o r d

We can use any variable name instead of "letter" and perform any action inside the loop. All statements indented after the for loop statement will repeat four times. For example:

x = 1
for letter in word:
 print(x)
 x += 2

Output: 1 3 5 7

Iterating Through Lists

We can also iterate through each item in a list:

colors = ["red", "blue", "green"]
for x in colors:
 print(x)

Output: red blue green

We can also use a list of integers:

count = [1, 2, 3, 4, 5]
for i in count:
 print(str(i) + " squared equals " + str(i**2))

Output: 1 squared equals 1
2 squared equals 4
3 squared equals 9
4 squared equals 16
5 squared equals 25

The Range Function

Most for loops use the range function for a simple counter. Range returns a list of integers. Here's an example:

for x in range(2, 9, 3):
 print(x)

Output: 2 5 8

The first value is the "from" value, which is inclusive and defaults to 0 if not provided. The second value is the "to" value, which is not inclusive. The third value is the "step" value, which defaults to 1 if not provided. Here are some examples:

  • range(2) returns 0 1
  • range(0, 2) returns 0 1
  • range(0, 2, 1) returns 0 1
  • range(0, 6, 1) returns 0 1 2 3 4 5
  • range(5, 9, 1) returns 5 6 7 8
  • range(5, 9, 2) returns 5 7
  • range(3, 0, -1) returns 3 
Answer: The range function in Python is commonly used in for loops as a simple...
Answer: To find the values of W_s(1, 0) and W_t(1, 0), we need to differentiat...
Answer: In Buddhism, the term "nirvana" refers to the ultimate goal of spiritu...
Answer: a) To find the equation of the tangent line at the point P(0, 0, 0) fo...
Answer: No, there is currently no machinist or technology that can change peop...
Answer: a) Triphenylacetic acid:The chemical structure of triphenylacetic acid...
Answer: In the context of machine learning for Alexa or any other AI-powered s...
Answer: Behaving in the best way towards others involves practicing empathy, r...
Answer: To solve for q in the equation s = t/p + q, we can isolate q on one si...
Answer: The beginning and growth of Human Resource Management (HRM) in Ethiopi...
Answer: To find q'(5), we need to take the derivative of the function q(p) wit...
Answer: Human Resource Management (HRM) as a field of practice and study has b...
Answer: The question of who the "best" music director is can be subjective and...
Answer: A computer is an electronic device that is capable of receiving, proce...
Answer: A regular polygon is a polygon where all sides are of equal length and...
Answer: There are three main types of business organizations: sole proprietors...
Answer: To find the future value of an investment or the present value of a fu...
Answer: Data structures and algorithms are fundamental concepts in computer sc...
Answer: As an AI language model, I don't have personal opinions or thoughts. H...
Answer: Of course! I'm here to help. If you have any doubts or need assistance...

Weekly leaderboard

Start filling in the gaps now
Log in