A critical thinker is someone who is actively engaged in a thought process. Active thinking is that process of making judgments about what has happened while critical thinking involves a wide range of thinking skills that eventually leads to a desired outcome. Active thinking prompts learning during complex problems situations and provides learners with an opportunity to think about how a problem will be solved. As a result, it will help them evaluate, analyze, and intercept information.
Answer:
function outputValue = AdjustOutput(outputValue, amplitudeResponse, phaseResponse)
if amplitudeResponse > 10
outputValue = outputValue - 5;
else
outputValue = outputValue;
end
if phaseResponse < 275
outputValue = outputValue + 3;
else
outputValue = outputValue
end
end
AdjustOutput(20, 15, 149)
<u>Virus outbreaks in an organization:</u>
In an organization end user who uses the computer or laptop or workstation is not aware of virus outbreaks. So As IT administrator of an organization she/he has aware of latest virus attack and rectification solution before outbreaks.
Common causes for this virus outbreaks problem is update virus definition or database. Update operating system patches on regular basis.
Installation appropriate anti-virus in each workstation or desktop or laptop and scheduling virus scanning and take necessary steps.
To address and troubleshoot disconnect workstation and desktop or laptop from LAN. Uninstalled unnecessary software, delete temp folder contents.
Answer:
The code solution is written in Java.
- import java.util.Scanner;
-
- public class TestScore {
-
- public static void main(String[] args) {
-
- Scanner input = new Scanner(System.in);
-
- System.out.print("Please enter first score: ");
- double firstScore = input.nextDouble();
- System.out.println("Grade: " + determineGrade(firstScore));
-
- System.out.print("Please enter second score: ");
- double secondScore = input.nextDouble();
- System.out.println("Grade: " + determineGrade(secondScore));
-
- System.out.print("Please enter third score: ");
- double thirdScore = input.nextDouble();
- System.out.println("Grade: " + determineGrade(thirdScore));
-
- System.out.print("Please enter fourth score: ");
- double fourthScore = input.nextDouble();
- System.out.println("Grade: " + determineGrade(fourthScore));
-
- System.out.print("Please enter fifth score: ");
- double fifthScore = input.nextDouble();
- System.out.println("Grade: " + determineGrade(fifthScore));
-
- System.out.println("Average score: " + calcAverage(firstScore, secondScore, thirdScore, fourthScore, fifthScore));
-
- }
-
- public static double calcAverage(double score1, double score2, double score3, double score4, double score5){
- double average = (score1 + score2 + score3 + score4 + score5) / 5;
- return average;
- }
-
- public static String determineGrade(double score){
- if(score >= 90){
- return "A";
- }
- else if(score >= 80 ){
- return "B";
- }
- else if(score >=70){
- return "C";
- }
- else if(score >=60){
- return "D";
- }
- else{
- return "F";
- }
- }
- }
Explanation:
Firstly, create the method, <em>calcAverage()</em>, that takes five test scores. Within the method, calculate the average and return it as output. (Line 33 - 36)
Next, create another method, <em>determineGrade()</em>, which takes only one score and return the grade based on the range of the score. (Line 38 -54)
Once the two required methods are created, we are ready to prompt use for input five test scores using Java Scanner class. To use get user input, create a Scanner object (Line 7). Next, use getDouble() method to get an input score and assign it to variables firstScore, secondScore, thirdScore, fourthScore & fifthScore, respectively. Once a score input by user, call determineGrade() method by passing the input score as argument and immediately print out the return grade. (Line 9 - 27)
At last, call calcAverage() method by passing the first test score variables as argument and print out the returned average value. (Line 29).
Algorithm
STEP 1: START.
STEP 2: DEFINE n, i, j.
STEP 3: SET sum =0.
STEP 4: SET n =100.
STEP 5: REPEAT STEP 6 to STEP 10 UNTIL i<=n.
STEP 6: REPEAT STEP 7 and STEP 8 UNTIL j<=i/2.
STEP 7: if i%j ==0.
STEP 8: sum =sum + j.Algorithm
STEP 1: START.
STEP 2: DEFINE n, i, j.
STEP 3: SET sum =0.
STEP 4: SET n =100.
STEP 5: REPEAT STEP 6 to STEP 10 UNTIL i<=n.
STEP 6: REPEAT STEP 7 and STEP 8 UNTIL j<=i/2.
STEP 7: if i%j ==0.
STEP 8: sum =sum + j.