Posts

Showing posts with the label CS50

July 1st 2022 - Day 1 of 3 day study bender

Image
HAPPY Canada D'eh! Today was a great day, got up early in the morning thanks to alerts stemming from a server failure. Finished troubleshooting and fixing that within half an hour and then was on to my day. Started the day with lecture 4 of David Malan's CS50, the title for the lecture was Memory and just like the rest so far was an amazing one! Key takeaways: 1) Hexadecimals rule! -> RGB which forms the basis for all our visual data can be represented in 3 Hexs ranging from 00 to FF indicating decimal values from 0 to 255 and their combinations can represent the entire visual spectrum. Hexadecimals are also used to identify memory locations and by convention they are usually prepended by '0x' so '0x10' is not decimal base 10 but hexadecimal 10. 2) Pointers -> Have heard so much about this, it's finally great to know what they actually are. Pointers are special variables that store location (memory address) of a particular piece of data. In 'C'...