2018级杭电软件工程专业2018-2019年第二学期软件工程课程试卷和答案
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2019年杭州电子科技大学《Software
Engineering》课程考试卷
一、Fill in the blank with the best answer:(共20空,每空1分,共20分)
1.Requirements validation is concerned with checks for ( ), ( ), ( ), ( ) and ( ).
2.Different architectural models such as ( ), ( ) and ( ) may be developed.
3.System organisational models include ( ), ( ) and ( ).
4. The waterfall model takes the fundamental process activities of ( ), ( ), ( ) and ( ).
5.White-box Test Methods ususllay includes: ( ),( ), ( ), ( ), ( ).
二、Explain those terminologies(共4小题,每小题10分,共40分)
1.What is software engineering?
2.What is System requirements?
3. What are the attributes of good software?
4.What is White-box Testing?
三、Choose the best answer(共10小题,每小题1分,共10分)
1.Software engineering is an engineering( )that is concerned with all aspects of software production.
A.discipline
B.subject
C.ethics
D.arises
2.During system testing( )are integrated to form sub-systems or the complete.
A. components
B. processes
C. models
D. techniques
3.The application of three basic control structure of the common characteristics( )
A.not nest use
B. Can only be used to write a simple procedure
C.Have to use hardware for
D. Only one entry and exit 4.What is the purpose of improving software quality and technical activities? ( )
A. Technology Innovation
B.Testing
C. Technology to create
D. Technical Review
5.The system engineering process usually begins with the ( )
A) detailed view B) domain view
C) element view D) world view
6. UML notations that can be used to model the hardware and software elements of a system are( )
A) Activity diagrams B) Class diagrams
C) Deployment diagrams D) Use-case diagrams E) a, b, and c
7.The system model template contains which of the following elementsf( )
A) input B) output
C) user interface D) all of the above
8.The goal of product engineering is to translate the customer\'s desire for a set of defined capabilities into a working product. ( )
A) True B) False
9.To construct a system model the engineer should consider which of the following restraining factors? ( )
A) assumptions B) budget
C) constraints D) schedule E) both a and c
10.The top level of the hierarchical model of a system is known as the( )
A) AFD B) DFD C) SCD D) SFD
四、Short Answer Questions (共2小题,每小题15分,共30分)
1. What advantages Object model have?
2. Draw links between the school and teachers links ER diagram.
School(Schoolname,School site,Schoolmast);
Teacher(Tnumber,Tname,Specialty(专长));
Appointment(Schoolname,Tnumber,Salary);
《Software Engineering》考试卷答案
适用专业:考试日期:闭卷
所需时间:120分钟总分:100分一、Fill in the blank with the best answer:(共20小题,每小题1分,共20分)
1.Requirements validation is concerned with checks for validity, consistency, completeness, realism and verifiability.
2.Different architectural models such as a structural model, a control model and a decomposition model may be developed.
3.System organisational models include repository models, client-server models and abstract machine models.
4.The waterfall model takes the fundamental process activities of specification, design and implementation, validation and evolution.
5.White-box Test Methods ususllay includes:Statement Coverage,
Decision/Branch Coverage,Condition Coverage,Decision/Condition Coverage,Path Coverage
二、Explain those terminologies(共4小题,每小题10分,共40分)
1.What is software engineering?
Software engineering is an engineering discipline that is concerned with all aspects of software production.
Software engineers should adopt a systematic and organised approach to their work and use appropriate tools and techniques depending on the problem to be solved, the development constraints and the resources available.
2. What is System requirements?
system requirements are expanded versions of the user requirements that are used by software engineers as the starting point for the system design.
3.What are the attributes of good software?
The software should deliver the required functionality and performance to the user and should be maintainable, dependable and acceptable.
Maintainability
Software must evolve to meet changing needs;
Dependability
Software must be trustworthy;
Efficiency
Software should not make wasteful use of system resources;
Acceptability
Software must accepted by the users for which it was designed.
This means it must be understandable, usable and compatible with
other systems.
4. What is White-box Testing?
•Looking at the internal structure of a program and deriving test cases based on the logic or control flow.
•Test cases can be designed to reach every branch in the code and to exercise each condition
•Also known as:
–Structural Testing
–Glass-Box Testing
三、Choose the best answer(共10小题,每小题1分,共10分)
1.Software engineering is an engineering ( A ) that is concerned with all aspects of software production.
A.discipline
B.subject
C.ethics
D.arises
2.During system testing ( A ) are integrated to form sub-systems or the complete.
A. components
B. processes
C. models
D. techniques
3.The application of three basic control structure of the common characteristics(D)
A.not nest use
B. Can only be used to write a simple procedure
C.Have to use hardware for
D. Only one entry and exit
4.What is the purpose of improving software quality and technical activities?(D)
A. Technology Innovation
B.Testing
C. Technology to create
D. Technical Review
5.The system engineering process usually begins with the ( D )
A) detailed view
B) domain view
C) element view
D) world view
6. UML notations that can be used to model the hardware and software elements of a system are ( E )
A) Activity diagrams
B) Class diagrams
C) Deployment diagrams
D) Use-case diagrams
E) a, b, and c
7.The system model template contains which of the following elementsf (D)
A) input
B) output
C) user interface
D) all of the above
8.The goal of product engineering is to translate the customer\'s desire for a set of defined capabilities into a working product.( A)
A) True
B) False
9.To construct a system model the engineer should consider which of the following restraining factors?( E)
A) assumptions
B) budget
C) constraints
D) schedule
E) both a and c
10.The top level of the hierarchical model of a system is known as the(C)
A) AFD
B) DFD
C) SCD
D) SFD
四、Short Answer Questions (共2小题,每小题15分,共30分)
1. What advantages Object model have?
a. Objects are loosely coupled so their implementation can be modified without affecting other objects.
b. The objects may reflect real-world entities.
c. Object-oriented implementation languages are widely use
d.
d. However, object interface changes may cause problems and complex entities may be hard to represent as objects.
2. Draw links between the school and teachers links ER diagram:
School(Schoolname,School site,Schoolmast);
Teacher(Tnumber,Tname,Specialty(专长));
Appointment(Schoolname,Tnumber,Salary);。