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 😉