1answer.
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
Natali [406]
4 years ago
6

Write a string constant consisting of exactly 5 exclamation marks.

Computers and Technology
1 answer:
just olya [345]4 years ago
4 0
Please specify a language when asking for programming help, otherwise you aren't going to get reliable results.


It tends to be:

const string str = "!!!!!";


Though other languages may use something different such as Java:

final const String = "!!!!!";
You might be interested in
Worksheet-I • Make a list of 10 application software and 5 utility programs installed in your computer, along with their uses. U
Andru [333]

Answer:

An antivirus is a utility software that helps to keep the computer virus-free. Moreover, it notifies when any malicious file is detected and removes such files. In addition, it scans any new device attached to the computer and discards any virus if there. Moreover, it also scans the system from time to time for any threats and disposes of them. Examples of antivirus are McAfee Antivirus, Quick heal Antivirus, Windows Defender, etc.

These utility software are used to manage files of the computer system. Since files are an important part of the system as all the data is stored in the files. Therefore, this utility software help to browse, search, arrange, find information, and quickly preview the files of the system.

An important part of a computer is storage space, it is very important to maintain this storage. Therefore, we use certain utility software to compress big files and decrease their size, these are compression tools. The format of the files changes while compressing and we cannot access or edit them directly. In addition, we can easily decompress the file and get the original file back. Examples of compression tools are WinZip, WinRAR, 7-Zip, etc.

These utility software are used to manage data on disks. Moreover, they perform functions like partitioning devices, manage drives, etc. Examples of disk management tools are Mini Tool Partition Wizard, Paragon Partition Manager, etc.

This utility software helps to free up the disk space. In addition, the files which are no longer in use are removed from the disk. Examples are Cortex, C Cleaner, etc.

Explanation:

hope it helps

mark as brainiest

happy to help

ask more I'll help if I know the answer

8 0
3 years ago
Essay:
nirvana33 [79]

Answer:

1) There are three ingredients needed to access the Internet from a laptop or desktop computer: (1) an ISP, (2) a modem and (3) a Web browser.

2) yeah ofcourse social media ia a very helpful tool for people because it helps us connect with people all around the globe.It helps you clear you doubts for the perfect example is now.You know you are clearing your doubt here in brainly which can be considered as a social media.

8 0
3 years ago
define the physical components of hardware for a computer system,including identifying internal hardware devices(e.g. processor,
kap26 [50]

Answer:

Explanation:

The necessary hardware components that a computer requires to run properly are the following.

Motherboard, this is the main circuit board that interconnects all of the components and allows them to interact with each other.

CPU, this is the brain of the computer where all calculations and processes are handled.

Video Card, this component handles all the visual data, rendering that the computer needs in order to get a proper image.

RAM, these components are the physical memory where temporary data is stored and used.

Hard Disk, this is the main storage drive where all your data will be saved including the operating system.

PSU, this is the power supply of the unit that distributes the correct amount of power to every other component in the system.

Sound Card, this component handles all the input and ouput audio signals for a computer.

7 0
3 years ago
How can an attacker execute malware through a script?
Anvisha [2.4K]

Answer:

An attacker can attach a script to a program that you download which then infects your computer.

5 0
3 years ago
6.25 (Prime Numbers) A positive integer is prime if it’s divisible by only 1 and itself. For example, 2, 3, 5 and 7 are prime, b
faltersainse [42]

Answer:

  1. public class Main {
  2.    public static void main (String [] args) {
  3.        for(int i = 2; i < 10000; i++){
  4.            if(isPrime1(i)){
  5.               System.out.print(i + " ");
  6.            }
  7.        }
  8.        System.out.println();
  9.        for(int i = 2; i < 10000; i++){
  10.            if(isPrime2(i)){
  11.                System.out.print(i + " ");
  12.            }
  13.        }
  14.    }
  15.    public static boolean isPrime1(int n){
  16.      
  17.        for(int i=2; i <= n/2; i++){
  18.            if(n % i  == 0){
  19.                return false;
  20.            }
  21.        }
  22.        return true;
  23.    }
  24.    public static boolean isPrime2(int n){
  25.        for(int i=2; i <= Math.sqrt(n); i++){
  26.            if(n % i  == 0){
  27.                return false;
  28.            }
  29.        }
  30.        return true;
  31.    }
  32. }

<u></u>

Explanation:

Firstly, create the first version of method to identify a prime number, isPrime1. This version set the limit of the for loop as n/2. The for loop will iterate through the number from 2 till input n / 2 and check if n is divisible by current value of i. If so, return false to show this is not a prime number (Line 22 - 26). Otherwise it return true to indicate this is a prime number.

In the main program, we call the isPrime1 method by passing the i-index value as an argument within a for-loop that will iterate through the number 2 - 10000 (exclusive).  If the method return true, print the current i value). (Line 5 - 9)

The most direct way to ensure all the prime numbers below 10000 are found, is to check the prime status from number 2 - 9999 which is amount to 9998 of numbers.

Next we create a second version of method to check prime, isPrime2 (Line 31 - 40). This version differs from the first version by only changing the for loop condition to i <= square root of n (Line 33).  In the main program, we create another for loop and  repeatedly call the second version of method (Line 13 - 17). We also get the same output as in the previous version.

8 0
3 years ago
Other questions:
  • Which term describes the distinct number of colors a graphic contains? (1 point)?
    10·1 answer
  • Which of the following mountain ranges stretches from Alabama to Canada?
    10·1 answer
  • Error: 404 Not Found <br>The resource that you requested does not exist on this server.
    14·2 answers
  • Write a program which capitalize every character after full stopin a given sentence
    11·1 answer
  • An inventory management system that goes beyond just managing inventory to act as a complete distribution system (including inve
    10·1 answer
  • In a display device, response rate is the time it takes for one pixel to change from black to white then back to black.​
    12·1 answer
  • Write a program that uses a stack to test input strings to determine whether they are palindromes. A palindrome is a sequence of
    7·1 answer
  • State three reasons why users attach speakers to their computer​
    8·1 answer
  • if you are trying to reduce the cost of college, which of the following strategies is likely to save you the most money?
    9·1 answer
  • Collaboration, listening, and negotiating are considered __________ skills.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!