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?” »
Author: William Jojo
(Updated September 10, 2024) If you are familiar with IP addresses and subnets, you are in good shape. 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” »
CISS-111 Project 3 Write a Java program to demonstrate using bitmaps and bitwise operators to sort and remove duplicates from a file of random phone numbers. Do not confuse the term bitmap used for compressing data into smaller spaces with the bitmap that has come to mean a graphic image. Learning outcomes Working with command … Read More “CISS-111 Project 3” »
This is not a simple task, but it can be done. There are many web sites that have several solutions – and some actually work. However, this one is guaranteed to work on Ubuntu 12.04 and later. The problem is that the AppArmor product does an exceptionally good job of not letting a script make … Read More “Ubuntu – Reset MySQL root Password” »
CISS-150 Project 9 (10 points) (Updated December 13, 2022) In this project we will add Active Directory to our Windows 2019 server. This is a preparatory step toward the final project. Then we will change the Windows 10 machine so that it can participate in an Active Directory domain – the domain you created in … Read More “CISS-150 Project 9 – Active Directory” »
(Updated 7/19/2021) 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 … Read More “CISS-150 Project 9 – Team Networking” »