Skip to main content

The final exam is:

  • Friday, December 4 8:30 am - 11:00 am in EB II 1025 (normal classroom)

Attendance at the final exam is MANDATORY. No make-ups will be given without documentation for an excused absence (e.g., absence verification, doctor’s note, etc.). If you miss the exam with an excused absence, you will likely receive an incomplete in the course to provide time for a make-up exam after grades are due.

Exam Instructions

This exam has a total of 105 points, but a 100 is a perfect score. You may earn an additional 1 point of extra credit by attending a CSC seminar. Therefore, the max possible grade is 106/100 = 106%.

You will have 150 minutes (2.5 hours) to complete this exam.

  • Collaboration between students is forbidden on this exam. You must work alone.
  • The exam is closed book, closed note, and closed device. You will be allowed one 8.5” by 11” sheet of notes. The sheet of notes may be front and back and must be handwritten on paper (do not write in a device and print). Notes sheets must be turned in with the exam.
  • You may ask for scratch paper if you need it. The scratch paper must be returned with the exam.
  • The program scenario must be returned with the exam.
  • Computers, cell phones, calculators, music players, and other personal electronic devices may NOT be out during the exam for any reason. There will be a clock on the projector for exam time.
  • Please be quiet during the exam. If you have a question, please raise your hand.
  • Corrections or clarifications to the exam will be written at the front of the room.
  • Use pen or dark pencil. The answers you want graded must be clearly marked.
  • Your exam must be placed in the designated location at the front of the classroom before the specified end time of the exam. If your exam has not been turned-in to the designated location by the end of the exam time, your exam will not be graded, and you will receive a 0%. No exams will be allowed to be placed in the designated location after the end time of the exam.
  • If you violate the University Code of Conduct during the exam, you will receive a 0% for the exam and will be reported to the Office of Student Conduct.

By submitting this exam, you affirm that you followed the rules of this exam and the honor pledge: “I have neither given nor received unauthorized aid on this exam.”

Late Policy

Be on time for the exam! The exam starts promptly at the beginning of the exam period. Any student who arrives to the exam after another student has already turned-in the exam and left the classroom will not be allowed to take the exam and will automatically receive a 0%.

Exam Format

The exam will consist of the following:

  • Multiple Choice and True/False Questions: 14 points
  • 5-10 Short Answer Questions: 3-6 points each - 30 points total
  • 2-4 Long Questions: 15-25 points each - 56 points total
  • Extra Credit question: 5 points
  • Extra Credit from Seminar Attendance: 1 point

There will be an overarching scenario that will be used as a basis for many of the questions on the exam. The page with the scenario must be turned in with the exam.

Exam Study Guide

The following sections are suggestions for areas to study. Please note that the list of things to study is not exhaustive. Resources for studying are lecture notes, exercises, project write ups, textbook, and online linked resources.

The final exam is cumulative. Everything on the Midterm Study Guide may be on the final exam, including course technologies, backend and persistence, REST API design, frontend design and HCI, accessibility, requirements engineering, requirements, design and architecture, testing, process models, planning and management, processes and practices, and metrics. Start your review there. The sections below cover the material from after the midterm, and the kinds of scenario questions the final exam will ask.

Course Technologies

You will not be expected to write code that is specific to any course technologies other than Java, JUnit (for unit tests), and MySQL. However, we do expect you to know high-level things about the technologies used in CoffeeMaker and WolfCafe.

  • What are the purposes of each of the course technologies? GitHub (issues, pull requests, GitHub Actions), Maven, REST APIs, Hibernate, Spring, React, Bootstrap, JavaScript, CSS, HTML, JUnit

Scenario Questions

Many questions on the final exam are built on an overarching scenario. Given a scenario, be able to:

  • Identify stakeholders, including an adversarial stakeholder, and create personas.
  • Create a use case diagram, write functional requirements as traditional requirements, use case flows of events, and as user stories, create acceptance scenarios or criteria that could be executed on a completed system, and write non-functional requirements and constraints.
  • Identify one or more architectural patterns appropriate to implement the scenario, and draw them with customizations for the system.
  • Draw class, sequence, and state diagrams for the system.
  • Write system tests and unit tests, and calculate coverage.
  • Identify security threats and privacy concerns, and how the design addresses them.
  • Describe how the system respects the humanity of its users (or not), amplifies positive or negative behavior for users and society at large, and how the system’s quality impacts the humanity of others. Explain why.
  • Identify risks, calculate risk exposure, and choose strategies to address them.
  • Give an example of each type of software maintenance for the system.

Teaming

  • Why is teaming important? What are the characteristics of a good team? What are the characteristics of a bad team?
  • What are the three kinds of role-based development (user-role division, specialization roles, and feature-based roles)? What are the feature-based roles used in the Team Project (backend, frontend data entry, frontend reporting), and what are the goals and responsibilities of each?
  • What is a persona? Why should the stakeholders you model include an adversary who would misuse the system?
  • What are the roles in a software inspection? What are the responsibilities of each role? What software artifacts can be inspected?

Secure Design

  • How is security different from reliability? How is security testing different from other testing?
  • Know the security vocabulary: asset, threat, vulnerability, exploit, and attack. What is the difference between a vulnerability and an attack?
  • What are confidentiality, integrity, and availability (CIA)? How are they expressed as non-functional requirements, and how can a software system follow them?
  • What are the IEEE Top 10 Design Principles? Describe the principles. Identify how a system does or does not meet each principle.
  • What is an attack surface? What does it mean to fail securely? What is defense in depth? Why should you never trust your user, another entity by default, or a single check?
  • How do SQL injection and cross-site scripting (XSS) work? Be able to write a test input that checks for each.
  • How do you mitigate injection attacks? Why use prepared statements? Why doesn’t using Hibernate protect you on its own?
  • What is the difference between a block list and a safe list, and which is preferred? Why must input be validated on the server side, even when the frontend validates it?
  • What does each category of STRIDE (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege) mean? Give a threat and a mitigation for each in a system.
  • What are the ways to address a threat (mitigate, eliminate, transfer, accept, wait and see)? How do you validate a threat model?

Privacy

  • What is privacy? Why is privacy important in software development? How are security and privacy different?
  • What are the four invasions of privacy (private facts, intrusion, appropriation, false light)?
  • What is PII, and why should it be protected (or not collected)?
  • What are the Fair Information Practices?
  • What is a privacy policy? Why is a privacy policy important? What are the sections of a privacy policy based on the Better Business Bureau template (Policy, Choice, Access, Security, Redress, Updates)? What does each contain?
  • What is the difference between opt-in and opt-out defaults? Why does the readability of a privacy policy matter?
  • Be familiar with the laws related to privacy (COPPA, HIPAA, GLBA, GDPR): what they cover and why they are important.
  • How are policies and standards similar to requirements? How are they different?

Ethics and Human Flourishing

  • What are the five central domains of human flourishing (happiness and life satisfaction, mental and physical health, meaning and purpose, character and virtue, close social relationships)?
  • What is the ACM Code of Ethics?
  • What is algorithmic bias? What is the difference between group fairness and individual fairness?
  • What is the difference between negligence and malpractice? What does professional and engineering ethics ask of software engineers?
  • What tools can help you design for people (e.g., the Humane Design Guide and its human sensitivities, GenderMag, explainability tools like LIME)?

Risk Management

  • What is the purpose of risk management? What is the difference between a risk and a problem?
  • How can you estimate the probability of a risk (principle of indifference, frequentism, expert opinion)?
  • Know how to calculate risk exposure. Be able to complete a risk table for a system.
  • What is the difference between reactive and proactive teams? What are the types of risk?
  • What are the risk planning strategies (information buying, contingency planning, risk reduction, risk acceptance) and mitigation strategies (avoidance, protection)? Identify actions to address a given risk.
  • How are risks monitored? How should risk be communicated to users before, during, and after an incident?

Maintenance and Refactoring

  • What are the four types of software maintenance (corrective, adaptive, perfective, and preventive)? Why are they not mutually exclusive? Using CoffeeMaker or WolfCafe as the starting point, give an example of each type, which may be something that you did for the projects or an idea for a future project.
  • What is semantic versioning (major.minor.patch)? How does the risk of a change relate to which number changes?
  • What is bit rot (software entropy)? What is the difference between dormant and active rot?
  • What factors affect the cost of maintenance (e.g., team stability, contractual responsibility, program age and structure)? What is a regression fault?
  • What is refactoring? Why is refactoring a form of preventive maintenance? How does the use of JUnit test cases help in refactoring? Why refactor early, often, and in small steps?
  • What is a bad smell (relative to refactoring), and what should you do when you find one? For the refactorings discussed in class (Extract Method, Introduce Explaining Variable, Move Method, Extract Class, Rename Method, Introduce Parameter Object), know which smells each one addresses and how.

Unconscious Bias

  • What is unconscious bias? How can a small bias compound across many decisions?
  • What situations make bias more likely (task, numbers, clarity, perceiver)?
  • Why are structured interviews important in hiring?

Economics

  • How does the cost to fix a defect change the later it is found? Why are late defects expensive?
  • What is root cause analysis? How do you use the 5 Whys and a fishbone diagram to find the root cause of a failure?
  • Given an example of costs associated with developing a software system , identify and justify the most cost-effective solution.

CI/CD and Microservices

  • What is configuration management? What does “configuration is code” mean? What is idempotency, and why does it matter?
  • What are branching anti-patterns (e.g., merge paranoia, big bang merge)?
  • What is continuous integration? What are its principles and benefits? What are the risks of not doing continuous integration? Why is continuous integration not enough on its own?
  • What are microservices and how are they different from traditional (monolithic) applications? What are the characteristics of microservices (componentization via services, decentralization, resilience in failure, evolutionary design)?
  • What is infrastructure management? How do DNS services, load balancing (including auto-scaling), content delivery, caches, availability zones, and regions support large systems?