You are on page 1of 26

Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.

ec/courses/8044/quizzes/61992

Midterm Exam - II PAO 2021


Due Nov 22 at 9:30am Points 76 Questions 57
Available Nov 22 at 8am - Nov 22 at 9:45am about 2 hours Time Limit 80 Minutes

Instructions

Conditions to take the Exam:

1. You can ONLY have the browser tab open with the Aula Virtual.
2. Any other programs or applications MUST BE CLOSED, including email.
3. This is a personal activity and it is closed book. Therefore, It is expected you DO NOT CONSULT any person or any material,
whether physical or electronic.
4. Remember that MORAL BEHAVIOR IS SOMETHING THAT IS BUILT; therefore, being honest in small acts will make it easier
for you to be moral in larger acts later.
5. YOU can use paper, pencil or pen for support.

Attempt History
Attempt Time Score
LATEST Attempt 1 69 minutes 63 out of 76

Score for this quiz: 63 out of 76


Submitted Nov 22 at 9:15am
This attempt took 69 minutes.

Question 1 0 / 0 pts

HONOR COMMITMENT

I declare that I have been informed and I am aware of


the disciplinary norms that govern ESPOL, in particular
the Code of Ethics (https://www.dspace.espol.edu.ec
/rest/bitstreams/72999/retrieve) and the Discipline
Regulations (https://www.dspace.espol.edu.ec

1 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

/rest/bitstreams/137168/retrieve) .

By accepting this commitment of honor, I acknowledge


and am aware that this evaluation is designed to be
completed individually; that I can only contact the
person responsible for supervising the evaluation; and
that when conducting this evaluation I will not navigate
to other pages that are not the pages of Aula Virtual;
that I will not receive face-to-face or virtual help; that I
will not consult books, notes, or additional notes or other
sources that are improper or not authorized by the
evaluator; nor will I use other electronic or unauthorized
communication devices.

I accept this commitment, as proof of having read and


accepted the previous statement and I promise to
faithfully follow the instructions indicated for the
completion of this evaluation (including the requirements
for the use of technology).

I am aware that failure to comply with this commitment


will automatically void my evaluation and could be
subject to the initiation of a disciplinary process.

Enter your Citizenship Card number below as


acceptance of this commitment.

You Answered
2,450,908,278

Correct Answers Between 0 and 999,999,999

Question 2 4 / 4 pts

2 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Suppose an integer variable X is defined for the interval [5,10). Suppose that
we are using boundary values for designing our test cases, then, which of the
possible answers is correct for testing variable X? We want to consider both
valid and invalid test cases.

5,6,7,8,9,10

5,6, 7,9,10,11

Correct!
4,5,6,8,9,10

4,5,6, 9,10,11

Question 3 1 / 1 pts

The statement "The majority of errors tend to occur at the "center" of the
domain of an input rather than at its boundaries", is:

True

Correct!
False

Question 4 1 / 1 pts

The statement "Boundary values analysis is not appropriate for every type of
input variable", is:

Correct!
True

False

3 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 5 0 / 1 pts

If my system has 3 inputs, and we are designing its test cases based on a
robust boundary value testing, then we need this amount of test cases:

You Answered
8

27

Correct Answer 19

15

Question 6 3 / 3 pts

Match the description on the left with the critique of static analysis on the
right, the one that best describes it and differentiates it from the others:

Correct! It makes a lot of false Precision


positives

Correct! In order to provide analysis Efficiency


results faster, it uses
approximation or
abstraction mechanisms

Correct! Can be run on lots of Scalability


software and can be run
repeatedly

Question 7 3 / 3 pts

4 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Match the sentence on the left with the tool on the right hat best
describes it and differentiates it from the others:

Correct! Verifies that a Java code Checkstyle


complies with a coding
standard.

Correct! It is a code analyzer that PMD


detects possible problems
such as: unused variables,
unnecessarily created
objects, unreleased memory,
etc.

Correct! It is a Java program analyzer SpotBugs


that tries to detect program
errors at the bytecode level.

Question 8 3 / 3 pts

According to Clean Code best practices, it is necessary to use meaninful


names. Match the examples given on the left with the type of problem
described on the right.

Correct! IShapeFactory It is not a good practice to use prefixes in the nam

Correct! X1, X2, X3 Use intention-revealing names.

Correct! getymdhms Use names that can be pronounced.

5 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 9 1 / 1 pts

The statement "BDD is particularly useful for Acceptance Tests, since User
Stories are at the heart of BDD methodology", is:

Correct!
True

False

Question 10 1 / 1 pts

The statement "BDD can be used to test the non-functional aspect of


browser-based user interfaces", is:

True

Correct!
False

Question 11 1 / 1 pts

It is the responsibility of the testers to design tests that (select ALL the
answers you considerer as correct):

Correct!
reveal defects.

facilitate the learning process to use a software.

validate that the requirements were well specified.

Correct!
can be used to evaluate software performance,usabilty, and reliability.

6 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 12 1 / 1 pts

The statement "many defects occur directly on, and above and below, the
edges of equivalence classes", is:

Correct!
True

False

Question 13 1 / 1 pts

Match the most appropriate description on the left with the coding standard
and guideline at the right:

Correct! These rules tell about which Limited use of globals.


types of data that can be
declared global and the data
that can’t be.

Correct! For making the code Indentation.


readable, programmers
should use White spaces
properly.

Correct! The complex code makes Avoid using a coding style that is too difficult to und
maintenance and debugging
difficult and expensive.

Correct! Comments regarding the Code should be well documented.


statements increase the
understandability of the
code.

Other Incorrect Match Options:


• Avoid using an identifier for multiple purposes.
• Error return values and exception handling conventions.
• Standard headers for different modules.

7 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

• Naming conventions for local variables, global variables, constants and


functions.

Question 14 1 / 1 pts

The statement "Coding guidelines help in detecting errors in the early phases,
so it helps to reduce the extra cost incurred by the software project", is:

Correct!
True

False

Question 15 1 / 1 pts

Configuration management (CM) is concerned with:

keeping track of different versions of software components or configuration


items and the systems in which these components are used.

analyzing the costs and benefits of proposed changes, approving those


changes that are worthwhile, and tracking which components in the system
have been changed.

Correct!

the policies, processes, and tools for managing changing software systems.

Question 16 1 / 1 pts

The statement “Configuration management is essential for team projects


where several developers are working at the same time on a software

8 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

system”, is:

Correct!
True

False

Question 17 1 / 1 pts

According to the IEEE Standard Glossary of Software Engineering


Terminology, testing can be defined as follows (select all that apply):

Correct!
“The process of operating a system or component under specified conditions,
observing or recording the results, and making an evaluation of some aspect of
the system or component.”

"The process of evaluating a product by manual or automated means to


determine if the product has certain characteristics."

Correct!
“The process of analyzing a software item to detect the differences between
existing and required conditions (that is, bugs) and to evaluate the features of
the software items.”

"The process of evaluating a system or component during or at the end of the


development process to determine whether it satisfies specified requirements."

"The process of confirming that a system or component complies with its


specified requirements and is acceptable for operational use."

Question 18 1 / 1 pts

The statement "It is common to discuss aims for security, applicability,

9 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

continuity, controllability, functionality, usability, integrability, performance, and


efficiency, which should be reached using software testing", is:

Correct!
True

False

Question 19 4 / 4 pts

Match the most appropriate description at the left with the step to create a test plan on
the right:

Correct! What you put in your test Know the basics.


plan depends largely on the
complexity of the software
you’re planning to test.

Correct! Your test plan should clearly Define your objectives.


define what you will test and
why you will test it.

Correct! Detail all the factors that Write a section on risks and dependencies.
your project depends on and
the risks involved in each
step.

Correct! List any features that will not Write a section on what you will not be testing.
be tested during the current
project.

Other Incorrect Match Options:


• Write a section on required resources.
• Write a list of documents that will be produced during testing.
• Develop pass/fail criteria.
• Write a section on the results of your project.

10 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 20 1 / 1 pts

The statement "Test cases that alter the environment or data when they run
should return those elements to their original states upon completion", is:

Correct!
True

False

Question 21 1 / 1 pts

Software configuration management should be performed during the following


stage of the software development life cycle:

Implementation.

Maintenance.

Analysis.

Design.

Correct!
It must be done during the entire life cycle.

Tests.

Question 22 1 / 1 pts

The GIT command that allows you to upload your changes and code to a
remote repository in GitHub, is:

Add.

11 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Upload.

Status.

Correct!
Push.

Question 23 3 / 3 pts

Match each concept on the left with the best definition on the right:

Correct! Branching The creation of a new codeline from a version in a

Correct! Merging The creation of a new version by integrate separat

Correct! Repository A shared database of versions of software compon

Question 24 0 / 1 pts

The statement "The process of building the executable software does not
include to rut automated tests", is:

You Answered True

Correct Answer
False

Question 25 1 / 1 pts

12 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

The statement "A software configuration management demands to maintain a


good repository of all the information generated and related to the software
project", is:

Correct!
True

False

Question 26 0 / 1 pts

The statement "In a software development subject to a software configuration


management process, any change to be made to the software product under
development must be authorized and must follow an established change
process", is:

Correct Answer True

You Answered False

Question 27 1 / 1 pts

The statement "A software version control software is necessary for a good
software configuration management", is:

Correct!
True

False

Question 28 1 / 1 pts

13 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

The statement "Continuous integration is considered a good practice for


proper software configuration management", is:

Correct!
True

False

Question 29 1 / 1 pts

One of the following is not a static code review analysis technique

Checkstyle analysis

SpotBugs analysis

Correct!
Analysis of the performance of the code

PMD analysis

Question 30 0 / 1 pts

Choose the answer that according to clean code it is better for your code

Correct Answer A long descriptive name

You Answered A short enigmatic name

A long enigmatic name

A long descriptive comment

14 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 31 1 / 1 pts

The tests that are oriented to verify each of the individual components of a
system are

System tests.

Acceptance tests.

Correct!
Unit tests.

Integration tests.

Question 32 0 / 1 pts

When a programmer confuses a mathematical operation sign when writing a


mathematical formula in the code he is developing, then this is:

You Answered A failure.

A defect.

Correct Answer
An error.

Question 33 1 / 1 pts

15 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

The statement "During software testing only software verification tasks are
performed", is:

True

Correct!
False

Question 34 1 / 1 pts

The statement "A software review corresponds to a software verification


activity", is:

Correct!
True

False

Question 35 1 / 1 pts

If I perform tests to evaluate the degree to which a piece of software and its
associated information and data are protected in such a way that
unauthorized systems or persons cannot use, read, or modify that data and
information, and that authorized persons are not restricted from doing so,
then I have a type of test of:

Usability testing.

Reliability testing.

Performance testing.

Correct!
Security testing.

16 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 36 1 / 1 pts

If I perform tests to measure the degree to which a software element can be


operated by users of the widest range of features and capabilities, then I have
a type of test of:

Security testing.

Performance testing.

Correct!
Usability testing.

Reliability testing.

Question 37 1 / 1 pts

Non-functional software testing focuses on:

Determine when a software does not work properly.

Correct!
Testing non-functional software features such as performance and security.

Testing the code of the software; i.e., structural tests.

Test functions that should not exist in the software.

Question 38 1 / 1 pts

Suppose that the goverment of a country has defined the following age
categories for its citizens. Children are citizens under 14 years old. Youth
groups citizens between 14 and 24 years old. Adults are citizens over 24
years old but under 65. Finally, seniors are 65 years old and over. Then,
based on equivalence partitioning a set of valid test cases is:

17 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Correct!
0, 14, 25, 65

1, 14, 25, 64

0, 15, 24, 65

1, 15, 24, 65

Question 39 0 / 1 pts

The statement "System testing requires to test the functionalities of the whole
system. These functionalities can be represented with the architecture of the
system or some system models", is:

Correct Answer True

You Answered False

Question 40 1 / 1 pts

Suppose that the goverment of a country has defined the following age
categories for its citizens. Children are citizens under 14 years old. Youth
groups citizens between 14 and 24 years old. Adults are citizens over 24
years old but under 65. Finally, seniors are 65 years old and over. Then, if we
say that 0 is a valid class, it is:

Correct!
True

False

18 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 41 0 / 1 pts

Given the following conditions for a mortage loan system:

• Amounts to be borrowed: $50K to $500K.


• Interest rates:
◦ From 7% to 9%, if the amount is up to $150K.
◦ From 9.5% to 10.75% if the amount is greater than $150K.

Then, we can affirm that the following values constitute a complete set of
VALID test cases based on equivalence partitioning: 55K, 151K.

Correct Answer True

You Answered
False

Question 42 1 / 1 pts

One of these sentences does not describe a true difficulty or downside of


acceptance testing:

Usually testers have to execute the testing scenarios by themselves.

Implies resources and time (costs).

Usually customers are not willing to write the requirements and scenarios.

Correct!
It does not help to improve requirements understanding.

Question 43 1 / 1 pts

Which of the following types of tests is the most oriented to the validation of
the development?

19 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Unit testing.

Integration testing.

Correct!
Acceptance testing.

System testing.

Question 44 1 / 1 pts

The statement "If I have the user requirements and the detailed design then it
is possible to plan and design the system testing test-cases", is:

Correct!
True

False

Question 45 1 / 1 pts

The statement "One important difference between acceptance testing and


system testing is that the former should be executed with/by the customer or
users, while the latter is executed by the development team", is:

Correct!
True

False

Question 46 1 / 1 pts

The statement "According to the V model, unit testing is the last type of

20 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

testing to be planned but the first one to be executed", is:

Correct!
True

False

Question 47 0 / 4 pts

Match each type of testing to the number that represents the order in which
the testing plan is typically elaborated for that type of test. Consider that 1
means elaborated first and 4 means performed last.

You Answered Unit testing 1

Correct Answer 4

You Answered Acceptance testing 4

Correct Answer 1

You Answered System testing 3

Correct Answer 2

You Answered Integration testing 2

Correct Answer 3

21 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 48 1 / 1 pts

In this phase of the testing process we define when to test something (entry
criteria) and when to stop testing (exit criteria):

Test.

Correct!
Plan.

Monitor & Control.

Policy.

Question 49 1 / 1 pts

One of the following statements should not be expected as a result of test


automation

We can automate the generation of test statistics

We can automate repetitive tasks

Correct!
We can automate the design of the test-cases including the inputs and
expected outputs

We can automate the documentation of the tests

Question 50 0 / 1 pts

The statement "After the monitor and control phase of the testing process it is
possible to execute a new round of tests, in that case we return to the test
phase of the process", is:

22 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

You Answered True

Correct Answer False

Question 51 1 / 1 pts

The statement "After monitoring the testing statistics it is possible to decide to


chante the test plan", is:

Correct!
True

False

Question 52 1 / 1 pts

What is the factor that influences the release of a system and which is
described in the following statement?

"You may have to create a new release of a software application when a new
version of the operating system platform is released.".

Competition.

Correct!
Platform change.

Marketing requirements.

Technical quality.

Question 53 1 / 1 pts

23 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

What is the factor that influences the release of a system and which is
described in the following statement?

"For mass-market software, system release may be necessary because a


competing product has introduced new features and market share may be
lost if these are not provided to existing customers."

Platform changes.

Correct!
Competition.

Marketing requirements.

Technical quality.

Question 54 4 / 4 pts

Match the description given on the left with the type of test mentioned on the
right

Correct! To test what is the software Functionality


supposed to do.

Correct! To test the speed of the Performance


software, the response time.

Correct! To test how the software External interfaces


interacts with people, other
software and hardware.

Correct! To test the human-computer Usability


interaction characteristics.

24 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

Question 55 0 / 1 pts

The statement "During the development of a software project, it is rare for


user requirements changes to occur during the coding and testing phases,
and when these do occur, most of the time they are communicated
effectively and in a timely manner to the development team", is:

You Answered True

Correct Answer False

Question 56 1 / 1 pts

The statement "One of the drawbacks of acceptance testing is that it is


desirable that the customer has to write the requirements in his own words
and by himself, but customers are not always willing to do that", is:

Correct!
True

False

Question 57 1 / 1 pts

The statement "Acceptance testing is a type of black box testing", is:

Correct!
True

False

Quiz Score: 63 out of 76

25 de 26 22/11/2021 9:17
Midterm Exam - II PAO 2021: SOFTWARE ENGINEERING II https://aulavirtual.espol.edu.ec/courses/8044/quizzes/61992

26 de 26 22/11/2021 9:17

You might also like