Reference no: EM13927341
Question 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. Which variable name is invalid?
- tax_rate
- StudentName
- 2012budget
- None of the above
Question 3. Which symbol in a flowchart would be used by a developer to represent a calculation (process)?
- Rectangle
- Diamond
- Parallelogram
- Lozenge
Question 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. 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. 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. 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. Which value will be contained in the variable x after the following statement is executed?
x = 10 + 8 / 2 * 3
Question 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. 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. 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. 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. 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
Computed chi square and the critical chi square
: Based on comparing the computed Chi square and the critical Chi square, which of the following is (are) true?
|
Evaluate wide area network (wan) technologies
: Create a table to compare Novell, Windows, Mac, UNIX, and Linux server operating systems. You should identify the most recent server operating system for each to consider. For Linux and UNIX which have multiple variants, you may choose one current..
|
Implement euler integration scheme
: Implement Euler integration scheme and implement Runge-Kutta integration scheme. The latter phenomenon is known as the butterfly effect.
|
One-tailed and two-tailed test
: 1. Explain Type I and Type II errors. Use an example if needed. 2. Explain a one-tailed and two-tailed test. Use an example if needed.
|
First step in software development
: What is the first step in software development? (a) Develop the logical solution (b) Understand the problem (c) Plan/design the logic (d) Translate into code
|
Describing the evolution of business
: Create a 10- to 15-slide Microsoft® PowerPoint® presentation describing the evolution of business.
|
Binomial and hypergeometric distributions
: Suppose a manager has 10 subordinates, 6 of whom are female, while the other 4 are male. The manager will randomly pick 3 of his subordinates to attend a conference in Hawaii.
|
Determine the sample mean and sample standard deviation
: Determine the sample mean, sample standard deviation, and sample size
|
What is increase in probability of company generating losses
: If the firm acquires the cars and finances them with debt as proposed, what is the increase in the probability of the company's generating losses during the coming year?
|