Final Exam

Results

I scored a 46/50, or 92%. This is high enough to earn at least a .9/1 in the grade book.

Proof of Final

Corrections

Q2

Which of the following has the greatest potential for compromising a user’s personal privacy?

I answered: (B) B The Internet Protocol (IP) address of the user’s computer

Correct answer: (A) A group of cookies stored by the user’s Web browser

Q5

A chain of retail stores uses software to manage telephone calls from customers. The system was recently upgraded. Customers interacted with the original system using their phone keypad. Customers interact with the upgraded system using their voice.

The upgraded system (but not the original system) stores all information from the calling session in a database for future reference. This includes the customer’s telephone number and any information provided by the customer (name, address, order number, credit card number, etc.).

The original system and the upgraded system are described in the following flowcharts. Each flowchart uses the following blocks.

Q5

Of the following potential benefits, which is LEAST likely to be provided by the upgraded system?

I answered: (A) Human representatives will not be needed to respond to some inquiries.

Correct answer: (B) The company will be able to provide a human representative for any incoming call.

Q36

A numeric test score is to be converted to a letter grade of A, B, or C according to the following rules: A score greater than 90 is considered an A; a score between 80 and 90, inclusive, is considered a B; and any other score is considered a C.

Which of the following code segments will assign the correct letter grade to grade based on the value of the variable score ?

Q36

I answered: (A) II only

Correct answer: (D) II and III only

Q38

Consider the following code segment with an integer variable num.

IF(num > 0)
{
    DISPLAY("positive")
}
IF(num < 0)
{
    DISPLAY("negative")
}
IF(num = 0)
{
    DISPLAY("zero")
}

Which of the following code segments is equivalent to the code segment above?

I answered: (A)

IF(num < 0)
{
    DISPLAY("negative")
}
ELSE
{
    DISPLAY("positive")
}
IF(num = 0)
{
    DISPLAY("zero")
}

Correct answer: (B)

IF(num < 0)
{
    DISPLAY("negative")
}
ELSE
{
    IF(num = 0)
    {
        DISPLAY("zero")
    }
    ELSE
    {
        DISPLAY("positive")
    }
}

Final Thoughts and Blogging

  • Final exam wasn’t too bad when working with classmates
  • Most of it was pretty common sense to us
    • Digital security
    • Unethical uses of computer resources
    • Multifactor Authentication
  • Other parts were just simple math and following directions
    • follow along with what a program is doing
    • Re-write a program with less complexity
    • Tell a robot what to do in order to move to a certain spot on a grid