0% found this document useful (0 votes)
218 views

đề application

The document discusses technical reviews in software development. It provides questions and answers about different types of technical reviews including walkthroughs, inspections, pair programming and code reading. It also describes the inspection process and its typical steps such as planning, preparation, meeting, rework and follow up. Key results of reviews include checklists, inspection reports and identifying code defects.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views

đề application

The document discusses technical reviews in software development. It provides questions and answers about different types of technical reviews including walkthroughs, inspections, pair programming and code reading. It also describes the inspection process and its typical steps such as planning, preparation, meeting, rework and follow up. Key results of reviews include checklists, inspection reports and identifying code defects.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 40

lOMoARcPSD|34729241

On tap mon thay sanh - De Cuong

Fundamentals of Computing 2 (Trường Đại Học Duy Tân)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Quang Hi?u Tr?n ([email protected])
lOMoARcPSD|34729241

ÔN TẬP KẾẾT THÚC HỌC PHẦẦN – APPLICATION DEVELOPMENT PRACTICES


1. Which statement is true about teamwork?
A. The team will need to build trust
B. The team wil need to build in the rule of cantract
C. Everyone on the team must have a high degree
D. The leader must have the highest degree and salary
2. Why do we need to build the teamwork?
A. The software project are too large and those a diverse set of skills and roles
B. Experienced programmer who will teach those less experienced
C. To do inspection
D. To preven defects
3. In tips for receiving feedback , when you listen carefully and try to understand the meaning of the
feedback , what is this kind of techni called?
A. Open
B. Active listening
C. Thoughful
D. Responsive
4. Role of a team leader in helping all members working together?
A. Manage the technique of the project
B. Suppress ego of each member
C. Help all members write codes
D. Manage the quality of the project
5. What is the chareacteristic of high -performance team in company mission ?
A. A clear , elevating goal
B. Competent team members
C. Unified commitment
D. A results driven structure
6. What is the characteristic of high performance teams when your company gets CMM standard?
A. Unifield commitment
B. Collaborative climate
C. Standards of excellence
D. External support and recognition
7. What are team members competence?
A. Technical
B. Personal
C. Salary
D. A and B are correct
8. Positive receiving feedback , listen without frequent interruption or objections is …..
A. Open
B. Active listening
C. Thoughful
D. Responsive

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

9. What is the difference between team and group?


A. Product
B. Salary
C. Result
D. Strength
10. What is the characteristic of high-performance teams when you share knowledge with all team members?
A. Unified commitment
B. Collaborative climate
C. Standards of excellence

D. External support and recognition


1.2 Using Processes
11. How do we define a Process?
A. Input-Process-Output
B. Process-Input-Output
C. Output-Input-Process
D. Process-Output-Input
12. What are the ways to create a process?
A. ETVX
B. ETVX , Swimlane
C. ETVX , Swimlane , Waterfall
D. ETVX , Swimlane , Black box
13. In the software project , how many process should be used?
A. As less as possible
B. As much as possible
C. Only one
D. Depend on what process we know
14. The best period of time for one Sprint Backlogs in Scrum process is?
A. 2->4 weeks
B. 3->5 weeks
C. One week
D. One month
15. The process you can see insight is …..?
A White Box
B Black Box
C A and B are correct
D A and B are not correct
16. “Process is often described as a leg of the ….”
A. Process-knowledge-technology triad
B. Process-People -money triad
C. Process-people-technology triad
D. Process-money-technology triad
17. What is the correct stage order of a process?
A. Task,Entry,Validation,Exit
B. Entry, Validation,Task,Exit
C. Exit,Validation,Task,Entry
D. Entry, Task,Validation,Exit

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

18. It is better to use process in a (an)……


A. Individual
B. Small team
C. Large team
D. Other solution
19. What are the fundamentals of software Quality Process?
A. The requirement , Analysis,code
B. User documentation , User supports
C. Review , Testing
D. All bove
20. What are the fundamentals of software development process?
A. The requirment , Analysis , Code
B. User documentation , User Supports
C. Review , Testing

D. All bove
1.3 Technical Review
21. What are the types of technical review?
A Walkthroughs , Code Reading , Pair Programming , Inspections
B Code Reading , Pair Programming , Inspections
C Walkthroughs , Code Reading , Pair Programming , Inspections , Customer Review
D Code Reading , Pair Programming
22. What is the name of inspection process ?
A. Software Inspection
B. Code Inspection
C. Fagan inspection
D. All above

E. What is the result of the


review?
F. A. Checklist
G. B. Inspection Report.
H.C. Code Defect
I. D. All above

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

J. What is the result of the


review?
K. A. Checklist
L. B. Inspection Report.
M. C. Code Defect
N.D. All above
O.What is the result of the
review?
P. A. Checklist
Q. B. Inspection Report.
R. C. Code Defect
S. D. All above
T. What is the result of the
review?
U.A. Checklist
V. B. Inspection Report.
W. C. Code Defect

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

X.D. All above


Y. What is the result of the
review?
Z.A. Checklist
AA. B. Inspection Report.
BB. C. Code Defect
CC. D. All above
DD. What is the result of the
review?
EE. A. Checklist
FF. B. Inspection Report.
GG. C. Code Defect
HH. D. All above
II. What is the result of the
review?
JJ. A. Checklist
KK. B. Inspection Report.

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

LL. C. Code Defect


MM. D. All above
23. What is the result of the review?
A. Checklist
B. Inspection Report.
C. Code Defect
D. All abovel
24. What is Pair Programming?
A. A teamwork using Cisco tool to review code
B. Two coders read and inspection code of each other
C. A meeting of project's stakeholder
D. All above
25. What are the steps of Inspection Process?
A. Planning, Overview, Meeting, Rework, Follow-up
B. Planning, Meeting, Rework, Follow-up
C. Planning, Preparation, Meeting, Rework

D. Planning, Overview, Preparation, Meeting, Rework, Follow-up

What are the types of


technical review?
A. Walkthroughs, Code
Reading, Pair Programming,
Inspections
B. Code Reading, Pair
Programming, Inspections

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

C. Walkthroughs, Code
Reading, Pair Programming,
Inspections,
Customer Review
D. Code Reading, Pair
Programming
A
CLO.1
B
1
[1.4]
2
What is the name of
inspection process?
A. Software inspection
B. Code inspection
C. Fagan inspection

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

D. All above
D
CLO.1
B
3
[1.4]
3
What is the result of the
review?
A. Checklist
B. Inspection Report.
C. Code Defect
D. All above
D
CLO.1
B
2

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

[1.4]
4
What is Pair Programming?
A. A teamwork using Cisco tool
to review code
B. Two coders read and
inspection code of each other
C. A meeting of project's
stakeholder
D. All above
B
CLO.1
B
5
[1.4]
5

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

What are the steps of


Inspection Process?
A. Planning, Overview,
Meeting, Rework, Follow-up
B. Planning, Meeting, Rework,
Follow-up
C. Planning, Preparation,
Meeting, Rework
D. Planning, Overview,
Preparation, Meeting, Rework,
Follow-up
What are the types of
technical review?
A. Walkthroughs, Code
Reading, Pair Programming,
Inspections

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

B. Code Reading, Pair


Programming, Inspections
C. Walkthroughs, Code
Reading, Pair Programming,
Inspections,
Customer Review
D. Code Reading, Pair
Programming
A
CLO.1
B
1
[1.4]
2
What is the name of
inspection process?
A. Software inspection

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

B. Code inspection
C. Fagan inspection
D. All above
D
CLO.1
B
3
[1.4]
3
What is the result of the
review?
A. Checklist
B. Inspection Report.
C. Code Defect
D. All above
D
CLO.1

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

B
2
[1.4]
4
What is Pair Programming?
A. A teamwork using Cisco tool
to review code
B. Two coders read and
inspection code of each other
C. A meeting of project's
stakeholder
D. All above
B
CLO.1
B
5
[1.4]

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

5
What are the steps of
Inspection Process?
A. Planning, Overview,
Meeting, Rework, Follow-up
B. Planning, Meeting, Rework,
Follow-up
C. Planning, Preparation,
Meeting, Rework
D. Planning, Overview,
Preparation, Meeting, Rework,
Follow-up
26. Who are involved in the inspection meeting?
A. Author, Inspector
B. Moderator, Recorder
C. Reader / Timekeeper
D. All above
27. What are the benefits of the inspection?
A. Found and remove defects early
B. Training for anyone on the team
C. The inspected codes are good enough for release
D. A and B are correct
28. Which statement is TRUE when you are exanimating technical review?
A. Technical Reviews help remove defects and prevent future defects
B. Projects with the technical review are higher quality than without another
C. Traditional projects do not need review
D. Agile projects do not need review

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

29. According to Capers Jones in “Software Defect Removal Efficiency, Design and Code Inspections” usually
remove ... of product defects
A. 40%
B. 50 - 60%
C. 60 - 70%
D. 70 - 85%
30. According to Votta in "Does every inspection need a meeting" - 8/1993, Inspection meetings contribute
only an additional ... to the number of defects were already found by private code-readings
A. 4%
B. 10%
C. 20%
D. 50%
31. According to Conradi in Architecture Reviews, when they using 25% times for reading and 75% times for a
meeting, so ...of the defects were found during reading
A. Less than 80%
B. More than 80%
C. Less than 40%
D. More than 40%
32. All studies of Inspection have common results, the meeting will find very few errors compared to the
reading code. Why are many companies still inspecting the code by meeting?
A. They use inspection for training
B. Inspection can find the defect that the individual couldn’t found
C. Meetings create a schedule that people must work towards
D. All above
33. What are three types of Object Oriented 's review?
A. checklist review, systematic review, use-case review
B. checklist review, Diagram review, use-case review
C. checklist review, Diagram review, Code review
D. checklist review, systematic review, use review
34. What is the most successful type of Object Oriented's review?
A. Checklist review
B. Systematic review
C. Use-case review
D. No solution is true

35. What is the maximum time to peer code review?


A. 30 minutes
B. 60 minutes
C. 90 minutes
D. 120 minutes
36. What are the roles in the inspection process?
A. Author, Reviewer, Moderator
B. Author, Reviewer, Observer
C. Author, Inspector, Moderator, TimeKeeper/Reader, Recorder
D. B and C are correct

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

37. In the Cisco Collaborate tool, what are the roles in a review?
A. Author, Reviewer, Moderator

B. Author, Reviewer, Observer


C. Author, Inspector, TimeKeeper/Reader, Recorder
D. All above
38. When you create a review by using Cisco Collaborate, what roles must be included?
A. Author, Moderator
B. Reviewer, Moderator
C. Moderator, Observer
D. Author, Reviewer
39. When you use inspection process, what roles must be included?
A. Author, Moderator, Inspector
B. Reviewer, Moderator, Inspector
C. Moderator, Observer, Inspector
D. Author, Reviewer, Inspector
40. Cisco Collaborate tool is used to:
A. Review code
B. Share code
C. Cross training
D. All above
41. Cisco tool is run on:
A. Desktop Application environment
B. Client/Server environment
C. Web Application environment
D. All above
42. What is SCM?
A. Software Configuration Management
B. System Configuration Management
C. Software Change Management
D. System Change Management
43. Which is stage efficiency for finding code defects?
A. Meeting
B. Discussing with the author
C. Reading
D. A, B, C are not correct

44. What is the responsibility of Inspector?


A. Control the time of the meeting
B. Read the document and prepare to review at the meeting
C. Do nothing before meeting
D. A and B are correct
45. Which review that the participants do not need to prepare or read the material?
A. Inspection
B. Pair programming
C. Code Reading
D. Walkthrough

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

46. Which phase of inspection is used to choose inspectors?


A. Planning
B. Overview
C. Preparation
D. Meeting
47. What is code defect in Technical Review?
A. The program cannot run
B. The code must be rewriting
C. Algorithms fail
D. The codes are hard to understand
48. All studies of Inspection have common results, the meeting will find very few errors compared to the
reading code. Why are many companies still inspecting the code by meeting?
A. They use inspection for training
B. Inspection can find the defect that the individual couldn't found
C. Meetings create a schedule that people must work towards
D. All above
49. What is the most formal technical review?
A. Walkthroughs
B. Code Reading
C. Pair Programming
D. Inspections
50. What is the most informal technical review?
A. Walkthroughs
B. Code Reading
C. Pair Programming
D. Inspections
1.4. Configuration Management
51. SCM is an abbreviation of?
A. Software Configuration Management
B. System Configuration Management
C. Software Change Management
D. System Change Management
52. SCM is used to ….
A. Build Project C. Share document and code
B. Manage the revision of the project D. Review code

53. What are the steps to work with SCM?


A. Checks out, Work in received data, Checks in updated
B. Work on received data, Checks in updated, Checks out
C. Checks in updated, Checks out, Work in received data
D. Checks out, Checks in updated, Work in received data
54. If Software Engineer2 checks in a file when Software Engineer1 has checked in it. What will SCM system
do?
A. SCM system will automatically merge the files when they are checked in
B. SCM system will create a new revision of that checked out file
C. SCM system will overwrite the file of Engineer2 to Engineer1's

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

D. The SCM system does not allow Engineer2's check-out


55. The version of the software is 1.01.0012. The number 0012 means….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number
D. the revision
56. The version of the software is 1.01.0012. The number 1 means….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number
D. the revision
57. The version of the software is 1.02.0012. The number 02 means….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number
D. the revision
58. What is the right definition about Eclipse?
A. Eclipse is an SCM, it used to manage the revision of the code
B. Eclipse is an interactive development environment (IDE) used to edit, debug source code, initiate build,
test processes and display the results
C. An eclipse is a review tool, it used to review the code of large teamwork
D. Eclipse is a program that automatically builds your Java project from source files in your SVN repository
and creates the project distribution packages
59. For Eclipse to work with SVN, which tool must you add to Eclipse?
A. subversive
B. Ant
C. Maker
D. SVN client
60. By default, the password of admin user of Cisco Collaborate tool is
A. 123456
B. 1234
C. admin
D. other solution
61. What is the name of the SVN software installed in client?
A. SVN Client C. Tortoise SVN
B. User SVN D. ANT
62. What is the right definition of Ant?
A. ANT is an SCM, it used to manage the revision of the code
B. ANT is an interactive development environment (IDE) used to edit, debug source code, initiate build,
test processes and display the results
C. ANT a review tool, it used to review the code of large teamwork
D. ANT is a program that automatically builds your Java project from source files in your SVN repository
and creates the project distribution packages
63. In order to use Eclipse, you must ….
A. install the current version of Java Development Kit on your computer
B. install the current version of Tomcat on your computer

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

C. install the current version of SVN on your computer


D. install the current version of ANT on your computer
64. SVN is an abbreviation of…..
A. System version naming
B. Subversion
C. Software version naming
D. None of the above
65. In software project development, who usually does the unit test?
A. Tester
B. Developer (coder)
C. Customer
D. Designer
66. Which library supports unit test in Eclipse?
A. junit.framework.TestCase
B. org.junit.Test
C. java.junit
D. A and B are correct
67. Developers transfer codes and test-case to….
A. Tester
B. Developer (coder)
C. Customer
D. Designer
68. JUnit is used to …..
A. Review code
B. Find defect
C. Refactoring
D. Manage the revision of the project
69. What are defects in coding phase?
A. programming errors
B. poorness design
C. poorness coding practices
D. poorness understanding of requirements
70. What does the AssertTrue() method do?
A. Compare actual and expected value
B. Check the parameter is true or false
C. Let the method fail D. All above
71. What does the AssertEquals() method do?
A. Compare actual and expected value
B. Check the parameter is true or false
C. Let the method fail
D. All above
72. CruiseControl was written in?
A. SVN, ANT
B. SVN, Eclipse
C. Eclipse, ANT
D. ANT, Junit

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

73. Why do we choose CruiseControl in our SCM system?


A. Because QA can create a schedule for building and testing
B. Because it can send email notifications of building status
C. Because it can store codes
D. All above
74. When the Unit test results display 1 error. That means…
A. The first test case is failures
B. The first test case is pass
C. Exist at least 1 code exception in codes
D. A and C are correct
75. When the Unit test results display 1 failure. That means…
A. The actual and expected value are not the same
B. The first test case is a failure
C. The testing code has 1 error
D. B or C is correct
76. When you create a test with JUnit by eclipse. The default unit test class name is …
A. Class name + “Test”
B. Class name + “UnitTest”
C. Blank
D. Class name
77. Which error is found by the unit testing?
A. Execute
B. Code standard
C. Syntax
D. all of the above
78. ANT is used to ….
A. Build Project
B. Manage the revision of the project
C. Share document and code
D. Review code
79. CruiseControl can...
A. Automatically build
B. Automatically test
C. Manage Email notification, Log
D. All above

80. For building java project using ANT, you must write config file in …
A. Java language
B. HTML language
C. XML language
D. A and C are correct
1.5. Analyzing and Fixing Defects
1. If your code has unrecognized defects, what will you do?
A. Change the test-case and do Unit-Test again
B. Write another code to replace it
C. Let the tester find

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

D. Do nothing
2. What is the best way to find defects from a function with numerous lines of code?
A. Change the test-case and do Unit-Test again
B. Isolate the suspicious regions of code
C. Check code that has changed recently
D. Be suspicious of classes and methods that have had defects before
3. If your code has errors but you can't find the defect for many hours. What is the best way you should do?
A. Check for common defects
B. Check code that has changed recently
C. Isolate the suspicious regions of code
D. Take a break
4. In coding phase. It is a defect if…
A. The algorithm is wrong.
B. The code is right but unintelligible due to poor documentation.
C. The code is right but there’s a better way to do it
D. All above.
5. What is the characteristic of software quality that you can achieve if you try to find and fix defects?
A. Accessibility
B. Safety
C. Performance
D. Correctness
6. When you run your code step by step to find defects. This technic is…
A. Reviewing
B. Testing
C. Debugging
D. Refactoring
7. What is the reason of code defects?
A. Poor understanding of requirements
B. Poor design
C. Poor coding practices
D. All above.
8. If a defect must be fixed quickly. What will you do?
A. Let junior programmers fix defects
B. Consider assigning 2 or 3 developers to it
C. Change code randomly and hope it fixes things
D. All above
9. A hardware device used to debug the software of an embedded system is...
A. Internal trace log
B. Design review
C. An in-circuit emulator (ICE)
D. Interactive Debugger
10. From studies, how many percents of defects are found in 5% of classes?
A. 30
B. 40
C. 50
D. 60

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

1.6. Testing and Quality


11. When you test the number of users access the website at the same time, that is…
A. Accepting Test
B. Unit Test
C. Integration Test
D. Stress Test
12. The goal of testing is…
A. To find all defects
B. To admit the software is good enough to release
C. To remove defects
D. To find as many defects as they can
13. When will you evolve and expand your test suite over time?
A. Whenever a defect is found
B. When adding new features
C. When you look at someone else's code and see a testing hole
D. All above
14. What is Integration Testing?
A. is a method by which individual units of source code are tested to determine if they are fit for use
B. is the phase in software testing in which individual software modules are combined and tested as a
group
C. is testing conducted on a complete, integrated system to evaluate the system's compliance with its
specified requirements
D. is a test conducted to determine if the requirements of a specification or contract are met
15. If you want to know the Module1 work together with the Module2 are correct or not. What case of the
test will you do?
A. Unit Test
B. System Test
C. Integration Test
D. Acceptance Test
16. When you test the number of users access the website at the same time, that is…
A. Accepting Test
B. Unit Test
C. Integration Test
D. Stress Test

17. What is the normal order of activities software testing?


1. Integration testing
2. Unit testing
3. System testing
4. Acceptance testing
A. 1, 2, 3, 4
B. 4, 3, 2, 1
C. 2, 1, 3, 4
D. 4, 1, 3, 2
18. Which type of project bellow needs more and more testing

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

A. Medical systems
B. Airplane guidance systems
C. Weapons systems
D. All above
19. In Agile processes, what phase can customers participate?
A. Unit Test
B. Integration Test
C. Acceptance Test
D. System Test
20. Which library supports unit test in Eclipse?
A. junit.framework.TestCase
B. java.junit.Test
C. java.junit
D. All above
1.7. Refactoring
21. Which statement is WRONG when you are talking about refactoring?
A. Refactoring does NOT fix defects
B. Refactoring does NOT add new functionality
C. Refactoring does NOT make the codes better
D. Refactoring is the technology to improve the code
22. What is a code smell?
A. Code smell is any symptom in the source code of a program that possibly indicates a deeper problem
B. Code smell is a finding defect technical, that used to find where codes need to refactor
C. Code smell is a refactoring tool
D. All above
23. Long method (code smell) is…
A. an application has more than 200 class, interfaces or forms
B. a class having too much method
C. a method indicates too many parameters
D. a method, function, or procedure that has grown too large
24. Duplicated code (code smell) is…
A. Duplicated code problem is identical or very similar code exists in more than one location
B. Duplicated code problem is when you have the same expression in two methods of the same class
C. Duplication problem is when you have the same expression in two sibling subclasses
D. All above

25. When must you refactor your codes?


A. The codes are so bad
B. The codes have some defects
C. The codes have not defected but you want to improve its
D. All Above
26. How to refactor this code? double circlesquare= radius*radius*3.14;
A. The circlesquare variable must be rename to circleSquare
B. The radius variable must be renamed to Radius
C. 3.14 much be naming such as const double PI= 3.14
D. A and C are correct

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

27. What are the goals of Refactoring technology?


A. Improve the understandability of the code
B. Improve the structure of the code
C. Remove unnecessary code
D. All Above
28. What is the reason for NOT to refactor codes?
A. Have no comment
B. The code right but not follow to standard
C. The code too bad
D. All Above
29. When you want to move some lines of codes to a new procedure. What will you do in Eclipse?
A. Copy, Paste and Modify the code
B. Use the Extract method in Refactoring
C. Use the Pull Up in Refactoring
D. Use the Push Down in Refactoring
1.8. Analyzing & Estimating Requirements
30. For moving a method from subclass to supper class in eclipse. What refactoring technic will you do?
A. Copy, Paste and Modify the code
B. Use the Extract method in Refactoring
C. Use the Pull Up in Refactoring
D. Use the Push Down in Refactoring
31. Traditional methodology work on prioritized change requests from
A. change requests
B. Customer said
C. Leader said
D. Change Control Board
32. If you get a new change from the customer. What document must you fill?
A. Change Requests
B. Software Requirement Specification
C. Change Control Board
D. All above
33. When a project needs to change from the customer. What do you want to talk about?
A. Schedule
B. Money
C. Risk
D. Ranges
34. Which statement is right when you talk about the rapport with the customer?
A. Phone to the customer when you have free time
B. Email for them every day
C. Different types depending on needs and preferences
D. All above
35. What do you want customers to know?
A. Software life cycle
B. Software life cycle and what they can support
C. The project's profits
D. All above

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

36. In software change management CCB is the observation for…


A. Changing Control Board
B. Configuration Changing Board
C. Configuration Control Board
D. All above
37. Which statement is right for requirement change?
A. Traditional methodologies are more flexible than Agile's
B. Agile methodologies are more flexible than traditional's
C. Agile methodologies are the same flexibility as traditional's
D. A, B, and C are not correct
38. With unclearly requirement software, what used methodology is right?
A. Traditional
B. Agile
C. Depend on what process we know
D. None of the above
39. What methodology in which requirement change is embraced?
A. Traditional
B. Agile
C. A and B are correct
D. None of the above
40. Which statement is WRONG for the roles of customers in change management?
A. Customers will not (or can’t) participate in reviews
B. Customers don’t understand the software development process
C. Customers won’t let people do their jobs
D. Customers always commit to a set of written requirements
1.9. Customer Satisfaction
41. According to Kano, what is an Exciter?
A. Features that we can describe as "the more of the better"
B. The final category is for features that are mandatory
C. Feature that a user doesn’t know he wants until he sees it
D. All Above
42. Kano’s Survey questions based on…
A. The functional form of questions
B. A dysfunctional form of questions
C. Nonfunctional form of questions
D. Both A and B are correct
43. According to Kano, who are your customers?
A. User Community
B. Your Executive Management
C. The Project Team
D. All Above
44. The Kano model is used for…
A. Increasing the quality of codes
B. Finding defects as much as possible
C. Assessing customer satisfaction
D. Testing the security of the application

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

45. In Kano technique, "the more of the better" is defined by?


A. Exciters
B. Linear
C. Baseline
D. A and C are correct

All studies of Inspection have


common results, the meeting
will find

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

very few errors compared to


the reading code. Why are
many
companies still inspecting the
code by meeting?
A. They use inspection for
training
B. Inspection can find the
defect that the individual
couldn’t found
C. Meetings create a schedule
that people must work
towards
D. All above
2. Tự Luận
2.1. Testing and Quality
Question Solution Example
1. Write a unit test for that code 1. Test Return value import static org.junit.Assert.assertEquals;
public class Calculator { 2. Test larger max import org.junit.Test;
public int add(int number1, int int type public class CalculatorTest {
number2) 3. Test smaller than Calculator cal = new Calculator();

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

{ min int type @Test


return number1 + number2; public void testAdd1() {
} assertEquals(3, cal.add(2, 1));
} } @Test
public void testAdd2()
{
assertTrue(cal.add(2000000000, 2000000000) >
2000000000);
} @Test
public void testAdd3() {
assertTrue(cal.add(-2000000000, 2000000000) <
-2000000000);
}
}
2. Write a unit test for that code public class CalculatorTest {
public class Calculator { Calculator cal = new Calculator();
public int sub(int number1, int @Test
number2) public void testSub1() {
{ assertEquals(1, cal.sub(2, 1));
return number1 - number2; }
} @Test
} public void testSub2()
{ assertTrue(cal.sub(2000000000, 2000000000) >
2000000000);
}
@Test
public void testSub3() {
assertTrue(cal.sub(-2000000000, 2000000000) <
-2000000000);
}
}
Write a unit test for that code 1. Test Return value import static org.junit.Assert.assertEquals;
public class Calculator { 2. Test larger max import org.junit.Test;
public int mul(int number1, int int type public class CalculatorTest {
number2) 3. Test smaller than Calculator cal = new Calculator();
{ min int type @Test
return number1 * number2; public void testMul1() {
} assertEquals(2, cal.mul(2, 1));
} }
@Test
public void testMul2()
{ assertTrue(cal.mul(2000000000, 2) > 2000000000);
}
@Test
public void testMul3() {
assertTrue(cal.mul(-2000000000, 2) < -2000000000);
}
}
4. Write a unit test for that code 1. Test Return value import static org.junit.Assert.assertEquals;
public class Calculator { 2. division 0 import org.junit.Test;

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

public int div(int number1, int public class CalculatorTest {


number2) Calculator cal = new Calculator();
{ @Test
return number1 / number2; public void testDiv1() {
} assertEquals(2, cal.div(2, 1));
} }
@Test
public void testDiv2() {
cal.div(2, 0); fails();
}
}
5. Write a unit test for that code 1. Test Many roots public class SolveEquationTest {
public class SolveEquation 2. Test No root SolveEquation equ = new SolveEquation();
{ public String linearEquation(int 3. Test One root @Test
number1, int number2) public void testLinearEquation1()
{ { assertEquals("Multi roots", equ.linearEquation(0,
if(number1==0) 0)); }
if(number2 == 0) @Test
return "Multi roots"; public void testLinearEquation2() {
else return "No root"; assertEquals("No root", equ.linearEquation(0, 1));
else return "One root"; }
} @Test
} public void testLinearEquation3() {
assertEquals("One root", equ.linearEquation(1, 1));
}
}
6. Write a unit test for that code Test first number is import static org.junit.Assert.assertEquals;
public class MaxNumber { max import org.junit.Test;
public int max3(int number1, int Test second public class MaxNumberTest {
number2, int number3) { number is max MaxNumber m = new MaxNumber();
if (number1 > number2) Test third number @Test
if (number1 > number3) is max public void testMax31() {
return number1; assertEquals(8, m.max3(8, 0 ,4));
else return number3; }
else if (number2 > number3) @Test
return number2; public void testMax32() {
else return number3; assertEquals(7, m.max3(4, 7 ,4));
} }
} @Test
public void testMax33() {
assertEquals(9, m.max3(3, 0 ,9));
}
}
7. Write a unit test for that code Test first number is public class MaxNumberTest {
public class MaxNumber { max MaxNumber m = new MaxNumber();
public int max2(int number1, int Test second @Test
number2) { number is max public void testMax21() {
if (number1 > number2) assertEquals(8, m.max3(8, 0));
return number1; }
else return number2; @Test

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

} public void testMax22() {


} assertEquals(7, m.max3(4, 7));
}
}
8. Write a unit test for that codes Test number1 is import static org.junit.Assert.assertEquals;
public class Sort { greater than import org.junit.Test;
int number1; number 2 public class SortTest {
int number2; Test number1 is @Test
public void sortAsc() less than number 2 public void testSortAsc1() {
{ if(number1> number2) Sort s = new Sort();
{ s.number1= 5;
int temp = number1; s.number2= 3;
number1 = number2; s.sortAsc();
number2 = temp; assertEquals(3, s.number1);
} assertEquals(5, s.number2);
} }
} @Test
public void testSortAsc2() {
Sort s = new Sort();
s.number1= 3;
s.number2= 5;
s.sortAsc();
assertEquals(3, s.number1);
assertEquals(5, s.number2);
}
}
9. Write a unit test for that codes Test number1 is import static org.junit.Assert.assertEquals;
public class Sort { greater than import org.junit.Test;
int number1; number 2 public class SortTest {
int number2; Test number1 is @Test
public void sortDesc() less than number 2 public void testSortDesc1() {
{ if(number1< number2) Sort s = new Sort();
{ s.number1= 5;
int temp = number1; s.number2= 3;
number1 = number2; s.sortDesc();
number2 = temp; assertEquals(5, s.number1);
} assertEquals(3, s.number2);
} }
} @Test
public void testSortDesc2() {
Sort s = new Sort();
s.number1= 3;
s.number2= 5;
s.sortDesc();
assertEquals(5, s.number1);
assertEquals(3, s.number2);
}
}
10. Write a unit test for that Test first number is import static org.junit.Assert.assertEquals;
codes public class Triangle { max import org.junit.Test;

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

int number1; Test second public class TriangleTest {


int number2; number is max Triangle m = new Triangle();
int number3; Test third number @Test
public int maxLength() is max public void testMmaxLength1() {
{ if(number1 >= number2) assertEquals(8, m.max3(8, 0 ,4));
if(number1 > number3) }
return number1; @Test
else return number3; public void testMmaxLength2() {
if(number2 > number3) assertEquals(7, m.max3(4, 7 ,4));
return number2; }
else return number3; @Test
} public void testMmaxLength3() {
} assertEquals(9, m.max3(3, 0 ,9));
}
}
2.2. Refactoring
Question Solution Example
1. Refactoring that codes public 1. Naming: r, Area, //Create date: 3/5/18
class circle { Perimeter //Create by: SanhTK
double r; 2. set a constant public class R_Circle {
public double Area() { return r * r * variable for 3.14 private final double PI = 3.14;
3.14; value double radius;
} 3. Comment for public double area() {
public double Primeter() { return 2 * class return radius * radius * PI;
3.14 * r; }
} public double primeter() {
} return 2 * PI * radius;
}
}
2. Refactoring that codes public 1. Naming: print //Create date: 3/5/18
class print { public void printStart() { 2. duplicte code //Create by: SanhTK
System.out.println("************* printStart and public class Print {
****"); printEnd 3. public void printAll(String content)
System.out.println("******START** Comment for class { System.out.println("*********** ******");
****"); System.out.println("******"+content+"******");
System.out.println("************* System.out.println("*********** ******");
****"); } public void printEnd() }
{ System.out.println("************ }
* ****");
System.out.println("*******END**
*****");
System.out.println("*************
****");
}
3. refactor paintResult becomes the 1. Naming: paint public class Paint {
method with 2 parameters public 2. many parameters //print the result in location(x,y) and the
class paint { 3. Comment for color(red blue,green)
//print the result in location(x,y) class public void paintResult(Location point , Color

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

with the color(red blue,green) color){


public void paintResult(int x, int y , //do not need to rewrite this code
byte red, byte blue, byte green){ }
//do not need to rewrite this code } class Location{
} int x;
} int y;
} class Color{
byte red;
byte blue;
byte green;
}

4. Refactoring that codes public 1. Naming: //Create date: 3/5/18


class maxNumber { maxNumber //Create by: SanhTK
public int max2(int a, int b) { 2. duplicate code public class MaxNumber {
if (a >= b) max2 and max3 public int max2(int number1, int number2) {
return a; 3. Comment for if (number1 >= number2)
else return b; class return number1;
} public int max3(int a, int b, int c) else return number2;
{ if (a >= b) } public int max3(int number1, int number2, int
if (a >= c) number3) {
return a; return max2(max2(number1,
else return c; number2),number3); }
else if (b >= c) }
return b;
else return c;
}
}
5. Remove duplicate codes 1. comment //Create date: 3/5/18
class Employee { 2. move method to //Create by: SanhTK
public string Name { parent class Employee {
get; public string Name {
set; get;
} public string ID { get; set; } set;
} class Coder extends Employee } public string ID {
{ public void DoWork() get;
{ ... } set;
} class Manager extends Employee { } public void DoWork() { ... }
public void DoWork() { ... } } class Coder extends Employee { }
} class Manager extends Employee { }
6. Refactoring that codes 1. Naming: q, b, c 2. //Create date: 3/5/18
public class Sort { duplicate code 3. //Create by: SanhTK
int a; Comment for class public class Sort {
int b; int number1;
int c; int number2;
public void ascSort(){ int number3;
if(a>b) { public void ascSort(){
int temp =a; compare2Number(number1, number1
a = b; =number2); compare2Number(number1,
b = temp; number1=number3); compare2Number(number2,

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

} if(a>c) { number2=number3); } private void


int temp =a; compare2Number(int n1, int n2) { if(n1>n2) {
a = c; int temp =n1;
c = temp; n1 = n2;
} if(b>c) { n2 = temp;
int temp =b; }
b = c; }
c = temp; }
}
}
}
1. Naming: a, b, c 2. //Create date: 3/5/18
; duplicate code 3.
Comment for class
//Create by: SanhTK
public class Sort {

c=
int number1;
int number2;
int number3;

temp; public void descSort()


{ compare2Number(number1,
numbber1=number2);

} compare2Number(number1, number1=number3);
compare2Number(number2, number2=number3);
} private void compare2Number(int n1, int n2)

if(b<c) { if(n1<n2) {
int temp =n1;
n1 = n2;

{ n2 = temp;
}
}
int }

temp =b;
b = c;
c=
temp;
}
}

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

}
;
c=
temp;
}
if(b<c)
{
int
temp =b;
b = c;
c=
temp;
}
}
}
;
c=

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

temp;
}
if(b<c)
{
int
temp =b;
b = c;
c=
temp;
}
}
}
7. Refactoring that codes
public class Sort {
int a;
int b;
int c;
public void descSort(){
if(a<b) {
int temp =a;
a = b;
b = temp;
} if(a<c) {
int temp =a;
a = c;
c = temp;
} if(b<c) {

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

int temp =b;


b = c;
c = temp;
}
}
}
8. Refactoring that codes 1. Naming: Bonus, //Create date: 3/5/18
public class Employee { Name //Create by: SanhTK
String Name; 2. set constant public class Employee {
double Bonus; variable for private static final int basicRate = 1400000;
double payRate; 1400000 value String name;
public double basicSalary(){ 3. Comment for double bonus;
return payRate*1400000; class double payRate;
} public double salary(){ public double basicSalary(){
return Bonus + basicSalary(); return payRate*basicRate;
} } public double salary(){
} return bonus + basicSalary();
}
}
9. Refactoring that codes public 1. Naming: //Create date: 3/5/18
class Equation { LinearEquation, //Create by: SanhTK
public String LinearEquation(int a, QuadraticEquation public class Equation {
int b){ 2. duplicate code public String linearEquation(int a, int b){
if(a==0) 3. Comment for if(a==0)
if(b==0) class if(b==0)
return "any number"; return "any number";
else return "no number"; else return "no number";
else return "one number"; else return "one number";
}public String QuadraticEquation(int } public String quadraticEquation(int a, int b, int c){
a, int b, int c){ if(a==0){
if(a==0){ linearEquation(b, c);
if(b==0) } else {
if(c==0) int delta = b*b - 4*a*c;
return "any number"; if(delta < 0)
else return "no number"; return "no number";
else return "one number"; else if(delta == 0)
}else{ int delta = b*b - 4*a*c; return "one number";
if(delta < 0) else return "two numbers";
return "no number"; }
else if(delta == 0) }
return "one number";
else return "two numbers";
}
}
10. Refactoring that codes public 1. Method has many class StudentInfo{
class Student { parameters int id;
public void display(int id, String 2. Comment for String name;
name, int classID, String birthday, class int classID;
String address, String phone) String birthday;

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

{ String address;
System.out.println(id + ", " + name + String phone;
", "+ classID + ", " + birthday + ", "+ } //Create date: 3/5/18
address + ", " + phone); //Create by: SanhTK
} public class Student {
} public void display(StudentInfo s)
{ System.out.println(s.id + ", " + s.name + ", " +
s.classID + ", " + s.birthday + ", " + s.address + ", "
+ s.phone);
}
}

Tự luận : ( mấấy cấu hỏi mà có nhiềều cấu trả lời thì chỉ cấền l ựa ra 3 cấu đ ể h ọc thôi , đ ừng h ọc hềất )

1. Write 3 characteristics of high performance team?


- A clear , elevanting goal
- A results-driven structure
- Competent team members
- Unified commitment
- Collaborative climate
- Standards of excellence
- External support and recognition
- Principled leadership
2. What are the fundamental of quality process?
-Review , Testing , coding
3. What are the types of technical review ?
- Walkthroughs
- Code reading
- Pair programming
- Inspections
4. List 3 tool can write , debug java code?
- Netbeans , eclipse , intellij idea
5. Why we need to build teamwork?
- Because the sofware projects are too large and those a diverse set of skills and roles , team with
synergy can produce much more than a group of individuals
6. What are the step of inspection process ?
- Planning -> overview -> preparation-> Meeting ->rework->follow up
7. List 2 revision management tool?
- Git , SVN
8. What are team members cometence?
- Technical , personal
9. When you use inspection process , what roles must be included?
- Author , moderator , inspector
10. In the (code) CISCO collaborate tool , what are the roles in a review ?

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

- Author , reviewer m observer


11. What are the fundamental of sofware development process?
- The requirement , code , design , analysis
12. What are the benefit to working individually?
- No need to gain consensus
- No one to coordinate with
- Don’t have to explain the rationale for your decisions
- Don’t need to work with people you don’t get along with
- Don’t need to trust anyone else to get the work done
- Easier to hide what you are doing
13. List 3 tools can build java code?

Ant, Maven , Gradle

14. What are the fundamental of quality process ?


- Review , testing
15. List 2 website manage revision of code?
GitHub, Bitbucket
16. What are the fundamental of user support process?
- System packaging and delivery
- User documentation and training
- User support , product returns
- Problem logging and initial triage
- System upgrades and routine software maintenance
- Support metrics definition , collection and analysis

17. In software coding phase what is defect?

18. Write 3 tips to find defects?

If you are having trouble finding the defects associated with a problem

+ use available tools

+ use the results of negative tests

+ Make a list of things to try

19. In software change management CCB is the observation of ……

Changing control board

20. What are refactoring does not?

+ Fix defects

+ Add new functionality

22. What are the roles in a inspection process?

Author , inspector , moderator,timekeeper/reader,recorder

Downloaded by Quang Hi?u Tr?n ([email protected])


lOMoARcPSD|34729241

23. List 2 website manage revision of code?

GitHub , GitLab

25. In technical review phase , what is defect?

If the algorithm is wrong ,if the code is right but unintelligible due to poor documentation . it is a defect

26. What are the basic features of a SCM?

27. Write 3 tips to fix defects?

Understand the problem before you fix it

Confirm the defect diagnosis

Don’t rush

28. In Software change management CR is the observation of …….

Change request

29. What are the goal of refactoring?


-improve the understandability of the code

- improve the structure of the code

- remove unnecessary code

Downloaded by Quang Hi?u Tr?n ([email protected])

You might also like