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

Mastermind by Design

Posted on January 27, 2020February 24, 2020 By William Jojo
Uncategorized

[Note: Mastermind is a registered trademark of Invicta Toys and Games and distributed by Pressman.] For the Spring 2020 semester we will be building our own version of Mastermind. It will begin as a text based game followed by being converted to JavaFX. Sample game board. The process will involve: Identifying data types. Performing string … Read More “Mastermind by Design” »

Introduction

Posted on December 27, 2019March 25, 2023 By William Jojo
Algorithms book

Any book on algorithms will ultimately become either a fanfare of overwhelming math & code examples or a pedantic display. It is the goal of this author to avoid both. Mathematical jargon will be kept to a minimum. Focus will be placed exclusively on the understanding of the principles of the algorithm. It does not … Read More “Introduction” »

CISS-110 Project 9

Posted on November 26, 2019April 28, 2025 By William Jojo
CISS-110-Project

Write a Java user-defined class called Student and a class tester program called Project9_lastname. These will be separate Java source files (Project9_lastname.java and Student.java). Learning outcomes Build a program using multiple source files. Build a user-defined class. Create overloaded mutators. Create accessors and mutators. Build code to test all code paths. The Student class will … Read More “CISS-110 Project 9” »

CISS-110 Project 8b – JavaFX

Posted on November 17, 2019January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 8b Write a Java program to create a GUI using JavaFX with GridPane, TextField, Label, RadioButton, ToggleGroup and Button objects. This is a continuation of Project 7, which used the text-based menu-driven model. Learning outcomes Implementing user-defined methods. Working with JavaFX. Working with events. Confirmation program produces desired results. Write two value-returning methods … Read More “CISS-110 Project 8b – JavaFX” »

CISS-110 Project 6b

Posted on October 16, 2019January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 6 For this project, you will continue working with files. The file format will be a series of numbers, which could be binary, octal, decimal, or hexadecimal. Some numbers will fall into multiple categories. For example, 306 can fall into three possible classifications. Learning outcomes Implementing user-defined methods. Working with regular expressions. Working … Read More “CISS-110 Project 6b” »

CISS-110 Project 6a

Posted on October 16, 2019January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 6 For this project you will continue to work with files. Learning outcomes Implementing user-defined methods. Working with regular expressions. Working with files. Using Scanner with files. Confirmation program produces desired results. The file format will be similar to a source code program. You will tokenize the contents. Simply put, tokenizing is recognizing … Read More “CISS-110 Project 6a” »

CISS-110 Project 5

Posted on October 7, 2019January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 5 This project deals with EOF-based loops, using the while construct where we do not know the exact number of times a loop will iterate (perform the associated block of code). We will continue to build on our knowledge of if/else constructs and introduce the idea of nested loops. Learning outcomes Implementing EOF … Read More “CISS-110 Project 5” »

CISS-150 – Threads

Posted on October 6, 2019September 19, 2021 By William Jojo
CISS-150-Project

(Updated September 19, 2021) This project examines the finer details of multi-programmed environments and the problems they introduce. You will be working with threads, locks, critical sections and reviewing key aspects of how operating systems manage some details while leaving some to the programmer to handle. This is to be done using your Ubuntu Linux … Read More “CISS-150 – Threads” »

CISS-110 Project 8a – JavaFX

Posted on September 19, 2019January 20, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 8a Write a Java program to create a GUI using JavaFX with GridPane, TextField, Label, and Button objects. This is a continuation of Project 7, which used the text-based menu-driven model. Learning outcomes Implementing user-defined methods. Working with JavaFX. Working with events. Confirmation program produces desired results. Write two value-returning methods called farToCel() … Read More “CISS-110 Project 8a – JavaFX” »

Appendix B – Undefined Behavior

Posted on August 15, 2019November 24, 2021 By William Jojo
C book

(Updated November 24, 2021) Overview This section is a collection of some of the well-known undefined behaviors. This is not an exhaustive list and is intended to provide the learner with situations they may encounter when programming in C. The ISO/IEC 9899:2018 standard states undefined behavior through the document. The purpose of this is to … Read More “Appendix B – Undefined Behavior” »

Posts pagination

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