Answer:
[A] This system can be ported to more computer platforms than any of its counterparts. - [2] Linux Operating System
[B] The operating system functions require many system resources. - [1] Microsoft Windows Operating System
[C] The operating system works only with specific hardware. - [3] Apple Operating System
If I wanted to share files only within my organization and limit my employees from sharing information with external people, what type of network should I set up in my office?
A) Internet
B) Peer-to-Point
C) Intranet
D) Extranet
Why does trust usually break down in a designer-client relationship?
A lack of service
B lack of privacy
C lack of communication
D lack of contract
Trust is usually broken down in a designer-client relationship due to a lack of service. Thus, the correct option for this question is A.
How do you end a client relationship?You would end a client relationship by staying calm, rational, and polite. Apart from this, reasons for terminating the relationship, but keep emotion and name-calling out of the conversation.
Follow-up with a phone call. You can start the process with an email, but you should follow up with a phone call in order to talk your client through the process and answer any questions.
But on contrary, one can build trust with clients by giving respect to them, Admit Mistakes and Correct Ethically, listening to them, listening to their words first followed by a systematic response, etc.
Therefore, trust is usually broken down in a designer-client relationship due to a lack of service. Thus, the correct option for this question is A.
To learn more about Client relationships, refer to the link:
https://brainly.com/question/25656282
#SPJ1
Which benefits does the cloud provide to start-up companies without acccess to large funding
Answer:Among other things, the fact that anyone can connect to such a server from their home and work on something remotely
Explanation:
Code to be written in python:
Correct answer will get brainliest :)
Mr Wu has been going to work every day by taxi for many years. However, the taxi fare has been increasing rather quickly in recent years. Therefore, he is considering driving to work instead. One of the costs for driving is the parking fee. The parking rates of the car park at Mr Wu's workplace are as shown as below:
Weekdays:
$2 per hour between 4am and 7am
$1.20 per half hour between 7am and 6pm
$5 per entry after 6pm
Saturdays:
$2.50 per hour between 4am and 7am
$1.50 per half hour between 7am and 6pm
$7 per entry after 6pm
Sunday: Flat rate of $5 per entry
For all days, there is a grace period of 10 minutes.
The car park opens between 4am and 12 midnight daily. We assume vehicles are magically ejected at midnight.
There is a 10% surcharge on weekdays and a 20% surcharge on Saturdays for vehicles who park for more than 10 hours. There are no surcharges on Sunday.
There is an additional fee of $3 for exiting after 10pm on any day.
Your task is to write a function compute_fee(day, time_in, time_out) that computes the parking fee, where day is an integer between 1 and 7, with 7 representing Sunday, while time_in and time_out are integer values in a 24-hour format - e.g. 700 for 7am and 2359 for 11:59pm. Assume all input is valid.
Below are a few examples of how the fee is calculated:
Example 1: Tuesday, 4:29am to 7:50am.
• 4:29am to 7am is charged as 3 1-hour slots: $2.00 * 3 = $6.00
• 7am to 7:50am is charged as 2 30-minute slots: $1.20 * 2 = $2.40
• Total fee = $6.00 + $2.40 = $8.40
Example 2: Saturday, 7:01am to 7:49pm.
• 7:01am to 6pm is charged as 22 30-minute slots: $1.50 * 22 = $33.00
• 6pm to 7:49pm is charged as one entry: $7.00
• 20% Surcharge for parking more than 10 hours: ($33.00 + $7.00) * 20% = $8.00
• Total fee = $33.00 + $7.00 + $8.00 = $48.00
Example 3: Sunday, 3pm to 10:01pm.
• 3pm to 10:01pm is charged as one entry: $5.00
• Additional fee for exiting after 10pm: $3.00
• Total fee = $5.00 + $3.00 = $8.00
Example 4: Thursday, 11:49pm to 11:59pm.
• Grace period
• Total fee = $0.00
Example 5: Monday, 12pm to 10:01pm.
• 12pm to 6pm is charged as 12 30-minute slots: $1.20 * 12 = $14.40
• 6pm to 10:01pm is charged as one entry: $5.00
• 10% Surcharge for parking more than 10 hours: ($14.40 + $5.00) * 10% = $1.94
• Additional fee for exiting after 10pm: $3.00
• Total fee = $14.40 + $5.00 + $1.94 + $3.00 = $24.34
def compute_fee(day, time_in, time_out):
"""Your code here"""
Test Cases:
compute_fee(2, 429, 750) 8.4
compute_fee(6, 701, 1949) 48
compute_fee(7, 1500, 2201) 8
compute_fee(4, 2259, 2301) 0
compute_fee(1, 1200, 2201) 24.34
Here is the requested Python function that computes the parking fee based on the given information:
_______ is the assurance that you can rely on something to continue working properly throughout its lifespan.
A) Reliability
B) Raid
C) P/E cycle
D) MTBF
An automotive company tests the driving capabilities of its self driving car prototype. They Carry out the test on various types of roadways specifically a racetrack chill rack and dirt road what are the examples of fair or unfair practices
It is to be noted that testing a self-driving car prototype on various types of roadways, such as a racetrack, hill rack, and dirt road, can be considered fair practice. It would only be unfair practice if the lives and property of humans are put at risk during the testing.
What is unfair practice?Unfair practices are behaviors that are neither just or fair. It would be deemed unjust to treat someone differently because of their color or gender, for example. Cheating or violating regulations to get an edge over others is also included. To develop a fair and just society, it is critical to constantly treat people with fairness and respect.
In this scenario, it is evident that endangering human life and property is unethical behavior.
Learn more about Unfair Practices:
https://brainly.com/question/14700715
#SPJ1
7. The expansion slot is located on the A. CPU B. DVD drive C. D. Hard disk Motherboard
Answer:
Motherboard
Explanation:
The user is able to input grades
and their weights, and calculates the overall final mark. The program should also output what you need to achieve on a specific assessment to achieve a desired overall mark. The program should be able to account for multiple courses as well. Lists are allowed.
Name of person
Number of courses
Course ID
Grades and Weights in various categories (Homework, Quiz, and Tests)
Enter grades until -1 is entered for each category
Final Grade before exam
Calculate to get a desired mark (using final exam)
Output all courses
Answer:
Here is an example of how you could write a program to perform the tasks described:
# Store the student's name and number of courses
name = input("Enter the student's name: ")
num_courses = int(input("Enter the number of courses: "))
# Create an empty list to store the course data
courses = []
# Loop through each course
for i in range(num_courses):
# Input the course ID and initialize the total grade to 0
course_id = input("Enter the course ID: ")
total_grade = 0
# Input the grades and weights for each category
print("Enter grades and weights for each category (enter -1 to finish)")
while True:
category = input("Enter the category (homework, quiz, test): ")
if category == "-1":
break
grade = int(input("Enter the grade: "))
weight = int(input("Enter the weight: "))
# Calculate the contribution of this category to the total grade
total_grade += grade * weight
# Store the course data in a dictionary and add it to the list
course_data = {
"id": course_id,
"grade": total_grade
}
courses.append(course_data)
# Input the final grade before the exam
final_grade_before_exam = int(input("Enter the final grade before the exam: "))
np.arange(5,8,1) what output will be produced?
Answer: [5 6 7]
Explanation: The np.arange takes in three parameters ->start,stop,step.
Hence, since we our range is 5 to 8, incrementing by 1 until we reach 8, giving us a list -> [5,6,7]
Which of the following does NOT pair the statement with the corresponding output?
The statement that does not pair with the corresponding output is system.out.printin (a + b+ c). The correct option is statement A.
What is the output?Output is any information processed by and sent by a computer or other electronic device. Anything visible on your computer monitor screen, such as the words you write on your keyboard, is an example of output.
Outputs can be text displayed on the computer's monitor, sound from the computer's speakers, or a physical output such as a printed sheet of paper from a printer connected to the computer.
Therefore, the correct option is A, system.out.printin (a + b+ c).
To learn more about output, refer to the link:
https://brainly.com/question/13736104
#SPJ1
Write the Holiday Date of the following holidays:
1. Bonifacio Day –
2. Christmas Day –
3. Rizal Day –
4. Day of Valor –
5. Labor Day –
6. Independence Day –
7. New Year’s Day –
8. People Power Day –
9. Ninoy Aquino Day –
10. All Saint’s Day –
Answer:
1. November 30
2. December 25
3. December 30
4. April 9
5. September 1
6. (depends)
7. January 1
8. February 25
9. August 21
10. November 1
Explanation:
Complete a program that takes a weight in kilograms as input, converts the weight to pounds, and then outputs the weight in pounds. 1 kilogram = 2.204 pounds (lbs). Ex: If the input is: 10 the output is: 22.040000000000003 lbs Note: Your program must define the function def kilo_to_pounds(kilos)
Hello there!
def kilo_to_pounds(kilos):
____pounds = 2.204 * kilos
____return pounds
kilos = int(input())
print(kilo_to_pounds(kilos), 'lbs')
The program that takes a weight in kilograms as input, converts the weight to pounds, and then outputs the weight in pounds is in the explanation part.
What is programming?The process of carrying out a specific computation through the design and construction of an executable computer programme is known as computer programming.
Here is the completed program in Python:
def kilo_to_pounds(kilos):
pounds = kilos * 2.204
return pounds
# Main program
kilo_input = float(input("Enter weight in kilograms: "))
pounds_output = kilo_to_pounds(kilo_input)
print("Weight in pounds: ", pounds_output)
Thus, the kilo_to_pounds function takes a weight in kilograms as input and converts it to pounds using the conversion factor of 2.204.
For more details regarding programming, visit:
https://brainly.com/question/11023419
#SPJ2
Create a program for the given problems using one-dimensional array. Program to identify if the input number is odd or even.
Answer:
Here's an example of a simple program in Python that uses a one-dimensional array to determine if a given number is odd or even:
def check_odd_even(arr):
for i in range(len(arr)):
if arr[i] % 2 == 0:
print(str(arr[i]) + " is even")
else:
print(str(arr[i]) + " is odd")
# Example usage
numbers = [1, 2, 3, 4, 5, 6, 7]
check_odd_even(numbers)
The program defines a function check_odd_even that takes an array of numbers as an input. It then iterates over the array, checking the remainder of each number when divided by 2. If the remainder is 0, the number is even, if not then it is odd. The program then prints whether each number is even or odd.
You can input any array you want, of any lenght, and the function will work the same way.
Keep in mind that you can also check the parity in another ways, like using bitwise operation.
Explanation:
Explain afew of the different ways in which computers can be categorised
Which of the following statements is a possible explanation for why open source software (OSS) is free? A. OSS makes money by charging certain large corporations for licenses. B. OSS is typically lower quality than proprietary software. C. The OSS movement wants to encourage anyone to make improvements to the software and learn from its code. D. The OSS movement is funded by a private donor so it does not need to charge for its software licenses.
The statement that represents a possible explanation for why open-source software (OSS) is free is as follows:
The OSS movement is funded by a private donor so it does not need to charge for its software licenses.Thus, the correct option for this question is D.
What is open-source software?Free and open-source software (FOSS) is a term used to refer to groups of software consisting of both free software and open-source software where anyone is freely licensed to use, copy, study, and change the software in any way, and the source code is openly shared so that people are encouraged to voluntarily improve.
Open-source software (OSS) is computer software that is released under a license in which the copyright holder grants users the rights to use, study, change, and be marked by the user for a specific purpose in order to perform particular functions.
Therefore, the correct option for this question is D.
To learn more about Open-source software, refer to the link:
https://brainly.com/question/15039221
#SPJ1
Code to be written in python:
Correct answer will automatically be awarded the brainliest.
One of the senior wizards Yee Sian was trapped in a maze during a mission. The maze has n * m cells, labelled from (0, 0) to (n-1, m-1). Starting at cell (0, 0), each time Yee Sian can only take one step, either to the right or down. We wish to find out the number of possible paths to the destination (n - 1, m - 1). A sample path is shown in the figure below.
Having learnt the technique of speeding up the pascal function through memoization, you decide to apply it here. If Yee Sian can walk out by himself (number of paths > 0), tell him how many ways there are. Otherwise, report to Grandwizard and send a rescue team.
Write a function num_of_paths that takes in two integers representing the number of rows (n) and columns (m) in a maze and returns an integer value of number of paths from cell (0, 0) to cell (n - 1, m - 1). The table and skeleton code are given to you. Your table is essentially a dictionary that stores (i, j): val pairs which indicate the number of paths from cell (0, 0) to cell (i, j).
Note: You may assume that all inputs n and m are valid. i.e. n > 0, m > 0.
Incomplete Code:
table = {} # table to memoize computed values
def num_of_paths(n, m):
# your code here
pass
Test Cases:
num_of_paths(1, 100) 1
num_of_paths(123, 1) 1
num_of_paths(3, 3) 6
num_of_paths(10, 10) 48620
num_of_paths(28, 56) 3438452994457305131328
A business wants to evaluate how much they're spending on their customers, versus how much their customers go on to spend. If they want to see how much a customer will spend during the time they're a customer, that measurement would be?
Since the business wants to evaluate how much they're spending on their customers, versus how much their customers go on to spend. The measurement that a business would use to evaluate how much a customer will spend during the time they are a customer is called Customer Lifetime Value (CLV).
What is Customer Lifetime Value (CLV)?CLV is a prediction of the net profit attributed to the entire future relationship with a customer. It is calculated by multiplying the average value of a sale by the number of repeat transactions and the average retention time.
Therefore, based on the above, CLV can be used to identify which customers are the most valuable to a business and to allocate resources accordingly.
Learn more about business from
https://brainly.com/question/28464469
#SPJ1
Name the function used to create a data frame ?
Answer:
The function used to create a data frame is data. frame()
explain the steps to adding a password in Smart Art
Answer:
To add a password to a SmartArt graphic in Microsoft PowerPoint, follow these steps:
Open the PowerPoint presentation containing the SmartArt graphic that you want to add a password to.
Select the SmartArt graphic by clicking on it.
In the ribbon at the top of the window, click the "Format" tab.
In the "Format" tab, click the "Security" button.
In the "Security" dialog box that appears, click the "Password" tab.
In the "Password" tab, enter a password in the "Password" field.
Re-enter the password in the "Confirm password" field to confirm it.
Click the "OK" button to save the password.
Save the presentation. The SmartArt graphic will now be protected with the password that you set. You will need to enter the password to edit or modify the SmartArt graphic.
Workstations are usually applied for scientific, mathematical, and engineering calculations and computer aided-design and computer aided- manufacturing. a. False b. True
Workstations are usually applied for scientific, mathematical, and engineering calculations and computer aided-design and computer aided- manufacturing is True
What is Workstations?Workstations are specialized computers that are designed for high-performance and resource-intensive tasks such as scientific, mathematical, and engineering calculations, computer-aided design (CAD), and computer-aided manufacturing (CAM).
Therefore, They typically have faster processors, more memory, and better graphics capabilities than general-purpose computers, which allows them to handle the complex tasks required in these fields.
Learn more about Workstations from
https://brainly.com/question/9958445
#SPJ1
Code to be written in python:
Correct code will automatically be awarded the brainliest
You had learnt how to create the Pascal Triangle using recursion.
def pascal(row, col):
if col == 1 or col == row:
return 1
else:
return pascal(row - 1, col) + pascal(row - 1, col - 1)
But there is a limitation on the number of recursive calls. The reason is that the running time for recursive Pascal Triangle is exponential. If the input is huge, your computer won't be able to handle. But we know values in previous rows and columns can be cached and reused. Now with the knowledge of Dynamic Programming, write a function faster_pascal(row, col). The function should take in an integer row and an integer col, and return the value in (row, col).
Note: row and col starts from 1.
Test Cases:
faster_pascal(3, 2) 2
faster_pascal(4, 3) 3
faster_pascal(100, 45) 27651812046361280818524266832
faster_pascal(500, 3) 124251
faster_pascal(1, 1) 1
def faster_pascal(row, col):
if (row == 0 or col == 0) or (row < col):
return 0
arr = [[0 for i in range(row+1)] for j in range(col+1)]
arr[0][0] = 1
for i in range(1, row+1):
for j in range(1, col+1):
if i == j or j == 0:
arr[i][j] = 1
else:
arr[i][j] = arr[i-1][j] + arr[i-1][j-1]
return arr[row][col]
(PYTHON)
The instructions will be shown down below, along with an example of how the program should come out when finished. Please send a screenshot or a file of the program once finished as the answer.
Using the knowledge in computational language in JAVA it is possible program should come out when finished.
Writting the code:package numberofcharacters;
import java.util.ArrayList;
public class App {
public static void main(String[] args) {
String toCalculate = "123+98-79÷2*5";
int operator_count = 0;
ArrayList<Character> operators = new ArrayList<>();
for (int i=0; i < toCalculate.length(); i++){
if (toCalculate.charAt(i) == '+' || toCalculate.charAt(i) == '-' ||
toCalculate.charAt(i) == '*' || toCalculate.charAt(i) == '÷' ) {
operator_count++; /*Calculating
number of operators in a String toCalculate
*/
operators.add(toCalculate.charAt(i)); /* Adding that operator to
ArrayList*/
}
}
System.out.println("");
System.out.println("Return Value :" );
String[] retval = toCalculate.split("\\+|\\-|\\*|\\÷", operator_count + 1);
int num1 = Integer.parseInt(retval[0]);
int num2 = 0;
int j = 0;
for (int i = 1; i < retval.length; i++) {
num2 = Integer.parseInt(retval[i]);
char operator = operators.get(j);
if (operator == '+') {
num1 = num1 + num2;
}else if(operator == '-'){
num1 = num1 - num2;
}else if(operator == '÷'){
num1 = num1 / num2;
}else{
num1 = num1 * num2;
}
j++;
}
System.out.println(num1); // Prints the result value
}
}
See more about JAVA at brainly.com/question/29897053
#SPJ1
Write an expression that will cause the following code to print "greater than 20" if the value of user_age is greater than 20.
Answer:
if user_age > 20:
print("greater than 20")
Explanation:
Write a java program that asks the student for his name and the month in which he/she was born. Students are then divided into sections, according to the following: Section A: Name starts between A - E Born between months 1 - 6 Section B: Name starts between F - L Born between months 1 - 6 Section C: Name starts between M - Q Born between months 7 - 12 Section D: Name starts between R - Z Born between months 7 - 12
Answer:
import java.util.Scanner;
public class SectionAssignment {
public static void main(String[] args) {
// Create a scanner object to read input
Scanner input = new Scanner(System.in);
// Prompt the student for their name
System.out.print("Enter your name: ");
String name = input.nextLine();
// Prompt the student for the month they were born
System.out.print("Enter the month you were born (1-12): ");
int month = input.nextInt();
// Assign the student to a section based on their name and birth month
String section = "";
if (name.charAt(0) >= 'A' && name.charAt(0) <= 'E' && month >= 1 && month <= 6) {
section = "A";
} else if (name.charAt(0) >= 'F' && name.charAt(0) <= 'L' && month >= 1 && month <= 6) {
section = "B";
} else if (name.charAt(0) >= 'M' && name.charAt(0) <= 'Q' && month >= 7 && month <= 12) {
section = "C";
} else if (name.charAt(0) >= 'R' && name.charAt(0) <= 'Z' && month >= 7 && month <= 12) {
section = "D";
} else {
section = "Invalid";
}
// Print the student's section assignment
System.out.println("Your section is: " + section);
}
}
Hi, I have a CodeHS Python assignment called "Exclamation Points"
the assignment is as follows and I have no idea where to start with this if someone could help me please:
"Words are way more edgy when you replace the letter i with an exclamation point!
Write the function exclamations that takes a string and then returns the same string with every lowercase i replaced with an exclamation point. Your function should:
Convert the initial string to a list
Use a for loop to go through your list element by element
Whenever you see a lowercase i, replace it with an exclamation point in the list
Return the stringified version of the list when your for loop is finished"
Using the knowledge in computational language in python it is possible write the function exclamations that takes a string and then returns the same string with every lowercase i replaced with an exclamation point.
Writting the code;my_string = input("Enter text: ")
my_list = list(my_string)
for item in my_list:
if item == "i":
print "!"
my_list.remove("i")
print item
(" ").join(my_list)
my_string = list(input('Enter string: '))
for i, char in enumerate(my_string):
if char == 'i':
my_string[i] == '!'
print(''.join(my_string))
my_string = input("Enter text: ")
my_list = list(my_string)
for item in my_list:
if item == "i":
print "!"
my_list.remove("i")
else:
print item
(" ").join(my_list)
See more about python at brainly.com/question/18502436
#SPJ1
3. Describe how homes and businesses use networks.
Write a procedure ConvertToBinary that takes an input as a number from 0 to 16 (including 0 but not 16) and converts it to a binary number. The binary number should be returned as a list.
Sure, here's an example of a Python function that converts a decimal number to binary and returns the result as a list:
def ConvertToBinary(decimal):
binary = []
while decimal > 0:
remainder = decimal % 2
binary.append(remainder)
decimal = decimal // 2
return binary[::-1]
The function takes in an input decimal which is a number between 0 and 16 (not including 16) and uses a while loop to repeatedly divide the decimal number by 2 and take the remainder. The remainders are then appended to a list binary. Since the remainders are appended to the list in reverse order, the result is reversed by slicing the list [-1::-1] to give the proper order.
You can also add a check to make sure that the input is within the required range:
def ConvertToBinary(decimal):
if decimal < 0 or decimal >= 16:
return None
binary = []
while decimal > 0:
remainder = decimal % 2
binary.append(remainder)
decimal = decimal // 2
return binary[::-1]
this way you can make sure that the input provided is within the allowed range.
MS-DOS can be characterized by which statement?
known for being user friendly
designed for smartphones
a command-line interface
a graphical user interface
Answer:
MS-Dos was a computer invented a long time ago, and it was one of the first computers that had a command-line interface.
Your answer is C.
Code practice
Write a program that will ask a user how many numbers they would like to check. Then, using a for loop, prompt the user for a number, and output if that number is divisible by 3 or not. Continue doing this as many times as the user indicated. Once the loop ends, output how many numbers entered were divisible by 3 and how many were not divisible by 3.
Sample Run :
How many numbers do you need to check? 5
Enter number: 20
20 is not divisible by 3.
Enter number: 33
33 is divisible by 3.
Enter number: 4
4 is not divisible by 3.
Enter number: 60
60 is divisible by 3.
Enter number: 8
8 is not divisible by 3.
You entered 2 number(s) that are divisible by 3.
You entered 3 number(s) that are not divisible by 3.
Answer:
n = int(input("How many numbers would you like to check? "))
divisible_count = 0
not_divisible_count = 0
for i in range(n):
num = int(input("Enter a number: "))
if num % 3 == 0:
print(str(num) + " is divisible by 3")
divisible_count += 1
else:
print(str(num) + " is not divisible by 3")
not_divisible_count += 1
print("You checked " + str(n) + " numbers.")
print("Of those, " + str(divisible_count) + " were divisible by 3.")
print("And " + str(not_divisible_count) + " were not divisible by 3.")
Explanation:
You would run the program, it will ask the user to enter a number of integers, to check after that it will ask to enter numbers one by one, for each input, it will check if it's divisible by 3 or not, and keep counting how many were divisible or not divisible. After the loop ends, the program will output a summary of the total numbers checked, how many of them were divisible by 3 and how many were not.
You may further adjust it to match the requirement you need
Demonstrate the Max() functio with example in ms excel
Make sure there is at least one blank cell underneath the list of integers you've chosen = MAX since this will insert a ready-to-use formula in a cell below the chosen range (C2:E7).
What does the term Max mean?The highest-valued item, or the item with the highest value within an iterable, is returned by the max() method. If the values are strings, then the comparison is done alphabetically.
Give an example of the Max () function's purpose.Any type of numeric data can have its maximum value returned by the MAX function. The slowest time in a race, the most recent date, the highest percentage, the highest temperature, or the biggest sales amount are just a few examples of the results that MAX can return. Multiple arguments are taken by the MAX function.
To know more about ms excel visit:-
https://brainly.com/question/20395091
#SPJ1