[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” »
Author: William Jojo
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” »
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 Write a Java program to create a GUI using JavaFX with GridPane, TextField, Label, RadioButton, ToggleGroup and Button objects. This is 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 6 For this project you will continue to work with files. The file format will be a series of numbers that could be binary, octal, decimal or hexadecimal. Learning outcomes Implementing user-defined methods. Working with regular expressions. Working with files. Using Scanner with files. More work with Integer.parseInt(). Confirmation program produces desired results. … Read More “CISS-110 Project 6b” »
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 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” »
(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 Write a Java program to create a GUI using JavaFX with GridPane, TextField, Label and Button objects. This is 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” »
(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” »