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

CISS-111 Extra Credit GUI

Posted on March 7, 2013August 13, 2024 By William Jojo
CISS-111-Project

CISS-111 GUI Project Extra Credit In this project you will be revisiting some JavaFX components in addition to building some game logic and reacquainting ourselves with inheritance. The traditional 15-puzzle is relatively easy to solve. There are 15 tiles in a 4×4 grid. The missing 16th tile allows the tiles to be slid around the … Read More “CISS-111 Extra Credit GUI” »

CISS-110 Project 10

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

CISS-110 Project 10 Write a Java program to search two arrays of the same 1000 random integers in each to test the efficiency of sequential and binary searches. Learning outcomes Implementing user-defined classes. Working with sorts. Working with search algorithms. Understanding Big-O notation and how it applies to algorithms. Confirmation program produces desired results. You … Read More “CISS-110 Project 10” »

CISS-110 Project 7

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

CISS-110 Project 7 Write a Java program to continue creating your user-defined methods and introduce some do-while loops. Learning outcomes Implementing user-defined methods. Working with do–while loops. Working with data validation. Confirmation program produces desired results. Write two value-returning methods called farToCel() and celToFar(). These two methods will convert temperatures from Fahrenheit to Celsius and … Read More “CISS-110 Project 7” »

CISS-110 Project 2

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

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 class. Learning outcomes Build a program from the ground up. Using correct data types. Watching for lost precision … Read More “CISS-110 Project 2” »

CISS-110 Project 1

Posted on January 21, 2013February 3, 2025 By William Jojo
CISS-110-Project

CISS-110 Project 1 The goal of the first project is to familiarize yourself with your integrated development environment (IDE). This is intended to purposefully introduce errors you will correct—preferably one at a time. You should experience how fixing just one error can change or completely disappear. Learning outcomes Interaction with IDE. Interaction with Java Compiler. … Read More “CISS-110 Project 1” »

Short-Circuit Evaluation – Advanced Example

Posted on December 28, 2012November 19, 2024 By William Jojo
Algorithms

(Updated November 19, 2024) Short-Circuit Evaluation – Advanced Example The Problem As we know, with the conditional operators && (and) and || (or), we can join multiple Boolean expressions together to form a more complex expression. You may also recall that these operators operate in a mode known as short-circuit. This means that once truth … Read More “Short-Circuit Evaluation – Advanced Example” »

CISS-110 Syllabus

Posted on May 7, 2012January 19, 2025 By William Jojo
Syllabus

CISS-110 – Programming & Logic I in the Java Programming Language Instructor: William Jojo Email: w.jojo@hvcc.edu Location: Higbee 115 Phone: 518-629-7540 Updated January 18, 2025 Topical Outline: Java Language Objects, Input & Output Conditional Control Structures Iterative Control Structures Designing a GUI User-Defined Methods Classes and Abstract Data Types Arrays Measurable Outcomes Measurement is based … Read More “CISS-110 Syllabus” »

CISS-111 Syllabus

Posted on May 7, 2012September 2, 2025 By William Jojo
Syllabus

CISS-111 – Programming & Logic II in the Java Programming Language Instructor: William Jojo Email: w.jojo@hvcc.edu Location: Off-Campus Updated September 2, 2025 Topical Outline: Collections, Vector, and String Classes, Enumeration Types Inheritance & Polymorphism Exception and Event Handling Recursion Advanced GUI & Graphics Generic Methods, Classes, Array-Based Lists Linked Lists Stacks & Queues Searching & … Read More “CISS-111 Syllabus” »

Bitwise Operators and Two’s Complement.

Posted on May 7, 2012August 13, 2024 By William Jojo
ciss-110, ciss-111, Ciss-150, Theory

(Updated August 5, 2024) Table of Contents Bitwise Operators Two’s Complement Numbers Shifting and Rotating Showing the Bits Bitwise Operators Within computer science, there is a desire to manipulate individual bits. Although memory is plentiful in many computing systems, that does not excuse one from considering all possible solutions to making a program or system … Read More “Bitwise Operators and Two’s Complement.” »

Number Systems

Posted on May 7, 2012August 13, 2024 By William Jojo
ciss-110, ciss-111, Ciss-150, Theory

(Updated March 24, 2020) Table of contents Overview Decimal Binary Octal Hexadecimal Exercises Overview Numbers systems are simply the means by which we represent values given a particular radix. The radix represents the base counting system. As a defined standard we generally use the Hindu-Arabic numerals of the base 10 counting system, or simply base … Read More “Number Systems” »

Posts pagination

Previous 1 … 17 18 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.