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

Your first example of a clever solution.

Posted on January 19, 2023January 19, 2023 By William Jojo
Uncategorized

People who know me are familiar with how, generally, I’m not too fond of clever solutions. This is because clever ones often are flawed in some subtle way that leads to bugs later. I prefer clear, precise solutions. The situation below was a little different, and now I task you with solving the same problem … Read More “Your first example of a clever solution.” »

CISS-111 Project 2

Posted on January 18, 2023February 20, 2025 By William Jojo
CISS-111-Project

CISS-111 Project 2 Write a Java program to demonstrate using Vector, ArrayList, enumerations, regular expressions, and record. You will create a program to perform basic parsing of a 6502 assembly language program. Learning outcomes Working with files. Building enumerations. Working with enumeration methods. Working with strings and parsing. Working with Java records. Exposure to predefined … Read More “CISS-111 Project 2” »

CISS-110 Project 4

Posted on December 31, 2022January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 4 This is the game of Boulder, Parchment, Shears! Yes, the one from Critical Role based on Rock, Paper, Scissors. This project deals with a range-based for loop where we know the exact number of times a loop will iterate (perform the associated block of code). You will also use an if/else construct … Read More “CISS-110 Project 4” »

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” »

Posts pagination

Previous 1 … 4 5 6 … 18 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.