Answer:Both A and B
Explanation:
Ask the user to input their grade percentage (e.g. the use will enter 98 if they had an overall grade of 98% in their course) for their Accounting, Marketing, Economics and MIS courses. Assume each course is worth 3 credit hours. Once you have all of their grades output what letter grade they earned for each course (e.g. Your letter grade for {Accounting/Marketing/whichever one you are outputting} is {A/B/C/D/F}). After you have output all of their letter grades, output their overall GPA for the semester using the formula:
Letter Grade Point Value for Grade
A 4.00
B 3.00
C 2.00
D 1.00
F 0.00
Example Student Transcript
Course Credit Hours Grade Grade Points
Biology 5 A 20
Biology Lab 1 B 3
English 5 C 10
Mathematics 5 F 033
16 Total Credits Attempted 33 Total Grade Points
Total Points Earned/Total Credits Attempted = Grade Point Average
33 Points Earned/16 Credits Attempted = 2.06 GPA
For more details on how to calculate your GPA, go to http://academicanswers.waldenu.edu/faq/73219 e
GPA - Convert MIS grade to letter grade using a conditional statement
GPA - Convert Accounting letter grade to points earned (can be done in same conditional as letter grade
GPA - Convert Marketing letter grade to points earned (can be done in same conditional as letter grade)
GPA-Convert Economics letter grade to points earned (can be done in same conditional as letter grade)
GPA-Convert MIS letter grade to points earned (can be done in same conditional as letter grade) GPA - Calculate the GPA
GPA-Output the letter grade for each course
GPA-Output the overall GPA for the semester
Answer:
In Python
def getpointValue(subject):
if subject >= 75: point = 4; grade = 'A'
elif subject >= 60: point = 3; grade ='B'
elif point >= 50: point = 2; grade = 'C'
elif point >= 40: point = 1; grade = 'D'
else: point = 0; grade = 'F'
return point,grade
subjects= ["Accounting","Marketing","Economics","MIS"]
acct = int(input(subjects[0]+": "))
mkt = int(input(subjects[1]+": "))
eco = int(input(subjects[2]+": "))
mis = int(input(subjects[3]+": "))
acctgrade = getpointValue(acct)
print(subjects[0]+" Grade: "+str(acctgrade[1]))
mktgrade = getpointValue(mkt)
print(subjects[1]+" Grade: "+str(mktgrade[1]))
ecograde = getpointValue(eco)
print(subjects[2]+" Grade: "+str(ecograde[1]))
misgrade = getpointValue(mis)
print(subjects[3]+" Grade: "+str(misgrade[1]))
totalpoint = (acctgrade[0] + mktgrade[0] + ecograde[0] + misgrade[0]) * 3
gpa = totalpoint/12
print("GPA: "+str(gpa))
Explanation:
The solution I provided uses a function to return the letter grade and the point of each subject
I've added the explanation as an attachment where I used comment to explain difficult lines
A realtor is studying housing values in the suburbs of Minneapolis and has given you a dataset with the following attributes: crime rate in the neighborhood, proximity to Mississippi river, number of rooms per dwelling, age of unit, distance to Minneapolis and Saint Paul Downtown, distance to shopping malls. The target variable is the cost of the house (with values high and low). Given this scenario, indicate the choice of classifier for each of the following questions and give a brief explanation.
a) If the realtor wants a model that not only performs well but is also easy to interpret, which one would you choose between SVM, Decision Trees and kNN?
b) If you had to choose between RIPPER and Decision Trees, which one would you prefer for a classification problem where there are missing values in the training and test data?
c) If you had to choose between RIPPER and KNN, which one would you prefer if it is known that there are very few houses that have high cost?
Answer:
a. decision trees
b. decision trees
c. rippers
Explanation:
a) I will choose Decision trees because these can be better interpreted compared to these other two KNN and SVM. using Decision tress gives us a better explanation than the other 2 models in this question.
b) In a classification problem with missing values, Decision trees are better off rippers since Rippers avoid the missing values.
c) Ripper are when we know some are high cost houses.
How many thermal performance control modes are there in Alienware Area 51m to support different user scenarios?
Answer:
3
Explanation:
The Dell Alienware Personal Computers refers to a range of PC's which are known for their strength, durability and most commonly their graphical performance. Th ecomputwrs are built to handle very high and intensive graphic demanding programs including gaming. The Alienware area 51m is a laptop which has been loaded with the capability and performance of a high graphic demanding desktop computers boasting massive memory size and greater graphic for better game play and high graphic demanding programs.
The laptop features an improved thermal and performance capability to handle the effect of different graphic demanding programs. Therfore, the laptop has 3 different thermal a d performance system modes which altenrtes depending on graphic demands in other to handle intensive demands.
It should be noted that the number of thermal performance mode is 5.
From the complete information, it should be noted that there are five thermal performance control modes are there in Alienware Area 51m to support different user scenarios.
The modes are:
Full speed mode.Performance mode.Balanced mode.Quiet mode.Cool mode.In conclusion, the correct option is 5
Learn more about modes on:
https://brainly.com/question/25604446
Write a function called 'game_of_eights()' that accepts a list of numbers as an argument and then returns 'True' if two consecutive eights are found in the list. For example: [2,3,8,8,9] -> True. The main() function will accept a list of numbers separated by commas from the user and send it to the game_of_eights() function. Within the game_of_eights() function, you will provide logic such that: the function returns True if consecutive eights (8) are found in the list; returns False otherwise. the function can handle the edge case where the last element of the list is an 8 without crashing. the function prints out an error message saying 'Error. Please enter only integers.' if the list is found to contain any non-numeric characters. Note that it only prints the error message in such cases, not 'True' or 'False'. Examples: Enter elements of list separated by commas: 2,3,8,8,5 True Enter elements of list separated by commas: 3,4,5,8 False Enter elements of list separated by commas: 2,3,5,8,8,u Error. Please enter only integers.
Answer:
In Python:
def main():
n = int(input("List items: "))
mylist = []
for i in range(n):
listitem = input(", ")
if listitem.isdecimal() == True:
mylist.append(int(listitem))
else:
mylist.append(listitem)
print(game_of_eights(mylist))
def game_of_eights(mylist):
retVal = "False"
intOnly = True
for i in range(len(mylist)):
if isinstance(mylist[i],int) == False:
intOnly=False
retVal = "Please, enter only integers"
if(intOnly == True):
for i in range(len(mylist)-1):
if mylist[i] == 8 and mylist[i+1]==8:
retVal = "True"
break
return retVal
if __name__ == "__main__":
main()
Explanation:
The main begins here
def main():
This gets the number of list items from the user
n = int(input("List items: "))
This declares an empty list
mylist = []
This iterates through the number of list items
for i in range(n):
This gets input for each list item, separated by comma
listitem = input(", ")
Checks for string and integer input before inserting item into the list
if listitem.isdecimal() == True:
mylist.append(int(listitem))
else:
mylist.append(listitem)
This calls the game_of_eights function
print(game_of_eights(mylist))
The game_of_eights function begins here
def game_of_eights(mylist):
This initializes the return value to false
retVal = "False"
This initializes a boolean variable to true
intOnly = True
This following iteration checks if the list contains integers only
for i in range(len(mylist)):
If no, the boolean variable is set to false and the return value is set to "integer only"
if isinstance(mylist[i],int) == False:
intOnly=False
retVal = "Please, enter only integers"
This is executed if the integer contains only integers
if(intOnly == True):
Iterate through the list
for i in range(len(mylist)-1):
If consecutive 8's is found, update the return variable to True
if mylist[i] == 8 and mylist[i+1]==8:
retVal = "True"
break
This returns either True, False or Integer only
return retVal
This calls the main method
if __name__ == "__main__":
main()
Charging current being returned to the battery is always measured in DC Amps. true or false
Answer:Charging current being returned to the battery is always measured in DC Amps. Electrical energy will always flow from an area of low potential to an area of high potential. ... One volt is the pressure required to force one amp of current through a circuit that has 1 Ohm of resistance.
Explanation:
A service specialist from your company calls you from a customer's site. He is attempting to install an upgrade to the software, but it will not install; instead, it he receives messages stating that he cannot install the program until all non-core services are stopped. You cannot remotely access the machine, but the representative tells you that there are only four processes running, and their PID numbers are 1, 10, 100, and 1000. With no further information available, which command would you recommend the representative run?
Answer:
kill 1000
Explanation:
Which feature in Access is used to control data entry into database tables to help ensure consistency and reduce errors?
O subroutines
O search
O forms
O queries
The answer is: Forms
To control data entry into database tables to help ensure consistency and reduce errors will be known as forms in data entry.
What are forms in data entry?A form is a panel or panel in a database that has many fields or regions for data input.
To control data entry into database tables to help ensure consistency and reduce errors will be forms.
Then the correct option is C.
More about the forms in data entry link is given below.
https://brainly.com/question/10268767
#SPJ2
How many different values can a bit have?
16
2
4.
8
Answer:
A bit can only have 2 values
As the network engineer, you are asked to design a plan for an IP subnet that calls for 25 subnets. The largest subnet needs a minimum of 750 hosts. Management requires that a single mask must be used throughout the Class B network. Which of the following lists a private IP network and mask that would meet the requirements?
a. 172.16.0.0 / 255.255.192.0
b. 172.16.0.0 / 255.255.224.0
c. 172.16.0.0 / 255.255.248.0
d. 172.16.0.0 / 255.255.254.0
Answer:
c. 172.16.0.0 / 255.255.248.0
Explanation:
The address will be 172.16.0.0 while the netmask will be 255.255.248.0.
Thus, option C is correct.
Select the correct answer.
David gets a new job as a manager with a multinational company. On the first day, he realizes that his team consists of several members from diverse cultural backgrounds. What strategies might David use to promote an appreciation of diversity in his team?
A.
Promote inclusion, where he can encourage members to contribute in discussions.
B.
Create task groups with members of the same culture working together.
C.
Allow members time to adjust to the primary culture of the organization.
D.
Provide training on the primary culture to minority groups only if there are complaints against them.
Answer:
A.
Explanation:
If we were to go with B, then it would exclude others from different cultures, doing what he is trying to.
If we went with C, then they wouldn't get along very well, because no one likes to be forced into a different religion.
If we went with D, he wants an appreciation, so training some people to change religions if there are complaints, is not going to cut it. Therefore, we have A. Which I do not need to explain.
PLEASE HELP How have phones made us spoiled? How have phones made us unhappy?