Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CP317 exam questions, Lecture notes of Computer Science

contains all questions from previous exams

Typology: Lecture notes

2020/2021

Uploaded on 02/02/2023

JashanKaur
JashanKaur 🇨🇦

3 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CP317 Exam Practice Questions
128 Marks Total
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download CP317 exam questions and more Lecture notes Computer Science in PDF only on Docsity!

CP317 Exam Practice Questions

128 Marks Total

List and describe the fundamental concepts of Object Oriented Programming Question 2: [3 Marks] Why would someone choose to use Object Oriented Programming over Procedural (structured) Programming? Question 3: [6 Marks] What type of modelling is represented by a sequence diagram? How is it different from a class diagram and a use case diagram?

Answer the following relating to evaluating design complexity : a. Identify the 2 metrics used when evaluating design complexity and provide brief descriptions b. Explain why for the previous 2 metrics listed, it may be hard to achieve both effectively Question 8: [6 Marks] List and describe the 3 metrics used to evaluate a module's coupling. Question 9: [7 Marks] List and describe the 5 design principles that make up the acronym SOLID.

Briefly describe the “Pipe and filter pattern” along with its advantages and disadvantages. Question 11: [5 Marks] Briefly describe the “Model-View-Controller pattern” along with its advantages and disadvantages. Question 12: [5 Marks] Briefly describe the “Layered Architectural pattern” along with its advantages and disadvantages. Question 13: [5 Marks] Briefly describe the “Repository pattern” along with its advantages and disadvantages.

What is meant by Configuration Management? Describe the activities it consists of. Similar question from sample Exam: What do you understand by the term configuration management? Why is configuration management necessary for successful software development? [5 Marks] Question 19: [4 Marks] What is meant by Host Target Development? Question 20: [3 Marks] What are the goals of Program Testing? Question 21: [5 Marks] Analyze and compare Software Inspection to Software Testing

Answer the following questions in regards to testing a. What is meant by black-box and white-box testing? b. Discuss the stages of testing. How do they relate to part a? Question 23: [6 Marks] What is equivalence partitioning in software testing? How does equivalence partitioning along with boundary testing help in reducing the number of test cases? Question 24: [5 Marks] What are mock objects and stub routines? How are they useful in software testing?