(Updated September 19, 2021) This project examines the finer details of multi-programmed environments and the problems they introduce. You will be working with threads, locks, critical sections and reviewing key aspects of how operating systems manage some details while leaving some to the programmer to handle. This is to be done using your Ubuntu Linux … Read More “CISS-150 – Threads” »
Author: William Jojo
CISS-110 Project 8a Write a Java program to create a GUI using JavaFX with GridPane, TextField, Label, and Button objects. This is a continuation of Project 7, which used the text-based menu-driven model. Learning outcomes Implementing user-defined methods. Working with JavaFX. Working with events. Confirmation program produces desired results. Write two value-returning methods called farToCel() … Read More “CISS-110 Project 8a – JavaFX” »
(Updated November 24, 2021) Overview This section is a collection of some of the well-known undefined behaviors. This is not an exhaustive list and is intended to provide the learner with situations they may encounter when programming in C. The ISO/IEC 9899:2018 standard states undefined behavior through the document. The purpose of this is to … Read More “Appendix B – Undefined Behavior” »
(Updated March 25, 2020) Table of standard headers files as defined by the many C standards that have been released. <assert.h> Conditionally compiled macro that compares its argument to zero <complex.h> (since C99) Complex number arithmetic <ctype.h> Functions to determine the type contained in character data <errno.h> Macros reporting error conditions <fenv.h> (since C99) Floating-point … Read More “Appendix A – C Header Files” »
Updated March 26, 2023 Overview This chapter will cover POSIX Threads (pthreads) and the C11 thread standard. This is primarily because the C11 Thread standard is still not widely supported across all platforms, compilers, and C runtime libraries. Version Has threads.h? MSVC – NO Apple clang – NO GNU-gcc – YES (as a wrapper around … Read More “Chapter 14 – Threads” »
(Updated November 22, 2024) Table of contents Overview The Basics An Example Different Types of Recursion Another Example The Cost Memoization Exercises Overview We have previously determined that we often need to do some work while some condition exists or until some condition is met. This has always been handled using an iterative process, which … Read More “Chapter 9 – Recursion” »