First step in software development

Assignment Help Software Engineering
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

  • 3
  • 45
  • 22
  • 27

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

  • 5
  • 0
  • 10
  • 1

Reference no: EM13927341

Questions Cloud

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?

Reviews

Write a Review

Software Engineering Questions & Answers

  Windows presentation foundation

Using any source of your choosing, research Windows Presentation Foundation (WPF) and in your own words, in about one paragraph, describe your understanding of it. Also, list your sources by providing links and/or printed book/article names.

  Advantage of managing input and output

Explain why a DMA channel would or would not be useful in a computer without an interrupt-based I/O system.

  Relationship of application development methodologies-models

Explain the relationships between application development methodologies, models, and tools. Compare and contrast the various generations of programming languages.

  When most people think of accountants they usually dont

when most people think of accountants they usually dont think of crime fighters. but thats exactly what forensic

  Problem on visual paradigm information

Launch Visual Paradigm. You will be prompted to activate your software. Activate your software using the activation code that was sent to your email account.

  What is hegelian hypothesis of human understanding

What is EV(IB, IC), the expected value of payoff under this level of imperfect information - Compute the expected value with perfect information (EV perfection information) and EVPI.

  Describe why the author of the article says that oil and

write a two to four 2-4 page paper in which you explain in your own words the information security concerns that exist

  Assess the idea that a system should be organized as a core

assess the idea that a system should be organized as a core system that implements the essential requirements with

  The term regression was originally used in 1885 by sir

the term regression was originally used in 1885 by sir francis galton in his analysis of the relationship between the

  Discussing what professional organizations might you join

Write a 1-2 page paper discussing what professional organizations might you join, and websites might you visit, that would provide insight into a career that includes responsibility for mobile application development

  Developing domain model class diagrams

The stock levels of each item are changed by the system with each purchase. However these levels need to be manually updated by a clerk in certain cases such as shipments of items from manufacturers, refunds, exchanges, etc.

  What are security concerns that a0 web designer must address

What are the security concerns that a web designer must address and be aware of? How much of the responsibility for securing the site lies with the host, and how much lies with the designer? How can you, as a web designer, implement good security ..

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