An application called a defragmenter organizes fragmented files on your hard disk to improve speed. Utility software also refers to tools like firewalls, antivirus, and anti spyware that offer security..
What is the utility of disk fragmented?On the disk drive, the disk defragmenter collects all of the fragments in one location. As a result, Windows can access files more quickly, and the fragmentation of new files is reduced. If your Dell computer is experiencing any performance issues, simply follow these straightforward recommendations. The placement of contiguous files on the drive is aided by disk defragmentation, which improves disk performance.
Defragmentation, also referred to as "defragging," is the process of rearranging the way your files are stored on a hard disk drive to improve read rates and make them easier to access. The act of reorganizing the data stored on the hard drive so that related data fragments are put back together and all lined up in a continuous manner is known as defragmenting, sometimes known as "defrag" or "defragging."
Therefore the correct answer is Disk defragmenter .
To learn more about Disk defragmenter refer to :
https://brainly.com/question/14254444
#SPJ4
A
is a reduced-size version of a graphic image used to help recognize and organize pictures.
Hello,
A thumbnail is a reduced-size version of a graphic image used to help recognize and organize pictures.
Declare an array to store objects of the class defined by the UML above. Use a method from the JOptionPane class to request the length of the array from the user.
There is an `ElectionTest` class that contains the `main` method. Inside the `main` method, use the `JOptionPane.showInputDialog` method to display a dialog box and request the length of the array from the user. The entered value is then parsed as an integer and stored in the `arrayLength` variable.
How did we declare it?To declare an array to store objects of the class defined by the given UML diagram and request the length of the array from the user using a method from the `JOptionPane` class, use the following Java code:
java
import javax.swing.JOptionPane;
public class ElectionTest {
public static void main(String[] args) {
// Request the length of the array from the user
int arrayLength = Integer.parseInt(JOptionPane.showInputDialog("Enter the length of the array:"));
// Declare the array to store Election objects
Election[] elections = new Election[arrayLength];
// Perform operations with the Election objects as required
// ...
}
}
class Election {
private String candidate;
private int numVotes;
public Election() {
// Default constructor
}
public Election(String candidate, int num Votes) {
this.candidate = candidate;
this.numVotes = num Votes;
}
public void set Candidate(String candidate) {
this.candidate = candidate;
}
public void set NumVotes (int num Votes) {
this.numVotes = num Votes;
}
public int getNumVotes() {
return num Votes;
}
at Override
public String toString() {
return "Candidate: " + candidate + ", Votes: " + numVotes;
}
}
```
In this code, there is an `ElectionTest` class that contains the `main` method. Inside the `main` method, use the `JOptionPane.showInputDialog` method to display a dialog box and request the length of the array from the user. The entered value is then parsed as an integer and stored in the `arrayLength` variable.
Next, declare an array of type `Election` called `elections` with the specified length obtained from the user.
learn more about java code: https://brainly.com/question/25458754
#SPJ1
Inverting an image makes it look like a photographic negative. Define and test a function named invert. This function expects an image as an argument and resets each RGB component to 255 minus that component. Be sure to test the function with images that have been converted to grayscale and black and white as well as color images.
The invert function is designed to create a photographic negative effect by inverting the colors of an image. It takes an image as input and modifies each RGB component of every pixel by subtracting its value from 255. This operation effectively flips the color values, resulting in an inverted appearance.
To implement the invert function, you can use a suitable image processing library in your preferred programming language. For example, in Python, you can use the popular Pillow library. Here's an example implementation:
python
from PIL import Image
def invert(image):
inverted_image = image.copy()
pixels = inverted_image.load()
width, height = inverted_image.size
for x in range(width):
for y in range(height):
r, g, b = pixels[x, y]
inverted_r = 255 - r
inverted_g = 255 - g
inverted_b = 255 - b
pixels[x, y] = (inverted_r, inverted_g, inverted_b)
return inverted_image
To test the invert function, you can provide different types of images, such as grayscale, black and white, and color images. Make sure to load the images using the appropriate method from your image processing library. After applying the invert function, display or save the resulting inverted images.
Testing the invert function with a grayscale image will produce an inverted grayscale image, where lighter areas become darker and vice versa. Similarly, applying the function to a black and white image will yield an inverted black and white image. For color images, the function will invert the RGB components, resulting in a negative color effect.
Remember to adjust the implementation according to your programming language and image processing library of choice.
For more questions on function
https://brainly.com/question/11624077
#SPJ11
Write a program that prints the square of the product. Prompt for and read three integer values and print the square of the product of all the three integers.
Answer:
ok
Explanation:
aprogram that prints the square of the product. Prompt for and read three integer values and print the square of the product of all the three integers. is written below
a program that prints the square of the product. Prompt for and read three integer values and print the square of the product of all the three integers.
Three friends decide to rent an apartment and split the cost evenly. They each paid $640 towards the total move in cost of first and last month's rent and a security deposit. If rent is $650 per month, how much was the security deposit?
a.
$10
b.
$207
c.
$620
d.
$1,270
Please select the best answer from the choices provided
Answer:
c. $620
Explanation:
To find the cost of the security deposit, we need to subtract the amount paid towards the first and last month's rent from the total move-in cost.
Each friend paid $640 towards the total move-in cost, which includes the first and last month's rent and the security deposit. Since they split the cost evenly, the total move-in cost is 3 times $640, which is $1920.
The monthly rent is $650 per month, so the first and last month's rent combined is 2 times $650, which is $1300.
To find the security deposit, we subtract the first and last month's rent from the total move-in cost:
Security deposit = Total move-in cost - First and last month's rent
Security deposit = $1920 - $1300
Security deposit = $620
Therefore, the security deposit was $620.
Option c. $620 is the correct answer.
One strategy to improve your productivity is to ensure your _____ is at the top of every to-do list.
One strategy to improve your productivity is to ensure your most important task (MIT) is at the top of every to-do list
How to improve productivity?To augment your efficiency, it is essential to make sure that your Most Important Task (MIT) is laid out at the commencement of each daily taskset. Evaluating your MIT necessitates figuring out the single errand with the most noteworthy influence on your 24 hours or aid you attain long-term milestones.
By ranking your MIT as the foremost activity in the morning, you can construct a prolific tone for the rest of your day while also sidestepping getting wholly submerged in trivial endeavors. This may cultivate a feeling of success and encourage consistency in productivity per day.
Read more about productivity here:
https://brainly.com/question/2992817
#SPJ1
Define a function roll() that takes no arguments, and returns a random integer from 1 to 6. Before proceeding further, we recommend you write a short main method to test it out and make sure it gives you the right values. Comment this main out after you are satisfied that roll() works.
Answer:
Follows are the code to this question:
#include <iostream>//defining a header file
using namespace std;
int roll()//defining a method roll
{
return 1+(rand() %5);//use return keyword that uses a rand method
}
int main()//defining main method
{
cout<<roll();//calling roll method that print is value
return 0;
}
Output:
4
Explanation:
In this code, the "roll" method is defined, that uses the rand method with the return keyword, that returns the value between 1 to 6, and in the next step, the main method is declared, that uses the print method to calls the roll method.
A set of blocks contains blocks of heights 1,2, and 4 centimeters. Imagine constructing towers of piling blocks of different heights directly on top of one another. (A tower of height 6 cm could be obtained using six 1-cm blocks, three 2-cm blocks, one 2-cm block with one 4-cm block on top... etc) Let t be the number of ways to construct a tower of height n cm using blocks from the st ( assume an unlimited supply of blocks of each size).
Required:
Find a recurrence relation for t1,t2,t3...
Answer:
In studies about new medicines, researchers usually give one group of patients the medicine that is designed to treat an illness. They give another group of patients a placebo, which is taken the same way as the medicine but does not actually contain the ingredients of any medicine. Different medicines are tested in different experiments, but the placebos usually contain the same non-medical ingredients. If both groups of patients are healed, then researchers cannot be sure whether the medicine caused improvement, but if the group given the medicine is healed while the group given the placebo remains ill, researchers can conclude that the medicine causes the illness to go away.
In medical experiments, which group receives placebos?
the experimental group
the control group
both the experimental and control groups
neither the experimental nor control group
Explanation:
Write an if-else statement with multiple branches. If year is 2101 or later, print "Distant future" (without quotes). Otherwise, if year is 2001 or greater, print "21st century". Otherwise, if year is 1901 or greater, print "20th century". Else (1900 or earlier), print "Long ago". Sample output with input: 1776 Long ago
Answer:
year = int(input("Enter a year: "))
if year >= 2101:
print("Distant future")
elif year >= 2001:
print("21st century")
elif year >= 1901:
print("20th century")
else:
print("Long ago")
Explanation:
*The code is in Python.
Ask the user to enter a year
Use if-else statement to check the year and print the appropriate message given for each condition. If year is greater than or equal to 2101, print "Distant future". If year is greater than or equal to 2001, print "21st century". If year is greater than or equal to 1901, print "20th century". Otherwise, print "Long ago".
Post a Python program that accepts at least two values as input, performs some computation and displays at least one value as the result. The computation must involve calling one of the predefined functions in the math library. Include comments in your program that describe what the program does. Also post a screen shot of executing your program on at least one test case.
Answer:
In Python:
#The program calculates and prints the remainder when num1 is divided by num2 using the fmod function
import math
num1 = int(input("Input 1: "))
num2 = int(input("Input 2: "))
print(math.fmod(num1, num2))
Explanation:
This program begins with a comment which describes the program function
#The program calculates and prints the remainder when num1 is divided by num2 using the fmod function
This imports the math module
import math
The next lines get input for num1 and num2
num1 = int(input("Input 1: "))
num2 = int(input("Input 2: "))
This calculates and prints the remainder when num1 is divided by num2
print(math.fmod(num1, num2))
Write a Python program that verifies the formula with the help of the Python Math module. Note that the trigonometric functions in the module act on the angles in radians. Your program should perform the following steps 3 times:_____.
1. Pick a random number between 0 and 180 degrees representing an angle in degrees, say Dangle
2. Convert the angle from degrees to radians, say Rangle
3. Use the Math module to find and print the values of sin(Rangle) and cos(Rangle), and
4. Compute and print the value of the above expression: sin^2(Rangle) + cos^2(Rangle).
You can then visually verify if the result printed is 1 (or close to it).
Hint: angle_in_radians = (angle_in_degrees * Pi)/180
Answer:
Written in Python
import math
import random
Dangle = random.randint(0,181)
pi = 22/7
Rangle = Dangle * pi/180
Rsin = math.sin(Rangle)
Rcos = math.cos(Rangle)
Result = Rsin**2 + Rcos**2
print("Result = "+str(Result))
Explanation:
The next two lines import math and random library respectively
import math
import random
This line generates a random integer between 0 and 180
Dangle = random.randint(0,181)
This line initializes pi to 22/7
pi = 22/7
This line converts angle to radians
Rangle = Dangle * pi/180
The next two lines calculate the sin and cosine of the angle in radians
Rsin = math.sin(Rangle)
Rcos = math.cos(Rangle)
This line implements sin^2 theta + cos^2 theta
Result = Rsin**2 + Rcos**2
This line prints the required Result
print("Result = "+str(Result))
Problem: Longest Palindromic Substring (Special Characters Allowed)
Write a Python program that finds the longest palindromic substring in a given string, which can contain special characters and spaces. A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward. The program should find and return the longest palindromic substring from the input string, considering special characters and spaces as part of the palindrome. You do not need a "words.csv" as it should use dynamic programming to find the longest palindromic substring within that string.
For example, given the string "babad!b", the program should return "babad!b" as the longest palindromic substring. For the string "c bb d", the program should return " bb " as the longest palindromic substring.
Requirements:
Your program should take a string as input.
Your program should find and return the longest palindromic substring in the input string, considering special characters and spaces as part of the palindrome.
If there are multiple palindromic substrings with the same maximum length, your program should return any one of them.
Your program should be case-sensitive, meaning that "A" and "a" are considered different characters.
You should implement a function called longest_palindrome(string) that takes the input string and returns the longest palindromic substring.
Hint: You can use dynamic programming to solve this problem. Consider a 2D table where each cell (i, j) represents whether the substring from index i to j is a palindrome or not.
Note: This problem requires careful consideration of edge cases and efficient algorithm design. Take your time to think through the solution and test it with various input strings.
A Python program that finds the longest palindromic substring in a given string, considering special characters and spaces as part of the palindrome is given below.
Code:
def longest_palindrome(string):
n = len(string)
table = [[False] * n for _ in range(n)]
# All substrings of length 1 are palindromes
for i in range(n):
table[i][i] = True
start = 0
max_length = 1
# Check for substrings of length 2
for i in range(n - 1):
if string[i] == string[i + 1]:
table[i][i + 1] = True
start = i
max_length = 2
# Check for substrings of length greater than 2
for length in range(3, n + 1):
for i in range(n - length + 1):
j = i + length - 1
if string[i] == string[j] and table[i + 1][j - 1]:
table[i][j] = True
start = i
max_length = length
return string[start:start + max_length]
# Example usage
input_string = "babad!b"
result = longest_palindrome(input_string)
print(result)
This program defines the longest_palindrome function that takes an input string and uses a dynamic programming approach to find the longest palindromic substring within that string.
The program creates a 2D table to store whether a substring is a palindrome or not. It starts by marking all substrings of length 1 as palindromes and then checks for substrings of length 2.
Finally, it iterates over substrings of length greater than 2, updating the table accordingly.
The program keeps track of the start index and maximum length of the palindromic substring found so far.
After processing all substrings, it returns the longest palindromic substring using the start index and maximum length.
For more questions on Python program
https://brainly.com/question/30113981
#SPJ8
A computer uses a programmable clock in square-wav e mode. If a 500 MHz crystal is used, what should be the value of the holding register to achieve a clock resolution of (a) a millisecond (a clock tick once every millisecond)
Answer:
500,000
Explanation:
A computer uses a programmable clock in square-wave mode. If a 500 MHz crystal is used, what should be the value of the holding register to achieve a clock resolution of (a) a millisecond (a clock tick once every millisecond)
1 millisecond = 1 million second = 1,000,000
For a 500 MHz crystal, Counter decrement = 2
Therefore value of the holding register to a clock resolution of 1,000,000 seconds :
1,000,000/2 = 500,000
That's the code that's was already provided with the assignment
// Program takes a hot dog order
// And determines price
using System;
using static System.Console;
class DebugFour1
{
static void Main()
{
const double BASIC_DOG_PRICE = 2.00;
const double CHILI_PRICE = 0.69;
const double CHEESE_PRICE = 0.49;
String wantChili, wantCheese;
double price;
Write("Do you want chili on your dog? ");
wantChilli = ReadLine();
Write("Do you want cheese on your dog? ");
wantCheese = ReadLine();
if(wantChili = "Y")
if(wantCheese = "Y")
price == BASIC_DOG_PRICE + CHILI_PRICE + CHEESE_PRICE;
else
price == BASIC_DOG_PRICE + CHILI_PRICE;
else
if(wantCheese = "Y")
price = BASIC_DOG_PRICE;
else
price == BASIC_DOG_PRICE;
WriteLine("Your total is {0}", price.ToString("C"));
}
}
Answer:
Code:-
// Program takes a hot dog order
// And determines price
using System;
using static System.Console;
class DebugFour1
{
static void Main()
{
const double BASIC_DOG_PRICE = 2.00;
const double CHILI_PRICE = 0.69;
const double CHEESE_PRICE = 0.49;
String wantChili, wantCheese;
double price;
Write("Do you want chili on your dog? ");
wantChili = ReadLine();
Write("Do you want cheese on your dog? ");
wantCheese = ReadLine();
if (wantChili == "Y")
{
if (wantCheese == "Y")
price = BASIC_DOG_PRICE + CHILI_PRICE + CHEESE_PRICE;
else
price = BASIC_DOG_PRICE + CHILI_PRICE;
}
else
{
if (wantCheese == "Y")
price = BASIC_DOG_PRICE + CHEESE_PRICE;
else
price = BASIC_DOG_PRICE;
}
WriteLine("Your total is {0}", price.ToString("C"));
}
}
Hello! What can I study if I like electronics and programming? please
Answer:
I want to both code the program and design the electronic component, what major should I study?
It seems, you like Embedded systems. I Suggest you study Electronics and Communication Engineering.
Electronics Engineering courses such as Microprocessors, Embedded systems, Object oriented programming, Digital Signal Analysis, Digital signal processing, etc. will help you learn Hardware programming. Courses such as Electronic Devices and circuits, Electrical Engineering Materials, Advanced Electronics, Control Systems, Instrumentation systems, etc. will help you in hardware design.
The course name varies with the university. you may find the following:
Electronics and Communication Engineering
Electronics and Electrical Engineering
Electrical and Computer Engineering
Electronics and Communication Engineering, etc.
irving is running cable underground beside his driveway to power a light at his entrance .what type of cable is he most likely using?
A.MC
B.NNC
C.UFD
D.UF
Based on the given information, Irving is running cable underground beside his driveway to power a light at his entrance. The most likely type of cable he would use in this scenario is "D. UF" cable.
Why is the cable Irving is using a UF cable and its importanceUF stands for "Underground Feeder" cable, which is specifically designed for underground installations.
It is commonly used for outdoor applications, such as running power to lights, pumps, or other outdoor fixtures. UF cable is moisture-resistant and has insulation suitable for direct burial without the need for additional conduit or piping.
Read more about cables here:
https://brainly.com/question/13151594
#SPJ1
does computer ergonomics help to prevent pain and injury when using the computer
Answer:
It is important to keep in mind that your computer setup is one of the elements of office work or homework that needs to be taken into account when preventing injury. You can minimize your risk of developing computer vision syndrome and other injuries by following the correct computer ergonomics.
Please give the brainliest, really appreciated. Thank you
* *there will be a loop where the update algorithm is applied. this loop should terminate immediately if the numerical tolerance threshold is met; this can be achieved via an `if` statement and `break`. but if the loop hits $n$ iterations, the function should throw a warning\.\* * *$f$ and $f'$ should be functions. they should return univariate `numeric` values. if there ever comes a time where the input functions don't return a single number, then `newton solver()` should throw an error\.\* * *it's possible that $f'(x n)$ could become zero and then a division-by-zero error will occur. `newton solver()` should stop with an error informing the user that the derivative became zero\.\* * *we could have our function return a list with detailed information not just with the obtained root but also with the value of $f$ at the root or how many iterations of the algorithm went through. but instead, we will just have the function return the obtained root\.\* * *the maximum number of iterations $n$ should be a positive number; the same should be said for $\epsilon$. if not, an error should be thrown\.\*
We can use the break to halt an iteration before the last item is reached or before a certain condition is satisfied.
When a condition is satisfied, how do you halt a for loop?The break statement can be used when we want to end an iteration before the last item is reached or before a specified condition is satisfied. The condition of the break statement will specify when to "break" the loop.
How may a loop be broken?An entire break statement ends a for or while loop. Use a continue statement to skip the remaining instructions in the loop and start the following iteration. Outside of a for, break is not defined.
To know more about loop visit:-
https://brainly.com/question/13929602
#SPJ4
a. The two programs perform the same function. Describe it. b. Which version performs better, and why
Programs are series of instructions interpreted by a computer
The description of the program is to compute the square of the difference between corresponding elements of two arraysThe better version of the program is program A.How to describe the programsFrom the programs, we have the following highlights
The program iterates from 1 to n - 1The iteration calculates the difference between corresponding elements of the arraysThe difference is then squaredHence, the description of the program is to compute the square of the difference between corresponding elements of two arrays
The better versionThe better version of the program is program A.
This is so, because the program uses fewer instructions for the same task as program B
Read more about programs at:
https://brainly.com/question/16397886
What is the most important job of a web server?
write web traffic information to a log file
capture data about visitors to a website
provide requested web pages to client computers
validate user login passwords
Answer:
Provide requested web pages to clients; the other tasks listed there are secondary to that.
Answer:
C. Provide requested web pages to client computers
Explanation:
Just took the test
what does MAR stand for?
Which of the following is an example of SRV report
Answer:
A Service record (SRV record) is a specification of data in the Domain Name System defining the location, i.e., the hostname and port number, of servers for specified services. It is defined in RFC 2782, and its type code is 33. Some Internet protocols such as the Session Initiation Protocol (SIP) and the Extensible Messaging and Presence Protocol (XMPP) often require SRV support by network elements.
Explanation:
hope it will help you.
thank you
What is the controller in this image know as? Choose one
Answer:
mode dial
Explanation:
Match the features of integrated development environments (IDEs) and website builders to the appropriate location on the chart.
Answer:
website builder
complex coding techniques and advanced programming languages.
ProjectSTEM CS Python Fundamentals - Lesson 3.3 Question 2 - RGB Value:
Test 6: Using 256 for all inputs, this test case checks that your program has no output. / Examine the upper condition for each color.
Test 10: This test case sets the input for blue beyond the limit, while red and green are below. It checks if your program's output contains “Blue number is not correct”, but not “Red number is not correct”, or “Green number is not correct” / Check that you output the correct phrase when the number is outside the range. Make sure that only the incorrect color phrases are output.
While CMYK is frequently used to print out colors, RGB is utilized when the colors need to be presented on a computer monitor (such as a website).Make the variable "alien color" and give it the values "green," "yellow," or "red." To determine whether the alien is green, create an if statement.
How does Python find the RGB color?Colors can only be stored in Python as 3-Tuples of (Red, Green, Blue). 255,0,0 for red, 0 for green, and 255,0 for blue (0,0,255) Numerous libraries use them. Of course, you may also create your own functions to use with them.The rgb to hex() function, which takes three RGB values, is defined in line 1.The ":X" formatter, which automatically converts decimal data to hex values, is used in line 2 to construct the hex values. The outcome is then returned.Line 4 is where we finally call the function and supply the RGB values.Verify the accuracy of the RGB color code provided. While CMYK is frequently used to print out colors, RGB is utilized when the colors need to be presented on a computer monitor (such as a website).To learn more about Python refer to:
https://brainly.com/question/26497128
#SPJ1
What is the primary purpose of a namespace?
Answer:
A namespace ensures that all of a given set of objects have unique names so that they can be easily identified.
Explanation:
Answer:
A namespace ensures that all of a given set of objects have unique names so that they can be easily identified.
Explanation:
How can we create different styles for the same type of element
To create different styles for the same type of element, you can utilize various techniques in web development and CSS (Cascading Style Sheets).
Here are a few approaches:
Class and ID Selectors: Assign different classes or IDs to the elements you want to style differently. Then, define separate styles for each class or ID in your CSS. For example, you can have multiple buttons with different styles by assigning different classes or IDs to them and applying specific CSS rules to each class or ID.Pseudo-classes and Pseudo-elements: Use pseudo-classes and pseudo-elements to target specific states or parts of an element. For instance, you can style different states of a button, such as hover or active, using pseudo-classes like :hover and :active.Inheritance: Leverage the cascading nature of CSS to apply styles from parent elements to their children. By defining styles on higher-level elements, you can create a consistent style for a group of elements while still allowing individual elements to have their own unique styles.Specificity: Adjust the specificity of your CSS selectors to control which styles take precedence. By carefully crafting selectors with varying levels of specificity, you can ensure that specific styles override others.External Stylesheets: Utilize different external CSS files for different styles. You can link different stylesheets to the same HTML document, allowing you to switch between styles by toggling the active stylesheet.These techniques provide flexibility and allow you to create diverse styles for the same type of element, enhancing the visual variety and customization options in your web development projects.For more such questions on styles
https://brainly.com/question/15138259
#SPJ8
Barbarlee suspected and found a loophole in the university computer's security system that allowed her to access other students' records. She told the system administrator about the loophole, but continued to access others' records until the problem was corrected 2 weeks later. Was her actions unethical or not. Explain your position? What should be the suggested system administrators response to Barbarlee's actions? How should the university respond to this scenario?
Answer:
Explanation:
I can give you my opinion on the matter, not sure if this was taught to you or not so please take it with a grain of salt.
Her actions are highly unethical and even illegal to some extent. Especially in USA, FERPA prevents random people from accessing your educational records without your permission and there's hundreds of universities with their own rules/regulations on protecting students' privacy. The sys admin should have first recorded this event when she reported it and then actually went into the system to see if unwanted access has been done by any user(s). University should look at disciplinary actions since the person willingly accessed the system even after they reported the bug and also let ALL the university student/faculty/staff know of the problem and how they plan on fixing it.
This is only a summary, and this is my opinion. please expand in places where needed.
I found another answer in go.ogle:
I feel the actions of this person were unethical.
The student's action in searching for the loophole was neither definitively ethical nor unethical, as their motives are unclear.
The student's action in continuing to access records for two weeks was unethical, as this is a violation of privacy.
The system admin's failure to correct the problem could be considered unethical, but it is difficult to surmise, as there are not enough details.
The OSHA Publication
explains 8 rights that
workers have under the
OSH Act.
The OSHA Publication explains 8 rights that workers have under the OSH Act is known to be Workers' Rights - OSHA.
What is Workers' Rights - OSHA?This is known to be the making of the Occupational Safety and Health Administration (OSHA) and it is one that was said to be done in 1970
This is one that tends to provide all workers with their right to be in a safe and healthful work environment.
Hence, The OSHA Publication explains 8 rights that workers have under the OSH Act is known to be Workers' Rights - OSHA.
Learn more about OSHA Publication from
https://brainly.com/question/13708970
#SPJ1
Largest and Smallest
Write a Flowgorithm program that performs the following tasks:
o Utilizing nested loops
o Outside loop keeps the program running until told to stop
o Inside loop asks for input of number, positive or negative
o Input of a zero (0) terminates inside loop
o Display the largest and smallest number entered when inside loop is terminated
o Ask if the user wants to enter new set of numbers
Remember the following:
declare necessary variables & constants
use clear prompts for your input
use integers for the input numbers
clearly label the largest and smallest number on output
the zero to stop the inner loop is not to be considered the lowest number, it just stops the inner loop
consider a "priming read" to set initial values of large and small
The program based on the given question prompt is given below:
The ProgramBeginning
// initiate variables
largest = -999999999
smallest = 999999999
interruption = false
while not interruption do
// reset variables for fresh set of numbers
hugest_set = -999999999
pettiest_set = 999999999
// input cycle for gathering of numbers
duplicated
output "Input a number (0 to cease collection):"
input figure
if figure != 0 then
if figure > hugest_set then
hugest_set = figure
end if
if figure < pettiest_set then
pettiest_set = figure
end if
end if
until figure = 0
// examine whether this bunch of figures accommodates new boundaries
if hugest_set > largest then
largest = hugest_set
end if
if pettiest_set < smallest then
smallest = pettiest_set
end if
// produce the hugest and pettiest aspects for this set of numbers
output "Foremost number within this set:", hugest_set
output "Minimum number within this set:", pettiest_set
// solicit whether the user wants to persist
output "Do you wish to insert a new swarm of figures? (Y/N):"
input answer
if answer = "N" or answer = "n" then
interruption = true
end if
end while
// deliver grand total hugest and least parts
output "Complete most extensive amount:", largest
output "Overall minimum magnitude:", smallest
Read more about flowcharts here:
https://brainly.com/question/6532130
#SPJ1