Questions
A city maintains the following funds: 1. General 2.Special Revenue 3.Capital projects 4.Debt service 5.Enterprise 6.Internal...

A city maintains the following funds:

1. General

2.Special Revenue

3.Capital projects

4.Debt service

5.Enterprise

6.Internal service

7. Permanent (trust)

8. Agency

For each of the following transactions, indicate the fund in which each transaction would most likely be recorded:

a.The city collects $3million of taxes on behalf of the country in which it is located

b.It spends $4 million to pave city streets, using the proceeds of a city gasoline tax dedicated for road and highway improvements

c. It receives a contribution of $5 million. Per the stipulation of the donor, the money is to be invested in marketable securities, and the interest from the securities is to be used to maintain a city park.

d.It collects $800,000 in landing fees at the city airport

e.It earns $200,000 on investments set aside to make principal payments on the city's outstanding bonds. The bonds were issued to finance improvements to the city's tunnels and bridges.

f.It pays $4 million to a contractor for work on one of the bridges

g.It pays $80,000 in wages and salaries to police officers

h. It purchases from an outside supplier $40,000 of stationary that it will sell to its various operating departments

In: Accounting

1. An SRJC student: "I saw a woman in the gym wearing an SRJC soccer jersey....

1. An SRJC student: "I saw a woman in the gym wearing an SRJC soccer jersey. Thus I can assume she's on the SRJC soccer team".

a) questionable analogy

b) hasty conclusion

c) equivocation

d) fallacious appeal to authority

2. Welfare programs for the poor have destroyed the lives of millions of children. This is a system of child abuse. People on welfare are like thieves who pick your pockets.

a) questionable analogy

b) small sample

c) invincible ignorance

d) no fallacy

3. Given: All Republicans are against anything that Obama is for. I am a Republican. Thus, I am against anything that Obama is for.

This is an example of:

a) a weak inductive argument

b) a strong inductive argument

c) not an argument

d) a deductive argument

4. Given: Casey has always gotten an "A" in his math classes and next semester he is taking Math 444. He will probably get an "A" in this course.

This is an example of:

a) non-argument

b) a cogent fallacy

c) an inductive argument

d) a deductive argument

5. In a recent poll at UC Berkeley, they asked a sample of 1100 students what was the most pressing problem for them at UC Berkeley; large classes, parking, limited access to professors, and insufficient number of course sections.

Which is the best criticism of this poll?

a) The wording of the question is confusing

b) The poll is biased

c) The poll omits a relevant choice

d) The sample size is too small

In: Psychology

factory (including the name and the name of the director) needs to establish a management database...

factory (including the name and the name of the director) needs to establish a management database to store the following information: I) A factory has a number of workshops, each workshop has the workshop number, workshop director's name, address and telephone number. II) There are more than one workers in each workshop, and each worker has a staff number, name, age, sex type of work. III) A workshop produces a variety of products, each of which has the product number and price. IV) A workshop produces a variety of parts, and one kind of parts may be manufactured by different workshops. Each part has the part number, weight and price. V) A product is consist of a variety of parts, and one kind of parts can be used to assemble a variety of products. VI) Products and parts are stored in the warehouses. VII) A factory has multiple warehouses, each of which has the warehouse number, name and phone of the warehouse director.

(1) Give the ER diagram for this management database.

(2) Mapping the ER diagram into the conceptual schema, and indicate the primary keys and foreign keys.

In: Computer Science

In this assignment, we are going to work with a combination of variables representing integers, floating...

  • In this assignment, we are going to work with a combination of variables representing integers, floating point numbers (decimals), and strings. Strings are also known as literals. We will create, save, and run a Python batch file (i.e., a Python script file) that will ask the user to enter the name of an investment, the amount invested, the annual return rate, and number of years, after which Python will compute the investment's final value at the end of that time period and spew out a full sentence incorporating the input and computed variables. This sentence will be put together by concatenating all the variables.

    A batch file is a sequence of commands that execute consecutively one after another when Python is asked to run/execute the file. Python batch files have the extension of .py and are best created in a text editor such as Notepad. Do NOT use Word or other word processors to create Python batch files -- they will result in syntax errors.

    Type the following commands into Notepad and save the whole thing as a Python batch file called investment.py --

    name=input("Investment name:")
    amount=int(input("Invested amount:"))
    rate=float(input("Annual return rate:"))
    years=float(input("No. of years:"))
    final_amount=amount*((1+rate)**years)
    print("An investment of","$",round(amount,2),"in",name,"today will grow to $",round(final_amount,2),"after",int(years),"years.")
    print("An investment of "+"$"+str(amount)+" in "+name+" today will grow to $"+str(round(final_amount,2))+" after "+str(int(years))+" years.")

    Now open a Command Prompt window and navigate to the directory in which you had saved investment.py, and then execute this Python script file as follows --

    C:\>py investment.py

    Experiment with various values of the input variables when prompted, and try to correlate the outputs with the last two concatenation/print commands in the script file.

    Also experiment with the commands in the script by removing the functions int, float, round, and str, and see what happens. show step by step answer using Jupyter.

In: Computer Science

Which of the following might be modelled by the binomial distribution (select all that apply). A....

Which of the following might be modelled by the binomial distribution (select all that apply).
A. The number of people who gave a "thumbs up" to a movie.
  
B. The number of caterpillars in a garden.
  
C. The number of times a woman correctly guesses whether tea was poured first or milk was poured first, in a trial of 6 tea cups.
  
D. In a cohort study, the number of participants that develop heart disease.

In: Statistics and Probability

JOURNAL ARTICLE FOR EACH OF THE FOLLOWING. Give 1 example of journals(include reference) of either Pharmaceutical/medical/clinical...

JOURNAL ARTICLE FOR EACH OF THE FOLLOWING.

Give 1 example of journals(include reference) of either Pharmaceutical/medical/clinical related journals on each of the following research designs

1.cohort
2.cross-sectional
3.Descriptive Quantitative
4.Descriptive Qualitative
5.Mixed method design
6. Case study design
7. systematic review
8.Meta Analysis

In: Nursing

Suppose you are considering buying a $2,000,000 face value of bond in the secondary market. The...

Suppose you are considering buying a $2,000,000 face value of bond in the secondary market. The bond was issued in 2016 and is due in 2036. It is now 2020. In 2016, the appropriate market interest rate to price the bond was 8%. This bond pays quarterly interest payments. Currently, other bonds with similar risk charateristics are being issued into the market with 12% coupons. How much would you be willing to pay for this bond? Please tell me the price per $2,000,000 face value and the % of par. What is the name type of bond given its current price relative to its face value? on excel if you can please

In: Finance

(1) Prompt the user for a title for data. Output the title. (1 pt) Ex: Enter...

(1) Prompt the user for a title for data. Output the title. (1 pt)

Ex:

Enter a title for the data:
Number of Novels Authored
You entered: Number of Novels Authored


(2) Prompt the user for the headers of two columns of a table. Output the column headers. (1 pt)

Ex:

Enter the column 1 header:
Author name
You entered: Author name

Enter the column 2 header:
Number of novels
You entered: Number of novels


(3) Prompt the user for data points. Data points must be in this format: string, int. Store the information before the comma into a string variable and the information after the comma into an integer. The user will enter -1 when they have finished entering data points. Output the data points. Store the string components of the data points in a vector of strings. Store the integer components of the data points in a vector of integers. (4 pts)

Ex:

Enter a data point (-1 to stop input):
Jane Austen, 6
Data string: Jane Austen
Data integer: 6


(4) Perform error checking for the data point entries. If any of the following errors occurs, output the appropriate error message and prompt again for a valid data point.

  • If entry has no comma
    • Output: Error: No comma in string. (1 pt)
  • If entry has more than one comma
    • Output: Error: Too many commas in input. (1 pt)
  • If entry after the comma is not an integer
    • Output: Error: Comma not followed by an integer. (2 pts)


Ex:

Enter a data point (-1 to stop input):
Ernest Hemingway 9
Error: No comma in string.

Enter a data point (-1 to stop input):
Ernest, Hemingway, 9
Error: Too many commas in input.

Enter a data point (-1 to stop input):
Ernest Hemingway, nine
Error: Comma not followed by an integer.

Enter a data point (-1 to stop input):
Ernest Hemingway, 9
Data string: Ernest Hemingway
Data integer: 9


(5) Output the information in a formatted table. The title is right justified with a setw() value of 33. Column 1 has a setw() value of 20. Column 2 has a setw() value of 23. (3 pts)

Ex:

        Number of Novels Authored
Author name         |       Number of novels
--------------------------------------------
Jane Austen         |                      6
Charles Dickens     |                     20
Ernest Hemingway    |                      9
Jack Kerouac        |                     22
F. Scott Fitzgerald |                      8
Mary Shelley        |                      7
Charlotte Bronte    |                      5
Mark Twain          |                     11
Agatha Christie     |                     73
Ian Flemming        |                     14
J.K. Rowling        |                     14
Stephen King        |                     54
Oscar Wilde         |                      1


(6) Output the information as a formatted histogram. Each name is right justified with a setw() value of 20. (4 pts)

Ex:

         Jane Austen ******
     Charles Dickens ********************
    Ernest Hemingway *********
        Jack Kerouac **********************
 F. Scott Fitzgerald ********
        Mary Shelley *******
    Charlotte Bronte *****
          Mark Twain ***********
     Agatha Christie *************************************************************************
        Ian Flemming **************
        J.K. Rowling **************
        Stephen King ******************************************************
         Oscar Wilde *

_________________________________

given code: Main.cpp

#include <iostream>
#include <string>
#include <vector>
//FIXME: stringstream library
//FIXME: stream manipulation library
using namespace std;

int main() {

/* Type code here. */

return 0;
}

please help i am stuck on this.

In: Computer Science

How does gender and occupational prestige affect credibility? Graduate students in a public health program are...

How does gender and occupational prestige affect credibility? Graduate students in a public health program are asked to rate the strength of a paper about the health risks of childhood obesity. In reality, all student raters are given the same paper, but the name and degree associated with the author are changed. The student raters are randomly assigned to one group from the following name ("John Lake", "Joan Lake") and degree (M.D., R.N., Ph.D.) combination. The raters score the paper from 1 to 5 on clarity, strength of argument, and thoroughness. The total scores (the sum of the three scores) are given in the table below. What can be concluded with an α of 0.05?

John Lake /
M.D.
John Lake /
R.N.
John Lake /
Ph.D.
Joan Lake /
M.D.
Joan Lake /
R.N.
Joan Lake /
Ph.D.
12
15
13
15
14
15
16
12
13
13
11
8
13
12
9
15
10
12
14
12
10
7
8
10
6
11
11
12
8
8

Compute the corresponding effect size(s) and indicate magnitude(s).
Name: η2 =   ;  ---Select--- na trivial effect small effect medium effect large effect  

Degree: η2 =   ;  ---Select--- na trivial effect small effect medium effect large effect  
Interaction: η2 =   ;  ---Select--- na trivial effect small effect medium effect large effect  

In: Math

I AM SHARING YOU QUESTION FROM THE SUBJECT PROBABILTY KINDLY DO THIS IN PROPER STEPS AND...

I AM SHARING YOU QUESTION FROM THE SUBJECT PROBABILTY KINDLY DO THIS IN PROPER STEPS AND LABEL STEPS AS 1,2 AND 3 AND TELL BY WHICH METHOD AND CONCEPT YOU ARE SOLVING . WITHOUT LABELING THE STEPS AND TELLING METHOD THE SOLUTION IS NOT USEABLE FOR ME . PLEASE DONOT SKIP ANY STEP . DO ALL STEPS AND PLEASE DONOT FORGET TO LABEL THE STEPS AND DONT FORGET TO EXPLAIN THE QUESTION

You monitor three consecutive calls and classify them as V for voice and D for data calls. Assume each outcome of this experiment is equally likely, then.
a). Write the sample space of this experiments.
b) Draw a tree diagram for this experiment.
c) What is the probability of each outcome.
d) What is the probability of event X comprising of outcome which have more than 2 data calls.
e) Given event C represents all those outcomes which have a data call then evaluate P[X|C]

f) What is the probability of P[”vvv”|C]

In: Statistics and Probability