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

test

Posted on February 26, 2020July 19, 2020 By William Jojo
Uncategorized

Identify each name as either a primitive data type or a class. [qdeck random=“true”] [q]int [a]primitive [q]String [a]class [q]System [a]class [q]float [a]primitive [/qdeck]

asm

Posted on February 23, 2020March 10, 2020 By William Jojo
Uncategorized

; —————————————————————————– ; A 64-bit command line application to compute x^y. ; ; Syntax: power x y ; x and y are (32-bit) integers ; —————————————————————————– global main extern printf extern puts extern atoi section .text main: push r12 ; save callee-save registers push r13 push r14 ; By pushing 3 registers our stack is … Read More “asm” »

PHP Code to Perform BankMobile SSO

Posted on February 12, 2020April 3, 2020 By William Jojo
Uncategorized

Below is the code that can be used to perform the (pass-thru) SSO to BankMobile. It is understood that this code is behind some form of site-imposed SSO (CAS/SAML/LDAP etc.). Lines Purpose 8-19 Functions to perform the basic encryption/decryption with AES-128-ECB. 21-24 Load specific support files. This abstraction provides additional security as the include path … Read More “PHP Code to Perform BankMobile SSO” »

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

Posts pagination

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