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
  • Other

Author: William Jojo

Network Configuration for VMs

Posted on December 13, 2022January 21, 2025 By William Jojo
CISS-150-HowTo

(Updated January 21, 2025) Overview This document walks you through the steps to configure the network settings for Windows 10, Windows Server 2019, and Ubuntu 24.04 W2k19/Windows 10 Select Start. Type ethernet and select Ethernet Settings from the menu. Select Change adapter options. Right click the Ethernet adapter and select Properties. Select Internet Protocol Version … Read More “Network Configuration for VMs” »

CISS-110 Project 2 – C

Posted on June 16, 2022August 13, 2024 By William Jojo
CISS-110-Project-C

CISS-110 Project 2 This project deals with reading input from the user, storing the input into variables and displaying those variables. This program is an introductory project into the primitive data types int, double, and the string type. Learning outcomes Build a program from the ground up. Using correct data types. Watching for lost precision … Read More “CISS-110 Project 2 – C” »

CISS-110 Project 1 – C

Posted on June 16, 2022August 13, 2024 By William Jojo
CISS-110-Project-C

CISS-110 Project 1 The goal of the first project is to become acquainted with your integrated development environment (IDE). This is intended to purposefully introduce errors that you will then correct – preferably one at a time. The reason is that you should experience how some errors may change or completely disappear as a result … Read More “CISS-110 Project 1 – C” »

Installing JetBrains CLion and C compiler

Posted on June 16, 2022June 16, 2022 By William Jojo
Docs

(Updated June 16, 2022) Overview Setting up the development environment for creating C applications is easy. Two significant components are necessary: a compiler and an editor. A compiler is provided with CLion for Windows, and the Mac edition requires you to install the XCode environment. Additional documentation is provided below. The CLion IDE The CLion … Read More “Installing JetBrains CLion and C compiler” »

Installing JetBrains IntelliJ and Java JDK FX

Posted on March 22, 2022September 2, 2024 By William Jojo
Docs

(Updated September 2, 2024) Overview Setting up the development environment for creating Java applications is easy. Two significant components are necessary: a compiler and an editor. The Java JDK provides the compiler, and the editor is often an integrated development environment (IDE). We recommend using the Azul Zulu Java JDK and the JetBrains IntelliJ CE … Read More “Installing JetBrains IntelliJ and Java JDK FX” »

Project 6 Hashing Stuff

Posted on November 17, 2021April 6, 2024 By William Jojo
Code

To get you started on Project 6, here is the basic code to read the checkme.txt file. It reads words, converts to upper case, and strips extraneous punctuation. import java.io.FileNotFoundException; import java.io.FileReader; import java.util.Scanner; public class Main { public static String removeNonLetDig(String s) { int b = 0, e = s.length()-1; // Trim from the … Read More “Project 6 Hashing Stuff” »

An Introduction to Regular Expressions

Posted on October 27, 2021January 23, 2023 By William Jojo
Docs

(Updated October 27, 2021) Overview Pattern matching is a frequent requirement in programming. As a result programmers are often tasked with find the best way to prove that a string matches a specific set of criteria: email address format, password requirements, IP address format (IPv4 and IPv6), and the list goes on an on. The … Read More “An Introduction to Regular Expressions” »

Signal Handling

Posted on October 19, 2021November 22, 2024 By William Jojo
Ciss-150, Docs

(Updated November 22, 2024) Overview As we have seen, many hardware and software components vie for CPU time. In addition to hardware interrupts when a device needs servicing and software interrupts that perform privileged actions within the OS, signal handling components allow programs to try to intercept some of the kinds of interrupts that may … Read More “Signal Handling” »

CISS-150 Windows Memory

Posted on October 18, 2021 By William Jojo
Uncategorized

Overview The memory layout of Windows is a bit more complex than that of Linux. While we have seen some of the Linux memory model, it is also a good idea to get a sense of how other OSes perform similar memory virtualization. Get the Software Login to your Windows 10 guest and get the … Read More “CISS-150 Windows Memory” »

Godbolt: Behind the Compiler

Posted on October 18, 2021July 26, 2024 By William Jojo
Ciss-150, Docs

(Updated July 26, 2024) Overview The C compiler produces platform-specific executable code, which can also be viewed as assembly language, given the correct set of options provided to the compiler. This can be particularly useful when we want to learn a bit more about what is going on behind the scenes. Maybe we want to: … Read More “Godbolt: Behind the Compiler” »

Posts pagination

Previous 1 … 5 6 7 … 19 Next

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

Copyright © 2018 – 2025 Programming by Design.