Programming Homework Help

RC Java Code

 

You are working as a software developer for a large insurance company. Your company is planning to migrate the existing systems from Visual Basic to Java and this will require new calculations. You will be creating a program that calculates the insurance payment category based on the BMI score.

Your Java program should perform the following things:

  1. Take the input from the user about the patient name, weight, birthdate, and height.
  2. Calculate Body Mass Index.
  3. Display person name and BMI Category.
  4. If the BMI Score is less than 18.5, then underweight.
  5. If the BMI Score is between 18.5-24.9, then Normal.
  6. If the BMI score is between 25 to 29.9, then Overweight.
  7. If the BMI score is greater than 29.9, then Obesity.
  8. Calculate Insurance Payment Category based on BMI Category.
  9. If underweight, then insurance payment category is low.
  10. If Normal weight, then insurance payment category is low.
  11. If Overweight, then insurance payment category is high.
  12. If Obesity, then insurance payment category is highest.
  13. Implement exception handling using try-catch.
  14. Include the finally block.

You need to submit the following things:

  • An entire Java solution
  • An output screenshot created using Microsoft Word

Programming Homework Help

Rasmussen College Data Analysis Java Program

 

You are working as the data analyst for one of the big survey company. Your manager wants you to analyze the sample data and then determine the maximum, minimum and average.

You need to perform following tasks as part of this assignment.

Step 1: Use Java program to generate the at least 1000 random numbers between 1 to 10000

Step 2: Store all these numbers into the array

Step 3: Perform sorting

Step 4: Determine the maximum and the minimum element

Step 5: Determine the array average

Step 6: Include Try-Catch exception block

Step 7: Include finally block

You need to submit the following things:

  • An entire Java solution
  • An output screenshot created using Microsoft Word

Programming Homework Help

SEU Web Application and Components Involved in This Process Discussion

 

I’m working on a Website Design exercise and need support.

While developing a web application, there are many components involved in this process. Every website needs a web server to hos it. Explain in detail the main purpose of using the webserver and its role? Give examples of web servers and states the disadvantages of using the web server in general?

Programming Homework Help

Southern New Hampshire University Create a Web Code Computer Programming Task

 

Overview: Tables are another useful tool for organizing website content for your audience. Tables can help make content easier to read and understand. Tables are composed of rows and columns, but through the use of different HTML formatting code, you can create interesting layouts using tables. In this activity, you will create a table to organize and display content on a webpage. 

Prompt: For the purposes of this exercise, you will start with the “after” (or finished) version of the index.html file and add several additional pieces of content and styles based on what you have learned from the module resources on how the index.html and site.css files were edited and expanded to create the final version of a webpage. 

Specifically, the following critical elements must be addressed: 

I. Create a table with rows and columns on your website. A. Add bold formatting to a row and column in the table. B. Utilize the SPAN tag to merge columns. 

II. Add a feedback form to your website. 

A. Add three text fields. 

B. Add a question with radio button responses. 

C. Add a submit button. 

Programming Homework Help

NYC Reasons for Infinite Loops and how to Prevent them in Programming Paper

 

We hear “infinite loop” a lot, especially when it comes to programming, why do you think that happens? And how can we prevent it from happening (and no, the answer is not restarting your system! :)).

Be as specific as possible when explaining your answers.

Programming Homework Help

COMP 726 AIS Blockchain Prototype & Identity Management Essay

 

Objective:

On this project we aim to make the good use of Blockchain technology towards the protection of the personal identity. This would greatly help the users who spend most of their time online by assuring them that no third party actor who can misuse their identity. Before we dive need into the topic lets first understand the actual problem, personal identity is nothing but a collection of your personal claim. This is the data that we aim to protect which include items such as the passport number, your date of birth, social security number, Physical address, National Identity Number, driving license number among other collection of claims regarding you as a person. It is the above personal information that are stored in centralized databases for government or any other important use. There is need to protect the data for it not to be used while a bad actor is exploiting known flows or even from being stolen.

On this project we are going to look into details on how Blockchain technology can be used to prevent any misuse or theft of personal identity by ensuring that person using the identity is the actual person rather than an imposter.

Requirement: 

+ Create a blockchain prototype to show some function that meet the requirement of using Blockchain to solve identity management and theft issue. It can be 

– Take screen dumps of the pieces of your prototype and tell how they fit together.

– Create a dummy version of the prototype using some other software like trufflesuit.

Software you can use such as solidity, visual studio and anything else that can implement blockchain technology.

You can take a look at
https://www.trufflesuite.com/

Programming Homework Help

CSCI 3120 Dalhousie University Add Functions to Original Code C Programming Task

 

Extend your program from Assignment 3 (or the provided solution) to make the main thread of your miner
spawn a reader thread that is responsible for reading all the input. The reader thread should then insert
the input into a queue (buffer). The main thread will be responsible for dequeuing the input and processing it, just like in Assignment 3. This is essentially the Unbounded Buffer Producer-Consumer problem
where the reader thread is the producer, and the main thread is the consumer. Your program must be
compiled to an executable called miner. The program will read in five events, which are the same as in
Assignment 3. Please see the Problem Statementsin Assignment 1, 2 and 3 for a description of the events.
The reader thread should consist of a loop that reads events from stdin and enqueues them onto an
unbounded queue. The queue can never fill up, so a linked-list implementation is recommended.
The main thread will use the same main loop as in Assignment 3, except that instead of reading from stdin
it should dequeue events from the queue fed by the reader thread and process the events. Please note
that if the queue is empty, the main thread should block until more events are added by the readerthread.

Programming Homework Help

Implement a Scoreboard Simulator Small Program

 

Project Specification

undefined

In this project, you will work in groups of 1-2 students to implement a Scoreboard simulator.

The maximum students per group will be 2.

undefined

Deliverables:

undefined

You can use one of the following languages to implement the program:

  • C
  • C++
  • Python
  • Java
  • Verilog
  • VHDL


You will also need to:

  • Write clean code
  • Make sure your code is readable even for someone not versed in the particular language
  • Comment your code where necessary (too much commenting of code sometimes makes it hard to read)
  • Submit a user manual for your code detailing how to run it; step by step instructions as well as what OS to use and how to compile the source code.
    • Your instructor has access to the following OS:
      • a Mac OS Catalina (unix) platform
      • a Linux via linux.gl.umbc.edu
      • Windows 10
    • I would suggest you test your code on one of these platforms to ensure it runs as you expect.
  • Make sure that it is possible to run your code without needing to purchase any additional software. (I count Trials as a purchase)

undefined

You will need to submit a zip file named lastname_firstname_project.zip and containing:

undefined

  • An executable of your simulator if the language you used requires one.
  • The program files and source code.
  • A text file (README) detailing how to run your simulator and recompile it if needed.
  • Only one submission per group. You will need to make sure all your names are shown in the README as well as in the program code.

undefined

Your program should take as an input a text file with MIPS code (see Instructions section), and output a table similar to one used in class showing:

  • When each instruction completed each stage
  • The values in all the registers at the end of execution
  • See input and output sections for further details

undefined

Due Date:

May 9th 2021 at 11.59pm

undefined

Grading:

undefined

The code and program will be graded according to the following:

undefined

10% -if the program works. It does not have to be perfect for you to get this credit

undefined

50%- Implementation

  • How close is your simulator to mimicking a true scoreboard
  • How well does it meet the specifications in this document
  • Do values in the register match what is expected
  • How does it handle corner cases

undefined

40%-Well written code:

  • use of good variable names
  • code is easy to follow an understand and is well organized
  • Good instructions on how to run/compile your code

undefined

Late submissions will incur a 10 point deduction for every 6 hours they are late.

undefined

This project follows the UMBC Academic Integrity Policy and any work submitted must be your own. In addition to that policy, Collaboration between teams should only involve discussion of ideas but no sharing of code.

Any work copied from online resources MUST be cited.

Processor Configuration:

undefined

The algorithm will model a processor with the following configuration:

  • Pipelined FP adder/s for FP adds and subtracts -2cycles
  • Pipelined FP multiplier/s for FP multiplies -10cycles
  • Pipelined FP divider/s for FP divides -40cycles
  • Integer Unit/s for Loads, Stores, Integer Adds and Subtracts -1cycle
  • Your program should ask the user for how many units there are for each functional units, that is, how many adders, how many multipliers, how many dividers and how many integer units.

32 FP registers and 32 integer registers.

  • All registers will be initialized to 0 at the beginning.

Memory:

undefined

You can initialize your data memory to the following values:

undefined

Memory Location

Value in Memory

0

45

1

12

2

0

3

0

4

10

5

135

6

254

7

127

8

18

9

4

10

55

11

8

12

2

13

98

14

13

15

5

16

233

17

158

18

167

undefined

The memory location will be the index of the value and we will use that index as the actual address for loads and stores.

For simplicity the value at the memory location is what gets loaded into a register and if the memory location is offset then it loads whatever value is at that offset.

Example:

LD F2, 0(17) would load 158 into register F2

LD F2, 1(17) would load 167 into register F2

Instructions:

undefined

You can program your algorithm for the following instructions:

undefined

Memory Instructions:

L.D Fa, Offset(addr)

Load a floating point value into Fa

S.D Fa, Offset(addr)

Store a floating point value from Fa

LI $d, IMM64 -Integer Immediate Load

Load a 64 bit Integer Immediate into $d

LW $d, Offset(addr)

Load an integer value into $d

SW $s, Offset(addr)

Store an integer from $s

ALU Instructions:

ADD $d, $s, $t – Integer add

$d = $s + $t

ADDI $d, $s, immediate – Integer Add with Immediate

$d = $s + immediate

ADD.D Fd, Fs, Ft – Floating Point Add

Fd = Fs + Ft

SUB.D Fd, Fs, Ft – Floating Point Subtract

Fd = Fs – Ft

SUB $d, $s, $t -Integer Subtract

$d = $s – $t

*MUL.D Fd, Fs, Ft -Floating Point Multiply

Fd = Fs X Ft

DIV.D Fd, Fs, Ft – Floating Point Divide

Fd = Fs ÷ Ft

*You can assume that Fd is big enough to hold the value of the result.

$s/$d are integer registers and Fa/Fd are floating point registers

undefined

Inputs

Your program should take the following inputs (how it takes them is up to you):

  1. The number of units per functional unit
  2. Text file with a program written using MIPS instructions outlined above
  • You do not have to account for MIPS instructions not outlined in this document

undefined

Outputs

Programming Homework Help

University of Amsterdam Wk 2 C Programming Computer Coding Task

 

Better see the pdf below.

here only post the first question.

Input: The first line contains the integers n and m, separated by a space. n is the total
number of assignments in the collection, and m is the number of assignments you must
output. The next n lines each contain two integers separated by a space, representing the
identifier and difficulty level of an assignment. Both the identifier and difficulty level are
unique.
Output: m lines, each containing an assignment of top difficulty levels – the identifier and
difficulty level of the assignment. The assignments should be sorted by difficulty level, from
highest to lowest.