Docsity

CSC 3380 MIDTERM COMPLETE EXAM, Exams of Operating Systems

Toggle sidebar
bg1
CSC 3380 MIDTERM
risk analysis - Which of the following activities should occur soonest in a software development project?
rework - Which of the following activities was the waterfall model created to avoid?
waterfall - Which of the following process models can't be used effectively in connection with rapid
prototyping?
event system architecture - Which architecture is most appealing for modeling a mouse click action?
executable code, configuration files, documentation, data files - Which of the following might be
included in a system release?
assert() - The C function that can be used to ensure an invariant is ?
chief programmer - team is organized around highly skilled developer, ensures that he is as productive
as possible, and team members play supporting roles such as user interface specialist, customer, liaison,
etc. or possibly a backup chief programmer may be present as well - Imagine you are working for a
scientific computing firm with a small development team. Several of the developers are very familiar
with the domain and development tools, but have poor people skills. Depending on the project, the
development group follows either a spiral or incremental development process. If this group needed to
start a new mission critical project that had some tight deadlines, which of the following team structures
would work?
user case diagrams - Which type of UML diagram best captures user goals?
iterator - Which of the following design patterns is most suitable for printing all the elements in a linked
list?
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download CSC 3380 MIDTERM COMPLETE EXAM and more Exams Operating Systems in PDF only on Docsity!

CSC 3380 MIDTERM

risk analysis - Which of the following activities should occur soonest in a software development project? rework - Which of the following activities was the waterfall model created to avoid? waterfall - Which of the following process models can't be used effectively in connection with rapid prototyping? event system architecture - Which architecture is most appealing for modeling a mouse click action? executable code, configuration files, documentation, data files - Which of the following might be included in a system release? assert() - The C function that can be used to ensure an invariant is? chief programmer - team is organized around highly skilled developer, ensures that he is as productive as possible, and team members play supporting roles such as user interface specialist, customer, liaison, etc. or possibly a backup chief programmer may be present as well - Imagine you are working for a scientific computing firm with a small development team. Several of the developers are very familiar with the domain and development tools, but have poor people skills. Depending on the project, the development group follows either a spiral or incremental development process. If this group needed to start a new mission critical project that had some tight deadlines, which of the following team structures would work? user case diagrams - Which type of UML diagram best captures user goals? iterator - Which of the following design patterns is most suitable for printing all the elements in a linked list?

design patterns - Which of the following is mainly for promoting reusability? large number of page faults - Which of the following is not a logic error? true - Modeling use cases can be a effective tool for eliciting and describing key requirements. agile - In which of following development processes is pair programming commonly practiced? a better understanding of the real world system - Which of the following are appropriate outcomes of systems analysis activities? false - Complete problem domain models should include design details of the software system being developed. democratic - there is a team leader, but all major decisions are made through a democratic process - Consider a small group of developers, all of whom are experts in their respective areas and have been working together for two years. In general, they communicate well with each other and all get along. Which of the following would be most efficient team structure? customer discovery - response of customers who want the product proposal - declaring what you want as a product; revise, accept, reject minimal viable product - code for product user story - providing solution from customer and their inquiry for a result

types of software process models - waterfall, transform, spiral, evolutionary or IID crc cards (class, responsibility, collaboration) - on one side of the card, the user story is written. On the other side of the card, the design of the class corresponding to it in the form of a UML diagram as well as the names of other classes that it depends on or collaborates with advantages of extreme programming - -deals with dynamically changing requirements -provides value to the customer -does risk management through short releases -pair programming and interchanging members between pairs makes sure that the team is not too much affected by personnel leaving -collective ownership of code -no wasted documentation is produced disadvantages of extreme programming - -doesn't work well with large projects -doesn't work well in teams that have too many novices -not enough work is expended in the initial stages, bugs may remain undetected until later in the software life cycle dsd rad - dynamic system development rapid application development high cohesion low cohesion high and low cohesion - put in same module

put in different modules tsp psp - team software process personal software process divide and conquer function oriented programming abstraction - 1st critical principle of csc 1st for controlling complexity 2nd critical principle of csc abstraction - removes all details just to consider basic principles encapsulation - encapsulates data and code that operates on that data in an object (given access to data) ex: public, private, and protected inheritance - code is not taken directly, yet inherited from another's code to yours polymorphism - set of all objects that are ship types moore's law - every 12 months, processor speed doubles ontology extensional

tea costs 5 cents a cup coffee costs 10 cents a cup Traditional models - -code and fix -stagewise and waterfall -evolutionary -transform -reuse (suggestion as one) purpose of process models - -establish the order of the life cycle stages -determine transition criteria in between stages problems with process models - -stages in the wrong order -documents or code driven, rather than risk minimization disadvantages of code and fix - poorly structured user unfriendly unmaintainable disadvantages of waterfall - minimizes prototyping wastes effort on elaborate but incorrect specifications, designs, and code disadvantages of evolutionary - produces spaghetti code makes products unintegratable fosters inappropriate but unchangeable decisions

makes it difficult to migrate to new systems disadvantages of transform - limited tool intensive may not support unanticipated evolution quickly outdated biggest risks of trw - Personnel shortfalls Unrealistic schedules/budgets Developing the wrong product Inappropriate user interfaces Gold plating Fluid requirements Inadequate off-the-shelf or contracted components Incapable subcontractors Poor real-time performance Low computer science abilities spiral models - four quadrants - Goal setting Risk minimization Development Planning first and second quadrants of spiral model - Set objectives

Incremental growth - overlaid series of parallel spirals Prototyping - more revolutions Transform - missing revolution(s) Reuse - thin spirals advantages of spiral model - Encourages prototyping Minimizes unnecessary elaborate specification Focuses on risk Enables rework when needed Incorporates existing models Low risk of making mistakes - waterfall Stable requirements - transform Good customer support, management control, integration, decision making - evolutionary Tool availability - rapid prototyping or transform


Focuses early on component reuse Accommodates maintenance as well as initial development Focuses early on quality assurance Focuses on eliminating blind alleys early Avoids "gold-plated" software Can integrate hardware and software development disadvantages of spiral model - Customers may feel insecure Need good risk-assessment skills Spiral model is immature (no longer true)

Possibly ponderous (not agile)