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-150 Project 6 – Swap/Paging Space

Posted on December 29, 2020April 28, 2025 By William Jojo
CISS-150-Project

CISS-150 Project 6 (10 points) (Updated April 28, 2025) Overview The Ubuntu VM provided to you has no swap/paging space. Examination through the use of free and top will reveal this. Ubuntu 17.04 and later allows the use of a file in the standard filesystem to provide the storage needed for paging space. You will … Read More “CISS-150 Project 6 – Swap/Paging Space” »

CISS-150 Project 2 – Hardware

Posted on December 27, 2020October 6, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 2 (10 points) (Updated October 6, 2024) Overview For this project, you will gather hardware information on all three virtual machines provided by your instructor. These include Windows 10, Windows Server 2019, and Ubuntu 24.04. Learning Outcomes System hardware. Exposure to Linux commands and pseudo filesystems. Exposure to Windows command shell and PowerShell … Read More “CISS-150 Project 2 – Hardware” »

CISS-150 Project 8 – Multifactor Authentication (MFA)

Posted on October 26, 2020May 5, 2025 By William Jojo
CISS-150-Project

CISS-150 Project 8 (10 points) (Updated May 5, 2025) This project focuses on making protocols more secure. When a service is forward-facing to the Internet, a username and password are simply not strong enough to keep out the interlopers. In addition to enabling the Secure Shell protocol (SSH), you will implement certificate authentication and OATH-TOTP … Read More “CISS-150 Project 8 – Multifactor Authentication (MFA)” »

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

Posts pagination

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