Questions
An example of a health form with the following requirements: 1. Create a meaningful form for...

An example of a health form with the following requirements:

1. Create a meaningful form for your application, for example, a health monitoring app

2. Edit CSS for your application. The page must be styled with at least 10 CSS styles

This is using Visual Studio to use reactive form application

In: Computer Science

C# in Visual Studio Practice Concepts ● Practice using conditional logic and expressions ● Practice protecting...

C# in Visual Studio

Practice Concepts

● Practice using conditional logic and expressions

● Practice protecting numeric input prompts (Int.TryParse(Console.ReadLine(), out);

Problem Description

create a Console Application using the .NET Framework. C#

This project will implement a short 3-question quiz.

Create a quiz application that has 3 questions. At least one of the questions must offer multiple choices,

and at least one question must prompt the user to enter a numeric input. The third question can be

either multiple choice or numeric input.

Scoring a multiple choice question will work as follows:

● If the user enters the correct choice value, award 3 points.

● If the user enters a valid offered choice, but the incorrect answer, award 1 point.

● If the user enters an invalid option, award 0 points.

Scoring a numeric input question will work as follows:

● If the user enters the correct numeric value, award 3 points.

● If the user enters a valid number, but the incorrect answer, award 1 point.

● If the user enters a non-numeric value, award 0 points.

Final scoring:

● If the user answered all three questions correctly, award 1 bonus point, for a maximum of 10

points earned. (3 points for each correct answer, plus the bonus point).

Test Conditions

● Your program should be free of syntax errors and build and compile properly.

● Due to the numerous ways you can answer these questions, make sure to test your program

over multiple conditions. Test the case where all answers are correct, all answers are incorrect,

etc.

● Note: On this quiz, it should be possible to score: 0 points, 1 point, 2 points, 3 points, 4 points,

5 points, 6 points, 7 points, and 10 points. Can you test each case?

In: Computer Science

. Implement your own custom linked list array implementation with the following changes: (a) Fill in...

. Implement your own custom linked list array implementation with the following changes:
(a) Fill in the public E get(int index) method
(b) Also add code to the get method to print out a message for each time an element in the list is
checked while searching for the element
You may want to study how the toString method goes from element to element in the list

Java

In: Computer Science

Please, i need Unique answer, Use your own words (don't copy and paste). *Please, don't use...

Please, i need Unique answer, Use your own words (don't copy and paste).

*Please, don't use handwriting.

Complete the following table related to the CIA triad.

Confidentiality Integrity Availability

Definition

Example of business situation leading to a loss of
Example of threat to

In: Computer Science

Python We say that a pair of positive integers ?,? is special if ? − ?...

Python

We say that a pair of positive integers ?,? is special if ? − ? = 10 and both ? and ? can be represented as a sum of two squares. For example, the pair (18,8) is special since 18 − 8 = 10, 18 = 3^2 + 3^2, and 8 = 2^2 + 2^2. Write a program that prints all special pairs (?,?) with 1 ≤ ?,? ≤ 100.

In: Computer Science

JAVA code - please answer all prompts as apart of the same java program with Polymorphism...

JAVA code - please answer all prompts as apart of the same java program with Polymorphism

Classwork

Part A ☑ Create a class Employee. Employees have a name. Also give Employee a method paycheck() which returns a double. For basic employees, paycheck is always 0 (they just get health insurance). Give the class a parameterized constructor that takes the name;

Add a method reportDeposit. This method prints a report for the employee with the original amount of the paycheck, the amount taken out for taxes (we will do a flat 17%), and the final amount (for basic employees this will just be a lot of 0's but make sure to do the math based on what paycheck returns).

Salaried employees are employed either for 10 or 12 months of the year for some salary. Their paycheck is their salary, divided up into two pays a month for however many months they are employed.

Using inheritance, create a class for this type of employee (more will be added in part B). Don't override reportDeposit. Give a parameterized constructor for name and salary that chains back to the parameterized superclass constructor.

In a main, create an array of employees, and set it up with some of each kind, some with different values. (hint: you've got parameterized constructors...) Loop through the list and call reportDeposit for each employee, also find the employee with the highest paycheck.

Part B

Hourly employees have an hourly wage, and a number of hours they are scheduled to work per week,. One paycheck is based on two weeks of work (they are guaranteed to have the same hours for both weeks). They are paid an extra 5% of their hourly rate for each hour over 40 hours per week they are scheduled.

Adjunct employees may teach up to 18 credits, and are paid $827 per credit, with the total spread across 2 paychecks a month for 4 months.

Add classes for these types of employee.

Add two hourly and two adjunct employees to your array in main. You shouldn't have to change anything else in main.

In: Computer Science

1a .Write a program that perform insertion sort (ascending order) on an input array and print...

1a .Write a program that perform insertion sort (ascending order) on an input array and print the total number of comparisons that have been made. You can implement by using any programming languages such as C/C++. For example, in the case of array B = [ 30 , 10 , 20 , 40 ], there are 4 needed comparisons to perform insertion sort (30 vs 10, 20 vs 30, 20 vs 10, and 40 vs 30).

1b. Write a program that perform insertion sort while printing the value of input array after each step of insertion sort from the leftmost element to the rightmost element. You can implement by using any programming languages such as C/C++, Java, Python, etc. After that, perform test on the given array A.

A= [7,6, 12, 9, 3, 4, 5, 11, 9, 14, 2, 8]

In: Computer Science

Oranges are grown, picked, and then stored in warehouses in Tampa, Miami, and Fresno. These warehouses...

Oranges are grown, picked, and then stored in warehouses in Tampa, Miami, and Fresno. These warehouses supply oranges to markets in New York, Philadelphia, Chicago, and Boston. The following table shows the shipping costs per truckload (in hundreds of dollars), supply, and demand. Because of an agreement between distributors, shipments are prohibited from Miami to Chicago:To (cost, in $100s)From New York Philadelphia Chicago Boston SupplyTampa $ 9 $ 14 $ 12 $ 17 200Miami 11 10 6 10 200Fresno 12 8 15 7 200Demand130 170 100 150Formulate this problem as a linear programming model, and solve it by using the computer

In: Computer Science

Implement the following logic function using 3-to-8 decoder (74138) and any necessary gates. (Hint: Express Q...

Implement the following logic function using 3-to-8 decoder (74138) and any necessary gates. (Hint: Express Q in minterms. Q = AB'C + A'C'+ BC'

In: Computer Science

Write a function lgrep that returns the “lines” within a list that contain a given sublist....

Write a function lgrep that returns the “lines” within a list that contain a given sublist. Use the sublist function implemented in previous exercise to build lgrep.

> (lgrep ’(c d e) ’((a b c d e f g)

(c d c d e)

(a b c d)

(h i c d e k)

(x y z)))

((a b c d e f g) (c d c d e) (h i c d e k))

You may assume that all elements of (all lines of) all argument lists are atoms.

using scheme

In: Computer Science

JAVA PROGRAM 1. Write a program to find the factorial value of any non-negative number entered...

JAVA PROGRAM

1. Write a program to find the factorial value of any non-negative number entered through the keyboard.(method) (Factorial of n: n! = 1*2*3*…*n, 0! = 1.)

2. Write a program that prompts the user to input a positive integer. It should then output a message indicating whether the number is a prime number. (method)

Please post a screenshot of the codes. Thanks!

In: Computer Science

1) What are firewalls and intrusion detection systems? 2)Why are encryption applications an important security tool?...

1) What are firewalls and intrusion detection systems?

2)Why are encryption applications an important security tool?

3)What kind of budgeting does your job use? What are the pain points that management feels because of this? Where are you seeing the benefit, or the problems, that result, and would another budgeting model work better?

In: Computer Science

Complete function PrintPopcornTime(), with int parameter bagOunces, and void return type. If bagOunces is less than...

Complete function PrintPopcornTime(), with int parameter bagOunces, and void return type. If bagOunces is less than 3, print "Too small". If greater than 10, print "Too large". Otherwise, compute and print 6 * bagOunces followed by " seconds". End with a newline. Example output for ounces = 7:

42 seconds

#include <stdio.h>

void PrintPopcornTime(int bagOunces) {

}

int main(void) {
int userOunces;

scanf("%d", &userOunces);
PrintPopcornTime(userOunces);

return 0;
}

2. Write a function PrintShampooInstructions(), with int parameter numCycles, and void return type. If numCycles is less than 1, print "Too few.". If more than 4, print "Too many.". Else, print "N: Lather and rinse." numCycles times, where N is the cycle number, followed by "Done.". End with a newline. Example output with input 2:

1: Lather and rinse.
2: Lather and rinse.
Done.
 

Hint: Declare and use a loop variable.

#include <stdio.h>

/* Your solution goes here */

int main(void) {
int userCycles;

scanf("%d", &userCycles);
PrintShampooInstructions(userCycles);

return 0;
}

In: Computer Science

please write above 800 -1000 words What is your definition of AI? Please explain. What is...

please write above 800 -1000 words
What is your definition of AI? Please explain.
What is your opinion of AI, is the technology currently available? Why or why not?
Please note at least four AI technologies, explain if they are truly AI or something else. Thoroughly explain your answer.
How is AI perceived as different in various industries and locations? Please explain.

In: Computer Science

#include<stdio.h> #include<stdlib.h> struct listNode{ int data; struct listNode *nextptr; }; typedef struct listNode node; void insert(node*);...

#include<stdio.h>
#include<stdlib.h>

struct listNode{
int data;
struct listNode *nextptr;
};

typedef struct listNode node;

void insert(node*);
void showList(node*);
void printListBackwards(node *);

int main(void)
{
node *list1;
printf("\n Create a sorted list..");
printf("\n Enter values for the first list (-999 to end):");
list1=(node*)malloc(sizeof(node*)); //Allocate memory for the list node
insert(list1); //insert values by calling the function insert
showList(list1); //display values entered by user
printf("\n After recursively reversing the list is :\n");
printListBackwards(list1); //print the values in reverse order using the function
return (0);
}

void insert(node *list)
{
printf("\n Enter data :");
scanf("%d",&list->data);

if(list->data ==-999) //end data entry if -999
{
(list->nextptr);
}
else
{
list->nextptr = (node *)malloc(sizeof(node));
insert(list->nextptr);
}
}
void showList(node *list)
{
node *p;
for (p=list;p->nextptr !=NULL;p=p->nextptr) //loop until the end of list and print values
printf("%d",p->data);
if(list->nextptr ==NULL) //if the list does not have nodes
{
printf("\n The list is empty!");
}
}

void printListBackwards(node *list)
{ if(list->nextptr ==NULL) //if the end of list is encountered
return;
else //if there are nodes in the list,use the function recursively to print the list
{
printListBackwards(list->nextptr);
printf("%d",list->data);
}

}

can you provide a pseudocode for this program

In: Computer Science