jarviscodinghub
banner
jarviscodinghub.bsky.social
jarviscodinghub
@jarviscodinghub.bsky.social
We are all about helping each other learn programming and do those challenging projects together. Visit jarviscodinghub.com to contact us anytime for help and collaboration.
Pinned
Happy to be here, let's connect and learn programming together. I will be sharing posts for different programming projects here and happy to discuss with my followers or anyone viewing.
Solved Python Exercise 8 Trivia Game

Trivia Game – Questions Class (15 pts) Trivia Questions (20 pts) Driver Program (25 pts) For this assignment, you will create three modules that are all related. Instructions for each module are outlined below: Questions Class (15 pts) Define a class that has…
Solved Python Exercise 8 Trivia Game
Trivia Game – Questions Class (15 pts) Trivia Questions (20 pts) Driver Program (25 pts) For this assignment, you will create three modules that are all related. Instructions for each module are outlined below: Questions Class (15 pts) Define a class that has the following attributes: • A trivia question • Answer 1 • Answer 2 • Answer 3 • Answer 4…
jarviscodinghub.com
December 9, 2025 at 12:22 PM
Solved Python Exercise 7 N-sided Polygon class definition and main function (30 pts)

N-sided Polygon class definition and main function (30 pts) This exercise will help you get familiar with creating classes and objects of your own. A regular polygon is an n-sided polygon whose sides are of the…
Solved Python Exercise 7 N-sided Polygon class definition and main function (30 pts)
N-sided Polygon class definition and main function (30 pts) This exercise will help you get familiar with creating classes and objects of your own. A regular polygon is an n-sided polygon whose sides are of the same length and whose angles all have the same degree. The formula for computing the area and perimeter of a regular polygon is 𝐴𝑟𝑒𝑎 = 𝑛 × 𝑠!
jarviscodinghub.com
December 9, 2025 at 12:19 PM
Solved Python Exercise 6 Capital Quiz (30 pts)

Capital Quiz (30 pts) Write a program that quizzes the users on their knowledge of state capitals. You can access the list of states and capitals using the following link (or any other reliable Internet source.) Your program should randomly quiz the…
Solved Python Exercise 6 Capital Quiz (30 pts)
Capital Quiz (30 pts) Write a program that quizzes the users on their knowledge of state capitals. You can access the list of states and capitals using the following link (or any other reliable Internet source.) Your program should randomly quiz the user by displaying the name of a state and asking the user to enter the state’s capital. The program should keep track of the number of correct and…
jarviscodinghub.com
December 9, 2025 at 12:16 PM
Solved Python Exercise 4 Tortoise vs. Hare (60 pts)

Tortoise vs. Hare (60 pts) Write a program that simulates the classical race between the tortoise and the hare (with a couple modifications). You will use the turtle module to provide an aerial view of the race! The tortoise and hare will race in…
Solved Python Exercise 4 Tortoise vs. Hare (60 pts)
Tortoise vs. Hare (60 pts) Write a program that simulates the classical race between the tortoise and the hare (with a couple modifications). You will use the turtle module to provide an aerial view of the race! The tortoise and hare will race in a ‘course’ of 200 pixels. Each animal starts at the ‘starting line’ which is position x = -100 in the turtle window.
jarviscodinghub.com
December 9, 2025 at 12:13 PM
Solved Python Exercise 3 Population of Organisms (20 points)

Population of Organisms (20 points) Write a program that predicts the approximate size of a population of organisms. The program should prompt the user to enter: • a starting number of organisms • the average daily population increase…
Solved Python Exercise 3 Population of Organisms (20 points)
Population of Organisms (20 points) Write a program that predicts the approximate size of a population of organisms. The program should prompt the user to enter: • a starting number of organisms • the average daily population increase (as a percentage) • the number of days Include input validation to ensure that the least value entered is at least 1.
jarviscodinghub.com
December 9, 2025 at 12:11 PM
Solved Python Exercise 2 Wind-Chill Temperature (15 points)

Wind-Chill Temperature (15 points) In 2001, the National Weather Service implemented a new wind-chill temperature formula to measure the coldness using temperature and wind speed. The formula is: where: twc is the wind chill temperature…
Solved Python Exercise 2 Wind-Chill Temperature (15 points)
Wind-Chill Temperature (15 points) In 2001, the National Weather Service implemented a new wind-chill temperature formula to measure the coldness using temperature and wind speed. The formula is: where: twc is the wind chill temperature ta is the outside temperature v is the wind speed The formula can only be used for temperatures between -58 degrees Fahrenheit and 41 degrees Fahrenheit, as well as wind speeds greater than or equal to 2mph.
jarviscodinghub.com
December 9, 2025 at 12:09 PM
Solved Python Exercise 1 Runway Length (15 points)

Runway Length (15 points) Given an airplane’s acceleration, a, and take-off speed, v, the minimum runway length needed for the airplane to take off is computed using the formula !! "# . Write a program that prompts the user to enter the speed in…
Solved Python Exercise 1 Runway Length (15 points)
Runway Length (15 points) Given an airplane’s acceleration, a, and take-off speed, v, the minimum runway length needed for the airplane to take off is computed using the formula !! "# . Write a program that prompts the user to enter the speed in meters per second (m/s) and the acceleration in meters per second squared (m/s2 ). The program should calculate and display the…
jarviscodinghub.com
December 9, 2025 at 12:06 PM
Solved Project 2 COP4530- Data Structures

For Programming Project 2, you will implement a Deque (Double-Ended Queue) and use that data structure to write a class that can convert between the three common mathematical notation for arithmetic. The three notations are: Postfix (Reverse Polish)…
Solved Project 2 COP4530- Data Structures
For Programming Project 2, you will implement a Deque (Double-Ended Queue) and use that data structure to write a class that can convert between the three common mathematical notation for arithmetic. The three notations are: Postfix (Reverse Polish) Notation: Operators are written after operands A B - C + == (A - B) + C Infix Notation: The standard notation we use where the operator is between the operands.
jarviscodinghub.com
December 9, 2025 at 11:27 AM
Solved COP 4530 Project 1 Summer 2024

Linked List Arithmetic The project implements a templated linked list data structure for Expression Validation: Before evaluating the expression, the program validates the input linked list to ensure that it represents a valid arithmetic expression. It checks…
Solved COP 4530 Project 1 Summer 2024
Linked List Arithmetic The project implements a templated linked list data structure for Expression Validation: Before evaluating the expression, the program validates the input linked list to ensure that it represents a valid arithmetic expression. It checks for proper alternation of digits, decimal points, and operations, as well as the presence of valid operation characters. Every single keystroke is considered as one of the nodes for a linked list.
jarviscodinghub.com
December 9, 2025 at 11:20 AM
Solved CDA 4621 Lab 5: Mapping & Path Planning

Objective The purpose of this lab is to introduce the fundamental concepts of mapping and path planning in mobile robotics, focusing on how a robot can represent and navigate a structured environment. Students will learn to create a world model,…
Solved CDA 4621 Lab 5: Mapping & Path Planning
Objective The purpose of this lab is to introduce the fundamental concepts of mapping and path planning in mobile robotics, focusing on how a robot can represent and navigate a structured environment. Students will learn to create a world model, determine the robot’s position within that model, and calculate the most efficient path to a specified goal location. In real-world robotics, mapping and path planning are essential…
jarviscodinghub.com
December 8, 2025 at 5:43 PM
Solved CDA 4621 Lab 4: Localization

Objective This lab will teach you about probabilistic robot localization. You will use: (1) Global Reference Frame and Grid Cell Numbering and (2) World Representation. Requirements Programming: Python Robot: Webots 2023b (FAIRIS) Sensors Utilized To…
Solved CDA 4621 Lab 4: Localization
Objective This lab will teach you about probabilistic robot localization. You will use: (1) Global Reference Frame and Grid Cell Numbering and (2) World Representation. Requirements Programming: Python Robot: Webots 2023b (FAIRIS) Sensors Utilized To successfully complete this assignment, you will need to utilize several sensors on the robot. Each sensor provides unique data essential for robust navigation and environmental awareness.
jarviscodinghub.com
December 8, 2025 at 5:39 PM
Solved CDA 4621 Lab 3: Motion to Goal and Bug 0

Objective This lab will teach you how to plan motion for a robot to reach a goal while avoiding obstacles. This lab will teach you about how to utilize a camera with object detection and the bug zero algorithm to navigate through an obstacle-rich…
Solved CDA 4621 Lab 3: Motion to Goal and Bug 0
Objective This lab will teach you how to plan motion for a robot to reach a goal while avoiding obstacles. This lab will teach you about how to utilize a camera with object detection and the bug zero algorithm to navigate through an obstacle-rich environment to reach a goal location. Requirements Programming: Python Robot: Webots 2023b (FAIRIS) RGBD Camera with Object Detection…
jarviscodinghub.com
December 8, 2025 at 5:34 PM
Solved CDA 4621 Lab 2: PID and Wall Following

Objective This lab will teach you how to apply a PID controller to navigate parallel to a wall and stop at a desired distance from an end wall. The lab will also teach you about Lidars to measure distances to walls. Requirements Programming: Python…
Solved CDA 4621 Lab 2: PID and Wall Following
Objective This lab will teach you how to apply a PID controller to navigate parallel to a wall and stop at a desired distance from an end wall. The lab will also teach you about Lidars to measure distances to walls. Requirements Programming: Python Robot: Webots 2023b (FAIRIS) Robot Sensors Utilized LIDAR FAIRIS Lite gives access to the LIDAR sensor mounted on the robot, which is an attribute of the…
jarviscodinghub.com
December 8, 2025 at 5:30 PM
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 5 – GCD Design on FPGA

Objective: To implement RTL Design of Greatest Common Denominator (GCD) of numbers. Description: Design GCD architecture control/data paths for two 4-bit numbers (in your lecture notes, we have already done this).…
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 5 – GCD Design on FPGA
Objective: To implement RTL Design of Greatest Common Denominator (GCD) of numbers. Description: Design GCD architecture control/data paths for two 4-bit numbers (in your lecture notes, we have already done this). It will output the binary value of the greatest common divisor of those two 4-bit numbers. 1. Datapath The datapath top-level module can be constructed by the instantiated individual…
jarviscodinghub.com
December 8, 2025 at 5:19 PM
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 4 – Finite State Machine on FPGA

Objective: To learn and practice synthesizable Finite State Machine construction. Note: This lab does not need your FPGA boards. It is a simulation-only lab with ISE. No demonstration is needed to the TAs.…
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 4 – Finite State Machine on FPGA
Objective: To learn and practice synthesizable Finite State Machine construction. Note: This lab does not need your FPGA boards. It is a simulation-only lab with ISE. No demonstration is needed to the TAs. Description: Design an FSM for use as a controller for a vending machine. The system has five (5) inputs: quarter, nickel, dime, soda, and diet. The quarter input will go high, then go low when a…
jarviscodinghub.com
December 8, 2025 at 4:59 PM
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 3 – Programmable Counter, BCD Converter and FPGA Synthesis

Objective: To learn and practice advanced sequential hardware design in Verilog and synthesizable Verilog based circuit implementation on FPGA board. Note: Before you read this,…
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 3 – Programmable Counter, BCD Converter and FPGA Synthesis
Objective: To learn and practice advanced sequential hardware design in Verilog and synthesizable Verilog based circuit implementation on FPGA board. Note: Before you read this, you need to perform the Tutorial for Lab 3 (one PDF description which works on one included Verilog and one user constraints file (UCF)). Table 1 Figure 1: Counter Top-Level Block Diagram Table 2 Description:
jarviscodinghub.com
December 8, 2025 at 4:55 PM
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 2 – Behavioral and Structural Verilog

Objectives: To learn and practice Verilog based circuit modeling and validation by simulation. Problem: Implement an ALU (Arithmetic Logic Unit) satisfying the following functional requirements. You…
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 2 – Behavioral and Structural Verilog
Objectives: To learn and practice Verilog based circuit modeling and validation by simulation. Problem: Implement an ALU (Arithmetic Logic Unit) satisfying the following functional requirements. You should complete tutorial 2 (Tutorial_Lab2.pdf) before starting this lab. Figure 1: ALU Port Interface and Function Table 1. (10 pts.) Problem 1, Behavioral-Only Verilog: Design an ALU in behavioral Verilog with port interface and functionality as shown in Figure 1.
jarviscodinghub.com
December 8, 2025 at 4:51 PM
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 1 – Schematic Capture

Objectives: To learn and practice schematic entry and simulation. Problem: Implement an ALU (Arithmetic Logic Unit) satisfying the following functional requirements. You should complete schematic capture tutorial…
Solved CDA 4203L Spring 2025 Computer System Design Lab Lab 1 – Schematic Capture
Objectives: To learn and practice schematic entry and simulation. Problem: Implement an ALU (Arithmetic Logic Unit) satisfying the following functional requirements. You should complete schematic capture tutorial (Tutorial_Lab1.pdf), before you start on this lab. Figure 1: ALU Port Interface and Function Table Implement your design in two’s complement signed system, discard the end-round carry. Do not use the cases that lead to overflow, i.e., adding two positive or adding two negative numbers…
jarviscodinghub.com
December 8, 2025 at 4:47 PM
Solved CDA 4205L Lab #7: ALU & Control Unit Design

Welcome to CDA 4205L Lab #7! The goal of this lab is to help you understand the inner workings of an Arithmetic Logic Unit (ALU) and Control Unit (CU) modules with a basic implementation in Verilog. Prelab Arithmetic Logic Unit (ALU) As the name…
Solved CDA 4205L Lab #7: ALU & Control Unit Design
Welcome to CDA 4205L Lab #7! The goal of this lab is to help you understand the inner workings of an Arithmetic Logic Unit (ALU) and Control Unit (CU) modules with a basic implementation in Verilog. Prelab Arithmetic Logic Unit (ALU) As the name implies, the ALU is responsible for the majority of the arithmetic and logic operations in a processor.
jarviscodinghub.com
December 8, 2025 at 4:05 PM
Solved CDA 4205L Lab #13: Buffer Overflow Attacks

Welcome to CDA 4205L Lab #13! The goal of this lab is to give you an example of how understanding topics in computer architecture – in this case, ISAs and memory organization – can expose software-level security issues/vulnerabilities. In…
Solved CDA 4205L Lab #13: Buffer Overflow Attacks
Welcome to CDA 4205L Lab #13! The goal of this lab is to give you an example of how understanding topics in computer architecture – in this case, ISAs and memory organization – can expose software-level security issues/vulnerabilities. In particular, we will focus on a buffer overflow attack in RISC-V. Prelab Stack, Buffers, and Buffer Overflow Earlier this semester, we discussed how a program uses different regions of memory for storing program…
jarviscodinghub.com
December 8, 2025 at 4:01 PM
Solved CDA 4205L Lab #10: ISA Assembler Design (Part 3)

Welcome to CDA 4205L Lab #10! This is the third portion of the ISA lab that injects in the middle of Lab #4. The goal of this lab is for you to understand how to recognize and remove data hazards from the assembly code created in part 1. This…
Solved CDA 4205L Lab #10: ISA Assembler Design (Part 3)
Welcome to CDA 4205L Lab #10! This is the third portion of the ISA lab that injects in the middle of Lab #4. The goal of this lab is for you to understand how to recognize and remove data hazards from the assembly code created in part 1. This step will rearrange the sequencing of the assembly code such that…
jarviscodinghub.com
December 8, 2025 at 3:58 PM
Solved CDA 4205L Lab #8: Single-Cycle CPU Implementation

Welcome to CDA 4205L Lab #8! The goal of this lab is to demonstrate an example implementation of a single-cycle CPU in Verilog HDL. Prelab This lab builds on the ALU and Control Unit design from Lab #7. You will be provided a near-complete…
Solved CDA 4205L Lab #8: Single-Cycle CPU Implementation
Welcome to CDA 4205L Lab #8! The goal of this lab is to demonstrate an example implementation of a single-cycle CPU in Verilog HDL. Prelab This lab builds on the ALU and Control Unit design from Lab #7. You will be provided a near-complete single-cycle RISC-V CPU implemented in Verilog HDL. This implementation is almost capable of running code generated by your assembler from Lab #3 and #4 – but one critical component is missing – the instruction memory.
jarviscodinghub.com
December 8, 2025 at 3:48 PM
Solved CDA 4205L Lab #5: Computer Arithmetic Design

Welcome to CDA 4205L Lab #5! The goal of this lab is to help you understand the trade-offs between different implementations of adders and understand how hardware description languages like Verilog can be used to design complex circuits. Prelab…
Solved CDA 4205L Lab #5: Computer Arithmetic Design
Welcome to CDA 4205L Lab #5! The goal of this lab is to help you understand the trade-offs between different implementations of adders and understand how hardware description languages like Verilog can be used to design complex circuits. Prelab In Labs 3 and 4, you implemented an assembler, which took instructions, defined by an ISA, and converted them to a machine code representation that works for a given microarchitecture.
jarviscodinghub.com
December 8, 2025 at 3:44 PM
Solved CDA 4205L Lab #4: ISA Assembler Design (Part 2)

Welcome to CDA 4205L Lab #4! This is the second portion of the ISA lab. The goal of this lab is for you to understand how to use the pre-processed assembly code created in part 1 and convert it to machine code. This step will finalize the…
Solved CDA 4205L Lab #4: ISA Assembler Design (Part 2)
Welcome to CDA 4205L Lab #4! This is the second portion of the ISA lab. The goal of this lab is for you to understand how to use the pre-processed assembly code created in part 1 and convert it to machine code. This step will finalize the conversion of the initial .asm file into machine code. Prelab An assembler is a program that converts low-level assembly code into machine code which can be…
jarviscodinghub.com
December 8, 2025 at 3:41 PM
Solved CDA 4205L Lab #2: Abstraction and Tradeoffs

Welcome to CDA 4205L Lab #2! The purpose of this lab is to help you better understand abstraction in computer architecture, and how different hardware designs can impact power, performance, and area. Prelab Consider the different layers of…
Solved CDA 4205L Lab #2: Abstraction and Tradeoffs
Welcome to CDA 4205L Lab #2! The purpose of this lab is to help you better understand abstraction in computer architecture, and how different hardware designs can impact power, performance, and area. Prelab Consider the different layers of abstraction in a computer system. At the highest level, an application (e.g., sorting a list) can be implemented in a number of different ways.
jarviscodinghub.com
December 8, 2025 at 3:19 PM