Questions
this homework should be done in 30 minute Draw a Use Case Diagram based on the...

this homework should be done in 30 minute

Draw a Use Case Diagram based on the following narrative:

A company called Joyful Foods is introducing a system that allows customers to make food orders through their mobile phones. Customers can register new accounts, which include validating credit card information. They can view the menus of various restaurants and they will have the option of checking the restaurants' ratings while doing so. Customers also can rate any restaurant with a rating from 1-10. When they make food orders, they will have the option of paying online. Company staff will have to confirm food orders with the customers by calling them to make sure that the orders are valid. Furthermore, the company hired drivers will be able to view order information to see the location of the customers. Lastly, managers will be able to grant monthly rewards for drivers after checking their performance.

In: Computer Science

If I want to show an exception in JAVA GUI that checks if the date format...

If I want to show an exception in JAVA GUI that checks if the date format is correct or the date doesn't exist, and if no input is put in how do I do that. For example if the date format should be 01-11-2020, and user inputs 11/01/2020 inside the jTextField it will show an error exception message that format is wrong, and if the user inputs an invalid date, it will print that the date is invlaid, and if the user puts no value inside the text box, it willl print an exception message that there needs to be a value.

Please help.

In: Computer Science

Complete the following Java program to, using BigDecimal, calculate and display the radius of the circle...

  1. Complete the following Java program to, using BigDecimal, calculate and display the radius of the circle whose diameter is stored in the variable diameter.  The radius is calculated as half of the diameter. For example, since diameter is 7.5, the program should calculate and display the radius like this:  (2 points)   (CLO 1)

package q1;

import java.math.BigDecimal;

public class Q1 {

    public static void main(String[] args) {

        float diameter=7.5f;

        

    

        

}

}

                                            Radius = 3.75

  1. Consider the following Java program and then answer the questions that follow.  (CLO 4)

Output:

public class TestInheritance{

            public static void main(String args[]){  

            Dog d=new Dog();

            d.eat();    

            d.bark();  

           }

  }

class Animal{  

    void eat()  {System.out.print("eating...");}  

}  

  class Dog __________ Animal {  

        void bark()  {System.out.println("barking...");}  

        void eat() {

              super.eat();

              System.out.println("only dog food");

         }

  }  

  

  

4.1 Fill in the missing keyword in the class Dog declaration to make it a subclass of   Animal.  (0.5 points)

4.2 In the box provided above, show the output of the program. (2 points)

  1. Consider the earnings method of the subclass BasePlusCommissionEmployee, given below, then answer the question that follows:  (2.5 points)  (CLO 4)

  public double earnings()

   {

      return getBaseSalary() + Super.earnings();

   }    

  Find and fix the syntax error that is likely to be generated in the above method.

In: Computer Science

Question 2 (a). Kotulas Company Ltd has, over the last decade, been using a web-based Sales...


Question 2
(a). Kotulas Company Ltd has, over the last decade, been
using a web-based Sales Order and Procurement System
(SOPS) for its operations.  
(i). Describe categories of users of this company’s
AN[7 marks]
SOPS; and provide practical examples of what each category of users may use this system for, and why?
(ii). Discuss factors that, in your opinion, may cause this company to consider developing a new (or upgrading AN[8 marks] its existing) SOPS.       

(b). You have been using AIT’s LEMASS for more than a year now.
(i).. Describe five functional requirements and five non

functional requirements that LEMASS has EV[5 marks] fulfilled.
(ii). Describe practical problems you have identified with LEMASS; and explain how each of those problems can be
resolved.

PLEASE HELP ME SOLVE THIS QUESTIONS. WOULD LOVE IT TYPED.

In: Computer Science

What is the difference between MDF and LDF files in Microsoft SQL Server? give examples.

What is the difference between MDF and LDF files in Microsoft SQL Server? give examples.

In: Computer Science

Using Java compare how many swaps it takes a 1000 element array of integers. Use both...

Using Java compare how many swaps it takes a 1000 element array of integers. Use both quick-sort and heap sort. Only count when you swap values. Run the test in best case (array starts in sorted order), average case (array starts in random order), and in worst case array is sorted in reverse order. Print out the number of swaps for each sorting method's results.

In: Computer Science

1.Which of the following is NOT correct regarding​ browser-based database​ applications? A.​Browser-based applications are​ thin-client applications....

1.Which of the following is NOT correct regarding​ browser-based database​ applications?

A.​Browser-based applications are​ thin-client applications.

B.​Browser-based applications are​ thick-client applications.

C.JavaScript is the standard language for​ user-side processing.

D.Languages like​ C# and Java are used for​ server-side processing.

E.​Forms, reports, and queries are displayed and processed using html.

2.When the data model is converted to a​ database, which object on the model will become a column or fields in the​ table?

A.Attributes

B.Identifier

C.Integrity constraint

D.Record

E.Entity

In: Computer Science

How a piece of collected information remains in a server when the user inputs and even...

How a piece of collected information remains in a server when the user inputs and even if we transfer the user to another web server in PHP it still remains? I need an algorithm for that requirement without using MySQL or tables. I need to handle the data when the users enter it and handle it to show it to another server?

In: Computer Science

What is a temporary table? Compare #temp and ##temp.

What is a temporary table? Compare #temp and ##temp.

In: Computer Science

Write a Program for Examination depart of your college. Program should take these inputs Name, Roll...

Write a Program for Examination depart of your college. Program should take these inputs
Name, Roll No, Faculty, and All 4 Subjects Marks. After that Clear the Console Screen & Print
an eye-catching Mark sheet. This is showing Name, Roll No, Faculty, All 4 Subjects Marks,
Total Marks, Percentage, Grade and Remarks.
Follow below criteria for Grade & Remarks

Percentage Grade Remarks
>= 87 A Excellent
78 - 86 B+ Good
72 – 77 B Good
66 – 71 C+ Not Good
60 – 65 C Not Good
<= 59 F Very Bad

(Note Use Switch Case for Remarks)

C#

In: Computer Science

Create a vector of 100 integers PRG from 1 to 500. Find the max and min...

Create a vector of 100 integers PRG from 1 to 500. Find the max and min and print those out. Please use c++. Please use #include<iostream>, std::min_element, and std::max_element.

In: Computer Science

Using SHA 256 in Cryptool find the hash values (hash digests) for the following messages: (Show...

Using SHA 256 in Cryptool find the hash values (hash digests) for the following messages: (Show your work by capturing screen images)

  1. Character 0 (note the word Character is not included)
  2. Character 1 (note the word Character is not included)
  3. Fort Valley State University is where talented students come simply for the opportunity to be brilliant. Located in the heart of Georgia, FVSU combines the personal attention and family feel of a small, private college with the resources and research found at large public universities. Located on the second largest acreage of any Georgia university, it is the only university in the world which at once is a University System of Georgia institution, a historically black university, and an 1890 land-grant institution, with a directive to use knowledge to improve the lives of students and non-students alike. Leveraging the reputation for excellence FVSU has built since 1895, the university is preparing students to embrace their genius as future global leaders and enabling discovery which will make real that only now imagined.
    That’s why our motto and tagline is “empower the possible.
  4. Change the message in 3 by 1 bit and find the hash of it. You need to explain how you change the message by a single bit

In: Computer Science

use c++ language. Create a structure called time. Its three members, all type int, should be...

use c++ language. Create a structure called time. Its three members, all type int, should be called hours, minutes, and seconds. Write a program that prompts the user to enter a time value in hours, minutes, and seconds. This should be in 12:59:59 format. This entire input should be assigned first to a string variable. Then the string should be tokenized thereby assigning the 1st token to hours, 2nd token to minutes, and 3rd token to seconds member variables of the structure called time. Finally inside a void Print_in_Seconds(void) member function of time structure, it should print out the total number of seconds represented by this time value: long totalsecs = t1.hours*3600 + t1.minutes*60 + t1.seconds

comment your code properly. do not use vectors

before coding explain it in simple words and use your own logic

In: Computer Science

prepare a presentation on the history of computers. There are 5 main steps of creating a...

prepare a presentation on the history of computers. There are 5 main steps of creating a presentation; Planning, Organizing and Composing, Preparing, Rehearsing, and finally presenting. prepare a brief presentation on the history of computers as you walk through these steps.

In: Computer Science

DESCRIPTION Create a program to calculate and print basic stats on a set of a given...

DESCRIPTION

Create a program to calculate and print basic stats on a set of a given input values representing students' scores on an exam.

1) Ask the user for the total number of exam scores to be input (assume a positive integer will be given).

2) Create an array to hold all the exam scores and then get all the scores from input to put into the array. For example, if the user input 10 in step (1) then you should create an array to hold 10 double values (each of the 10 exam scores) and ask the user for the 10 values, one-by-one, to put in each spot.

3) Calculate and print the average (mean) score.

4) Print out a table displaying the number of each letter grade in the set of scores. Assign grades of A for scores of 90 and above, B for scores of 80 and above (but below 90), C for scores of 70 and above (but below 80), D for scores of 60 and above (but below 70), and F for scores below 60.

Sample output of program:

How many exam scores?
10
Enter the 10 exam scores:
95.6
98
100
96
84.2
82
80
77
66
62.1
Average score: 84.09
Grade - Count:
A - 4
B - 3
C - 1
D - 2
F - 0

Starter Code:-

import java.util.Scanner;

public class ExamStats {
public static void main(String[] args) {
//TODO: Complete the program
  
}
}

In: Computer Science