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

From October 6,2020

Posted on October 9, 2020October 9, 2020 By William Jojo
Uncategorized

Here is the piece of code we worked on Tuesday. Remember that the for loop leaves x as the length of the String (not found) while indexOf() returns -1. import java.util.Scanner; public class Main { static Scanner kb = new Scanner(System.in); public static void main(String[] args) { int x; // 1 // 01234567890 String line=”ab,cd,e1,23,45″; … Read More “From October 6,2020” »

CISS-150 Project 5 – Assembly Language Syscalls

Posted on September 27, 2020October 13, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 5 (10 points) (Updated October 13, 2024) Overview Use Linux syscalls to simulate Java method calls like Scanner’s nextLine() method and PrintWriter’s printf() method. (similar to fgets() and printf() in C). Learning Outcomes Understanding basic assembly instructions. Understanding the connection of privileged calls and the Linux OS. Understanding the basics of syscalls. Getting … Read More “CISS-150 Project 5 – Assembly Language Syscalls” »

CISS-150 Project 4 – Assembly Language Basics

Posted on September 27, 2020October 13, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 4 (10 points) (Updated October 13, 2024) Overview In this project, you become somewhat familiar with assembly language, the CPU registers, and the primitive level of operation that occurs at the CPU. Learning Outcomes Understanding basic assembly instructions. Understanding CPU registers. Understanding the basics of calling subroutines. Creating a build-environment. Getting Started Begin … Read More “CISS-150 Project 4 – Assembly Language Basics” »

Assembly Language With NASM

Posted on September 26, 2020February 15, 2025 By William Jojo
Ciss-150

(Updated October 13, 2024) Table of Contents Overview Hello World! Syntax Instructions Operands FLAGS System Calls Assembly Language and C Overview This tutorial explains some of the basics of assembly language for the x86_64. This is focused primarily on the 64-bit programming model and calling subroutines on the Linux platform. This is not the same … Read More “Assembly Language With NASM” »

CISS-111 Project 4

Posted on September 7, 2020March 13, 2025 By William Jojo
CISS-111-Project

CISS-111 Project 4 Write a Java program to demonstrate the use of inheritance and polymorphism. This program will also use the Vector class and a few enumerations. Learning outcomes Working with enumerations. Working with inheritance and polymorphism. Designing subclasses. Overriding inherited methods. Confirmation program produces desired results. ConfectionType.java public enum ConfectionType { FrozenYogurt, Gelato, HardPack, … Read More “CISS-111 Project 4” »

Overview

Posted on June 27, 2020June 27, 2020 By William Jojo
Uncategorized

Overview First, I would like to thank Dave Curry of the The New School. His documentation was the inspiration for this book. Dave’s documentation is still quite useful, but is limited to CAS 5.2. This book begins at CAS 6.1.6 and where appropriate mentions differences in 6.2. (At the time of this writing CAS 6.2 … Read More “Overview” »

Project 8 Template

Posted on April 24, 2020 By William Jojo
Uncategorized

Regardless of which version you choose, this code will help get you started! import javafx.application.Application; import javafx.stage.Stage; import javafx.scene.Scene; import javafx.scene.text.TextAlignment; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.control.Button; import javafx.scene.layout.GridPane; //import javafx.event.EventHandler; import javafx.geometry.Pos; import javafx.geometry.HPos; public class Project8_template extends Application { public static int cel2far(int c) { return c * 9 / 5 + 32; … Read More “Project 8 Template” »

CISS-150 Project 7 – RAID

Posted on April 8, 2020December 8, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 7 (10 points) (Updated December 8, 2024) Overview This project will create a software-based RAID-1 in Ubuntu using mdadm. Learning outcomes Planning and design. Enhancing existing virtualization and storage skills. Modifying the virtual environment. Installing updates and application software. Creating a RAID array. Perform a RAID recovery. Current Configuration You can get a … Read More “CISS-150 Project 7 – RAID” »

Zoom Class Details

Posted on March 13, 2020September 1, 2020 By William Jojo
Uncategorized

(Updated September 1, 2020) Overview For the semester we will be holding class online using Zoom. This way everyone can attend wherever they feel most comfortable and maintain social distance during the Coronavirus Pandemic. Zoom is a very easy product to use and is available on nearly every platform. It is recommended that you test … Read More “Zoom Class Details” »

Layout Test

Posted on March 4, 2020 By William Jojo
Uncategorized

(Updated March 4, 2020) NOTE: This document supersedes all previous CAS documentation prior to January 2020. We loosely follow the New School model of deploying Apereo CAS. Where appropriate we eliminate or modify the process to suit the needs of HVCC. We are implementing a good portion of the complexity of New School and we … Read More “Layout Test” »

Posts pagination

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