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

Useful CISS-111 Stuff

Posted on February 4, 2016March 25, 2020 By William Jojo
Other

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

VMware Network Details for CISS-125

Posted on January 19, 2016January 28, 2019 By William Jojo
Uncategorized

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

CISS-111 Project 1

Posted on December 3, 2015February 3, 2025 By William Jojo
CISS-111-Project

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

Posted on December 3, 2015March 13, 2025 By William Jojo
CISS-111-Project

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

Ubuntu – Reset MySQL root Password

Posted on June 17, 2014September 22, 2014 By William Jojo
CISS-150-HowTo

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 – Active Directory

Posted on April 9, 2013December 10, 2024 By William Jojo
CISS-150-Project

CISS-150 Project 9 (10 points) (Updated December 10, 2024) 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 to participate in an Active Directory domain – the domain you created in Windows 2019. Learning … Read More “CISS-150 Project 9 – Active Directory” »

CISS-150 Project 9 – Team Networking

Posted on April 8, 2013August 19, 2021 By William Jojo
CISS-150-Project

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

Ubuntu Topic 4 – Security/User/Group Management

Posted on April 8, 2013July 27, 2015 By William Jojo
Uncategorized

Managing user accounts in Ubuntu is pretty straightforward. Creating a new user also creates a new group with the same name if you do not specify anything else. User Management To create a user: useradd -m -s /bin/bash username The -m option indicates a user’s home directory should be created and -s specifies which shell … Read More “Ubuntu Topic 4 – Security/User/Group Management” »

CISS-150 Project 3 – The C environment

Posted on April 8, 2013February 24, 2025 By William Jojo
CISS-150-Project

CISS-150 Project 3 (10 points) (Updated February 24, 2025) Overview This project will introduce you to the many layers of memory management. It is for the layperson and is not intended to be exhaustive. Memory is a commodity that needs to be efficiently managed. To understand why, we will investigate how the C programming environment … Read More “CISS-150 Project 3 – The C environment” »

CISS-111 Project 7

Posted on March 28, 2013December 11, 2024 By William Jojo
CISS-111-Project

CISS-111 Project 7 Write a Java program to demonstrate using stacks. This project will use two stacks to evaluate infix arithmetic expressions. This will act similar to the way the Java compiler may evaluate simple expressions. The GenericStack object being created will be a generic object. Given: A file of arithmetic expressions passed on the … Read More “CISS-111 Project 7” »

Posts pagination

Previous 1 … 15 16 17 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.