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
Elena L [17]
4 years ago
9

Similarites between hardware and software

Computers and Technology
1 answer:
Mila [183]4 years ago
4 0
Computer hardware is any physical device used in or with your machine, whereas software is a collection of code installed onto your computer's hard drive. For example, the computer monitor you are using to read this text and the mouse you are using to navigate this web page are computer hardware.
You might be interested in
write a program that reads a string from the user containing a date in the form mm/dd/yyyy. it should print the date in the form
julia-pushkina [17]

Using the knowledge in computational language in python it is possible to write a code that reads a string from the user containing a date in the form mm/dd/yyyy.

<h3>Writting the code:</h3>

<em>months_info = ['January', 'February','March','April', 'May','June', 'July','August', 'September', 'October', 'November', 'December']</em>

<em>date = input('Enter a date using the mm/dd/yyyy format ')</em>

<em>m, d, y = date.split('/')</em>

<em>m = int(m) - 1</em>

<em>name_of_month = months_info[m]</em>

<em>print('{} {}, {}'.format(name_of_month, d, y))</em>

See more about python at brainly.com/question/13437928

#SPJ1

3 0
2 years ago
A top level class without any modifier is accessible to
LenKa [72]

Answer: A top level class without any modifier is accessible to any class within the same package.

Explanation: A top level class is class whose declaration occur in the body of their own class therefore it is not a nested class.It cannot be declared in any other class.Private modifier is not allowed in the top level class because there would be no access in the class. Therefore top level class which does not have any modifier can be accessed by any class within the same package .

4 0
4 years ago
If you change the aperture or shutter speed in aperture-priority (A) or shutter-priority (S) shooting modes why doesn't the imag
ELEN [110]

It's because it already knows.

It's because the camera knows that it is already dark or bright and will automatically choose a slower or faster shutter speed. You would not necessary have to fiddle with the camera settings at all. The camera will automatically set the shutter speed on its own. For example, while taking a picture in a darker corner of the room, the camera will choose a slower shutter speed.

5 0
4 years ago
Write a function called count_vowels that accepts a string argument that represents a word and returns the number of vowels that
stellarik [79]

Answer:

public static int count_vowels(String str){

       String word = str.replaceAll("[^a-zA-Z0-9]", "");

       String text = word.toUpperCase();

       int lenOfString = text.length();

       int count =0;

       for(int i =0; i<lenOfString; i++){

           if(text.charAt(i)=='A'||text.charAt(i)=='E'||text.charAt(i)=='I'

                   ||text.charAt(i)=='O'||text.charAt(i)=='U'){

               count++;

           }

       }

       return count;

   }

Explanation:

This has been implemented using Java programming language.

Firstly, white spaces, special characters and punctions are removed from the string uisng the replaceAll() method

The string is converted to all upper cases

a for loop is used to count the number of vowels and store to a variable count

In the main method a call to count_vowels is done

<em>public class num1 {</em>

<em>    public static void main(String[] args) {</em>

<em>        String name = "David %$ !. gjak";</em>

<em>        System.out.println("The number of vowels in "+name+ " are "+count_vowels(name));</em>

<em>    }</em>

<em>    public static int count_vowels(String str){</em>

<em>        String word = str.replaceAll("[^a-zA-Z0-9]", "");</em>

<em>        String text = word.toUpperCase();</em>

<em>        int lenOfString = text.length();</em>

<em>        int count =0;</em>

<em>        for(int i =0; i<lenOfString; i++){</em>

<em>            if(text.charAt(i)=='A'||text.charAt(i)=='E'||text.charAt(i)=='I'</em>

<em>                    ||text.charAt(i)=='O'||text.charAt(i)=='U'){</em>

<em>                count++;</em>

<em>            }</em>

<em>        }</em>

<em>        return count;</em>

<em>    }</em>

<em>}</em>

<em />

The complete program with a Main method is given below

3 0
3 years ago
What if an html code became cracked and formed a bug how can i repair that
Valentin [98]
I suggest you look up a video for it ofc
7 0
3 years ago
Other questions:
  • The English (or Shakespearean) sonnet form includes three quatrains and a couplet two quatrains and a couplet two quatrains and
    15·1 answer
  • Which of these is NOT an advantage of the impact of computer careers.
    9·1 answer
  • Okay so I know this is a platform for assignments but I really need a tech expert... So I had a 16 GB SD card and because of eve
    14·1 answer
  • At the beginning of the week a particular stock sold for 29 3/8 per share. At the end of the same week it sold for 31 2/8. What
    11·2 answers
  • In which step of web design is storyboarding helpful?
    14·1 answer
  • How do you turn on the Track Changes feature in a word-processing document?
    12·1 answer
  • On an XBOX 360, what does it mean if you get 4 red rings on your console?
    5·1 answer
  • An example of a host-based intrusion detection tool is the tripwire program. This is a file integrity checking tool that scans f
    8·1 answer
  • STOP DELETING MY ANSWERS AND QUESTIONS!!!!!!!
    9·1 answer
  • (50 POINTS!) Type the correct answer in the box.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!