0% found this document useful (0 votes)
52 views8 pages

Lab Report Template CPE106L 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views8 pages

Lab Report Template CPE106L 1

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

In

te
rn
al
Us
e

Experiment 1:
Using Software Tools and Code Versioning
System
CPE106L (Software Design Laboratory)
Member 1: Mark Jasper R. Iglesias
Member 2: Xandre Adrian M. Nicolas
Member 3: Angel Monique S. Tapulao

Group No.: 6
Section: B3
In
te
rn
al PreLab
Us
e
Readings, Insights, and Reflection
[[What to Include?
Readings include: METIS books, pertinent websites. Provide below your Insights and
Reflection.]

<Insights and Reflections here…>


Example Readings, Insights, and Reflection
Professional Git
9781119285007
With the introduction to GitHub, we were able to learn new things. First, we were
able to assign ourselves with the help of the gear icon as stated in the step 1 of the
course. We also learned how to turn on pages in GitHub which was easy as it only
needed a few alterations in the Settings Tab. Third, we learned how to close an issue
which only involve the clicking of the “Close Issue” Button.

Fundamentals of Python: Data Structures , 2nd Edition


9780357122754
We also learned how to create branches in GitHub by navigating through the
Code Tab and selecting the main option under the branch drop-down, and then
entering our chosen branch name before clicking the Create Branch button. After
selecting the newly created branch, we learned how to commit a file which involved
basic steps like creating the file name and adding its contents like how it is done in
other programming applications. After committing a message, we were able to commit
the new file with the help of the buttons provided. We were also able to open a pull
request which is a proposal and request for individuals to review your work and merge
it with their branch. With this, the difference in branches scan be seen. This is done by
clicking the “New pull request Tab” and selecting the appropriate branches for the base
and the compare, and then adding a title before finally clicking the “Create pull request”.
We were also learned how to respond to a review by selecting the “Files Changed” tab
and replacing the codes before committing the changes. Lastly, we learned how to
merge one’s pull request which was done by simply pressing the “Confirm merge”
button. Once this is done, the branch one has created earlier is no longer necessary as
the changes have already been merged, and the individual can now delete his/her
branch by simply pressing the “Delete branch” button.

Git, Anaconda and Visual Studio Code


We also learned how to create branches in GitHub by navigating through the
Code Tab and selecting the main option under the branch drop-down, and then
entering our chosen branch name before clicking the Create Branch button. After
selecting the newly created branch, we learned how to commit a file which involved
In
te
rn
basic steps like creating the file name and adding its contents like how it is done in
al
other programming applications. After
Us
e Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo
pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris
eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit.
Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt
sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque
malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque.
Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus
eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue
lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu,
feugiat in, orci. In hac habitasse platea dictumst.
In
te
rn
al
Us
InLab
e
[What to Include?]
 Objectives (See Lab guide).
1. Objective 1
2. Objective 2
 Tools Used
o Anaconda
o Git Terminal
 Procedure. Steps Performed with edited screenshots of tools used (Example: Using
Anaconda, sample run, debugging with DISCUSSIONS (DON’T copy and paste from the
ebook). Use the source in the Lab Guide. You may include source codes of Roth.
IMPORTANT: Figure numbers and labels. Mention the figure in your discussion.

<Discussion placeholder>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.

Figure 1. Using conda command to display created environments.


There are seven conda environments.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
In
te
rn
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
al
voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat
Us non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
e

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
In
te
rn
al
Us
PostLab
GitHub Repository
e

(Figure 1. Merged Branches containing assigned programming problems)

In this image, a GitHub repository is created for the group to collaborate and work on
the laboratory activities. Each member has their own branch. The Git Hub leader will be the one
to assign each member programming problems that they must commit to and push to their
branch. These branches are then merged into the main branch by the Git Hub leader.
In
te
rn
Programming Problem 1
al
Us
e

(Figure 2.1 L1PP1.py)

(Figure 2.2 stats.py)


In
te
rn
Figures 2.1 and 2.2 show a program that allows a user to enter a list of numbers and then
al
get the mean, median, and mode of these numbers from the list. The main file (L1PP1.py) utilizes
Us
another file (stats.py) that defines functions that will get the median, mode, and mean. In the
e median(l) function, the list will be sorted out first using “sort()” and then get the length of the list
using “len(l).” After this, the function will use the length of the list to obtain the middle index or
the index of the median in the list and then, finally, return the median. In mode(l), the function
first creates a dictionary. It then goes over the numbers in the list and turns them into keys in
the dictionary. If a number in a list is repeated,

Programming Problem 2

(Figure 3 L1PP2.py)

You might also like