You are on page 1of 4

12. They use inspection for training 8.

Technical Reviews help


Inspection can find the defect that the individual couldn’t found remove defects and
Meetings create a schedule that people must work towards prevent future defects
Walkthroughs, Code Reading, Pair Programming,
I. Technical Review Inspections
Câu 1. What are the types of technical review?
Software inspection, Code inspection, Fagan
Câu 2. What is the name of inspection process? inspection
Câu 3. What is the result of the review? Checklist, Inspection Report., Code Defect
Câu 4. What is Pair Programming? Two coders read and inspection code of each other
Planning, Overview, Preparation, Meeting,
Câu 5. What are the steps of Inspection Process? Rework, Follow-up
Câu 6. Who are involved in the inspection meeting? Author, Inspector, Moderator, Recorder, Reader /
Timekeeper
Câu 7. What are the benefits of the inspection? Found and remove defects early, Training for anyone
on the team
Câu 8. Which statement is TRUE when you are exanimating technical review?
Câu 9. According to Capers Jones in “Software Defect Removal Efficiency, Design and Code
Inspections” usually remove ... of product defects 70 - 85%
Câu 10. 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 4%
Câu 11. 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 Less than 80%
Câu 12. 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?
Câu 13. What are three types of Object Oriented 's review? Checklist review, systematic review,
use-case review
Câu 14. What is the most successful type of Object Oriented's review? Checklist review
Câu 15. What is the maximum time to peer code review? 90 minutes
Câu 16. In the Cisco Collaborate tool, what are the roles in a review? Author, Reviewer, Observer
Câu 17. What are the roles in the inspection process? Author, Inspector, Moderator,
TimeKeeper/Reader, Recorder
Câu 18. When you create a review by using Cisco Collaborate, what roles must be included?
Moderator,
Câu 19. When you use inspection process, what roles must be included? Observer
Reviewer, Moderator,
Câu 20. Cisco Collaborator tool is used to: Review code Inspector
Câu 21. Cisco tool is run on: Client/Server environment
Câu 22. What is SCM? Software Configuration Management
Câu 23. Which is stage efficiency for finding code defects? Reading
Câu 24. What is the responsibility of Inspector? Read the document and prepare to review at the
meeting
Câu 25. Which review that the participants do not need to prepare or read the material? Inspection
Câu 26. Which phase of inspection is used to choose inspectors? Planning
Câu 27. What is code defect in Technical Review? The code must be rewriting
Câu 28. 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?
Câu 29. What is the most formal technical review? Inspections 28. They use inspection for
Câu 30. What is the most informal technical review? Walkthroughs training
Inspection can find the defect
II. Configuration Management that the individual couldn't found
Meetings create a schedule that
Câu 31. SCM is an abbreviation of? Software Configuration people must work towards
Management
Câu 32. SCM is used to …. Manage the revision of the project
38. Eclipse is an interactive development 42. ANT is a program that automatically builds your
environment (IDE) used to edit, debug source code, Java project from
initiate build, test processes and display the results source files in your SVN repository and creates the
project distribution packages

Câu 33. What are the steps to work with SCM? Checks out, Work in received data, Checks in updated
Câu 34. If Software Engineer2 checks in a file when Software Engineer1 has checked in it. What
will SCM system do? SCM system will automatically merge the files when they are checked in
Câu 35. The version of the software is 1.01.0012. The number 0012 means…. the Build Number
Câu 36. The version of the software is 1.01.0012. The number 1 means…. the Major Release Number
Câu 37. The version of the software is 1.02.0012. The number 02 means…. the Minor (Maintenance)
Release Number
Câu 38. What is the right definition about Eclipse?
Câu 39. For Eclipse to work with SVN, which tool must you add to Eclipse? subversive
Câu 40. By default, the password of admin user of Cisco Collaborate tool is other solution
Câu 41. What is the name of the SVN software installed in client? Tortoise SVN
Câu 42. What is the right definition of Ant?
43. install the current version of Java Development Kit on
Câu 43. In order to use Eclipse, you must …. your computer
Câu 44. SVN is an abbreviation of….. Subversion
Câu 45. In software project development, who usually does the unit test? Developer (coder)
Câu 46. Which library supports unit test in Eclipse? junit.framework.TestCase, org.junit.Test
Câu 47. Developers transfer codes and test-case to…. Tester
Câu 48. JUnit is used to ….. Find defect
Câu 49. What are defects in coding phase?programming errors
Câu 50. What does the AssertTrue() method do?Check the parameter is true or false
Câu 51. What does the AssertEquals() method do? Compare actual and expected value
53. Because QA can create a schedule
Câu 52. CruiseControl was written in? Eclipse, ANT for building and testing
Câu 53. Why do we choose CruiseControl in our SCM system? Because it can send email notifications
54. Exist at least 1 code exception in codes of building status
Câu 54. When the Unit test results display 1 error. That means… Because it can store codes
Câu 55. When the Unit test results display 1 failure. That means…55. The actual and expected value
are not the same
Câu 56. When you create a test with JUnit by eclipse. The default unit test class name is …
Class name + “
Câu 57. Which error is found by the unit testing? Execute
Test”
Câu 58. ANT is used to …. Build Project 59. Automatically build
Automatically test
Câu 59. CruiseControl can... Manage Email notification, Log
Câu 60. For building java project using ANT, you must write config file in … XML language
III. Refactoring
Refactoring does NOT make the codes better
Câu 61. Which statement is WRONG when you are talking about refactoring?
Câu 62. What is a code smell? Code smell is a finding defect technical, that used to find where codes
need to refactor
Câu 63. Long method (code smell) is… a method, function, or procedure that has grown too large
Câu 64. Duplicated code (code smell) is…Duplicated code problem is identical or very similar code
exists in more than one location
Câu 65. When must you refactor your codes? The codes have not defected but you want to improve its
Câu 66. How to refactor this code? The circlesquare variable must be rename to circleSquare
double circlesquare= radius*radius*3.14; 3.14 much be naming such as const double PI= 3.14
Câu 67. What are the goals of Refactoring technology?
Câu 68. What is the reason for NOT to refactor codes? The code right but not follow to standard
Câu 69. When you want to move some lines of codes to a new procedure. What will you do in
Eclipse? Use the Extract method in Refactoring 67. Improve the understandability of the code
Improve the structure of the code
Remove unnecessary code
Câu 70. For moving a method from subclass to supper class in eclipse. What refactoring technic
will you do? Use the Pull Up in Refactoring
IV. Teamwork
Câu 71. Which statement is true about teamwork? The team will need to build trust
Câu 72. Why do we need to build the teamwork? The software projects are too large and those a
diverse set of skills and roles
Câu 73. In tips for receiving feedback, when you listen carefully and try to understand the
meaning of the feedback, what is this kind of technic called? Active listening
Câu 74. Role of a team leader in helping all members working together: Suppress ego of each
member
Câu 75. What is the characteristic of high-performance teams in company mission? A clear, elevating
goal
Câu 76. What is the characteristic of high-performance teams when your company gets CMM
standard? External support and recognition
Câu 77. What are team member’s competence? Technical, Personal
Open
Câu 78. Positive receiving feedback, listen without frequent interruption or objections is...
Câu 79. What is the difference between team and group? Result
Câu 80. What is the characteristic of high-performance teams when you share knowledge with all
team members? Collaborative climate
Câu 81. Which tool or software is used to manage the tasks of team members? ?
Câu 82. What is the scheduling tools? ?

V. Process
Câu 83. How do we define a Process? Input - Process – Output
Câu 84. What are the ways to create a process? ETVX, Swimlane
Câu 85. In the software project, how many processes should be used? As less as possible
Câu 86. The best period of time for one Sprint Backlogs in Scrum process is? ?
Câu 87. The process you can see insight is… White Box
Câu 88. "Process is often described as a leg of the…" process-people-technology triad
Câu 89. What is the correct stage order of a process? Entry, Task, Validation, Exit
Câu 90. It is better to use process in a (an)… Large Team
Câu 91. What are the fundamentals of Software Quality Process? Review, Testing...
Câu 92. What are the fundamentals of Software Development Process?
The requirement, Analysis,
VI. Testing and Quality Code
Câu 93. When you test the number of users access the website at the same time, that is… Stress Test
Câu 94. The goal of testing is… To find as many defects as they can
Câu 95. When will you evolve and expand your test suite over time?
Câu 96. What is Integration Testing? is the phase in software testing in which individual software
modules are combined and tested as a group
Câu 97. If you want to know the Module1 work together with the Module2 are correct or not.
What case of the test will you do? Integration Test
Câu 98. When you test the number of users access the website at the same time, that is… ?
Câu 99. What is the normal order of activities software testing? 2, 1, 3, 4

1. Integration testing 95. AWhenever a defect is found


When adding new features
When you look at someone else's
code and see a testing hole
2. Unit testing
3. System testing
100. Medical systems
4. Acceptance testing Airplane guidance systems
Câu 100. Which type of project bellow needs more and more testing Weapons systems
Câu 101. In Agile processes, what phase can customers participate? Acceptance Test
Câu 102. Which library supports unit test in Eclipse? junit.framework.TestCase

PHẦN LÀM Ở NHÀ


The following application has two, three…. classes A, B, C… (chú ý là A, B C là những bài toán
thực như tìm số nguyên tố, sắp xếp mảng…)
Class 1: A
package FinalExam;
public class A {
//...
}
Class 2: B
package FinalExam;
public class B {
//...
}
}
a. Write code for two classes above (0 point)
Sinh viên tự viết code cho hai lớp ở trên (không tính điểm – chỉ để làm câu b, c)
b. Write Junit code to test for two classes above (1.5 points)
Viết unit test để test code đã viết
c. Refactoring these classes (1.5 points)
Refactoring code đã viết

Chú ý:
- Giữ nguyên code ban đầu
- Code phần unit test bỏ trong pakage là họ của sinh viên (không dấu). VD: tran
- Code phần refactoring bỏ trong pakage là tên của sinh viên(không dấu). VD: sanh

You might also like