A+ Work



Create your own While-End (or For-End) repetition structure that includes a nested if-then selection structure. You decide the theme. You should provide both the pseudo code and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing. Provide a walk-through of your code and the values at each iteration of the loop.
CMIS 102 Hands-On Lab

Overview:

This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, analysis, test plan, design (using pseudocode visualization), and implementation with C code.  The example provided uses sequential, repetition statements and nested repetition statements.
Program Description:
This program will calculate the average of 3 exams for 5 students. The program will ask the user to enter 5 student names. For each of the students, the program will ask for 3 exam scores.  The average exam score for each student will be calculated and printed.
Analysis:
I will use sequential and repetition programming statements.

I will define one String to store student name: StudentName.

I will define three Float numbers: Examvalue, Sum, Avg to store exam values the sum of the exams and the average of the exams.

The sum will be calculated by this formula:

 Sum = Sum + Examvalue

For example, if the first value entered was 80.0 and second was 90.0 and the third exam was 100.0:

sum = sum + Examvalue = 0.0 + 80.0

sum = 80.0 + 90.0 = 170.0

sum = 170.0 + 100.0 = 270.0

Avg is then calculated as:

Avg = sum/3.0

For example 270.0/3.0 = 90.0

A nested repetition loop can be used to loop through each of the 5 students and each of the 3 exams:

For (students=0; students <5; students++)

    For (exams=0;exams<3;exams++)

   End For

End For

Sum values will need to be reset for each student to ensure only one student data is used for calculations each time.

      

 Test Plan:
To verify this program is working properly the input values could be used for testing

Learning Exercises for you to try:
What would you change in the design and the code if you wanted to input 10 students and 5 exams?
What is the line of code doing?
char StudentName[100];

What would happen if you moved the Set Sum = 0.0 from inside the for loop to right after the declaration. For example:

Hands-On Project



Hands-On Project 8-4 In this project, you'll add functionality to a web page that displays a to-do list. You'll add code to store the text of each item in an in an array as well as code that creates an ordered list containing the array items…………..

CIS 223



 CIS 223 Lab Assignment #9
(Chapter 9)

 Complete the Hands-On Project 9-2, Project 9-3, and Project 9-4 from page 667 to page 674. You should use Microsoft Internet Explorer to test this homework. Google Chrome will not work for the cookie in this homework.
After completing Project 9-2, open the index.htm in a browser. In the username box, type your email address, and then click the Login button. The result.htm page, containing the text “Login successful,” is displayed because this page is specified in the form’s action attribute.
Return to index.htm in your browser, and then shift-refresh or shift-reload the page. Even though you reloaded or refreshed the page using Shift to clear the form, when the page finished loading, the code you created populated the Username field with the username stored in a cookie. Debug your code as necessary until it functions correctly.
Continue to work on Project 9-3.
After completing Project 9-3, open the index.htm in a browser. In the Username box, type your email address, click the Remember me box to check it, and then click the Login button. The result.htm page, containing the text “Login successful,” is displayed. Because you checked the Remember me box, the browser also stored a cookie containing your username.
Return to index.htm in your browser, and then shift-refresh or shift-reload the page. The code you created populated the Username field with the username stored in a cookie. Debug your code as necessary until it functions correctly.
Ensure that the Remember me box is not checked, click Login to open the results.htm page, return to the index.htm page, and then shift-refresh or shift-reload the page. Because you last submitted the form with the “Remember me” box unchecked, the code you created deleted the cookie, and the Username field is blank. Debug your code as necessary until it functions correctly.
Continue to work on Project 9-4.
After completing Project 9-4, make sure you follow the step 8 to step 12 closely to verify that the 2 minutes expiration is applied to the cookie. Debug your code as necessary until it functions correctly.
 Zip all the files in the Project 9-4 folder including .htm files, .js files, and .css files into 1 zip file.
Submit the zip file to the iCampus site.

Reservation



QQQQQQ Below are examples of what your menu’s could look like: Main Menu ************* Welcome to CIT Hotel Management Systems **************************************************** 1) Display Available Rooms 2) Display Guests 3) Process Reservation 4) Process Payment 5) Exit  Reservations Menu ********************** Welcome to Reservations ****************************** 1) New Reservation 2) View Reservation 3) Cancel Reservation 4) Return· Collections i. Arraylist ect.. · Naming standards · Indentation · Exception handling i. Use your own Exception where applicable · Comments – Indicating what methods are supposed to be doing ect. i. Very useful to readers when grading code to know what a programmer was doing when creating a method. · OOP concepts ·Good programming standards · Packages · Save to file i. Reads from file if file exists on startup to load objects into the system. The following are expected to be used in the code · Asks the user to save the current system ·Outstanding Payments 6. Exit the system · Process a payment i. A room becomes available once payment is received ii. Guest is removed from system payment is received · Lecturers get 10% discount on room rate 5. Display Payments · Give option of room i. Check room availability · Get the guest details · By Lecturer or by Student 3. Display all available Rooms 4. Process a new reservation · Display all Reservations 2. Display All current guests · Cancel a Reservation i. A room becomes available once reservation is cancelled ii. Guest is removed from system once reservation cancelled · Add a new reservation i. A reservation will be either from a student or a lecturer ii. Once a reservation is made the room is no longer available ·Object Oriented Programming CIT has long required a Hotel to allow students and overworked lecturers a place to stay late at night. You are required to create a menu driven hotel system to allow management to rent rooms out to clients. The system will control 15 rooms (3 suites, 6 doubles, 6 singles). Each room has a rate per night per person, indicator whether it is in use, max guests and current occupant of room is in use 1. Suite can hold 3 guests a. Rate is 150 pp per night 2. Doubles can hold 2 people a. Rate is 100 pp per night 3. Singles hold 1 person a. Rate is 75 per night Max 27 occupants in hotel per night. The system has the following basic functions: 1. Reservations

A+ Paper



write a 2,000- to 2,500 word term paper. Choose three counseling theories covered in class to provide counseling for the family below. The situation is vague; you are to fill in the details so that you are able to apply the theory. You may modify you scenario slightly for each theory, if needed. Consider the following situation. A woman comes in for counseling. Her husband and daughter were in a car accident. He barely lived but her daughter did not make it. The woman cannot be in the same room with her husband and she finds herself wishing he would die. Develop a counseling plan for the woman and couple for each of the three theories you choose. You will create intermediary goals to help the client reach the ultimate goal. Each intermediate goal must be justified using research to indicate why that specific approach falls in line with the overall theory you are using. Use a minimum of three sources per theory to support why the counseling plan you outlined is the best given the theory you chose. Please see the basic outline for the counseling plan to help you structure your paper. Use a minimum of nine sources, with at least four dated within the past 10 years. Prepare this assignment according to the APA guidelines

A+ Work



A person randomly selected 100 checks and recorded the cents portions of those checks. The table below lists those cents portions categorized according to the indicated values. Use a 0.025 significance level to test the claim that the four categories are equally likely. The person expected that many checks for whole dollar amounts would result in a disproportionately high frequency for the first category, but do the results support that expectation?

Cents portion of check        Number
0-24                                      60
25-49                                    13
50-74                                    15

75-99                                    12

A+ Work



For a recent year, the following are the numbers of homicides that occurred each month in a city. Use a 0.05 significance level to test the claim that homicides in a city are equally likely for each of the 12 months. Is there sufficient evidence to support the police commissioner's claim that homicides occur more often in the summer when the weather is better?
Jan. 38             Feb. 29            March 45        April 39          May 47            June 50
July 48            Aug. 51           Sep. 51            Oct. 43            Nov. 37           Dec 37

A+ Answers



AQ5.1.1 PV MODULES

Consider a crystalline PV module with the following output parameters mentioned at STC (Standard Test Conditions) conditions by the manufacturer.

Pmax = 300 W
Voc = 40 V
Isc = 8 A
NOCT = 40°C
Temperature coefficient of power = -2 W/°C

If the ambient temperature falls to 15°C while the irradiance is 1000 W/m², what is the cell level temperature in ÂșC, as per the NOCT model?

AQ5.1.2 PV MODULES
what is the new power output of the PV module in watts, under the ambient temperature of 15°C and 1000 W/m² irradiance?
AQ5.2.1 MAXIMUM POWER POINT TRACKERS

With respect to a PV module's I-V and P-V curves, and the module's operating point, consider the following statements:

a)         When the operating point of the PV module is on the MPP (maximum power point), Pmpp<Voc×Isc.
b)         For a given irradiance and temperature condition, and a uniformly illuminated (all solar cells receive the same illumination) module with perfectly functional solar cells, there is one and only one MPP defined for the PV module.
c)         Assume that a simple fixed load of pure resistance R is connected directly to the PV module, and no MPPT device is connected to this setup. Under such a scenario, the operating point of the PV module will always coincide with the MPP, irrespective of the illumination conditions.
d)         The curvature of the I-V characteristics of a module around the region of MPP can be looked upon as a result of the non-ideal resistances of the solar cells that make up the module.

Which of the above statements are true?

Consider the following statements related to the field of MPPT techniques:
a) The PV output is never steady at the MPP.
b) Inclusion of a pilot solar cell can improve the PV module's yield.
c) The hardware complexity is high for implementing this design.
d) The output of the PV module is maximum only if load resistance = VmppImpp.

Consider the following conditions at the PV output:
i) An MPPT device implementing Fractional Open-Circuit Voltage method.
ii) An MPPT device implementing Incremental Conductance method.
iii) No MPPT device connected; solar module directly connected to the load.
iv) An MPPT device implementing Perturb and Observe method.

Which of the following matches the statements a) through d) with the right PV output conditions in i) through iv)?


 a) - iv), b) - i), c) - iii), d) - ii).
 a) - i), b) - iv), c) - ii), d) - iii).
 a) - iv), b) - ii), c) - i), d) - ii).
 a) - iv), b) - i), c) - ii), d) - iii).

AQ5.3.1 INVERTERS
(1 point possible)

Which of the following statements is NOT true about solar inverters?
Top of Form

A stand-alone inverter is supposed to work as an AC voltage source for a specified range of AC loads.
An ideal grid-tied inverter has its operational voltage and frequency synchronized with those of the grid
A bimodal inverter can power backup loads even if the grid-connection is disrupted.
An ideal grid-tied inverter works as a perfect voltage source, and changes the grid voltage and frequency to match its own.

AQ5.4.1 BATTERIES
(1 point possible)
Consider a lead-acid battery with 500 Ah capacity and a rated voltage of 12 V.
What is the total capacity of energy in watt-hours that can be stored in the battery?

AQ5.4.2 BATTERIES
 (1 point possible)
Assume that the battery is completely empty. The battery is now charging at a C-rate of 0.20C. What is the charging current in amps that is going into the battery?

AQ5.4.3 BATTERIES
 (1 point possible)
How much time in minutes will it take for the battery to go from 0% SOC to 100% SOC, assuming a constant C-rate of 2C? You may assume a linear rate of charging.
AQ5.4.4 BATTERIES
 (1 point possible)
If the battery is charged at an average constant voltage of 13 V, and discharged at an average constant voltage of 11.7 V, what is the voltaic efficiency of the battery in %? :

AQ5.4.5 BATTERIES 
(1 point possible)
If the coulombic efficiency of the battery is 95%, what is the roundtrip efficiency of storage in % for the battery? Assume the same voltaic efficiency as you calculated above.

A+ Answers



1. Backups can be kept on external hard drives, flash drives, disks, or in the cloud. Research these options at a high level first, listing pros and cons of each type of backup.
2. Select the type of backup that you feel is the most secure and reasonable for your situation, then research at least 3 products that would provide that service. List pros and cons, cost, and features. Which product would you choose and why?

A+ Answers



GB518 Financial Accounting
The Template is provided to help you complete your assignment successfully.
             
There are hints and guidance within the templates. For Example,  
some fields will have a note attached - as designated by the red triangle in the
upper right corner of the cell.        
Problem 1-3A

Affiliated Company
Problem 1-4A
 Sun Energy Co.
The Simpson Co

 Fabiano distribution

A+ Answers



Task 1
iBank wants to develop its own ATM system. The system will look and work much like other competitor systems work. You have been asked to develop the software for the system. This software will allow customers to withdraw cash and check their balance.

a) Using the approach to problem solving learned in class, identify:
The principal parts (sub-problems) of the problem.
Any assumptions you are making with regards to the problem.
b) In pseudo code, outline the basic steps (no more than five) involved in withdrawing cash (Do not include any choice or iteration at this point).   
Task 2 – Start-up
The process of withdrawing cash will begin only if a customer card is entered. Add a simple IF/ENDIF statement to your pseudo code that will account for the customer inserting a card. Please note that if a customer does not insert a card, then NONE of the steps in the cash withdrawal, or balance checking process, should happen.
Task 3 – Pin Entry
Once a card has been inserted into the machine, a customer should be prompted to enter their PIN in order to proceed further. We will assume at this point that the customer has an unlimited number of attempts at entering the correct PIN.

Identify the variables required for the checking of the PIN. Provide a data type, description and data range for each variable.
b) Use a loop to check the entered PIN number against a customer’s stored PIN number. Make sure you use and initialize the variables you identified in (a).
Task 4 – Menu Choices
Once a correct PIN has been entered, customers will be presented with a services menu. The services menu screen will provide two choices: Check Balance and Withdraw Cash. These choices can be made by selecting buttons 1 or 2 on the menu screen (Figure 1).
a) Identify any further variables that you would need to implement the menu. Provide a data type, description and data range for each variable.
b) Using nested conditional statements. Represent the menu choices detailed above. Note that the outer conditional statement should deal with the service choice, and the inner conditional statement should deal with the withdrawal choice.
Task 5 – Dispensing Cash
Once the customer has chosen the amount he/she wishes to withdraw, the ATM should dispense the cash and return the card. The cash should be dispensed in the optimum number of notes (Note that the machine dispenses only twenty and ten pound notes. You can assume that the machine has an unlimited supply of both tens and twenties).

Identify any further variables that you would need to implement the dispensing of cash problem. Provide a data type, description and data range for each variable.
b) Extend your algorithm so that it calculates the optimum number of notes for any requested amount. Thus, if a customer chooses to withdraw £100, the optimum format for the cash to be dispensed would be five twenties, while if the customer chooses to withdraw £50 the optimum format for the cash would be two twenties and one ten.
c) Use an appropriate loop structure to return the cash to be dispensed to the customer. Note that you need one loop for tens, and one loop for twenties.  
Task 6 – Limiting PIN Attempts
A customer should be allowed only three attempts at entering a correct PIN before their card is retained.

c) Identify any further variables that you would need to implement the limitation of PIN attempts to three. Provide a data type, description and data range for each variable.

a) Adapt the PIN verification loop from task 3, so that the customer has only three attempts at entering a correct PIN number. If, after three attempts, a correct PIN has not been entered, then the customer’s card should be retained, and none of the subsequent steps should happen.

To complete this task, you will need to adapt the loop structure you created in task 3. You will need to create a variable for the number of allowed attempts at entering a PIN. Each time the customer has a failed attempt at a correct PIN entry; this variable should be decremented by one. When there are no more attempts left, the loop should exit. This will require a compound loop condition that takes account of (a) whether a correct PIN has been entered (b) whether there are any PIN attempts remaining.

Task 7 – Documentation

Provide a short description (max 100-200 words) for your completed algorithm.
b) Add explanatory comments to the pseudo code.

A+ Answers



Principal of accounting 1
1. When using a periodic inventory method, what account is increased when you buy merchandise inventory?
a. cost of goods sold
b beginning inventory
c. ending inventory
d. purchases

3. Beginning inventory was $4,000, purchases totaled $22,000 and sales were $20,000. What is the ending inventory?
a. $2,000
b. $4,000
c. $6,000
d. $8,000
4. Which is true of the normal balance of an income summary?
a. the balance is debit.
b the balance is credit.
c. the account does not have a normal balance
d. it depends on which financial statement it appears

5. The goods a company has available to sell to customers are called:
a. supplies
b. sales
c. cost of goods sold
d. merchandise inventory

6. Which amount does NOT change during the period and is added to purchases when computing the cost of goods available for sale?
a. beginning inventory
b ending inventory
c. periodic inventory
d. freight-in

7. An account never used in a service business is :
a. consulting fee’s revenue
b. interest payable
c. merchandise inventory
d. accumulated depreciation-equipment

8. At the start of the year, northern lights had $8,000 worth of merchandise. what do we know about northern lights?
a. its a service business
b. its a retail business
c. the company ended with a new income last year.
d. the company ended with a net loss last year

9. The physical count of inventory was incorrect, which overstated the ending inventory. This would cause the:
a. cost of goods sold to be overstated 
b.cost of goods sold to be understated
c. gross profit to be understated
d. net income to be understated.

10. When completing a worksheet,:
a. the ending inventory amount appears in the income statement debit column.
b. the beginning inventory amount appears in the adjustment credit column.
c. the ending inventory amount appears in the unadjusted trial balance debit column of the worksheet.
d. the beginning inventory amount appears in the balance sheet debit column of the worksheet.

11. The beginning merchandise inventory account appears in the _______ on the worksheet.
a. adjustment column
b. trial balance and the balance sheet columns
c. trial balance and adjustment columns
d. all of the above

12. Beginning and ending inventories for webster’s books are $9,000 and $6,000, respectively. The debit amounts (not including income summary. in the income statement columns of the worksheet total $14,000, and the credit amounts (not including income summary. total $15,500. the firm has a:
a. net income of $1,500
b.net loss of $1,500
c. net loss of $3,000
d. net income of $3,000

13. Which inventory appears in the balance sheet column of the worksheet?
a. ending inventory
b. beginning inventory
c. combination of beginning and ending inventories
d. none of the above.

14. Beginning merchandise inventory would be found on the worksheet in the:
a. income statement debit column
b. income statement credit column
c. balance sheet debit column
d. balance sheet credit column

15. The ending merchandise inventory account appears in the _____ on the worksheet.
a. adjusted trial balance and balance sheet columns
b. adjustment column
c. adjustment, adjusted trial balance, and income statement colums
d. adjustment, adjusted trial balance, and balance sheet column.

17. Net purchases + purchases returns and allowances + purchase discount equals:
a. net loss
b. net income
c. gross profit
d. gross purchases

18. Cost of goods sold includes:
a. freight-in
b. freight-out
c. interest income
d. net sales

19. The information to prepare the statement of owner’s equity comes from the:
a. income statement columns on the worksheet
b. adjustments columns on the worksheet
c. balance sheet columns on the worksheet
d. general ledger

20. A classified balance sheet provides more information about the company to:
a. owners
b. creditors
c. suppliers.
d. all of the above

21.Town and country saddle learns the account receivable for a customer is uncollectible. The journal entry under the allowance method to write-off an account is to:
a. debit allowance for doubtful accounts, credit accounts receivable 
b. debit sales; credit allowance for doubtful accounts
c. debit bad debts expense; credit accounts receivable
d. debit allowance for doubtful accounts, credit bad debts expense.

22. Miami company uses allowance for doubtful accounts. when Miami writes off an uncollectible account, there is a(n):
a. decrease in accounts receivable
b. decrease in expense
c.increase in net income
d. none of the above

23. A company writes off a specific account as uncollectible, but later the customer pays. the journal entry to record the reinstatement under the allowance method includes a(n):
a. increase to cash
b.decrease to sales
c. decrease to allowance for doubtful accounts
d. decrease to bad debts expense.

24. What would be the basis for the following journal entry if it appears on travis company records? Travis uses the allowance method.

Allowance for doubtful accounts               150
accounts receivable - tim morgan             150

a. the firm is estimating its uncollectible accounts
b. the firm is writing off a specific account
c. the firm is making a collection of previously written-off account
d. it is a reversing entry

25. No entry was recorded to reinstate a bad debt when making a collection. the allowance method is being used. this error would cause:

a. total assets to be overstated
b. total liabilities to be understated
c. net income to be understated
d. none of these are correct.

26. If the allowance method of accounting for uncollectible receivables is used, what general ledger account is debited to write off a customer’s account as uncollectible?

a. allowance for doubtful accounts
b. bad debt expense
c. accounts payable
d. bad debts recovered

27. A company receives a letter from a customers named Mary stating that she is bankrupt. the entry to write off her balance of $1,250 would be:

a. allowance for doubtful accounts 1250
    accounts receivable/mary           1250
b. accounts receivable/mary           1250
    bad debt expense                       1250
c. bad debt expense                       1250
    allowance for doubtful accounts 1250
d. none of the above

28. Colleen’s account was written off for $800. She received an inheritance from her uncle and wants to clear her account. The entry to record this is

a. Debit cash and credit accounts receivable/maggie
b. debit allowances for doubtful accounts, credit accounts receivable/maggie,debit cash, and credit accounts receivable/maggie.
c. debit accounts receivable/maggie, credit allowance for doubtful accounts, debit cash, and credit accounts receivable/maggie.
d. debit accounts receivable/maggie, credit allowance for doubtful accounts, debit accounts receivable/maggie, and credit cash.

29. The journal entry to write off an account judged to be uncollectible under the allowance would include a debit to:

A. sales.
b. accounts receivable
c. allowance for doubtful accounts
d. bad debts expense.

30. After having written off a customer under the direct write-off method, the account will be reopened when the customer:

a. sends the flu amount to pay off the account.
b. sends any amount to pay on their account
c. pays the collection bureau.
d. none of the above

31. Which method uses an aging of accounts receivable to calculate the bad debts expense?

a. income statement approach
b. balance sheet approach
c. aging the accounts receivable
d. direct write-off

32. Harry’s hardware estimates that approximately $1.75 out of every $100 of credit sales proves to be uncollectible. Barber calculates bad debts expense using the :

a. income statement approach
b. direct write-off method
c. balance sheet approach
d. aging the accounts receivable approach

33. Gross accounts receivable is $10,000. Allowance for doubtful accounts has a credit balance of $200. Net sales for the year are $150,000. In the past, 2% of sales had proved uncollectible, and an aging of the receivables indicates $1,200 is doubtful. under the income statement approach, the bad debts expense for the year is:

a. $1,000
b. $3,000
c. $2,800
d. $1,200.

34. Empire has a credit balance of $750 in its allowance for doubtful accounts. the balance in the accounts receivable account is $80,500, with $2,415 estimated to be uncollectible after aging the accounts. under the balance sheet approach, the debit to bad debt expense will be:

a. $2,415
b. $3,165
c. $1,665
d. $750

35. Indy sport and hobby’s allowance for doubtful accounts had an unadjusted credit balance of $400. The manager estimates that $900 of the accounts receivable is uncollectible. Using the balance sheet approach, the year-end adjusting entry for bad debts expense:

a. includes a credit to the bad debt expense account for $500.
b. includes a debit to the bad debts expense account for $900.
c. includes a credit to the bad debts expense account for $1,300
d. includes a debit to the bad debts expense account for $500.

36. As the past due time increases for an account, the likelihood of collecting that account:

a. usually goes up.
b. usually goes down.
c. stays the same
d. none of the above

37. After aging the receivables. tim’s toys estimates that $900 will not be collected, and allowance account has a debit balance of $325. The adjusting entry would be for:

a. $575
b. $900
c. $1,225
d. $325

38. After aging the accounts receivable, it is estimated that $2,450 will not be collected, and the allowance account has an existing debit balance of $300. If accounts receivable is $107,000, the net receivables would be:

a. $107,000
b. $106,900
c. $104,550
d. $104,250

39. Aging accounts receivable measures:

a. days a bill has been due but not paid.
b. months a bill has been due but not paid.
c. sales for the year.
d. all of the above.

40. A detailed analysis of accounts receivable to determine how long each account has been outstanding is called:

a. analyzing the accounts receivable
b. aging the uncollectible accounts
c. aging the accounts receivable
d. taking a percentage of sales on account.