ProCodeCG Kids Programming Class 19 Sept 2015 – A Simple Virus in Python

Standard

Today we learn how a simple virus in Python works 🙂

IMG_6984

The main parts of a virus in general is: 1) searching files to be infected 2) infect the files in the to-be-infected list 3) execution of infection (this one is triggered by date)

IMG_6985

The virus is harmless. It just copy the body of itself to all .py files in current directory 🙂

IMG_6986

Kids are very serious when they are given an interesting topic like this 😛

IMG_6987

The purpose of teaching this to kids is to make them aware that coding should not be used for bad things because the effect can be very destructive.

IMG_6988

Next week we will be working on the anti-virus 😉

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s