Review

Missed Questions

  1. In a certain computer program, two positive integers are added together, resulting in an overflow error. Which of the following best explains why the error occurs?

Answer: The program can only use a fixed number of bits to represent integers; the computed sum is greater than the maximum representable value.

This makes sense since computers can only represent a certain number of bits. If the sum is greater than the maximum representable value, then it will overflow.

  1. Which of the following can be used as step 3 so that the algorithm works as intended?

Answer: Step 3: Display the remainder of number divided by 10 and store the integer quotient in number

This makes sense since you need to store the number not the remainder.

  1. Which of the following observations is most consistent with the information in the circle graph?

Answer: Over 75% of the files stored are 10 MB in size or less.

I don’t know how I got this one wrong

  1. Which of the following can be used to store the string “jackalope” in the string variable animal ?

Select two answers.

Answer: animal = Substring (“antelope”, 5, 4) animal = Concat (“a”, animal) animal = Concat (Substring (“jackrabbit”, 1, 4), animal)

animal = Substring (“jackrabbit”, 1, 4) animal = Concat (animal, “a”) animal = Concat (animal, Substring (“antelope”, 5, 4))

After looking at this again this makes sense and both of these answers would work.

Plan

I plan to review all of these questions and do practice problems in the same topics as the questions I missed. Most of the questions I missed were pretty routine and could’ve been solved if I was more focused during the test.

Overview

The quiz was for the most part not too difficult and I did well on it. I did miss a few questions but I understand why I missed them. I need to be more careful when reading the questions and answers and make sure to double check my answers before I submit them.