Questions
Iconic memory is a type of memory that holds visual information for about half a second...

Iconic memory is a type of memory that holds visual information for about half a second (0.5 seconds). To demonstrate this type of memory, participants were shown three rows of four letters for 50 milliseconds. They were then asked to recall as many letters as possible, with a 0-, 0.5-, or 1.0-second delay before responding. Researchers hypothesized that longer delays would result in poorer recall. The number of letters correctly recalled is given in the table.

Delay Before Recall
0 0.5 1
10 6 2
7 4 5
7 8 7
11 3 3
7 5 4
12 10 3

(a) Complete the F-table. (Round your values for MS and F to two decimal places.)

Source of Variation SS df MS F
Between groups
Within groups (error)
Total


(b) Compute Tukey's HSD post hoc test and interpret the results. (Assume alpha equal to 0.05. Round your answer to two decimal places.)

The critical value is for each pairwise comparison.


Which of the comparisons had significant differences? (Select all that apply.)

Recall following no delay was significantly different from recall following a one second delay. The null hypothesis of no difference should be retained because none of the pairwise comparisons demonstrate a significant difference. Recall following no delay was significantly different from recall following a half second delay. Recall following a half second delay was significantly different from recall following a one second delay.

In: Math

A sample of gas occupies 300 ml at STP. Under what pressure would this sample occupy...

A sample of gas occupies 300 ml at STP. Under what pressure would this sample occupy a volume of 150 ml at a temperature of 546 ̊C?

Calculate the pressure exerted by 60.0 g C2H6 (ethane) in a 30.0-L vessel at 27 ̊C.

When nickel is heated in carbon monoxide, a gaseous product is formed that has a density of 6.57 g/L at 750 torr and 40 ̊C. The compound is analyzed to show 34.30% Ni, 28.1% C and 37.53% O. What is the molecular formula of the compound?

If 2.0 liters of N2 at 2.0 atm and 2.0 liters of H2 at 1.0 atm are put in a 4.0-liter vessel, what is the final pressure, temperature being constant?

Two gases, Ar and He, are contained in vessel. The mole fraction of He is 0.35 with a partial pressure of 1.15 atm. What is the partial pressure of Ar?

Given the reaction below, how many grams of iron are needed to produce 100 liter of hydrogen gas at STP?

3Fe(s) + 4H2O(l) → Fe3O4 (s) +4H2 (g)

What volume of oxygen at 18 ̊C and 750 torr can be obtained from the thermal decomposition of 100-g KClO3?

2KClO3 (s) → 2KCl(s) +3O2 (g)

A student collects 2.63 L of O2 over water at 29 ̊C and 769 torr by thermal decomposition of potassium chlorate. a) How many grams of oxygen are in the sample? b) How many grams of KClO3 decomposed to produce the oxygen?

2KClO3 (s) → 2KCl (s)+ 3O2 (g)

In: Chemistry

Beige Book - April 18, 2018 The Federal Reserve released its regular "Beige Book." the April...

Beige Book - April 18, 2018

The Federal Reserve released its regular "Beige Book." the April 18th release. Read and write a one page summarizing the details of the report. What’s happening in employment and wages, price and consumer spending, Manufacturing and Distribution, service and finance and banking in March.

Federal Reserve Bank of New York

Overall Economic Activity
Economic activity continued to expand at a modest to moderate pace across the 12 Federal Reserve Districts in March and early April. Outlooks remained positive, but contacts in various sectors including manufacturing, agriculture, and transportation expressed concern about the newly imposed and/or proposed tariffs. Consumer spending rose in most regions, with gains noted for nonauto retail sales and tourism, but mixed results for vehicle sales. Manufacturing activity grew moderately, and demand for nonfinancial services was mostly solid. Residential construction and real estate activity expanded further, although low home inventories continued to constrain sales in several Districts. Loan demand increased, and commercial real estate activity and construction improved since the last report. Transportation services activity expanded in over half of the reporting Districts, buoyed by increases in port traffic and/or air, rail and/or trucking shipments. Agricultural conditions were little changed or worsened on net, in part due to persistent drought conditions. Contacts in the energy sector cited a pickup in activity, except in the Richmond District, where coal production was flat and natural gas production dipped slightly.

Employment and Wages
The labor market has remained tight and hiring activity has been steady. One employment agency in upstate New York noted a seasonal pickup in hiring. A major New York City agency indicated that hiring has been robust and that it is taking longer to fill jobs, particularly those requiring technical skills. Businesses noted particular shortages of tech workers, truck drivers, and skilled tradespeople. A few contacts cited difficulties in attracting young job-seekers away from major urban centers.

Business contacts in the finance and information sectors reported fairly brisk hiring activity, while those in manufacturing, wholesale trade, education & health, and leisure & hospitality indicated modest hiring, on net. Retailers continued to report declining employment. Still, firms in most service industries, including retail, said they plan to expand hiring in the months ahead, while manufacturers have scaled back hiring plans.

Businesses across all major service industries reported ongoing wage pressures. Some contacts maintained that wages had accelerated over the past year, though plans to raise wages in the months ahead were little changed. A New York City agency reports that a new law prohibiting potential employers from asking about a candidate's salary history has led candidates to demand higher pay.

Prices
Input prices have continued to rise briskly but have not accelerated further, according to contacts in most industry sectors. Still, businesses generally anticipated further increases in the months ahead. A growing proportion of service-sector contacts indicated that they were raising their selling prices--most notably, wholesalers--but manufacturers noted only modest hikes in their prices.

Among retailers, some contacts indicated that they have held prices steady, while others reported price increases. Prices for New York City hotel rooms and Broadway theater tickets picked up noticeably in March. Looking ahead, a growing proportion of businesses in manufacturing and wholesale trade said that they planned to raise their prices, while most retailers did not foresee any significant price hikes.

Consumer Spending
Retail contacts reported that sales have picked up somewhat in recent weeks but are still considered lackluster, reflecting unseasonably cold and wet weather. Retailers in upstate New York indicated that sales have strengthened but remained fairly subdued, despite strong customer traffic. A major retail chain noted that sales advanced in March, running somewhat ahead of plan and up modestly from a year ago. Inventories were generally reported to be at satisfactory levels, and retailers were moderately optimistic about the near-term outlook.

New vehicle sales in upstate New York were reported to have weakened in February but there were some signs of a rebound in March. Sales of used cars were steady to up slightly. Vehicle inventories were said to be in fairly good shape. Dealers continued to characterize retail and wholesale credit conditions as favorable. Consumer confidence in the Middle Atlantic states (NY, NJ, PA) edged up to a new multi-year high in March.

Manufacturing and Distribution
Manufacturers reported some acceleration in growth since the last report. In contrast, wholesalers indicated a pause in growth, and transportation firms reported some decline in activity. Looking ahead, manufacturers have become substantially less optimistic about the near-term outlook, while contacts in wholesale distribution and transportation have remained moderately optimistic.

Services
Reports from service-sector firms were mixed but generally pointed to little growth in activity. Contacts in professional & business services and leisure & hospitality reported modest growth, while those in the information and health & education sectors reported flat activity. Service sector businesses have grown less optimistic about the near-term outlook, most notably in the health & education sector.

Tourism in New York City has picked up since the last report. Hotels reported an increase in both revenues and occupancy rates in March. Broadway theaters indicated that business was sluggish in February and early March but picked up noticeably in the second half of the month.

Banking and Finance
Small to medium size banks in the District reported higher demand for residential mortgages, commercial mortgages, and C&I loans, and steady demand for consumer loans. Banks reported lower loan spreads for consumer loans and residential mortgages, and no change in spreads across all other loan categories. Bankers reported that both credit standards and delinquency rates were unchanged across all loan categories.

In: Economics

Year   Commodities%   Services% 1960 0.9 3.4 1961   0.6 1.7 1962 0.9    2.0 1963 0.9 2.0...

Year   Commodities%   Services%
1960 0.9 3.4
1961   0.6 1.7
1962 0.9    2.0
1963 0.9 2.0
1964 1.2 2.0
1965 1.1 2.3
1966 2.6 3.8
1967 1.9 4.3
1968 3.5 5.2
1969 4.7 6.9
1970 4.5 8.0
1971 3.6 5.7
1972 3.0 3.8
1973 7.4 4.4
1974 11.9 9.2
1975 8.8 9.6
1976 4.3 8.3
1977 5.8 7.7
1978 7.2 8.6
1979 11.3 11.0
1980 12.3 15.4
1981 8.4 13.1
1982 4.1 9.0
1983 2.9 3.5
1984 3.4 5.2
1985   2.1 5.1
1986   -0.9 5.0
1987 3.2 4.2
1988 3.5 4.6
1989 4.7 4.9
1990 5.2 5.5
1991 3.1 5.1
1992 2.0 3.9
1993 1.9 3.9
1994 1.7 3.3
1995 1.9 3.4
1996 2.6 3.2
1997 1.4 3.0
1998 0.1 2.7
1999 1.8 2.5
2000 3.3 3.4
2001 1.0 4.1
2002 -0.7 3.1
2003 1.0 3.2
2004 2.3 2.9
2005 3.6 3.3
2006 2.4 3.8

Use Data Set J, U.S. annual Percent Inflation in Prices of Commodities and Services (n=47), on page 536 of your textbook to answer the following questions. Commodities percentage (Commodities %) is the independent, variable and Services percentage (Services%) is the dependent variable. Data are year-to-year percent changes in the Consumer Price Index (CPI) in these two categories. The data file, Inflation, may be found on Canvas under Modules under Chapter 12 Textbook Data Files. Use MINITAB to obtain the simple regression equation, confidence interval, prediction interval, and required graphs. Insert tables and graphs in your report as appropriate. All interpretations should be in terms of the problem (data).

Use Minitab and produce the appropriate output to answer the following questions. Attach the output. Construct a scatter plot. Recalling what scatter plots are used for, write a couple of sentences addressing what you observed from the plot. Be sure to relate your observations to the purpose of using scatter plots in regression. (4 points)

Can we conclude that year-to-year changes in Commodities percentage (Commodities%) helps in predicting year-to year changes in Services percentage (Services%)? Follow and show the 7 steps for hypothesis testing. (12 points)

Find the sample regression equation and interpret the coefficients. Remember your interpretations should be in terms of the problem. (4 points)

Find the coefficient of determination, and interpret its value. (3 points)

Use residual analysis to check the validity of the model and fully explain your findings and conclusions. (6 points)

Estimate with 95% confidence the average year-to-year Services percentage for when all year-to-year Commodities change is 3.0%. Predict with 95% confidence the estimated Services percentage when an individual year’s Commodities change is 3.0%. Write at least one sentence using your confidence interval and at least one sentence using your prediction interval. (8 points)

Verify that the p-value for the F is the same as the slope’s t statistic’s p-value, and show that t2 = F. (3 points)

Attach or include relevant Minitab output to support your results in parts (1, 2, 3, 4, 5, and 6). (4 points)

In: Statistics and Probability

It is Friday night and Dr. J's classroom is full of eager young students. Yes, it's...

  1. It is Friday night and Dr. J's classroom is full of eager young students. Yes, it's the weekly meeting of the Wizards of Oz, a club for bright preteens interested in science. This particular night is even more special because new members will be officially received into the club. Dr. J had been attracted to the group over a year ago and, after rubbing shoulders with the youngsters, his interest was sparked. His attitude grew more positive over the following months when he saw the tremendous potential associated with their capacity to learn. Being charged with the responsibility of this induction ceremony, Dr. J has decided to use electrostatics as the theme of the evening. Each student is given an experiment to run in order to demonstrate the skills necessary for membership. Having left his patches of wool at home by mistake, Dr. J instructs everyone to use Tripod as their charge cloth. The fur only flies once as Tripod is rubbed the wrong way. (He takes a negative view of his role.) Perhaps the toughest experiment is the one given to the incoming president. Having been told to weigh the pros and cons of pith balls, he has charged two of them equally. They are 3 cm apart and are repelling each other with a force of 4 x 10-5 N. What is the weight of the excess electrons on one of the balls?
  1. Which is more dangerous, touching a faulty 110-volt light bulb or a Van de Graaff generator charged to 100,000 volts? Why? Give a detailed elaborate answer.
  1. Calculate the size of the force that would be experienced by a 3.0 µC charge placed into a uniform electric field of strength 1.0 x 105 N/C.
  1. A – 5.0 mC charge travels due south under the influence of a 10 N force when placed into a uniform electric field. What force would a 10 mC charge experience if placed in the same field and in which direction would it move?
  1. What is the magnitude of a point charge that would create an electric field of 1.00 N/C at points 1.00 m away?
  1. Consider a fixed point charge of +2.00 μC. What is the magnitude and direction of the electric field at a point P, a distance of 0.100 m away?
  1. An electric field has an electric field strength 6000. N/C at a distance of 1.5 m. What is the strength of the field at a distance of 6.0 m?
  1. 24. An alpha (α) particle is positioned in an electric field such that the gravitational force acting on it is equal to the electrostatic force.

             (qα = 3.2 x 10–19 C and mα = 6.64 x 10–27 kg)

a) What is the direction of the electric field at this point?

b) What is strength of the electric field?

c) If the field is located 0.25 m away, what is the magnitude of the charge?

  1. Determine the potential at a point 0.50 m from a 20. µC point charge.
  1. An electric field is parallel to the x-axis. What is the magnitude and direction of the electric field if the potential difference between x = 1.0 m and x = 2.5 m is found to be +900 V?
  1. A charged droplet of mass 5.88 x 1010 kg is hovering motionless between two parallel plates. The parallel plates create have a potential difference of 24000 V and are 2.00 mm apart. What is the charge on the particle?

In: Physics

Pharaphrase and rewrite the following paragraph: Arduino Arduino Uno is a microcontroller board b... pharaphrase and...

Pharaphrase and rewrite the following paragraph:

Arduino Arduino Uno is a microcontroller board b... pharaphrase and rewrite the following paragraph: Arduino Arduino Uno is a microcontroller board based on the ATmega328P (datasheet). It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started.[1] "Uno" means one in Italian and was chosen to mark the release of Arduino Software (IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the reference versions of Arduino, now evolved to newer releases. The Uno board is the first in a series of USB Arduino boards, and the reference model for the Arduino platform.[1] The Arduino Uno can be programmed with the (Arduino Software (IDE)). The ATmega328 on the Arduino Uno comes preprogrammed with a bootloader that allows you to upload new code to it without the use of an external hardware programmer. It communicates using the original STK500 protocol (reference, C header files).Differences with other boards The Uno differs from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega16U2 (Atmega8U2 up to version R2) programmed as a USB-to-serial converter.[1]Programming Power The Arduino Uno board can be powered via the USB connection or with an external power supply. The power source is selected automatically. External (non-USB) power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a battery can be inserted in the GND and Vin pin headers of the POWER connector.[1] The board can operate on an external supply from 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may become unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.[1] The power pins are as follows: Vin. The input voltage to the Arduino/Genuino board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin. 5V.This pin outputs a regulated 5V from the regulator on the board. The board can be supplied with power either from the DC power jack (7 - 12V), the USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage via the 5V or 3.3V pins bypasses the regulator, and can damage your board. 3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50 mA. GND. Ground pins. IOREF. This pin on the Arduino/Genuino board provides the voltage reference with which the microcontroller operates. A properly configured shield can read the IOREF pin voltage and select the appropriate power source or enable voltage translators on the outputs to work with the 5V or 3.3V.[1]

In: Electrical Engineering

1. Using data from 50 workers, a researcher estimates Wage = β0 + β1Education + β2Experience...

1. Using data from 50 workers, a researcher estimates Wage = β0 + β1Education + β2Experience + β3Age + ε, where Wage is the hourly wage rate and Education, Experience, and Age are the years of higher education, the years of experience, and the age of the worker, respectively. The regression results are shown in the following table.

Coefficients Standard
Error
t Stat p-Value
Intercept 7.73 3.94 1.96 0.0558
Education 1.15 0.39 2.95 0.0050
Experience 0.45 0.11 4.09 0.0002
Age −0.03 0.09 −0.33 0.7404


a-1. Interpret the point estimate for β1.

  • As Education increases by 1 year, Wage is predicted to increase by 1.15/hour.

  • As Education increases by 1 year, Wage is predicted to increase by 0.45/hour.

  • As Education increases by 1 year, Wage is predicted to increase by 1.15/hour, holding Age and Experience constant.

  • As Education increases by 1 year, Wage is predicted to increase by 0.45/hour, holding Age and Experience constant.



a-2. Interpret the point estimate for β2.

  • As Experience increases by 1 year, Wage is predicted to increase by 1.15/hour.

  • As Experience increases by 1 year, Wage is predicted to increase by 0.45/hour.

  • As Experience increases by 1 year, Wage is predicted to increase by 1.15/hour, holding Age and Education constant.

  • As Experience increases by 1 year, Wage is predicted to increase by 0.45/hour, holding Age and Education constant.



b. What is the sample regression equation? (Negative values should be indicated by a minus sign. Round your answers to 2 decimal places.)



c. Predict the hourly wage rate for a 39-year-old worker with 3 years of higher education and 2 years of experience. (Do not round intermediate calculations. Round your answer to 2 decimal places.)

2. A horticulturist is studying the relationship between tomato plant height and fertilizer amount. Thirty tomato plants grown in similar conditions were subjected to various amounts of fertilizer (in ounces) over a four-month period, and then their heights (in inches) were measured. [You may find it useful to reference the t table.]

Fertilizer (ounces) Height (inches)
1.9 20.8
4.0 49.4
4.1 56.7
1.3 24.4
4.4 29.2
5.1 60.3
3.2 24.5
1.0 25.7
2.4 26.1
2.4 25.7
0.9 26.7
2.0 28.7
4.3 62.3
3.3 30.9
5.1 43.1
2.6 33.5
4.0 35.1
1.4 22.5
3.6 40.1
6.0 44.1
3.3 29.1
0.7 21.2
1.4 25.8
2.6 29.2
4.4 27.7
3.7 32.3
6.0 33.7
1.0 22.7
2.6 27.1
3.2 46.1



a. Estimate: HeightˆHeight^⁢ = β0 + β1 Fertilizer + ε. (Round your answers to 2 decimal places.)



b-1. At the 1% significance level, determine if an ounce of fertilizer increases height by more than 3 units. First, specify the competing hypotheses.

  • H0: β1 = 3; HA: β1 ≠ 3

  • H0: β1 ≤ 3; HA: β1 > 3

  • H0: β1 ≥ 3; HA: β1 < 3


b-2. Calculate the value of the test statistic. (Round intermediate calculations to at least 4 decimal places and final answer to 3 decimal places.)


b-3. Find the p-value.

  • 0.025 p-value < 0.05
  • 0.01  p-value < 0.025
  • p-value < 0.01

  • p-value  0.10
  • 0.05  p-value < 0.10


b-4. At the 1% level of significance, what is the conclusion to the test?

In: Statistics and Probability

A random sample of 22 residential properties was used in a regression of price on nine...

A random sample of 22 residential properties was used in a regression of price on nine different independent variables. The variables used in this study were as follows:

PRICE 5 selling price (dollars)
BATHS 5 number of baths (powder room 5 1/2 bath)

BEDA 5 dummy variable for number of bedrooms (1 5 2 bedrooms, 0 5 otherwise) BEDB 5 dummy variable for number of bedrooms (1 5 3 bedrooms, 0 5 otherwise) BEDC 5 dummy variable for number of bedrooms (1 5 4 bedrooms, 0 5 otherwise)

CARA 5 dummy variable for type of garage (1 5 no garage, 0 5 otherwise) CARB 5 dummy variable for type of garage (1 5 one-car garage, 0 5 otherwise)

AGE 5 age in years
LOT 5 lot size in square yards

DOM 5 days on the market

Row     PRICE   BATHS   BEDA    BEDB    BEDC    CARA    CARB    AGE     LOT     DOM     
1       25750   1.0     1       0       0       1       0       23      9680    164     
2       37950   1.0     0       1       0       0       1       7       1889    67      
3       46450   2.5     0       1       0       0       0       9       1941    315     
4       46550   2.5     0       0       1       1       0       18      1813    61      
5       47950   1.5     1       0       0       0       1       2       1583    234     
6       49950   1.5     0       1       0       0       0       10      1533    116     
7       52450   2.5     0       0       1       0       0       4       1667    162     
8       54050   2.0     0       1       0       0       1       5       3450    80      
9       54850   2.0     0       1       0       0       0       5       1733    63      
10      52050   2.5     0       1       0       0       0       5       3727    102     
11      54392   2.5     0       1       0       0       0       7       1725    48      
12      53450   2.5     0       1       0       0       0       3       2811    423     
13      59510   2.5     0       1       0       0       1       11      5653    130     
14      60102   2.5     0       1       0       0       0       7       2333    159     
15      63850   2.5     0       0       1       0       0       6       2022    314     
16      62050   2.5     0       0       0       0       0       5       2166    135     
17      69450   2.0     0       1       0       0       0       15      1836    71      
18      82304   2.5     0       0       1       0       0       8       5066    338     
19      81850   2.0     0       1       0       0       0       0       2333    147     
20      70050   2.0     0       1       0       0       0       4       2904    115     
21      112450  2.5     0       0       1       0       0       1       2930    11      
22      127050  3.0     0       0       1       0       0       9       2904    36      

Using the 9 variable model, give a 95% prediction interval for a house that has 2 baths, 3 bedrooms, 1 car garage, is 10 years old, has 2000 square feet and has been on the market for 60 days.

In: Statistics and Probability

At this level your program must read in (from a file) at least four albums and...

At this level your program must read in (from a file) at least four albums and up to 15 tracks for each album.

The information read from the file should include:

  • Number of Albums

  • Album title

  • Artist

  • Artwork file name (place your artwork in an /images folder under the main folder where you run the program)

  • The number of tracks

  • The title of each track

  • The file location of each track

At this level user interaction must be entirely through a GUI. Your GUI interface should show all the albums using either a text description, artwork or both. Users should be able to click on any Album information (i.e the artwork) and the tracks will be listed. The user should then be able to click on a track to play that track. The currently playing track must be indicated somehow (e.g the track could be highlighted or display a simple text message ‘Now playing ..’). If the user clicks on another track (for the current album or another album) then any currently playing track should be stopped and the most recently selected track start playing.

You must use the Gosu audio API for this component.

Given code:

gui_music_player.rb

require 'rubygems'
require 'gosu'

TOP_COLOR = Gosu::Color.new(0xFF1EB1FA)
BOTTOM_COLOR = Gosu::Color.new(0xFF1D4DB5)

module ZOrder
BACKGROUND, PLAYER, UI = *0..2
end

module Genre
POP, CLASSIC, JAZZ, ROCK = *1..4
end

GENRE_NAMES = ['Null', 'Pop', 'Classic', 'Jazz', 'Rock']

class ArtWork
   attr_accessor :bmp

   def initialize (file)
       @bmp = Gosu::Image.new(file)
   end
end

# Put your record definitions here

class MusicPlayerMain < Gosu::Window

   def initialize
        super 600, 800
        self.caption = "Music Player"

       # Reads in an array of albums from a file and then prints all the albums in the
       # array to the terminal
   end

# Put in your code here to load albums and tracks

# Draws the artwork on the screen for all the albums

def draw_albums albums
    # complete this code
end

# Detects if a 'mouse sensitive' area has been clicked on
# i.e either an album or a track. returns true or false

def area_clicked(leftX, topY, rightX, bottomY)
     # complete this code
end


# Takes a String title and an Integer ypos
# You may want to use the following:
def display_track(title, ypos)
   @track_font.draw(title, TrackLeftX, ypos, ZOrder::PLAYER, 1.0, 1.0, Gosu::Color::BLACK)
end


# Takes a track index and an Album and plays the Track from the Album

def playTrack(track, album)
   # complete the missing code
           @song = Gosu::Song.new(album.tracks[track].location)
           @song.play(false)
    # Uncomment the following and indent correctly:
   #   end
   # end
end

# Draw a coloured background using TOP_COLOR and BOTTOM_COLOR

   def draw_background

   end

# Not used? Everything depends on mouse actions.

   def update
   end

# Draws the album images and the track list for the selected album

   def draw
       # Complete the missing code
       draw_background
   end

    def needs_cursor?; true; end

   # If the button area (rectangle) has been clicked on change the background color
   # also store the mouse_x and mouse_y attributes that we 'inherit' from Gosu
   # you will learn about inheritance in the OOP unit - for now just accept that
   # these are available and filled with the latest x and y locations of the mouse click.

   def button_down(id)
       case id
        when Gosu::MsLeft
           # What should happen here?
        end
   end

end

# Show is a method that loops through update and draw

MusicPlayerMain.new.show if __FILE__ == $0

In: Computer Science

Que : Mary buys and sells ladies' handbags. She buys for cash and sells on one...

Que : Mary buys and sells ladies' handbags. She buys for cash and sells on one month's credit. She pays £20 for each bag and sells them for £35 each. During March, her first month of trading, she bought 50 handbags for cash and had 10 handbags remaining in inventory at the month end. Ignoring any other expenses or payments, which of the following statements is true for March?
Select one:
a. The business made a gross profit for the month of £600 and its bank balance decreased by 1,000 as a result of trading.
b. The business made a gross profit for the month of £400 and its bank balance increased by £400 as a result of trading.
c. The business made a gross profit for the month of £600 and its bank balance decreased by £1,400 as a result of trading
d. The business made a gross profit for the month of £600 and its bank balance increased by £1,400 as a result of trading.


Que: In cash flows, when a firm invests in fixed assets and short-term financial investments results in

Select one:
a. Increased Cash
b. Increased Equity
c. Increased Liabilities
d. Decreased Cash

Que: Which of the following terms refers to the cost of an equipment allocated as an expense over its estimated useful life?
Select one:
a. None of the above
b. Sunk cost
c. Book value
d. Depreciation


Que: Which item comes under financial activities in cash flow?
Select one:
a. Issue of Common stock
b. None of the above
c. Purchase of Fixed Assets
d. Sale of Fixed Assets

Que: Cash Flow Statement is based upon
Select one:
a. Accrual basis of accounting
b. Cash basis of accounting
c. Credit basis of accounting
d. None of the above

Que: Accumulated Depreciation, Equipment, is shown as a(n)
Select one:
a. deduction from net income on the statement of owner's equity
b. contra account on the balance sheet
c. expense on the income statement
d. liability on the balance sheet

Que: If a company issues 1 million £1 shares at £1.30 per share, what will be the effect on the statement of cash flows?
Select one:
a. Cash flows from financing activities will increase by £1.0 million.
b. Cash flows from investing activities will increase by £1.3 million.
c. Cash flows from investing activities will increase by £1.0 million.
d. Cash flows from financing activities will increase by £1.3 million.

Que: The statement of cash flow clarifies cash flows according to
Select one:
a. Investing and Non-operating Flows
b. None of the above
c. Operating, Investing, and Financing Activities
d. Operating and Non-operating Flows

Que: Dessy plc made an operating profit of £185,500 after charging depreciation of £31,200. During that year, trade payables increased by £26,600 and inventory increased by £40,300. There was no change to trade receivables. Assuming that no other factors affected it, the cash generated from operations would have been:
Select one:
a. None of the above
b. £283,600.
c. £203,000.
d. £230,400.

Que: Accountants refer to the wages earned by employees but not paid to them at the end of an accounting period as:
Select one:
a. carrying wages
b. deposited wages
c.accrued wages

d. booked wages

In: Accounting