To create a program that randomly selects student names from a list, begin by crafting the roster. Names can be manually typed or loaded from a saved document.
What is the next step?Next, generate a random number that falls within the range of the listed students. This created value will coincide with the assigned index for selection.
To avoid repetitiveness until all names have been used, display the chosen name to your preference and remove it from the list. For this project any programming language could suffice, however, selecting an easily readable option like Python is highly recommended.
It readily enables loading information from files as well as generating appropriately guided random numbers.
Read more about programs here:
https://brainly.com/question/26134656
#SPJ1
explain about your business and sales after covid 19 pandemic
The global economy has undergone tremendous disruption brought about by the pandemic, with some sectors being grievously hit while others have fresh openings.
What are the effects?Its aftermath has hastened the conversion to e-business, remote work, and digital remodeling as firms have poured significant capital into technological solutions in order to ameliorate compliance to the current state of affairs. Companies further evaluated their delivery strategies and diversified places from where they sourced materials so as to minimize any single nation's or region’s influence.
Altogether, the pandemic has showcased the indispensable value of pliancy, robustness, and novelty for business operations, and those entities that were able to adeptly conform to the existing condition are predicted to thrive in the post-COVID period.
Read more about business here:
https://brainly.com/question/24553900
#SPJ1
2 al Class A computer networks are identified by IP addresses starting
with 0.0.0.0, class B computer networks are identified by IP addresses
starting with 128.0.0.0 and class C computer networks are identified by IP
addresses starting with 192.0.0.0. (Class D networks begin with 224.0.0.0.)
Write these starting IP addresses in binary format.
b) Using the data above, write down the upper IP addresses of the three
network classes A, B and C.
c) A device on a network has the IP address:
10111110 00001111 00011001 11110000
i) Which class of network is the device part of?
ii) Which bits are used for the net ID and which bits are used for the
host ID?
iii) A network uses IP addresses of the form 200.35.254.25/18.
Explain the significance of the appended value 18.
d) Give two differences between IPv4 and IPv6.
Due to its primary three octets beginning with the binary form 110, the device belongs to a Class C network.
How to explain the classii) In Class C networks, the leading 24 bits thereof stand for the net ID and the latter 8 bits register the host ID.
Two disparities between IPv4 and IPv6 are:
IPv4 on 32-bit addresses conversely IPv6 opts for 128-bits ones, thereby equipping IPv6 with an abundance booster of addresses which permits more devices alongside distinct numbers.
Whereas IPv4 seeks out an organized addressing structure with subnetting, IPv6 wields a smooth addressing etiquettes that relies on prefix delegation eliminating the prerequisites for any sort of subnetting.
Learn more about computer on
https://brainly.com/question/24540334
#SPJ1
Description: Given the IP address and number of hosts in the first two columns, determine the
number of host bits required and write the network number with the correct prefix. The first one is completed for you, and the next two are partially completed.
In IP address, we have 32 bits. If we are using x bits to represent no of hosts then we will use remaining 32-x bits to represent no of networks.
What are Host Bits?It can be define as no of bits required to represent no. of hosts. In IP address, if we have no of host bits = 8 , then by using this we can represent only 2^8-2 hosts only.
Because all 0's and all 1's are not assigned to any host because they represent Network id and limited broadcast address respectively.
In IP address, we have 32 bits. If we are using x bits to represent no of hosts then we will use remaining 32-x bits to represent no of networks.
Learn more about network on
https://brainly.com/question/1027666
#SPJ1
python code to perform a transfer app
this a answer, thanks
When using the ________ logical operator, both subexpressions must be false for the compound expression to be false. a. either or or and b. not c. or d. and
When using the and logical operator, both subexpressions must be false for the compound expression to be false
What are logical operators?A logical operator, also known as a boolean operator, is a symbol or keyword used in computer programming and logic to perform logical operations on one or more boolean values.
Boolean values are binary values that represent true or false, or in some cases, 1 or 0.
There are three common logical operators:
AND: Denoted by the symbol "&&" in many programming languages, the AND operator returns true if both operands are true, and false otherwise.
OR: Denoted by the symbol "||" in many programming languages, the OR operator returns true if at least one of the operands is true, and false otherwise.
NOT: Denoted by the symbol "!" in many programming languages, the NOT operator, also known as the negation operator, is a unary operator that takes a single boolean operand and reverses its logical value.
Learn more about logical operator at
https://brainly.com/question/15079913
#SPJ1
Digital photography 1b quiz 8 anyone have the answers?
The answers related to metering in photography are given as follows.
What is the explanation for the above response?In center-weighted metering, the center of the picture is used to determine exposure. If your subject was in the middle of the frame, you would employ this kind of metering.
Note that a metering setting that only collects data from a tiny portion of the center of the frame, often around 10%.
Instead of altering exposure to account for the significantly stronger light around the hairline, spot metering enables the camera to measure the light reflected off the subject's face and expose appropriately for it.
Learn more about Digital photography at:
https://brainly.com/question/7519393
#SPJ1
Full Question:
Although part of your question is missing, you might be referring to this full question:
1) What is center-weighted metering?
2) What is partial metering?
1. a printed portfolio
2. sheet protectors.
3. Shutterfly
4. forensic photographer
5. managing cash flow.
6. Annie Leibowitz
7. freewriting
8. provenance.
9. poetry or folksy sayings
10. fashion
11. Mike Brodie
12. focus and depth and field
13. to generate ideas that will help you to compose an original and creative artist’s statement
14. write her artist’s statement
15. ethnography
Explanation: All of these answers are correct :)
This program is half of your final exam!! make sure it is syntax free before submission. Take time to test the program to ensure your logic is correct. Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. A person can also put up to 6% of his or her gross income in a pension plan. The tax rates are as follows: If the taxable income is: Between $0 and $15,000, the tax rate is 15%. Between $15,001 and $40,000, the tax is $2,250 plus 25% of the taxable income over $15,000. Over $40,000, the tax is $8,460 plus 35% of the taxable income over $40,000. Prompt the user to enter the following information: Marital status If the marital status is “married,” ask for the number of children under the age of 14 Gross salary (If the marital status is “married” and both spouses have income, enter the combined salary.) Percentage of gross income contributed to a pension fund Your program must consist of at least the following functions: Function getData: This function asks the user to enter the relevant data. Function taxAmount: This function computes and returns the tax owed. To calculate the taxable income, subtract the sum of the standard exemption, the amount contributed to a pension plan, and the personal exemption, which is $1,500 per person. (Note that if a married couple has two children under the age of 14, then the personal exemption is $1,500 * 4 = $6,000)
Here's a Python program that implements the requirements:
def getData():
marital_status = input("Enter marital status (single/married): ")
gross_salary = float(input("Enter gross salary: "))
pension_contribution_rate = float(input("Enter percentage of gross income contributed to a pension fund: "))
if marital_status.lower() == "married":
children_under_14 = int(input("Enter number of children under age 14: "))
personal_exemption = 1500 * (2 + children_under_14)
else:
personal_exemption = 1500
return marital_status, gross_salary, pension_contribution_rate, personal_exemption
def taxAmount(marital_status, gross_salary, pension_contribution_rate, personal_exemption):
if marital_status.lower() == "married":
standard_exemption = 7000
else:
standard_exemption = 4000
taxable_income = gross_salary * (1 - pension_contribution_rate/100) - standard_exemption - personal_exemption
if taxable_income <= 15000:
tax = taxable_income * 0.15
elif taxable_income <= 40000:
tax = 2250 + (taxable_income - 15000) * 0.25
else:
tax = 8460 + (taxable_income - 40000) * 0.35
return tax
# Main program
marital_status, gross_salary, pension_contribution_rate, personal_exemption = getData()
tax = taxAmount(marital_status, gross_salary, pension_contribution_rate, personal_exemption)
print("Tax owed: $%.2f" % tax)
The getData() function prompts the user for the relevant information and returns it as a tuple. The taxAmount() function takes in the data provided by getData() and calculates the tax owed based on the provided formula. The main program calls getData() and taxAmount() and prints the result.
Note that the program assumes that the input values are valid and does not perform any error checking. It also assumes that the user enters the percentage of gross income contributed to the pension fund as a decimal number (e.g., 6% is entered as 0.06).