GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

Match the condition to the appropriate classification 

Match the condition to the appropriate classification 

Read Details

Match the precursors to its alternate name

Match the precursors to its alternate name

Read Details

 Below is a representative field of a blood smear of a recen…

 Below is a representative field of a blood smear of a recently transfused anemic patient.  Choose the expected RDW from the choices listed below.   

Read Details

Normal bone marrow cells being replaced with malignant cells…

Normal bone marrow cells being replaced with malignant cells is called:

Read Details

A manual WBC count is performed using a system that makes a…

A manual WBC count is performed using a system that makes a 1:20 dilution of blood. When the cells in the four large corner mm2 of the hemocytometer are counted, the following numbers of cells are obtained: 8, 12, 9, and 11. What would be the next step?

Read Details

All are true about hepcidin except that:

All are true about hepcidin except that:

Read Details

The three classic signs of anemia are: 

The three classic signs of anemia are: 

Read Details

Start by downloading the two Java source files with which we…

Start by downloading the two Java source files with which we will work during this final. In order to download each file, follow the steps below; RIGHT-CLICK each of the links below (Do not left-click the links directly as it would navigate you away from the exam!) Then, select the OPEN LINK IN NEW TAB option In the new tab, click the “download IE9.java” or  “download IE9Helper.java” link at the top of the page to download the corresponding file on your desktop, or wherever you usually store your source code for JGrasp Double click the downloaded file, or open it from JGrasp Here are the links for you to download the above-mentioned Java files; IE9.java IE9Helper.java     As explained in the review material; Both files need to be in the same folder on your computer IE9.java is the file you want to compile and run IE9.java is the file in which you have to write code IE9.java is the ONLY file you have to submit IE9Helper.java is only there to provide you with a few helpful methods that you do not need to modify or even read.   The instructions telling you what each of the methods that you have to write must do are included, as comments, in the java source file IE9.java so that you do not have to go back and forth between JGrasp and your browser window.

Read Details

Grading Rubrics Common Rubric (total 6 points) EASY In addi…

Grading Rubrics Common Rubric (total 6 points) EASY In addition to implementing the features of each of the programs below, your submissions will also have to adhere to the following good coding practices; A multi-lines comment is provided at the beginning of your file with your first and last names, as well as a brief reminder of what the program does; 1 point All variables are declared and initialized at the beginning of the main method. Their names follow proper came case notation and, when you are allowed to pick their names, reflect their role in the program. 1 point Comments explain the role of each variable in the program; 1 point Comments explain the role of each method, the role of all its parameter, and the meaning of the return value, if any; 1 point Appropriate use of indentation; 1 point Appropriate use of single-line comments when closing any curly brace } to indicate what block of statements it closes; 1 point The rest of the points will be assigned to each questions based on the correctness of your program in implementing the instructions that are given to you. main method (total 3 points) EASY Read a line of text from the user (1 point) Call the translate method on each line and display the result on the screen (1 point) Keep doing this until the user enters an empty line “” (1 point) translateWordToValue method (total 16 points) EASY Quality of code in terms of using loops and arrays to avoid repetitive statements (1 point) Correctness of method behavior on tests (15 points, ~0.5 per test) cleanup method (total 9 points) Correct creation of new array of String (1 point) Correct iteration and assignment to this array (1 point) Each element of the parameter array is converted to lower cases (1 point) Each element is trimmed (1 point) Each element has the terminating ‘s’ removed (1 point) Correctness of method behavior on tests (4 points, 0.5 per test) translate method (total 10 points) Correct use of thetokenize method (1 point) Correct use of the cleanUp method (1 point) Correct iteration on the tokens to store their value in new array of integers (1 point), including correct use of the translateWordToValue method (1 point) Correct use of the translateAllValues method (1 point) Correctness of method behavior on tests (5 points, 0.5 per test) translateAllValues method (total 8 points) Correct iteration on all elements of the parameter array (1 point) Correct handling of most values by adding them together (1 point) Correct handling of 100 and 1000 values (1 point) MORE DIFFICULT Correctness of method behavior on tests (5 points, 0.5 per test)

Read Details

Upload the .java source file for a program satisfying the fo…

Upload the .java source file for a program satisfying the following requirements; Unlike previous IE assignments, this one will require you to write a single program but this program will perform a few independent tasks, one after the other. The code for each task will be located, as usual, in your main method. When your program start performing the work on this task, it should display “Task #1 started”. When it is done, it should display “Task #1 complete”. Here is an example outline for your main method;    public static void main(String[] args){      // declare & initialize variables below            // task #1      System.out.println(“Task #1 is started”);      // insert code for that task here            System.out.println(“Task #1 complete”);       // task #2      System.out.println(“Task #2 is started”);      // insert code for that task here            System.out.println(“Task #2 complete”);            // task #3      System.out.println(“Task #3 is started”);      // insert code for that task here            System.out.println(“Task #3 complete”);       }//end method main    Feel free to implement these tasks in any order with which you are comfortable. While there is no scaffolding provided for each task, their scope and size is kept small so that you may break them down in very simple intermediary steps. Task #1 – total 6 points Your program must read a value of data type int from the user [1 point]. You will then compute the sum of all the digits in the number that was entered [1 point], and display it [1 point]. Hint – you can get the value of the right-most digit of an integer by using modulo 10 [1 point]. You may then discard it by dividing that integer by 10 [1 point]. Once you have your program working for an int value, modify it so that it works with a long value [1 point]. Task #2 – total 4 points Your program must use a loop to compute and display the largest possible int value. You will do so by starting that variable with the value 0 [1 point] and progressively increasing it by 1 [1 point] until you cause an integer overflow [1 point]. You will then display the largest positive value you reached [1 point]. Task #3 – total 3 points Your program must prompt the user to enter an integer value [1 point]. It will then display, one after the other, the binary digits that would represent that number in binary form [2 points]. You will display them in reverse order, i.e., as if you were reading them from right to left. Let us take an example. The decimal integer value 123 is encoded as 01111011 in binary. If the user enters 123, your program should therefore display these binary digits as follow; 11011110  

Read Details

Posts pagination

Newer posts 1 … 45,934 45,935 45,936 45,937 45,938 … 56,731 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top