Question

1) The inputs and outputs of the problem are determined in which of the following steps...

1) The inputs and outputs of the problem are determined in which of the following steps in program development?

a) Understand the problem
b) Plan and design the logic
c) Develop the logical solution
d) Desk-check the solution

2)  When defining a problem, the _____ in a problem description can help you determine the processing steps

a) verbs
b) nouns
c) adjectives
d) All of the above

3) What symbol is used for both input and output in a flowchart?

a) Rectangle
b) Parallelogram
c) Diamond
d) Rounded rectangle

4)  A(n) _____ is a set of precise steps that describe exactly the tasks to be performed and the order in which they are to be performed in the program

a) algorithm
b) selection
c) loop
d) variable

5) Which of the following is an invalid variable name?

a) my_Name
b) budget$
c) balance
d) All of the above are valid.

6) What would be the appropriate data type for a variable that is used to represent a graduation date (example data: 10/22/2012)?

a) Real (decimal)
b) Integer
c) String
d) Boolean

7)  Assume that the variable temp has a data type of string and val has a data type of integer. Which of the following assignment statements is invalid?

a) val =

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. (b)Plan and design the logic

2. d) All of the above

3. (b) Parallelogram

4. (a) algorithm

5. (d) All of the above are valid

6. (c) String

7. (c) val = val + 2

8. b) control

9. (c) 45

10. (c) String

Add a comment
Answer #2

1

b) Plan and design the logic

2

b) nouns

3

b) Parallelogram

4

c) loop

5

b) budget$

6

d) Boolean

7

b) temp =

Add a comment
Know the answer?
Add Answer to:
1) The inputs and outputs of the problem are determined in which of the following steps...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Assume the only console output method available is display(c), as shown below, which you include in...

    Assume the only console output method available is display(c), as shown below, which you include in your solution. This means you are not permitted to use System.out.print(), System.out.println(), nor System.out.printf() in your methods. public static void display (charc) { System.out.print (c); Implement the following methods in a program class, that has a main() method that simply tests each. Apply the concept of overloading, where best, and that the methods can call other new methods to reduce repeating the same code....

  • #1 To execute a correctly written program, you first need to _____.                 highlight the output...

    #1 To execute a correctly written program, you first need to _____.                 highlight the output commands in the code                 print the code for reference                 compile it to machine language                 compile it from machine language into the programming language of choice #2 Adding capabilities to working software is called the _____ phase.                 coding                 maintenance                 debugging                 brainstorming #3 A rectangle in a flowchart represents which of the following?                 One or more I/Os                ...

  • Problem 1 1 def modify(word.ch). word == word + ch return word print('new word is', word)...

    Problem 1 1 def modify(word.ch). word == word + ch return word print('new word is', word) To run the function modify() defined above, we make the following call: result = modify('course', 's') Find and fix the errors in the function definition, lines (1) to (4), such that after the call is executed: • Variable result has the value 'courses' • 'new word is courses' is printed out. For each error found and fixed, you must indicate the following: • line...

  • java script programming You must identify the data type of a variable before you use the...

    java script programming You must identify the data type of a variable before you use the variable in the program. The kind of state ment that identifies the data type of the a variable is called: (a) a variable definition (b) a variable assignment (c) a variable declaration (d) a variable initialization which of the following statements declares a variable called canine to have the data type String? (a) canine String “terrior”; (b) String terrior; (c) String = canine; (d)...

  • Question 3 : Branch and Bound max 36a1282+8as s.t. 21i + 20r2 6xs 23 a e 10, 1]3 Write the LP Relaxation of this problem. 1. 2. What type of problem is this? (this type of problem has a particular na...

    Question 3 : Branch and Bound max 36a1282+8as s.t. 21i + 20r2 6xs 23 a e 10, 1]3 Write the LP Relaxation of this problem. 1. 2. What type of problem is this? (this type of problem has a particular name) Solve this problem by branch-and-bound, using the branching rule for binary variables of branching o 3. the most fractional variable. On the next page, write down the branch-and-bound tree you obtained. a. Each node should include the solution letter,...

  • Which of the following statements will convert a string s into a double value d? d...

    Which of the following statements will convert a string s into a double value d? d Double.parseDouble(s) d- (new Double(s)).doubleValueO d- Double.valueOfs) doubleValueo. d All f the above a. b. of the following statements convert a double value d into a string s? s (new Double(d)).toStringO. b. C. new Double(d).stringoro: String stringotd d. Which of the following statements is correct? b Integer d. Integer parselnt(100, 16); Integer parselnt"12",2) Integer parselntc 100"): Integer parselnt 345", 8) parselnt(100); e. What is the...

  • C++ help! #4,6,7 c) no-test d) loop-test e) None of these 1. Which of the following...

    C++ help! #4,6,7 c) no-test d) loop-test e) None of these 1. Which of the following variable names is invalid? a) numstudents b) 2Darray c) studentHame d) test Grade 祁.which of the following conditions is true ifX has a value of 10 and T has a value of 20? None of these 2. In Ca4, the operator indicates: a) subtraction b) negation c) equality e) None of these . What are the final values of z and y after the...

  • QUESTION 1 Which of the following Python variable names has syntax error ? OA. A. CSC121...

    QUESTION 1 Which of the following Python variable names has syntax error ? OA. A. CSC121 OB. B. CSC121 Oc. C. CSC-121 D. None of the above QUESTION 2 What data type will Python use to store the value of num_students ? num_students = 17.0 A. floating point number (i.e. float) OB. B. integer (i.e. int) Oc. string (i.e. str) Od. D. None of the above

  • Below is a java program that inputs an integer grade and turns it into a letter...

    Below is a java program that inputs an integer grade and turns it into a letter grade. Update the below java code as follows and comment each line to explain what is happening: 1. Convert the if-else-if code block to a switch statement to solve the problem. 2. Use modulus to convert the grade input so that the range of grades are converted to one value. (comment the line) import java.util.Scanner; public class GradeLetterTest { public static void main(String[] args)...

  • 2.)Which character is used to denote a comment? A.) # B.) \ C.) % D.) '...

    2.)Which character is used to denote a comment? A.) # B.) \ C.) % D.) ' 3.)Which of these tasks is impacted by both Option Strict and Option Explicit? A.) Declaring a variable B.) Masking C.) Interpreting an event D.) Casting a variable at some point after it has been declared​ 4.) What happens when you type a line such as this: variable *=5 A.) Multiply the current value of the variable by 5 and store it as variable B.)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT