Tải bản đầy đủ (.docx) (12 trang)

Trắc nghiệm và câu hỏi ngắn ôn tập công cụ quản lý phần mềm DTU

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (206.75 KB, 12 trang )

ÔN TẬP
MÔN: CÔNG CỤ & PHƯƠNG PHÁP QUẢN LÝ DỰ ÁN PHẦN MỀM – CS434
I. TRẮC NGHIỆM
1. Introduction to Teamwork
Câu 1. Câu phát biểu đúng về tinh thần đồng đội?
A. The team will need to build in the rule of contract
B. The team will need to build trust
C. Everyone on the team must have a high degree
D. The leader must have the highest degree and salary
Câu 2. Tại sao chúng ta cần xây dựng tinh thần đồng đội?
A. The software projects are too large and those a diverse set of skills and roles
B. Experienced programmers who will teach those less experienced
C. To do inspection
D. To prevent defects
Câu 3. Trong các mẹo để nhận phản hồi, khi bạn lắng nghe cẩn thận và cố gắng hiểu ý
nghĩa của phản hồi, loại kỹ thuật này được gọi là gì?
A. Open
B. Active listening
C. Thoughtful
D. Responsive
Câu 4. Vai trị của một trưởng nhóm trong việc giúp đỡ tất cả các thành viên làm việc cùng
nhau:
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
Câu 5. Đặc điểm của các đội có hiệu suất cao trong sứ mệnh của công ty là gì?
A. A clear, elevating goal
B. Competent team members
C. Unified commitment
D. A results-driven structure


Câu 6. Đặc điểm của các đội hiệu suất cao khi công ty của bạn đạt tiêu chuẩn CMM là gì?
A. Unified commitment
B. Collaborative climate
C. Standards of excellence
D. External support and recognition
Câu 7. Năng lực của thành viên trong nhóm là gì?
A. Technical
B. Personal
C. Salary
D. A and B are correct
Câu 8. Tích cực nhận phản hồi, lắng nghe mà không bị gián đoạn thường xuyên hoặc bị
phản đối là ...
A. Open


B. Active listening
C. Thoughtful
D. Responsive
Câu 9. Sự khác biệt giữa nhóm và nhóm là gì?
A. Product
B. Salary
C. Result
D. Strength
Câu 10. Đặc điểm của nhóm thành tích cao khi bạn chia sẻ kiến thức với tất cả các thành
viên trong nhóm là gì?
A. Unified commitment
B. Collaborative climate
C. Standards of excellence
D. External support and recognition
1.2.


Using Processes

Câu 11. Làm thế nào để chúng ta xác định một Quy trình?
A. Input - Process – Output
B. Process - Input- Output
C. Output - Input – Process
D. Process - Output – Input
Câu 12. Các cách để tạo ra một quy trình là gì?
A. ETVX
B. ETVX, Swimlane
C. ETVX, Swimlane, Waterfall
D. ETVX, Swimlane, Black box
Câu 13. Trong dự án phần mềm, có bao nhiêu quy trình nên được sử dụng?
A. As much as possible
B. As less as possible
C. Only one
D. Depend on what process we know.
Câu 14. Khoảng thời gian tốt nhất cho một Sprint Backlog trong quy trình Scrum là?
A. 3->5 weeks
B. one week
C. 2->4 weeks
D. one month
Câu 15. Q trình bạn có thể thấy cái nhìn thấy bên trong là…..
A. White Box
B. Black Box
C. A and B are correct
D. A and B are not correct
Câu 16. "Quá trình thường được mơ tả như một phần của…"
A. process-knowledge-technology triad

B. process-people-money triad
C. process-people-technology triad
D. process -money-technology triad
Câu 17. Thứ tự giai đoạn chính xác của một q trình là gì?


A. Task, Entry, Validation, Exit
B. Entry, Validation, Task, Exit
C. Exit, Validation, Task, Entry
D. Entry, Task, Validation, Exit
Câu 18. Tốt hơn là sử dụng quy trình trong một (an)…
A. Individual
B. Small team
C. Large Team
D. Other solution
Câu 19. Các nguyên tắc cơ bản của Quy trình Chất lượng Phần mềm là gì?
A. The requirement, Analysis, Code
B. User documentation, User supports
C. Review, Testing...
D. All above
Câu 20. Các nguyên tắc cơ bản của Quy trình Phát triển Phần mềm là gì?
A. The requirement, Analysis, Code
B. User documentation, User supports
C. Review, Testing...
D. All above
1.3.

Technical Review

Câu 21. Các loại đánh giá kỹ thuật là gì?

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
Câu 22. Tên của quá trình kiểm tra là gì?
A. Software inspection
B. Code inspection
C. Fagan inspection
D. All above
Câu 23. Kết quả của việc review là gì?
A. Checklist
B. Inspection Report.
C. Code Defect
D. All above
Câu 24. Pair Programming là gì?
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
Câu 25. Các bước của quy trình kiểm tra là gì?
A. Planning, Overview, Meeting, Rework, Follow-up
B. Planning, Meeting, Rework, Follow-up
C. Planning, Overview, Preparation, Meeting, Rework, Follow-up
D. Planning, Preparation, Meeting, Rework, Follow-up
Câu 26. Ai tham gia vào cuộc họp thanh tra?


A. Author, Inspector
B. Moderator, Recorder
C. Reader / Timekeeper

D. All above
Câu 27. Những lợi ích của việc kiểm tra là gì?
A. Found and remove defects early
B. Training for anyone on the team
C. The inspected codes are
D. A and B are correct
Câu 28. Câu nào ĐÚNG khi bạn đang xét duyệt kỹ thuật?
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
Câu 29. Theo Capers Jones trong “Software Defect Removal Efficiency, Design and Code
Inspections” thường loại bỏ ... các lỗi sản phẩm
A. 40%
B. 50 - 60%
C. 60 - 70%
D. 70 - 85%
Câu 30. Theo Votta trong "Mọi cuộc thanh tra đều cần họp" - 8/1993, Các cuộc họp thanh
tra chỉ góp phần bổ sung ... vào số lượng khuyết tật đã được tìm thấy bởi các bài đọc mã
riêng
A. 4%
B. 10%
C. 20%
D. 50%
Câu 31. SCM là gì?
A. Software Configuration Management
B. System Configuration Management
C. Software Change Management
D. System Change Management
1.4.


Configuration Management

Câu 32. SCM được sử dụng để….
A. Build Project
B. Manage the revision of the project
C. Share document and code
D. Review code
Câu 33. Các bước để làm việc với SCM là gì?
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
Câu 34. Nếu Software Engineer2 kiểm tra trong một tệp khi Software Engineer1 đã kiểm
tra nó. Hệ thống SCM sẽ làm gì?
A. SCM system will overwrite the file of Engineer2 to Engineer1's


B. SCM system will create a new revision of that checked-out file
C. SCM system will automatically merge the files when they are checked in
D. The SCM system does not allow Engineer2's check-out
Câu 35. Phiên bản của phần mềm là 1.01.0012. Số 0012 có nghĩa là….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number
D. the revision
Câu 36. Phiên bản của phần mềm là 1.01.0012. Số 1 có nghĩa là….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number

D. the revision
Câu 37. Phiên bản của phần mềm là 1.02.0012. Số 02 có nghĩa là….
A. the Major Release Number
B. the Minor (Maintenance) Release Number
C. the Build Number
D. the revision
Câu 38. Định nghĩa đúng về Eclipse là gì?
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
Câu 39. Để Eclipse hoạt động với SVN, bạn phải thêm công cụ nào vào Eclipse?
A. subversive
B. Ant
C. Maker
D. SVN client
Câu 40. Ba loại đánh giá của Hướng đối tượng là gì?
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
Câu 41. Các bước để làm việc với SCM là gì?
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
Câu 42. Theo mặc định, mật khẩu của người dùng quản trị công cụ Cisco Collaborate là
A. 123456

B. 1234
C. admin
D. other solution
1.5.

Testing and Quality


Câu 43. Thứ tự bình thường của các hoạt động kiểm thử phần mềm là gì?
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
Câu 44. Trong giai đoạn tiến hành. Đó là một khiếm khuyết nếu…
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.
Câu 45. Nếu mã của bạn có những khiếm khuyết khơng được cơng nhận, bạn sẽ làm gì?
A. Change the test-case and do Unit-Test again
B. Write another code to replace it
C. Let the tester find
D. Do nothing
Câu 46. Nếu mã của bạn có lỗi nhưng bạn khơng thể tìm ra lỗi trong nhiều giờ. Cách tốt
nhất bạn nên làm là gì?
A. Check for common defects

B. Check code that has changed recently
C. Isolate the suspicious regions of code
D. Take a break
Câu 47. Cách tốt nhất để tìm lỗi từ một hàm có nhiều dịng mã là gì?
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
Câu 48. Đặc điểm chất lượng phần mềm mà bạn có thể đạt được là gì nếu bạn cố gắng tìm
kiếm và sửa chữa các khiếm khuyết?
A. Accessibility
B. Safety
C. Performance
D. Correctness
Câu 49. Khi bạn chạy mã của mình từng bước để tìm các khuyết tật. Kỹ thuật này là…
A. Reviewing
B. Testing
C. Debugging
D. Refactoring
Câu 50. Lý do của lỗi mã là gì?
A. Poor understanding of requirements
B. Poor design
C. Poor coding practices
D. All above.


Câu 51. Nếu một khuyết tật phải được sửa chữa nhanh chóng. Bạn sẽ làm gì?
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
Câu 52. Một thiết bị phần cứng được sử dụng để gỡ lỗi phần mềm của một hệ thống nhúng
là ...
A. Internal trace log
B. Design review
C. An in-circuit emulator (ICE)
D. Interactive Debugger
Câu 53. Từ các nghiên cứu, có bao nhiêu phần trăm khuyết tật được tìm thấy trong 5% lớp
học?
A. 30
B. 40
C. 50
D. 60
1.6.

Analyzing and Fixing Defects

Câu 54. Khi bạn kiểm tra số lượng người dùng truy cập trang web cùng một lúc, tức là…
A. Accepting Test
B. Unit Test
C. Integration Test
D. Stress Test
Câu 55. Nếu bạn muốn biết Mô-đun1 hoạt động cùng với Mơ-đun 2 có đúng hay khơng.
Bạn sẽ làm trong trường hợp nào của bài kiểm tra?
A. Unit Test
B. System Test
C. Integration Test
D. Acceptance Test
Câu 56. Thứ tự bình thường của các hoạt động kiểm thử phần mềm là gì?
1. Kiểm tra tích hợp

2. Kiểm thử đơn vị
3. Kiểm tra hệ thống
4. Kiểm tra chấp nhận
Câu 57. JUnit is used to …..
A. Review code
B. Find defect
C. Refactoring
D. Manage the revision of the project
Câu 58. SVN is an abbreviation of…..
A. System version naming
B. Subversion
C. Software version naming
D. None of the above
1.7.

Refactoring


Câu 59. Câu nào SAI khi bạn đang nói về tái cấu trúc?
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
Câu 60. Code smell là gì?
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. A, B, C are correct
Câu 61. Phương pháp dài (Code smell) là…

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
Câu 62. Mã trùng lặp (Code smell) là…
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. A, B, C are correct
Câu 63. Khi nào bạn phải cấu trúc lại mã của mình?
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
Câu 64. Làm thế nào để cấu trúc lại mã này?
double circlequare = 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
Câu 65. Mục tiêu của công nghệ Tái cấu trúc là gì?
A. Improve the understandability of the code
B. Improve the structure of the code
C. Remove unnecessary code
D. All Above
Câu 66. Lý do KHÔNG tái cấu trúc mã là gì?
A. Have no comment
B. The code right but not follow to standard
C. The code too bad

D. All Above
Câu 67. Khi bạn muốn chuyển một số dòng mã sang một thủ tục mới. Bạn sẽ làm gì trong
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
Câu 68. Để chuyển một phương thức từ lớp con sang lớp tối trong Eclipse. Bạn sẽ sử dụng
công nghệ tái cấu trúc nào làm?
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
Câu 69. Phương pháp luận truyền thống hoạt động dựa trên các yêu cầu thay đổi được ưu
tiên từ
A. change requests
B. Customer said
C. Leader said
D. Change Control Board
Câu 70. Nếu bạn nhận được một thay đổi mới từ khách hàng. Bạn phải điền vào tài liệu gì?
A. Change Requests
B. Software Requirement Specification
C. Change Control Board
D. All above
Câu 71. Khi một dự án cần thay đổi từ khách hàng. Bạn muốn nói về điều gì?
A. Schedule
B. Money

C. Risk
D. Ranges
Câu 72. Câu nào đúng khi bạn nói về mối quan hệ với khách hàng?
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. A, B, C are correct
Câu 73. Bạn muốn khách hàng biết gì?
A. Software life cycle
B. Software life cycle and what they can support
C. The project's profits
D. All above

II. CÂU HỎI NGẮN
1. Phiên bản của phần mềm là XX.YY.ZZZZ.GGGG Số GGGG có nghĩa là….
Gợi ý trả lời:
major.minor.[build [.revision]]
Số GGGG là số lần chỉnh sửa (revision), đánh dấu lần chỉnh sửa của mã nguồn.
2. Các vai trò của thanh tra là gì?
Gợi ý trả lời:


Inspection is a formal evaluation technique in which software requirements, design, or
code are examined in detail by a person or group other than the author to detect faults,
violations of the development standards, and other problems. The benefits of the
inspection are:
 To detect and identify software element defects early
 Correcting defects early has a direct impact on quality
3. Lợi ích của việc xem xét kỹ thuật là gì?
Gợi ý trả lời:

Technical Review Benefits:
 Technical Reviews help remove defects and prevent future defects
 Teams find faults that no individual reviewer would be able to find
 Less experienced developers and reviewers learn from their more experienced
peers
 Meetings create a schedule that people must work towards
 Personal incentive to contribute & improve
 Significant knowledge sharing
4. Kiểm tra gồm những giai đoạn nào?
Gợi ý trả lời:
The normal order of activities software testing
Unit testing → Integration testing → System testing → Acceptance testing
5. Các bước của một cuộc thanh tra là gì
Gợi ý trả lời: The steps of Inspection Process:
Planning → Overview → Preparation → Meeting→ Rework → Follow-up

6. Viết 2 công cụ SCM
Gợi ý trả lời:
Different tools for different environments and development languages
 Eclipse (NetBeans, ...)
 SVN (CVS, ...)
 Ant (Make, NAnt, Maven, Phing, Rake, ...)
7. SVN là viết tắt của?


Gợi ý trả lời: SVN is an abbreviation of Subversion
8. Viết 2 IDE (Interactive Development Envirement) cho java?
Gợi ý trả lời: Top 10 Java IDE
 Eclipse
 IntelliJ IDEA

 Apache NetBeans
 MyEclipse IDE
 BlueJ IDE
 Xcode IDE
 JDeveloper IDE
 JCreator IDE
 DrJava IDE
 Greenfoot IDE
9. Các loại Kiểm thử tích hợp là gì?
Gợi ý trả lời: Các loại Kiểm thử tích hợp là:
 Bottom-up
 Top-down
 Hybrid
10. Viết 3 công cụ cho java được xây dựng
Gợi ý trả lời: Java Development Tools:
 Eclipse
 SVN
 Ant
 JUnit
 CruiseControl

11. Phần mềm SVN cài đặt trong máy khách có tên là…?
Gợi ý trả lời:
Tortoise SVN là một chương trình SVN Client nó được cài đặt tại các máy tính của các
thành viên trong một nhóm, giúp dễ dàng chia sẻ dữ liệu lên SVN Server và lấy dữ liệu
về từ SVN Server.
12. Tại sao chúng ta cần xây dựng đội nhóm?
Gợi ý trả lời:
Because the software projects are too large and those a diverse set of skills and roles
13. Trong phát triển dự án phần mềm, ai thường thực hiện kiểm thử đơn vị

Gợi ý trả lời:
In software project development, developer (coder) usually does the unit test
14. Viết các thủ thử nghiệm cho phương pháp dưới đây
package final_exam;


public class Sort {
public int a;
public int b;
public void asc() {
if(a>b) {
int t=a;
a=b;
b=a;
}
}
}



×