answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Harrizon
2 months ago
14

Dr. Collins has a personal website where he encourages his students to solve questions and discuss topics he taught in class. Wh

ich type of
comments would Dr. Collins prohibit on the website?
comments written in an informal tone
comments written in a formal tone
C. comments written in a condescending tone
OD. comments written using attributed quotes
instone
Computers and Technology
2 answers:
ivann1987 [1K]2 months ago
4 0
I believe option C is the correct response.
ivann1987 [1K]2 months ago
3 0
Comments made in a formal tone.
You might be interested in
Write an if-else statement to describe an integer. Print "Positive even number" if isEven and is Positive are both true. Print "
Harlamova29_29 [1022]

Answer:

Below is the explanation for the C code.

Explanation:

#include <stdio.h>

#include <stdbool.h>

int main(void) {

int userNum;

bool isPositive;

bool isEven;

scanf("%d", &userNum);

isPositive = (userNum > 0);

isEven = ((userNum % 2) == 0);

if(isPositive && isEven){

  printf("Positive even number");

}

else if(isPositive &&!isEven){

  printf("Positive number");

}

else{

  printf("Not a positive number");

}

printf("\n");

return 0;

}

6 0
3 months ago
python Consider this data sequence: "3 11 5 5 5 2 4 6 6 7 3 -8". Any value that is the same as the immediately preceding value i
oksian1 [950]

int currentNumber,previousNumber = -1, countDuplicates = 0;

do {

cin >> currentNumber;

if ( previousNumber == -1) {

previousNumber = currentNumber;

}else {

if ( previousNumber == currentNumber )

countDuplicates++;

else

previousNumber = currentNumber;

}

} while(currentNumber > 0 );

cout << countDuplicates;

7 0
3 months ago
Write an application that throws and catches an ArithmeticException when you attempt to take the square root of a negative value
Harlamova29_29 [1022]

The code relevant to the problem in question:

import java.util.Scanner;

public class Test {

   public static void main(String[] args) {

       double number;

       double squareRootOfNumber;

       String userInput = null;

       Scanner scanner = new Scanner(System.in);

       System.out.println("Please enter a number: ");

       userInput = scanner.next();

       number = Double.parseDouble(userInput);

       squareRootOfNumber = Math.sqrt(number);

       if (number < 0) {

           throw new ArithmeticException("Cannot compute the square root of a negative number");

       }

       System.out.format("The square root of the entered number is %.2f %n", squareRootOfNumber);

   }

}

The program will output:

Please enter a number:

-90

Exception in thread "main" java.lang.ArithmeticException: Cannot compute the square root of a negative number at com..ans.Test.main(Test.java:18)

Explanation:

The standard Java library function java.lang.Math.sqrt does not throw an ArithmeticException for negative arguments, hence there’s no need to enclose your code in a try/catch block.

Instead, we manually trigger ArithmeticException using the throw keyword:

throw new ArithmeticException("Cannot compute the square root of a negative number");

3 0
3 months ago
Access to sensitive or restricted information is controlled describes which of the key communications and information systems pr
maria [1035]
Answer C: Security. It is crucial that communication and information systems maintain security to safeguard sensitive data from unauthorized access. Certain types of information, such as voices and data traffic, are of high sensitivity and must be adequately protected according to data privacy regulations.
4 0
2 months ago
Other questions:
  • To reduce costs and the environmental impact of commuting, your company decides to close a number of offices and to provide supp
    14·1 answer
  • Which of the following is true of how computers represent numbers?
    9·2 answers
  • Light travels at 3 × 108 meters per second. A light-year is the distance a light beam travels in one year.Write a PYTHON program
    14·1 answer
  • Xem tập các tiến trình sau đây, với thời gian cần chạy ở cột Burst Time được cho ở đơn vị mili giây.
    10·1 answer
  • The engineering firm you work for is submitting a proposal to create an amphitheater at a state park. Proposals must be submitte
    15·1 answer
  • If Mark is developing a website to be optimized for mobile devices, what would be the top-level domain?
    10·1 answer
  • A business wants to centralize its administrative tasks. At the same time, it wants the existing systems to manage and sustain t
    14·2 answers
  • Dr. Robbins wants to know if there are different opinions regarding the value of public school education between Native American
    11·1 answer
  • Write a script that creates a user-defined database role named OrderEntry in the MyGuitarShop database. Give INSERT and UPDATE p
    8·1 answer
  • Your computer has gradually slowed down. What's the most likely reason?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!