CIS 115 Week 1 Quiz based syllabus

01 January, 0001 | 2 Min Read

CIS 115 Week 1 Quiz based syllabus

  1. (TCO 1) What symbol represents output in a flowchart?
    • Answer: Parallelogram
  2. (TCO 1) Which of the following tasks should be performed first when designing a program?
    • Answer: Understand the problem
  3. (TCO 1) To help with defining the problem, the initial analysis should be divided into which of the following steps?
    • Answer: All of the above (The input(s), The output(s), The processing steps to produce required outputs)
  4. (TCO 1) What would be the appropriate data type for a variable that is used to represent a bank deposit (example data: 125.75)?
    • Answer: Real (decimal)
  5. (TCO 1) 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?
    • Answer: 5 = val
  6. (TCO 1) Which of the following is not one of the three control structures described by the structure theorem?
    • Answer: Case

These answers should align with the quiz content. If you have more questions or need further explanations, feel free to ask!

4oCIS 115 WEEK 2 QUIZ.docxDocument

Here are the answers to the CIS 115 Week 2 Quiz based on the document:

  1. (TCOs 2 and 3) Which symbol would be used in a flowchart for the following statement? “Read score”
    • Answer: Parallelogram
  2. (TCOs 2, 3, and 8) Assume that the variables num and rate are integer variables and dept is a string variable. Which of the following assignment statements is invalid?
    • Answer: dept = 100 (because dept is a string and cannot be assigned a numerical value without quotes).
  3. (TCOs 2, 3, and 8) What is the final value of y at the end of these statements?
    • Answer: The specific statements are not included in the quote provided. However, if you have specific code or values, I can help determine the final value.
  4. (TCOs 3 and 8) Evaluate the following expression.
    • Answer: The specific expression is not included in the quote provided. Please provide the expression to evaluate.
  5. (TCOs 2, 3, and 8) List the inputs and outputs and write the pseudocode to solve the following problem: The program will prompt the user for three scores that represent judges’ scores for a gymnastics meet. The program will calculate and display the average score.
    • Answer:
      • Pseudocode:mathematicaCopy codeBegin Average_Score_pgmDeclare Real score1Declare Real score2Declare Real score3Declare Real averageScorePrompt “Enter score 1"Input score1Prompt “Enter score 2"Input score2Prompt “Enter score 3"Input score3Set averageScore = (score1 + score2 + score3) / 3Display “The average score is " + averageScoreEnd

Related posts