Debugging

Definition: Finding and removing errors in your program is called debugging. 

While developing the solution to a program , it’s always a good practice to test your program by running it to ensure that the code runs as you intended. If it does not, you try to determine what caused the error and modify your code so that it’s fixed.

In class Demonstration

In the example below, we consider the task to be solved as part of a bigger program, however now, you would be working on the sprite movement:

https://scratch.mit.edu/projects/518447917/

(Credit: https://scratch.mit.edu/users/rickettr , https://scratch.mit.edu/users/CyberParra )

Teacher discusses and demonstrates how  the program can be fixed.

Discussion

Even if you are confident that you have completed your program, you should test it to see that it works correctly , before releasing your programming project for use by it’s intended audience.

 

In class exercise and homework

Open the following scratch studio and try debugging the projects listed after the studio:

https://scratch.mit.edu/studios/219583/

(Credit: https://scratch.mit.edu/studios/219583/curators/ , https://scratch.mit.edu/users/rickettr)

List of Projects to debug:

Debug-It 1.1

Debug-It 1.2

Debug-It 1.3

Debug-It 1.4

Debug-It 1.5

Contingency Class

See the pdf for notes that were given when the internet was not available for class:

https://drive.google.com/drive/folders/103wrSFX2SRvkDy3yvOrszRh2xONpR0l5?usp=sharing

“HOMEWORK – Perform the in class exercise and homework found on the post from our google classroom”

Debugging in Context – Finding the average of an unknown amount of numbers

See video Below:

UPDATES

2022 April 22nd – Added contingency class

2023 January 11th – Added Debugging in Context – Finding the average of an unknown amount of numbers video only.

© 2021  Vedesh Kungebeharry. All rights reserved. 

Collaborating with each other

—–Start: Our Syllabus Objective/Content: ——–OBJECTIVE
Internet-based tools for collaboration
CONTENT
Adding/Editing content; Site for shared working;
Google drive as a collaborative forum.

—–End: Our Syllabus Objective/Content: ——–

INSTRUCTION
1. Required: Review the content on collaboration here (Estimated Time 10 mins):https://islandclass.wordpress.com/2018/04/25/wikis-for-online-collabaration/

2. View the videos found via this link:

https://www.youtube.com/watch?v=S9LV1xR5lOo&list=PLU8ezI8GYqs5DMmx_GKEkugMqXdSocbFZ&index=1.


3. Practical: Write your Name and any message  on the google doc here: 

https://docs.google.com/document/d/1JO-KBeewj-d_390Mq9XeqWHvByFyZvdHkZ3RLKfMKnA/edit?usp=sharing
(The document is named, “Collaborating with each other”)

© 2021  Vedesh Kungebeharry. All rights reserved. 

SBA Database Feedback 2021

See your video feedback here.

Group 1D

To be Posted. In class Feedback given on 18th March 2021. Video posted 20th March 2021.

OptionSurnameFirst NameClassGroupLeader
DRamgoolamAshvin5A1DY
DDeosaranKhiran5P1D 
DGangaSuraj5A1D 
DJagroopsinghJoshua5A1D 
DRamnarineAmish5A1D 
DSawhShivum5A1D 

Group 2D

To be Posted. In class Feedback given on 18th March 2021. Video posted 20th March 2021. UPDATE: Reposted on 13th April 2021

OptionSurnameFirst NameClassGroupLeader
DAliXavier5A3DY
DBasdeoDevan5N3D 
DDwarikaLiam5P3D 
DKingRomario5N3D 
DSookramAlex5A3D 
DWalcott-SmartJaymeel5P3D 

Group 3D

To be Posted. In class Feedback given on 18th March 2021. Video posted 20th March 2021. Students of this group did not find time to implement changes based on prior (before 18th March 2021 ) feedback . Students to resubmit on Wed 24th March 2021.

OptionSurnameFirst NameClassGroupLeader
DAliXavier5A3DY
DBasdeoDevan5N3D 
DDwarikaLiam5P3D 
DKingRomario5N3D 
DSookramAlex5A3D 
DWalcott-SmartJaymeel5P3D 

Group 4D

Feedback given in class. No video was recorded.

OptionSurnameFirst NameClassGroupLeader
DLodharGrant5P4DY
DAbidIsa5N4D 
DArjoonVivek5A4D 
DBhalekarAkshat5A4D 
DDeonarineDarius5A4D 
DLalbeharryJaden5A4D 

Group 5D

No video feedback, Inclass feedback given. As of the 18th Mar 2021 students were advised to change the structure of the authority table and resubmit on or before the 24th Mar 2021.

OptionSurnameFirst NameClassGroupLeader
DKhanAmeer5N5DY
DDalipsinghNicholai5A5D 
DEsareesinghVashish5P5D 
DHoseinJarvis5P5D 
DKhanTaariq5A5D 

Group 6D

To be Posted. So submission was made. This group was running late with no penalty, Zachary managed his communications with me effectively. Zachary reported that after seeing the sample demonstration on how to group data into tables that they would be changing the structure of the DB. When questioned on the matter on Mar 18th 2021, Zachary reported that comfortable progress was being made, and that the group is on track for submission on the 24th Mar 2021. Known risk: Teacher has not seen a preview of the final product as yet.

OptionSurnameFirst NameClassGroupLeader
DDomanZachary5A6DY
DHarrypersadKyle5P6D 
DRamjattanShivan5A6D 
DRamkissoonJustin5P6D 
DSamlalTeeval5A6D 

Group 7C

In class feedback given 25th Feb 2021, video posted 18th March 2021

OptionSurnameFirst NameClassGroupLeader
CMohammedIrshad5N7CY
CDookharanJared5P7C 
CRamadharNicholas5N7C 
CRamloganShivan5S7C 
CRamnathAdriel5S7C 
CSandySjezeh5P7C 

Group 8C

In class feedback given 25th Feb 2021, video posted 18th March 2021

OptionSurnameFirst NameClassGroupLeader
CSankarPete5P8CY
CDassDeron5P8C 
CGopaulRandel5A8C 
CJumanConnor5P8C 
CTackoorBrandon5A8C 
CWalayAlex5P8C 

UPDATE: RESUBMISSION FEEDBACK WITH 6D ON 26th APR 2021

© 2021  Vedesh Kungebeharry. All rights reserved. 

Blogs (Weblog)

Blog is another word for weblog. A weblog is a website that is like a diary or journal. A blog can be private or public.[1]

Most people can create a blog and then write on that blog. Bloggers (a word for people who write on blogs) often write about their opinions and thoughts. A blog containing video material is called a video blog or video log, usually shortened to vlog.

When a person writes on a blog, what they write is in the form of a post, which is a single piece of writing on the blog. Posts often include links to other websites.

Blogs can have one or more writers. If they have more than one writer, they are often called community blogs, team blogs, or group blogs.[2]

Ways to Use a blog[3]

Teachers can use blogs to :

  • publish assignments,
  • resources and notes,
  • keep students informed on class events, due dates, and content being covered.
  •  improve students writing skills.

Students can use blogs to

  • publish their writing and educate others on a particular topic.
  • To keep track of extra-curricular groups and clubs e.g chess club

Updates:

2023-Jan-8 : changed “keep students on…” to “keep students informed on…”


[1] VK

[2] https://kids.kiddle.co/Blog

[3] https://elearningindustry.com/how-to-use-blogs-in-the-classroom

SMS vs IM on mobile phones

SMS

  • SMS  = Short Message Service
  • Is available for all phones on a cellular network
  • Can be used at any time on the cellular network
    • Fees are usually encompassed in the user’s mobile plan

Main Advantages

  • SMS is only dependent on the mobile network connection, and essentially can reliably work at any time (it does not rely on internet connectivity)

Main Disadvantages

  • Can only send text

IM

  • IM=Instant Messaging
  • Is available only where…..
    • The user installs the service
    • some phone manufacturers have  a service pre installed
    • Provided by 3rd party apps or Companies
      • Iphone’s Imessages
      • Whatsapp
      • Telegram
      • Facebook Messenger

Main advantages

  • Can be used to send a variety of data formats in addition to text
    • Files
    • Images
    • Documents
  • Easily supports Mobile to pc messaging

Main Disadvantages

  • Messages are not always guaranteed to be instant due to   breaks in internet connectivity, which is common for internet provided by dataplans
  • All IM services require  an internet connection and/or a dataplan to be used.

  1. SMS
    1. Main Advantages
    2. Main Disadvantages
  2. IM
    1. Main advantages
    2. Main Disadvantages

Updates to this post

2024/1/7 –

Changed image access from link only to an inline image displayed at the top of the post.

Added a TOC

© 2021  Vedesh Kungebeharry. All rights reserved.