• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/45

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

45 Cards in this Set

  • Front
  • Back
What term best describes “a description of a problem and its solution that can apply to many similar programming situations”.
Design Pattern
Instance variables are stored inside what segment of memory?
Heap
Which of the following Java technologies can adversely affect performance if overused in ones program?

A) Exception handling
B) Inheritance
C) Method calling
D) All of the above
E) None of the above
All of the above
Question 4
The Software Development LifeCycle is drawn below. Which step may involve using the JUnit toolkit?
Question 4
The Software Development LifeCycle is drawn below. Which step may involve using the JUnit toolkit?
5
Which step involves making UML Use Case diagrams?
Which step involves making UML Use Case diagrams?
1
Which involves making UML Sequence diagrams?
Which involves making UML Sequence diagrams?
2
18
6
At what stage is redesigning a software system the least expensive?
Design Review Stage
Which of the following could be described as input to a method?
A) Instance Variables
B) Method Arguments
C) Static Variables
D) All of the above
E) None of the above
All of the above
Which of the following design patterns does not use inheritance as part of its implementation?
Singleton
What is the software engineering term used to describe the breaking down of a problem into smaller, more manageable problems, until smaller solutions can easily be solved?
Decomposition
Using black-box testing techniques on a method, one would create test cases that test every path through what?
The method’s specification (it’s documentation)
When using JUnit, one typically calls static methods in what class to compare actual and expected values?
Assert
Which of the following can an interface have?
Static final constant
Which of the following best describes the objective of a single UML Use Case Diagram?
List a sequence of steps a user might take in order to complete an action
Which of the following can an abstract class not have?
Abstract variable
A class that has too many unrelated obligations, increasing its complexity and heft could be described using which anti-pattern?
Blob
What term is used to describe checking out a project into an isolated environment to do experimental work without threat of permanently affecting the original project?
Sandboxing
On the first day of lecture we said the Software Development Lifecycle is slight different for a large project. The first 8 steps of this modified lifecycle are listed below. What is step #6?
On the first day of lecture we said the Software Development Lifecycle is slight different for a large project. The first 8 steps of this modified lifecycle are listed below. What is step #6?
Integration
What term is used to describe the process of monitoring and updating deployed software?
Maintenance
We discussed how developers use a term to describe writing code without testing while you go, but rather, waiting until large pieces are written before performing any testing. What is this term called?
Design to Fail
What design pattern works by dynamically changing the actual type of an instance variable as needed.
State
This semester I encouraged using “narrow interfaces” in designing connections between modules. Which design pattern, typically used as an alternative to static methods, uses a programming style that can easily lead to wide interfaces between classes and modules?
Singleton
What term best describes the process of testing a previously working system after a series of changes?
Regression Testing
Which of the following stages of software development is often performed by someone with little to no programming experience?
A) Beta Testing
B) Requirements Analysis
C) System Testing
D) All of the above
E) None of the above – They all require programming experience
All of the above
In lecture and in a HW description, I referenced the hilarious Stonehenge scene from the film This is Spinal Tap. What is the lesson we learned from this scene?
A bad design will result in a bad implementation
This semester I wanted to brainwash you using three mantras: First Define the Problem, Always Provide Feedback, and:
Design, then Code
In lecture we stressed how amazing it is that code written by a Java API developer 10 years ago is able to invoke methods we write today. What is the primary reason why this is possible?
Polymorphism
What could be the actual type of an argument sent to the Container class’ setLayoutManager method?
FlowLayout
Which design pattern, which we discussed, links a number of different components (buttons, menu items, etc.) to a single event handler by associating each event source with a common textual abstraction?
Command Pattern
What design pattern might have a class with static methods that would each construct a different actual type of object that would be returned as an apparent type of some common family type?
Factory Pattern
What must be true of a class in order to use the Flyweight Pattern to manage its objects?
It cannot be mutable
Which of the following classes would make a good candidate for the Flyweight Pattern?
Color
This semester we learned that Java is a strongly typed object oriented language with automatic memory management system. What other high-level language have we pointed out has all of these properties in common with Java?
C#
Algorithm expert Donald Knuth famously said that premature ______________ is the root of all evil.
Optimization
What types of exceptions are typically thrown as a result of programmer error?
Unchecked Exceptions
What technology, distributed under the Apache license, is fast becoming the industry standard for Version Control Systems?
Subversion
What data can the HProf tool provide to the developer?
which line of code is the source of a runtime error
What term is used to describe the situation when a software project falls behind schedule?
Slippage
What is the technical term used to describe a code block or method that uses a disproportionate amount CPU cycles or memory?
Hot Spot
Whether you were aware of it it or not, everyone used an Optimizer tool this semester. What tool is that?
Java Compiler
What would be the best example of a class that violates the principle of Coherence of Types?
one that stores information about a user, a table, and a frame
What implementation approach did we use in coding HWs 5 & 6?
Top-Down Approach
In lecture we discussed how a certain type of program is so critical that the developers for that program go to great pains to verify that it works properly, including mathematically proving much of the code does as intended. What type of program was this?
Compiler