First step in software development

Assignment Help Accounting Basics
Reference no: EM13928890

Question 1.1.  What is the first step in software development?
Develop the logical solution
Understand the problem
Plan/design the logic
Translate into code

Question 2.2. Which variable name is invalid?
tax_rate
StudentName
2012budget
None of the above

Question 3.3. Which symbol in a flowchart would be used by a developer to represent a calculation (process)?
Rectangle
Diamond
Parallelogram
Lozenge

Question 4.4. You are designing an algorithm that will store a date as 01202009. Which data type would you choose for the date variable?
Real
Integer
String
Any of the above

Question 5.5. The three basic control structures used in programming are _____.
analyze, design, and test
sequence, selection, and repetition
algorithm, flowchart, and pseudocode
name, data type, and value

Question 6.6. When a program evaluates mathematical expressions, which of the following operators (or mathematical operations) has the highest precedence?
Subtraction
Addition
Parentheses
All have equal precedence.

Question 7.7. Which one of the following is not a valid assignment statement in a program?
total = total + 1
counter = counter + 10
tax = amount * .10
None of the above

Question 8.8. Which value will be contained in the variable x after the following statement is executed?
x = 10 + 8 / 2 * 3
3
45
22
27

Question 9.9. Which statement indicates that the variable rep is being used as an accumulator?
rep = 0
rep = rep + 1
rep = rep + x
rep = rep + 10

Question 10.10.  For maximum efficiency, which question should be asked first when working with an Or decision?
The one less likely to be true
The one most likely to be true
The one that involves fewer comparisons
There is not enough information to determine the answer.

Question 11.11.Review the partial pseudocode below. Which is the correct math expression to complete the algorithm and calculate the average?
Prompt "Enter first score: "
Input score1
Prompt "Enter second score: "
Input score2
Prompt "Enter third score: "
Input score3
Set _____
Display "Your average is " + avgScore
avgScore = (score1 + score2 + score3) / 2
avgScore = score1 + score2 + score3 / 3
avgScore = (score1 + score2 + score3) / 3
score1 + score2 + score3 / 3 = avgScore

Question 12.12. Review the pseudocode below. Which will be displayed when this algorithm executes?
Set x = 11
If ((x > 10) AND (x < 20)) then
Display "the IF path executes"
Else
Display "the ELSE path executes"
EndIf
the IF path executes
the ELSE path executes
10
(x > 10) AND (x < 20)

Question 13.13. Which value gets displayed for the variable X?
Set A = 6
Set B = 10
Set C = 20
If (B > 15) AND ((A = 5) OR (C <= 15)) then
Set X = 1
Else
Set X = 0
EndIf
Display X
(Points : 5)
5
0
10
1

Reference no: EM13928890

Questions Cloud

Compute the price of bonds based on semi annual analysis : You are called in as a financial analyst to appraise the bonds of Olsen’s Clothing Stores. The $1,000 par value bonds have a quoted annual interest rate of 12 percent, which is paid semi annually. The yield to maturity on the bonds is 12 percent annu..
Describe the tension between ignoring, insulating : Describe the tension between ignoring, insulating, and avoiding this new information, and how it gave way to opening, embracing, and integrating this disturbance. What was the role of self referencing, remembering who you are, your values, aspirat..
Generate the same hash value : 1. A 2,000-bit message is used to generate a 256-bit hash. One the average, how many other messages could be expected to generate the same hash value? What does this tell us about the length of a hash as compared to the length of the message?
How will the price of the preferred stock be affected? : X-Tech Company issued preferred stock many years ago. It carries a fixed dividend of $14 per share. With the passage of time, yields have soared from the original 12 percent to 16 percent (yield is the same as required rate of return). a. What was th..
First step in software development : You are designing an algorithm that will store a date as 01202009. Which data type would you choose for the datevariable?
What was the intrinsic value of this put : What was the premium on the Dec. BABA 118 put? Was this option in or out of the money? What was the intrinsic value of this put? What is the time value?
What is the formula for the intrinsic value of a call : What is the formula for the intrinsic value of a call? What was the intrinsic value of the Dec. 118 call? Was this option “in the money” or “out of the money”? What was the time value of this option?
Contrast rights of bond holders and preferred stockholders : Describe and contrast the rights of bond holders and preferred stockholders. Which has the best position in a default, which one would you buy all other things being equal.
Character string and counts and returns the number : 1a. Write a non-recursive function vowels() that accepts a character string and counts and returns the number of vowels (aeiou) in the string.

Reviews

Write a Review

Accounting Basics Questions & Answers

  How much control does fed have over this longer real rate

Hubbard argues that the Fed can control the Fed funds rate, but the interest rate that is important for the economy is a longer-term real rate of interest.   How much control does the Fed have over this longer real rate?

  Coures:- fundamental accounting principles

Coures:- Fundamental Accounting Principles: - Explain the goals and uses of special journals.

  Accounting problems

Accounting problems,  Draw a detailed timeline incorporating the dividends, calculate    the exact Payback Period  b)   the discounted Payback Period. the IRR,  the NPV, the Profitability Index.

  Write a report on internal controls

Write a report on Internal Controls

  Prepare the bank reconciliation for company

Prepare the bank reconciliation for company.

  Cost-benefit analysis

Create a cost-benefit analysis to evaluate the project

  Theory of interest

Theory of Interest: NPV, IRR, Nominal and Real, Amortization, Sinking Fund, TWRR, DWRR

  Liquidity and profitability

Distinguish between liquidity and profitability.

  What is the expected risk premium on the portfolio

Your Corp, Inc. has a corporate tax rate of 35%. Please calculate their after tax cost of debt expressed as a percentage. Your Corp, Inc. has several outstanding bond issues all of which require semiannual interest payments.

  Simple interest and compound interest

Simple Interest, Compound interest, discount rate, force of interest, AV, PV

  Capm and venture capital

CAPM and Venture Capital

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd