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” »
Author: William Jojo
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 (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” »
(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 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 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” »
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 (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” »
(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” »
(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” »