Skip to content

Programming by Design

If you're not prepared to be wrong, you'll never come up with anything original. – Sir Ken Robinson

  • About
  • Java-PbD
  • C-PbD
  • ASM-PbD
  • Algorithms
  • More!
    • Commodore 64
    • Operating Systems
    • Odds and Ends
    • Theory

Category: Theory

Before you paste that code you found during your online search…

Posted on January 10, 2019July 26, 2024 By William Jojo
Theory

(Updated July 26, 2024) “Um, I’ll tell you the problem with the scientific power that you’re using here: it didn’t require any discipline to attain it. You read what others had done, and you took the next step. You didn’t earn the knowledge for yourselves, so you don’t take any responsibility for it.” – Dr. … Read More “Before you paste that code you found during your online search…” »

Bitwise Operators and Two’s Complement.

Posted on May 7, 2012August 13, 2024 By William Jojo
ciss-110, ciss-111, Ciss-150, Theory

(Updated August 5, 2024) Table of Contents Bitwise Operators Two’s Complement Numbers Shifting and Rotating Showing the Bits Bitwise Operators Within computer science, there is a desire to manipulate individual bits. Although memory is plentiful in many computing systems, that does not excuse one from considering all possible solutions to making a program or system … Read More “Bitwise Operators and Two’s Complement.” »

Number Systems

Posted on May 7, 2012August 13, 2024 By William Jojo
ciss-110, ciss-111, Ciss-150, Theory

(Updated March 24, 2020) Table of contents Overview Decimal Binary Octal Hexadecimal Exercises Overview Numbers systems are simply the means by which we represent values given a particular radix. The radix represents the base counting system. As a defined standard we generally use the Hindu-Arabic numerals of the base 10 counting system, or simply base … Read More “Number Systems” »

Big-O Notation

Posted on May 3, 2012November 3, 2026 By William Jojo
ciss-111, Theory

(Updated November 3, 2026) Overview As we write programs, we gain knowledge. This is especially true in an educational environment. We learn when to select certain constructs in favor of others. We may also learn about scalability, execution time, memory consumption, and I/O utilization. If we are truly blessed, our instructor even explains in detail … Read More “Big-O Notation” »

Approaching a Project

Posted on April 30, 2012November 3, 2026 By William Jojo
Theory

(Updated November 3, 2026) When designing a basic application program, certain details may be elusive. For example, how many variables will you need, or how many methods/functions will you need to create? There is no simple prescription that can handle all of the possibilities. The only thing you can do is start processing the information … Read More “Approaching a Project” »

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Copyright © 2018 – 2026 Programming by Design.