This content originally appeared on DEV Community and was authored by Ramya .C
Programming Rules & Key Concepts
Date: 10/08/25
Day: 16
Special Class Learnings
Today’s class was packed with valuable programming fundamentals and practical insights. Here’s a summary of everything I learned today — from basic programming rules to essential coding techniques and even resume-building tips!
Programming Rules I Learned
Here are some beginner-friendly programming rules I noted down, which are helping me build a strong mindset when solving problems:
- Don’t say “I don’t know” — say “Let me try.”
- Don’t think about the entire output at once.
- Think about each step carefully.
- Make it repeatable as much as possible.
- Introduce variables if you think it is necessary.
- Go from micro to macro.
- Go from known to unknown.
These rules help break down complex problems into manageable pieces — and that’s the key to learning programming effectively.
What I Learned Today:
Number Systems:
- Decimal
- Hexadecimal
- Octal
Understanding these systems is important for data conversion, memory addressing, and low-level operations.
Mathematical Operations:
How to square a value:
Example:n**2
orpow(n, 2)
How to cube a value:
Example:n**3
orpow(n, 3)
Division Operators:
/
(Division) — returns float
Example:10 / 3 = 3.33
//
(Floor Division) — returns whole number without decimal
Example:10 // 3 = 3
Number Reversal:
- Learn how to reverse digits in a number using loops or string slicing.
Printing Last Two Digits of a Number:
If the number is 4563
, the outputs can be:
63
56
45
This can be done using loops and string slicing or integer division with modulo.
Additional Concepts:
- Using
cout
/print()
- Basic addition of numbers
- Palindrome check
- How to build a resume
- How to prepare for interviews
- How to partition the resume (technical, academic, project-based)
Final Thoughts
Today’s class gave me a solid understanding of programming logic and job preparation strategies. I’m excited to continue my journey and keep sharing my learnings here.
If you’re also a beginner, I hope this helps motivate you to stay consistent and curious.
Happy coding
This content originally appeared on DEV Community and was authored by Ramya .C