Java Homework:(The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student andEmployee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office, salary, and date-hired. Define a class named MyDate that contains the fields year, month, and day. A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person's name.
class Person{
//A person has a name, address, phone number, and email address.
String name;
String address;
String phone;
String email;
}
class Student extends Person{
//A student has a class status
//(freshman,sophomore, junior, or senior).
//Define the status as a constant.
final int freshman =1;
final int sophomore =2;
final int junior=3;
final int senior=4;
int status=freshman;
}
class Employee extends Person{
//An employee has an office, salary, and date hired.
String office;
double salary;
java.util.Date dateHired;
}
class Faculty extends Employee{
//A faculty member has office hours and a rank.
String officeHours;
String rank;
}
class Staff extends Employee{
//A staff member has a title
String title;
}
public class ex112{
}
The outline is given above. Fill in between brackets to finish! Thank you :)
Answer: Wait, so what is the question exactly..?
Work made for hire. If an employer asks an independent designer to create an illustration, the copyright to that artwork is owned by the employer. true or false?
Answer:
False
Explanation:
On the basis of the designer being "independent", the artworks copyright remains with the designer. Being independent requires contractual transfer of copyright in the event that its created for another person.
Why was the newspaper readership the highest in 1995?
What is a copyright?
the exclusive legal right, given to an originator or an assignee to print, publish, perform, film, or record literary, artistic, or musical material, and to authorize others to do the same.
TCP is a more dependable protocol than UDP because TCP is_____ latent/connectionless/connection-oriented/encapsulated
Answer:
connection-oriented
Explanation:
Answer:
TCP is a more dependable protocol than UDP because TCP is
connection-oriented
Explanation:
Because I took a guess and that was the
PROJECT STEPS
1. For your Written Communication class, you are writing a short research paper. To conform to MLA guidelines, modify the document’s Normal style by changing the font to Times New Roman, the font size to 12 pt., and the line spacing to double with no blank space after paragraphs.
2. Apply the modified Normal style to the first four paragraphs in the document, from “Crystal Mathison” to “15 October 2018”.
3. Center the title paragraph “A Solution to Food Deserts: Micro Farms”.
4. Insert a header as follows:
a. Insert a blank header at the top of the page.
b. Right-align the header paragraph.
c. Type Mathison as the header text, insert a space, and then insert a Plain Number page number from the Current Position gallery.
d. Close Header & Footer Tools.
5. Create a First Line indent of 0.5" for the body paragraphs beginning with “In the United States…” and ending with “…avenues for profitable enterprises.”
6. Change the Citations & Bibliography Style of the document to MLA.
7. In the sentence “In the United States…fresh fruits and vegetables.”, move the insertion point before the period and insert a citation to a new source using the information shown in Figure 1 below. (Hint: The Tag name is intentionally blurred because it is generated automatically.) need fast
Answer:
. For your Written Communication class, you are writing a short research paper. To conform to MLA guidelines, modify the document’s Normal style by changing the font to Times New Roman, the font size to 12 pt., and the line spacing to double with no blank space after paragraphs.
2. Apply the modified Normal style to the first four paragraphs in the document, from “Crystal Mathison” to “15 October 2018”.
3. Center the title paragraph “A Solution to Food Deserts: Micro Farms”.
4. Insert a header as follows:
a. Insert a blank header at the top of the page.
b. Right-align the header paragraph.
c. Type Mathison as the header text, insert a space, and then insert a Plain Number page number from the Current Position gallery.
d. Close Header & Footer Tools.
5. Create a First Line indent of 0.5" for the body paragraphs beginning with “In the United States…” and ending with “…avenues for profitable enterprises.”
6. Change the Citations & Bibliography Style of the document to MLA.
7. In the sentence “In the United States…fresh fruits and vegetables.”, move the insertion point before the period and insert a citation to a new source using the information shown in Figure 1 below. (Hint: The Tag name is intentionally blurred because it is generated automatically.) need fast
Explanation:
What is Interface in computers
Answer:
An interface could be the design of the homescreen or the way a shell of a computer is designed. I could be wrong tho......
Explanation:
what is an operating system
Answer:
Explanation:
Online Dictionary defines 'Operating System' as "the software that supports a computer's basic functions, such as scheduling tasks, executing applications, and controlling peripherals.''
Hope this helps!
Write a program which has your own versions of the Python built-in functions min and max. In other words, write the functions called maximum(aList) and minimum(aList) that do the job of the built-in Python functions max(aList) and min(aList)respectively. They should take a list as an argument and return the minimum or maximum element . Test your functions with the list [7, 5, 2, 3, 1, 8, 9, 4]. Hint: Pick the first element as the minimum (maximum) and then loop through the elements to find a smaller (larger) element. Each time you find a smaller (larger) element, update your minimum (maximum).
Answer:
def maximum(aList):
highest = aList[0]
for number in aList:
if number > highest:
highest = number
return highest
def minimum(aList):
lowest = aList[0]
for number in aList:
if number < lowest:
lowest = number
return lowest
print(maximum([7, 5, 2, 3, 1, 8, 9, 4]))
print(minimum([7, 5, 2, 3, 1, 8, 9, 4]))
Explanation:
Create a function named maximum that takes one parameter, aList
Initialize the highest as the first number in aList
Create a for loop that iterates through the aList. Compare each number in aList with highest. If a number is greater than highest, set it as new highest.
When the loop is done, return the highest
Create another function named minimum that takes one parameter, aList
Initialize the lowest as the first number in aList
Create a for loop that iterates through the aList. Compare each number in aList with lowest. If a number is smaller than lowest, set it as new lowest.
When the loop is done, return the lowest
Call the functions with given list and print the results
What is the hexadecimal equivalent for the decimal number 27? Working must be shown
The answer is .9726
Explanation:
In Word, blue underlining indicates which of these problems?
A grammatical error
B file error
C spelling error
D style mismatch
Answer:
The blue indicates a grammatical error, including misused words.
Hence, the answer is A
What is Groovefunnels?
Explanation:
Griovefunnels is a suite of digital marketing tools desinged to help you run a sucessfull online business .
Write an expression using Boolean operators that prints "Special number" if special_num is -99, 0, or 44.
Sample output with input: 17
Not special number
Answer:
special_num = int(input())
if special_num == -99 or special_num == 0 or special_num == 44:
print('Special number')
else:
print('Not special number')
Explanation:
#get input
special_num = int(input())
#if function to evaluate true or false(aka Boolean)
if special_num == -99 or special_num == 0 or special_num == 44:
#true evaluation
print('Special number')
#false evaluation
print('Not special number')
The program evaluates the number inputted by a user, checks if it is one of three special numbers and displays the appropriate message. The program is written in python 3 ;
special_num = int(input('enter number : '))
#allows user to input an integer value which is assigned to the variable named special number
if(special_num == -99) or (special_num ==0) or (special_num == 44):
#checks if the inputted value is one of the three special numbers using the assignment operator '==' and 'OR'
print('special number')
# if the condition evaluates to true, display the message ;special number
else :
print('Not a special number')
#if otherwise, display the message, not a special number.
Learn more :https://brainly.com/question/18929518
What is the result when you run the following line of code after a prompt >>>print(“2+4)
Answer:
2+4
or more honestly, it would return an error message.
Explanation:
So none of the answers are correct because:
no quotes will be printed.If you look more closely, the quotes are inversed in the statement, which is invalid syntax.see picture
Answer:
the answer is
'2 + 4'
Explanation:
I just took the test, so I know for 100% certainty, that this is the answer that is being accepted as the correct answer.
If you want to ensure that a particular application receives priority access to the network, you should configure what feature on the router?
QoS
DHCP
UDP
ARP
Answer:
QoS
Explanation:
:/
Answer:
other person is correct the answer is QoS
Explanation:
The only item on the desktop of a new Mac is the hard-drive icon.
True or false?
Answer:
False
There are many more items on the desktop of a new Mac than the hard-drive icon.
Complete performance index:
How is it calculated?
Answer:
Remaining Work = Total budget – Earned Value. = (BAC – EV).
4.1 lesson practice
Im being timed please help!!
Where might you find help if material becomes truly difficult?
a.
A teacher
c.
A study group
b.
A tutor
d.
All of these
Please select the best answer from the choices provided
A
B
C
D
Answer:
ALL
Explanation:
Because if it was a test you can ask a teacher, if it was group projects you can ask the study group, if it was homework or 1 on 1 you can ask a tutor
Answer:
b
Explanation:
because a tutor deals with materials
Part 1 Create a program that asks the user for a temperature in Fahrenheit, and then prints the temperature in Celsius. Search the Internet for the correct calculation. Look at Chapter 1 for the miles-per-gallon example to get an idea of what should be done.
Part 2 Create a new program that will ask the user for the information needed to find the area of a trapezoid, and then print the area.
Part 3 Create your own original problem and have the user plug in the variables.
IN PYTHON
Answer:
Written in Python
import math
#1. Temperature Conversion
degreeF = float(input("Degree Fahrenheit: "))
degreeC = (degreeF - 32) * 5/9
print("Degree Celsius: "+str(round(degreeC,2)))
#2. Area of Trapezoid
Base1 = float(input("Base 1: "))
Base2 = float(input("Base 2: "))
Height = float(input("Height: "))
Area = 0.5 * (Base1 + Base2) * Height
print("Area: "+str(round(Area,2)))
#3. Addition of Two Numbers
Num1 = float(input("Number 1: "))
Num2 = float(input("Number 2: "))
print("Result: "+str(Num1 + Num2))
Explanation:
This line imports the math library
import math
Program 1 starts here
#1. Temperature Conversion
This line prompts users for input in degree Fahrenheit
degreeF = float(input("Degree Fahrenheit: "))
This line converts to degrees Celsius
degreeC = (degreeF - 32) * 5/9
This line prints the converted degree
print("Degree Celsius: "+str(round(degreeC,2)))
Program 2 starts here
#2. Area of Trapezoid
The next three lines prompts user for necessary inputs
Base1 = float(input("Base 1: "))
Base2 = float(input("Base 2: "))
Height = float(input("Height: "))
This line calculates the area
Area = 0.5 * (Base1 + Base2) * Height
This line prints the area
print("Area: "+str(round(Area,2)))
The third program begins here. I've decided to write a program that sums two numbers
#3. Addition of Two Numbers
The next two lines prompt user for inputs
Num1 = float(input("Number 1: "))
Num2 = float(input("Number 2: "))
This line calculates and prints the sum
print("Result: "+str(Num1 + Num2))
what is the output? there are no answer options and I'm completely lost.
>>>answer = "five times"
>>>answer[2:7]
The string answer = "five times"
All strings start at index 0 and end at the length of the string minus 1
So, if we count appropriately, index 2 is v and index 7 is m
answer[2:7] goes from v to m including v but not m, therefore,
answer[2:7] = "ve ti"
What does B the represent
Answer:
The B represents a boolean.
You are going to send a document to a client, and you want to be absolutely sure that none of the formatting is lost. Which of these document formats would be best?
A Permissions
B Orientation
C Margins
D Location
Answer:
Explanation:
A because they would not ruin your work and they have to ask your permission if they want to edit it.
write a program that first defines three string objects called firstName, middleName, and lastName which contains your own first, middle and last name separately. If you do not have middle name, then make up one. Then try to generate a new user name for you by using your first letter of your first name(captilized), first letter of you middle name (Captilized), plus all letters in your last name, add a random number between (1 to 100) to the your new user name. Here is an exampl: Name: John blake adams then the user name generated by your program coulde be: JBadams23
Answer:
Written in Python
import random
firstName = "Charles"
lastName = "Dawson"
middleName = "Rutherford"
pwd = firstName[0] + lastName[0]+middleName+str(random.randint(1,101))
print(pwd)
Explanation:
This line imports random library into the program
import random
The next three lines initializes the name of the user
firstName = "Charles"
lastName = "Dawson"
middleName = "Rutherford"
This line generates the password
pwd = firstName[0] + lastName[0]+middleName+str(random.randint(1,101))
This line prints the generated password
print(pwd)
Choose the best technology device for the
scenario below.
A business professional works in an office
designing graphics for a company's
advertisements.
O Tablet PC
o Smartphone
Desktop computer with 2 screens
Laptop computer
Answer:
Desktop computer with 2 screens
Explanation:
All graphices designers need the most screen space possible
Answer:
Desktop computer with 2 screens
Explanation:
Computing devices translate digital to analog information in order to process the information
Answer:
True?
Explanation: is IT RIGHT?????????????????
What statement best describes percentage values in CSS?
A.It's the fraction of the value that came before it.
B.It's the smallest controllable element on the screen.
C.It's always the width of an indent.
D.It's a value that is relative to the width of its HTML element or to the page.
Answer:
Im sorry if its wrong but i believe its D.
Explanation:
D. It's a value that is relative to the width of its HTML element or to the page.
Answer:
The answer is
Explanation:
D. It's a value that is relative to the width of its HTML element or to the page.
write a dialogue between two friends who are debating on popularity or property
Answer:
example:
James said, " popularity isn't the important. "
David said, " It is ."
Computer networks allow computers to send information to each other. What is the term used to describe the basic unit of data passed from one computer to another?
packet
message
transmission
package
Answer:
Packet
Explanation:
I just did the Quiz on EDGE2022 and it's 200% correct!
Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)
The term that is used to describe the basic unit of data passed from one computer to another is the packet. The correct option is a.
What are computer networks?Computer networking is the term for a network of connected computers that may communicate and share resources. These networked devices transmit data through wireless or physical technologies using a set of guidelines known as communications protocols.
The network layer supplies the means of shifting variable-length web packets from a source to a destination host via one or more networks.
A packet is a brief section of a message in networking. Packets are used to transport data via computer networks, including the Internet. The computer or device that receives these packets then reassembles them.
Therefore, the correct option is a. packet.
To learn more about computer networks, refer to the link:
https://brainly.com/question/13992507
#SPJ2
WILL MARK QUICKEST CORRECT ANSWER AS BRAINLIEST 11 PTS
Gary says, “Ports are where data enter a network before it reaches a gateway. The data travel via transmission media.”
Explain why Gary is right or wrong.
A) Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.
B) Gary is wrong. Gateways block data, so data don’t enter through them.
C) Gary is right.
Answer: Gary is wrong. Data do not travel via transmission media.
Answer:
the answer is Gary is wrong. Ports are where connectors attach to destinations, not where data enter the network.
Explanation:
correct on ed