ProCodeCG – Private Coding Class – Algorithm & Data Structure – Day #1

Standard

Today we learn about programming languages, datatypes and basic principles of programming: sequences, looping, conditionals dan functions 🙂

Screen Shot 2020-07-14 at 10.46.55

we started with looping

Screen Shot 2020-07-14 at 10.53.02

and then operators

Screen Shot 2020-07-14 at 10.54.41

and then conditionals

Screen Shot 2020-07-14 at 11.01.17

functions

Screen Shot 2020-07-14 at 11.05.21

then we did some challenges 🙂 this one is how to determined whether a number is prime or not

Screen Shot 2020-07-14 at 11.09.13

Screen Shot 2020-07-14 at 11.10.39

we learned different techniques and logics to solve the problem

Screen Shot 2020-07-14 at 11.19.26

comparing different codes

Screen Shot 2020-07-14 at 11.22.32

and modify it to be able to display list of prime numbers in a certain ranges 🙂

Screen Shot 2020-07-14 at 11.31.34

we’re going to learn about data structures in the next class 😉

Advertisement

ProCodeCG – Private Training – Coding with Python – 23 Aug 2019 – Day #5

Standard

IMG_9333

After debugging the homework from the previous class, the topic for today is how to create a palindrome detector 🙂

IMG_9334 IMG_9334

IMG_9336

The results 🙂

IMG_9337

simple palindrome detector

Screen Shot 2019-08-23 at 10.44.50

Screen Shot 2019-08-23 at 10.51.10 Screen Shot 2019-08-23 at 10.57.34

with word input

Screen Shot 2019-08-23 at 11.05.46

with sentence input

Screen Shot 2019-08-23 at 11.13.29

and then we learned about simple cryptography, virus and encryption-virus 😉 so much to learn today 🙂

Screen Shot 2019-08-23 at 11.43.11

Today is the last day of the private training, but now Riani has most of the skill a programmer should has 🙂

IMG_9332

ProCodeCG – Private Training – Coding with Python – 14 Aug 2019 – Day #3

Standard

Today we finished our calculator with GUI

Screen Shot 2019-08-14 at 10.27.17 IMG_8635

and then we learn some file and directory operations 😉

IMG_8636

we make a form that will save data to a file

Screen Shot 2019-08-14 at 11.20.49

and then read the file to display a keyword we search from a search form 😉

Screen Shot 2019-08-14 at 11.35.48

IMG_8637

IMG_8638

next we will learn some matrix operations and then some sorting algorithm 😉

IMG_8634