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” »
Author: William Jojo
CISS-150 Project 3 (10 points) (Updated February 23, 2024) 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 begin to investigate how the C … Read More “CISS-150 Project 3 – The C environment” »
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” »
In this project, you will take the code from Example 7 in the Generic Methods and Classes topic and make some modifications. Change the class to: Maintain a tail node to reference the last node in the chain. Maintain a size as an int that represents the number of nodes in the chain. Make the … Read More “CISS-111 Extra Credit Lists” »
CISS-111 Project 6 Write a Java program to demonstrate using hash tables. Doing more file processing, you will read in a dictionary file, dictionary.txt, and use its contents to spell check a file, checkme.txt, that is provided on the command line. Learning outcomes Working with Hash Tables. Establishing a working hash method to guarantee consistency. … Read More “CISS-111 Project 6” »
Bash Shell Scripting Note: This is not an exhaustive description of Bash. It barely qualifies as introductory. The amount of information on the Bash shell is extensive. There is also an expectation that you have some basics of the command line. There is a wonderful, free bit of documentation in html and PDF form. The … Read More “Ubuntu Topic 3 – Bash Shell Scripting” »
CISS-111 GUI Project Extra Credit In this project you will be revisiting some JavaFX components in addition to building some game logic and reacquainting ourselves with inheritance. The traditional 15-puzzle is relatively easy to solve. There are 15 tiles in a 4×4 grid. The missing 16th tile allows the tiles to be slid around the … Read More “CISS-111 Extra Credit GUI” »
CISS-110 Project 10 Write a Java program to search two arrays of the same 1000 random integers in order to test the efficiency of sequential and binary searches. Learning outcomes Implementing user-defined classes. Working with sorts. Working with search algorithms. Understanding Big-O notation and how it applies to algorithms. Confirmation program produces desired results. You … Read More “CISS-110 Project 10” »
CISS-110 Project 7 Write a Java program to continue creating your own user-defined methods and introduce some do-while loops. Learning outcomes Implementing user-defined methods. Working with do–while loops. Working with data validation. Confirmation program produces desired results. Write two value-returning methods called farToCel() and celToFar(). These two methods will convert temperatures from Fahrenheit to Celsius … Read More “CISS-110 Project 7” »
CISS-110 Project 2 This project deals with reading input from the user, storing the input into variables, and displaying those variables. This program is an introductory project into the primitive data types int, double, and the String class. Learning outcomes Build a program from the ground up. Using correct data types. Watching for lost precision … Read More “CISS-110 Project 2” »