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

IntelliJ: Adding Command Line Arguments

Posted on September 10, 2021January 29, 2025 By William Jojo
Docs

(Updated January 29, 2025) Overview Using an IDE to build and run programs is typically only done during development. Many developed programs will run on servers without a text or GUI interface of any kind and will write errors and such to log files for review when something goes wrong. Since these programs are often … Read More “IntelliJ: Adding Command Line Arguments” »

bits

Posted on February 20, 2021October 2, 2024 By William Jojo
Uncategorized

(Updated October 2, 2024) 8,000,000 possible numbers. 8M bits in 1M bytes. byte[] ba = new byte[1000000]; ba[0] ba[1] ba[2] ba[3] | byte0 | byte 1 | byte 2 | … 01234567 01234567 01234567 ^ ^ | | 2000007 2000023 byte 0 01234567 ^^^^^^^^ |||||||└ 2000007 ||||||└ 2000006 |||||└ 2000005 ||||└ 2000004 |||└ 2000003 ||└ … Read More “bits” »

Strings

Posted on February 10, 2021 By William Jojo
Uncategorized

public class Strings { public static void print_array(int[] potato) { int x; for (x = 0; x < potato.length; x++) { int y = 0; System.out.println("potato["+x+"] = " + potato[x]); } } public static void main(String[] args) { double cost = 0.0, price, sub; int count; for (String a : args) { System.out.println(a); String parts[] ... Read More “Strings” »

TED, Podcasts and Text on Technology, Design and Learning

Posted on February 7, 2021August 13, 2024 By William Jojo
ciss-110, ciss-111, Other

(Updated February 7, 2021) TED Technology, Design and Learning Roman Mars on City Flags and Proper Design The late Sir Ken Robinson on Schools and Creativity The late Sir Ken Robinson on changing educational paradigms Podcasts on Technology, Design and Learning 99pi Ways of Hearing – Episode #1 Time (2017) (Begins at 6:04) 99pi Octothorp … Read More “TED, Podcasts and Text on Technology, Design and Learning” »

Background Sounds

Posted on February 7, 2021August 13, 2024 By William Jojo
ciss-110, ciss-111, Other

(Updated December 28, 2023) When programming or writing content for my books, I prefer to have some ambient noise, but something more than just white noise, but not as distracting as the punk music that Cameron Howe used in Halt and Catch Fire – which was a very accurate depiction of the technology world at … Read More “Background Sounds” »

Python and Java

Posted on January 31, 2021August 13, 2024 By William Jojo
ciss-110, ciss-111, Other

(Updated January 31, 2024) Table of Contents Overview Statements Data Types Basic I/O Conditional Constructs Iterative Constructs Files Arrays Functions/Methods Overview This document is intended to provide a 10,000-foot view of the differences between Python and Java. This is not intended to be an exhaustive comparison of features and/or details. This document should be viewed … Read More “Python and Java” »

CISS-110 Project 3

Posted on January 20, 2021January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 3 This project deals with reading input from the user, storing the input into variables and displaying those variables. Learning outcomes Build a program from the ground up. Introduce basic GUI tools. Using correct data types. Watching for lost precision in calculations. Working with Integer.parseInt(). Confirmation program produces desired results. This program is … Read More “CISS-110 Project 3” »

CISS-150 Project 6 – Swap/Paging Space

Posted on December 29, 2020April 28, 2025 By William Jojo
CISS-150-Project

CISS-150 Project 6 (10 points) (Updated April 28, 2025) Overview The Ubuntu VM provided to you has no swap/paging space. Examination through the use of free and top will reveal this. Ubuntu 17.04 and later allows the use of a file in the standard filesystem to provide the storage needed for paging space. You will … Read More “CISS-150 Project 6 – Swap/Paging Space” »

CISS-150 Project 2 – Hardware

Posted on December 27, 2020October 6, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 2 (10 points) (Updated October 6, 2024) Overview For this project, you will gather hardware information on all three virtual machines provided by your instructor. These include Windows 10, Windows Server 2019, and Ubuntu 24.04. Learning Outcomes System hardware. Exposure to Linux commands and pseudo filesystems. Exposure to Windows command shell and PowerShell … Read More “CISS-150 Project 2 – Hardware” »

CISS-150 Project 8 – Multifactor Authentication (MFA)

Posted on October 26, 2020May 5, 2025 By William Jojo
CISS-150-Project

CISS-150 Project 8 (10 points) (Updated May 5, 2025) This project focuses on making protocols more secure. When a service is forward-facing to the Internet, a username and password are simply not strong enough to keep out the interlopers. In addition to enabling the Secure Shell protocol (SSH), you will implement certificate authentication and OATH-TOTP … Read More “CISS-150 Project 8 – Multifactor Authentication (MFA)” »

Posts pagination

Previous 1 … 6 7 8 … 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.