Você está na página 1de 3

Reading activity #1

18 points, 5%
Compu 1
Name: Jose Andres Ceciliano Granados.

A) Analyze the following parts of an abstract, they are in scramble.

1. Names of section: Put the corresponding Name of the section according to its content. (6 points)

Acknowledgment - Conclusion - Methodology - Objective - Problem statement - Results

2. Order the sections in the best way possible by placing a number 1-6 in the Order column. (1 point)

Abstract

Order Name Text


3 Methodology In order to use the proposed tool, the tester annotates the files that contain
the class to be tested. Moreover, the tester must specify the test data
coverage criterion to be used, either branch coverage or mutation analysis.
However, the tool is then integrated into the JavaScript compiler and test
generation is invoked by a command line option. Also, the code to be tested is
parsed into an abstract syntax tree from which the test tool generates a
program dependency graph for the function under test. However, if mutation
analysis coverage is required, the abstract syntax tree for a meta-mutant
program is also generated. To provide guidance for the test data search, the
function under test instrumented in accordance with the coverage criterion.
Branch predicate expressions are always instrumented, in the case of mutation
coverage, mutated statements are also instrumented. Compilation then
continues from the modified abstract syntax tree to generate instrumented
executables that were loaded into the test data search module.
6 Acknowledgment The researcher would like to express their gratitude to the anonymous
referees for their valuable and helpful comments and suggestions in improving
the study.
1 Problem Program testing is expensive and labor intensive, often consuming more than
statement half of the total development costs, and yet it is frequently not done well and
the results are not always satisfactory.
5 Conclusion By having a complete automation it reduces the cost of software testing
dramatically and also facilitates continuous testing. It is reported that at least
50% of the total software development costs is due to testing, and 10–15% of
development time is wasted due to frequent stops for regression testing.
Automation will also help get rid of cognitive biases that have been found in
human testers.
2 Objective The purpose of this paper is to present an automatic test data generation tool
that aims to completely automate unit testing of JavaScript functions.

4 Results The experiment done in our study by using the proposed tool for branch
coverage shows that the most effective result for string equality was obtained
using the edit distance fitness function, while no significant difference was
found in the fitness function for string ordering. Through exhaustive mulation
coverage 8% are found to be equivalent.

3. Given the source and ownership information, prepare an APA reference. Make sure you follow the
latest APA guide. (1 point)

Journal of Computer Science 4 (12): 1012-1019, 2008


ISSN 1549-3636
© 2008 Science Publications
1012
A Complete Automation of Unit Testing for JavaScript
Programs
Mohammad Alshraideh
Department of Computer Science, University of Jordan, Amman
11942 Jordan
APA reference:
Alshraideh, M. (2008). A complete automation of unit testing for javascript programs. Journal of Computer
Science, 4(12), 1012.

B) The following text corresponds to an introduction section of a research article.

1. Introduction
The emergence of web 2.0 has initiated a new era of collaboration,
sharing, and social networking (Lytras, Damiani, & de
Pablos, 2008). One of the most popular technologies in web 2.0,
Cloud Computing (CC) systems, provide on-demand network-based
access to subscribers for the metered usage of an easily accessible
and secure collection of remotely available information technology
(IT) enabled resources and capabilities including network, servers,
storage, applications and services (Armbrust et al., 2009). Further,
Cloud Computing (CC) is defined by Subashini and Kavitha (2011) as
“a way to increase the capacity or add capabilities dynamically
without investing in new infrastructure, training new personnel, or
licensing new software”. These services include IT infrastructure as
a service (IaaS), platform as a service (PaaS) and software as a
service (SaaS) on a pay-for-use basis (Rayport & Heyward, 2009).
This computing paradigm seeks to deliver computing services
similar to utility services such as water, electricity and gas (Buyya,
Yeo, Venugopal, Broberg, & Brandic, 2009). The limitless flexibility,
better reliability and security provided by CC enables organizations
customize services and data for higher availability without much
worry (AMD, 2011). The emergence of cloud computing creates a
level playing field for many firms by providing opportunities for
utilizing cutting edge information technologies that hitherto were
not affordable due to the high cost of owning these technologies
(Marston, Li, Bandyopadhyay, Zhang, & Ghalsasi, 2011). The synergy
from the integration of big data technologies and cloud computing
constitutes the basis for future computing (Agrawal, Das, & El
Abbadi, 2011).
1. Provide a definition: Look at the words in yellow. Find its meaning on the dictionary, but provide your
own explanation of its meaning in context. In order words, do not copy paste the meaning from a
dictionary, analyze the context to provide the best meaning. (5 points)

 Metered: It means measurement, in the past, nevertheless under the context measures
the distance between the people, it measures a quality or characteristic

 Further: Make a new technology accessible to all people and provide the tools to use

 level playing field: Creates a fair competition between a small and large company,

 hitherto: At that time there was no such technology as the current one
 due to: It means why or in consequence of

2. Deduction: What does the author means when staying this: “This computing paradigm seeks to deliver
computing services similar to utility services such as water, electricity and gas (Buyya, Yeo, Venugopal,
Broberg, & Brandic, 2009)”. (2 points)

I think that the author makes reference to the fact that the internet would become a basic public
service over the years, and that this would be the driving force to move the world, made for all people,
having access to real information and at the moment, it is the same Principle of free access to books
and education, used in a good

3. –ing. The use of –ing has many rules and meanings. Analyze the following samples from the text and
explain a possible rule for using –ing. (1 point)

A. Providing: simple form (provide) termination -e is deleted and placed -ing


B. To possess: the simple form (own) ends in consonant only the -ing is added
C. To use: the simple form terminates in -e (use) removes the e and is replaced by -ing
D. Without investing: the simple form ending in consonant (investing) only the -ing is added

4. Punctuation. Commas are very important tools to provide coherence and cohesion to a text. Analyze
the following examples of the text, and find online the rule for using a comma in that part. Provide an
extra example that demonstrates the rule. (2 point)
Sentence Rule Your own example
The emergence of web 2.0 has initiated a new
era of collaboration,
Use commas to separate Things to do are play football,
sharing, and social networking words and word groups in a swim, run and watch tv
simple series of three or more
items
One of the most popular technologies in web
2.0,
Use a comma to separate two In 1990, the turrialba volcano,
Cloud Computing (CC) systems, provide on- adjectives when the order of had no activity
demand network-based
access to subscribers… the adjectives is
interchangeable

Você também pode gostar