代做SOFT2412 COMP9412 Exam代写Java程序

SOFT2412_COMP9412 Exam
Quiz Instructions
1.5 ptsQuestion 1
Adaptation
Inspection
Transparency
Examination
What aspect of empirical process control theory involves frequently examining the
different Scrum artifacts and making sure the team is still on track to meet the
current goal?
1.5 ptsQuestion 2
Larger Agile teams perform. better than small ones
Agile teams work with the best developers; about 4-5 senior developers per team
Agile teams that work harmoniously together perform. better than those with lots of
conflict
Members of Agile teams have mutual respect and mutual responsibility toward the work
needs to be done.
Which of the following is true about Agile teams?
1.5 ptsQuestion 3
Semantic versioning can help to manage dependencies between system packages,
libraries and plugins.
Patents grant inventor(s) the right to exclude others from making, using or selling and
importing an invention for a limited time in exchange for public disclosure of the
invention.
Codeline specifies the component versions that are included in the system plus a
specification of the libraries used and configuration files.
In multi-version systems, there is never just one working version of a system.
Which of the following statements is not correct?
1.5 ptsQuestion 4
Development happens in very short cycles in which requirements are turned into specific
test cases which must fail before implementing the requirements
Test-driven development is used exclusively by XP teams.
Unit tests are written immediately after writing the code that they test
Writing unit tests causes the whole project to take longer because the team spends more
time writing code, but it’s worth it for the extra quality.
Which of the following is true about test-driven development?
1.5 ptsQuestion 5
It contains the final version of all features
It is delivered frequently
It is an effective way to get feedback
Which of the following is not part of an agile team’s mindset toward working
software?
It is the primary measure of progress
1.5 ptsQuestion 6
Jenkins stores files generated during the execution of the pipeline.
Unit tests can usually be run without starting the whole application.
The goal of Continuous Integration is to keep the software in a working state all the time.
Continuous delivery is a software development practice where members of a team
integrate their work frequently, usually each person integrates at least daily.
Which of the following is not correct?
1.5 ptsQuestion 7
Open source software does not always imply that the software is free of charge.
Gradle performs incremental builds in which parts of the build tree are always re-
executed with every Gradle build command
Unlike traditional software development models, planning and documentation are not
required in Agile software development
Git stores data as a stream of snapshots; it does store changed files
Which of the following statement is correct?
1.5 ptsQuestion 8
Which of the following is correct? Choose all that apply.
It is not possible to add actions to a Gradle task.
The order in which tasks can run is determined using a directed acyclic graph.
If a task in the build script. fails during execution, Gradle will still run the whole build.
A "dry run" is a run where Gradle does not actually execute all the tasks you tell it to
execute.
Gradle build files are XML scripts
One of the feature of Gradle is incremental builds.
1.5 ptsQuestion 9
When a certain event is triggered from GitHub.com, a HTTP GET payload is sent to the
webhook's configured URL.
When a certain event is triggered from GitHub.com, an XML payload is sent to the
webhook's configured URL.
When a certain event is triggered from GitHub.com, a HTTP POST payload is sent to the
webhook's configured URL.
When a certain event is triggered from GitHub.com, a secured payload is sent to the
webhook's configured URL.
Which of the following is correct. Choose all that apply.
1.5 ptsQuestion 10
If you don't have write access to the repository there is no way you can contribute.
If you don't have write access to the repository where you'd like to create a pull request,
you must create a fork, or copy, of the repository first.
If you don't have write access to the repository where you'd like to create a pull request,
you must create a fork, or copy, of the repository first.
Which of the following statements is correct. Choose all that apply.
You cannot specify which branch you'd like to merge your changes into when you create
your pull request.
6 pts
HTML Editor
Question 11
A computer company was working on an experimental fighter. A
quality control software engineer suspected that the flight control
software was not sufficiently tested, although it had (finally) passed all
its contracted test suites. She was being pressured by her employers
to sign off on the software. Her employers said they will go out of
business if they did not deliver the software on time. She did sign off.
Is this an acceptable practice? Discuss your answer.
              
         12pt Parag
0 words
6 pts
HTML Editor
Question 12
You are managing a development team that is building a software for
global online bidding company called iBid. The company’s executive
asked you to use an open-source software called BidOptimize1.1.3
which is released under the MIT license. The company's management
plans to open source their new iBid software with a license. The
company's executive wants to preserve its trademark and own
branding.
(a) Is the use of BidOptimize1.1.3 MIT license suitable for use of iBid?
Explain your answer.
(b) What advice would you make for the management regarding open
sourcing iBid? Explain your answer
              
         12pt Parag
0 words
9 ptsQuestion 13
Consider the following scenario.
Feature: Movie should appear in alphabetical order, not added order
Scenario: view movie list after adding 2 movies
GIVEN: I am on the MovieFan home page
WHEN: I follow “Add new movie”
THEN: I should be at the “Create New Movie” page
WHEN: I fill in “Title” with “Zero”
AND: I select “PG-15” from “Rating”
AND: I press “Save Changes”
THEN: I should be on the MovieFan home page
WHEN: I follow “Add new movie”
THEN: I should be at the “Create New Movie” page
WHEN: I fill in “Title” with “Apple Games”
AND: I select “R” from “Rating”
AND: I press “Save Changes”
THEN: I should be on the MovieFan home page
THEN: I should see “Apple Games” before “Zero” on the home page
sorted by Title
1. Briefly explain the problem with the way the scenario is written. [3
points]
Upload
2. Briefly explain how the way the scenario is written could be
improved. [2 points]
3. Re-write the scenario to make the suggested improvement(s). [4
points]
Write your answer for the above questions on a paper with your
Unikey and SID and upload it through the "Upload" Input provided
below.
Choose a File
20 ptsQuestion 14
You are working in a development team that follows CI/CD practices.
The team uses the following code snippet in their CI/CD server.
Examine the code snippet and answer the following questions.
plugins {
id 'java'
id 'jacoco'
}
repositories {
mavenCentral()
}
dependencies {
testImplementation
'org.junit.jupiter:junit-jupiter-api:5.6.2'
testRuntimeOnly 'org.junit.jupiter:junit-
jupiter-engine:5.6.2'
}
test {
useJUnitPlatform()
test.finalizedBy jacocoTestReport
}
build.gradle
1. One of your team members build the project by running “gradle
clean build test jacocoTestReport”. Explain why it is not best
recommended to run this command in this way. [3 points]
2. How the command in the previous question should be re-written?
[3 points]
3. When you try “gradle run” command in your local workspace, an
error triggers with the message “Task 'run' not found in root project”.
Explain what caused the error from running "gradle run" command and
how to fix it. [5 points]
4. Explain a CI practice that has been violated from the issue resulted
in question part 3. [3 points]
5. What changes should be made in build.gradle to fix the violation of
the CI practice identified in question part 4. [3 points]
6. In Jenkins, explain the important actions that should be included in
the "Post-build Actions" to monitor the quality of your code. [3 points]
Write your answer for the above questions on a paper with your
Unikey and SID and upload it through the "Upload" Input provided
below.
Upload
Choose a File
14 ptsQuestion 15
package calc;
public class Calculator {
public int add (int a, int b) {
return a + b;
}
public int div (int a, int b) {
if (b == 0) {
throw new
ArithmeticException("Division by
0");
} else {
return a / b;
}
}
public int isPositiveNumber (int
a) {
Consider the code snippet Calculator.java below which saved under
“src/main/java/calc” directory: “Calculator.java”. Also, consider the
code snippet “CalculatorTest.java” which is saved under
“src/test/java/calc/”
import static
org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
import
org.junit.jupiter.api.BeforeAll;
class CalculatorTest {
private static Calculator
calcObj;
@Test
void testAdd() {
assertEquals(3,
calcObj.add(1, 2));
}
@BeforeAll
Upload
if (a > 0) {
return 1;
} else if (a < 0) {
return -1;
} else {
return 0;
}
}
}
public static void
calcCreation(){
calcObj = new
Calculator();
}
}
Calculator.java
CalculatorTest.java
1. When the unit test is run using
Gradle, it shows an error . Explain
why the error is triggered and how to fix it. [4 points]
2. Assuming that the error explained in previous question is fixed.
Explain in detail the “calcCreation” method. [4 points]
3. Extend the CalculatorTest.java to write a quality unit test code for
the“isPositiveNumber” method. Your code must compile and run
successfully. [6 points]
Write your answer for the above questions on a paper with your
Unikey and SID and upload it through the "Upload" Input provided
below.
Choose a File
15 ptsQuestion 16
C id il t th t i ki d l i “F t
Consider an agile team that is working on developing a “Frequent
Flyer” software application. The product backlog has 20 user stories
which worth 128 SP. After 2 weeks of work, the team has reached the
end of the first sprint. The user stories in the task board are ordered
from the highest priority (at the top) to the lowest priority (at the
bottom) as shown in the following table. The team is about to prepare
for the sprint demo. The status of the task board is shown in the table
below.
User Story To Do In Progress Done
1. Book selected flight
(8 SP)
P1, P2
2. Load most recent flight
(5 SP)
P1 P2, P3
3. Enter flight date for a flight
(3 SP)
P4 P1, P2
4. Delete stored frequent flight
(5 SP)
P1, P2, P3 P4
5. Show my frequent flight list
(3 SP)
P1, P2
P5
6.Load selected previous flight
(3 SP)
P1, P2
The Team’s Task board (Px refers to the task of the corresponding user story)
1. Which user stories are you going to demonstrate in the Sprint
Upload
Demo? Why? [3 points]
2. What are the team’s estimated and actual velocity for that sprint?
Illustrate how is it calculated. [4 points]
3. What is the estimated project duration? Illustrate how is it
calculated. [3 points]
4. Suppose that an important feature support task was identified in the
middle of the sprint. The team and the product owner agree that the
task must be added to the sprint, but they do not know the effort
estimate needed to complete it. Based on Scrum, discuss what should
be done to deal with this scenario? [5 points]
Write your answer for the above questions on a paper with your
Unikey and SID and upload it through the "Upload" Input provided
below.
Choose a File

热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图