Stats for the average human! DND Character Sheet The code shown below will perform [#]d{#}[+#] rolls. Examples: d20 d10 4d6 6d6+8 4d12 + 10 When you run this code, you will run it as: java RollD ‘4d12 + 10’ or java RollD 6d6+8 public class RollD { public static void usage() { System.out.println(“\n\nRollD {#}d##{+#}\n”); System.exit(1); … Read More “DND Code” »
Author: William Jojo
Overview In this project you will create your own network and connect it to the existing network infrastructure. You will also demonstrate your understanding of the process and develop team-building skills by working together to create a plan for documenting, deploying, testing and confirming your solution is complete. Your team’s network switch is labeled TEAM##, … Read More “Facilitating Learning – Final Project Specification – Spring 2018” »
[PROJECT WRITE-UP MINUS THE LEARNING OUTCOMES CHART] Project Design Below is the descriptive design response which is based in design principles using “an iterative dialogic structure that enables students to learn, but also enables teachers and the system to learn as well” (Laurillard, pp. 9-10). The project is designed to tap into student’s current knowledge … Read More “Facilitating Learning and Emerging Technology – Final Project – Spring 2018” »
Write enough programs and you’ll soon discover that there seems to be a good deal of repetition in your programming. There seems to always be a main() method somewhere. Swing programs nearly always extend JFrame – or some other JThing. So why do we continue to write the same code over again? Well, use a … Read More “Java Boilerplate” »
Consider what things would be like without the wrapper classes. How could we classify chars? For instance, alphabetic, numeric, alphanumeric. Or how could you convert between case? CharEx.java public class CharEx { public static void main(String[] args) { char c; c = ‘a’; System.out.println(c); if ( c >= ‘0’ && c = ‘A’ && c … Read More “What if we didn’t have Character?” »
(Updated September 4, 2025) You are in good shape if you are familiar with IP addresses and subnets. If not, you should read Understanding TCP/IP addressing and subnetting basics. For this class, we will use a Class C, non-routable, private IP space when putting VMs on the network. This is identified by the following: IP … Read More “Network Details for CISS-150” »
public class FunWithArrays { public static double calcAverage (int a, int b, int c, int d, int e, int f, int g, int h, int i, int j ) { return (a + b + c + d + e + f + g + h + i + j) / 10.0; } public static … Read More “Useful CISS-110 Stuff” »
File Handling import java.util.Scanner; import java.io.FileReader; import java.io.PrintWriter; public class files { public static void main (String[] args) throws FileNotFoundException { String line, parts[]; int x; Scanner infile = new Scanner(new FileReader(“inputfile.txt”)); PrintWriter outfile = new PrintWriter(“outputfile.txt”); while(infile.hasNext()) { line = infile.nextLine(); parts = line.split(“:”); for (x = 0; x < parts.length; x++) outfile.println(parts[x]); } ... Read More “Useful CISS-111 Stuff” »
If you are familiar with IP addresses and subnets, then you are in good shape. If not, you should read Understanding TCP/IP addressing and subnetting basics. For this class you will be using a Class C, non-routable, private IP space when putting your VMs on the network. This is identified by the following: IP Scope: … Read More “VMware Network Details for CISS-125” »
Project 1 Write a Java program to demonstrate using command line arguments to convert numeric quantities with a certain radix (counting base) to base ten numbers. You will employ the use of String methods indexOf() and substring() as well as the overloaded Integer method parseInt(). Take a look at the documentation on how to pass … Read More “CISS-111 Project 1” »