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
boyakko [2]
3 years ago
5

How many answers are needed to message someone on Brainly? (random question)​

Computers and Technology
1 answer:
katrin [286]3 years ago
5 0

1,000 answers to message people

You might be interested in
Given an array of values which initially contains 9 8 7 6 5 4 3 2 1, what does the array look like after bubble sort has execute
Phantasy [73]

Answer:

//Here is code in C++.

//include header

#include <bits/stdc++.h>

using namespace std;

// function to print the array

void out_arr(int inp[], int len)

{

for (int i = 0; i < len; i++)

 cout << inp[i] << " ";

cout << endl;

}

// main function

int main()

{

   // decalare and initialize the array

int inp[] = {9,8,7,6,5,4,3,2,1};

//find the length of array

int len = sizeof(inp)/sizeof(inp[0]);

int x, y;

// perform bubble sort, only 3 pass

for (x = 0; x < 3; x++)  

{

for (y= 0; y< len-x-1; y++)

 if (inp[y] > inp[y+1])

 {

  int t=inp[y];

  inp[y]=inp[y+1];

  inp[y+1]=t;

 }

 

 cout<<"array after "<<x+1<<" pass"<<endl;

 // print the array after every pass

     out_arr(inp, len);

}

return 0;

}

Explanation:

Declare an integer array "inp" and initialize with {9,8,7,6,5,4,3,2,1}. Find the length of the array.In first pass of bubble sort, largest value is placed at the correct position in the array. And in the second, second largest value is placed at its correct position. After the n pass, array will be sorted. In each pass, each element is compared with the next element. if the value is greater than swap them. This continues for all elements in each pass. In the end of a pass a value is placed correctly. So if there is only 3 pass then 3 largest values will be placed at their right place.

Output:

8 7 6 5 4 3 2 1 9                                                                                                              

array after 2 pass                                                                                                            

7 6 5 4 3 2 1 8 9                                                                                                              

array after 3 pass                                                                                                            

6 5 4 3 2 1 7 8 9

7 0
3 years ago
Jennifer recently bought a new computer to type a new manuscript she’s been working on. She also stored a lot of movies on it to
weqwewe [10]

Answer:

Declining free space on the hard drive

Explanation:

Although heat is one of the main factors that shortens the life of computer parts such as the central processing unit, the major cause of deterioration in computer performance are usually program build-up, too many files including video, music, and picture files, and other forms of viruses and malware and incompletely installed programs. This may eat up free space on the hard drive, which leads to slowness.

6 0
3 years ago
Can someone explain step by step on how to convert from base 2 to base 10 m​
Leno4ka [110]
<h2>What is base 2?</h2>

You know how we have 10 1's in 10, 10 10's in 100, 10 100's in 1000, etc.? That's because, in the <em>decimal system</em>, our base, which you can think of as our "grouping number," is 10. In base 2, that grouping number is 2. To get a feel for what that means, let's try counting in this system. I'll use parentheses for grouping, and we'll write the digits at the end!

<h3>o, (oo)</h3>

We've reached two units, so we group them together since 2 is our base.

<h3>(oo)o, ((oo)(oo))</h3>

We have two groups of 2 now, so we wrap that up in a larger group!

<h3>((oo)(oo))o, ((oo)(oo))(oo), ((oo)(oo))(oo)o</h3>

If we wanted to look at that last number in base 10 in this same style, using paretheses for grouping, it would look like

<h3>ooooooo</h3>

Or 7 in base 10. How do we write something like

<h3>((oo)(oo))(oo)o</h3>

In digits? One way, the stardard way, is to count the number of each type of group that <em>isn't</em> enclosed in a group. For ((oo)(oo))(oo)o, we have

<h3>((oo)(oo)) - 1</h3><h3>(oo) - 1</h3><h3>o - 1</h3>

So we could write this number as 111 in binary. What would happen if we added one more? Well, now we'd have

<h3>((oo)(oo))(oo)oo</h3>

We can group the two o's together:

<h3>((oo)(oo))(oo)(oo)</h3>

And the two (oo)'s together:

<h3>((oo)(oo))((oo)(oo))</h3>

And the two ((oo)(oo))'s:

<h3>(((oo)(oo))((oo)(oo)))</h3>

And now the ungrouped bits are 1 (((oo)(oo))((oo)(oo))), 0 ((oo)(oo))'s, 0 (oo)'s, and 0 o's. We'd write this number as 1000 in base 2, and going back to base 10, we still don't have one full group of ten, so we can strip away the parentheses to get:

<h3>oooooooo</h3>

Which can be written as 8 in decimal.

<h2>Going from Base 2 to Base 10</h2>

Let's say we're given the number 1010 in base 2, and we want to turn that into a number in base 10. What do each of the digit's mean here? let's break it down:

  • 1010: Groups of 1
  • 1010: Groups of 2
  • 1010: Groups of 4
  • 1010: Groups of 8

We can write this as the sum 1\cdot8+0\cdot4+1\cdot2+0\cdot1, or 8+2, which gives us the base 10 number 10 - 1 ten and 0 ones.

<h2>Why base 2?</h2>

At first glace, base 2 seems a little excessive; why do we need 4 digits to write out the number 8? Why go through the trouble? To be honest, we didn't <em>have</em> to pick 10 as our base of choice - it came about historically because we have 10 fingers, and fingers are our main tool for counting. Base 2 finds its use in <em>computers</em>, which, at their most basic level, are a bunch of tiny on-off switches. Since each switch has <em>2 </em>states, base-2 is a natural way for computers to store and represent numbers. Remember that next time you see a movie hacker messing with 1's and 0's!

8 0
3 years ago
23. (Options that are not shown)<br> 1. 34 bytes 272 bites<br> 2. 33 bytes 264 bites
Reil [10]

Answer:

2

Explanation:

5 0
3 years ago
How do you think computers have helped improve documentation, support and services within the healthcare industry
SVETLANKA909090 [29]
It's summer stop working
5 0
3 years ago
Other questions:
  • Write a program that reads a number and prints all of its binary digits: print the remainder number % 2, then replace the number
    15·1 answer
  • Which of the following operation is not performed by a mouse​
    11·1 answer
  • In order to set up a wireless network (WLAN) in your home,what will you need.?
    14·1 answer
  • Acts as a platform on which application software runs?
    6·1 answer
  • OCR Land is a theme park aimed at children and adults. Entrance tickets are sold online. An adult ticket to OCR Land costs £19.9
    7·1 answer
  • How does emotional awareness help you with non-verbal communication?
    13·2 answers
  • Visual Basics: 1 ) Write an if/else statement that compares the double variable pH with 7.0 and makes the following assignments
    9·1 answer
  • Python
    5·1 answer
  • A Variable can only hold numbers<br><br> True<br><br> False
    15·2 answers
  • Which image-editing tool can be used to help remove spots and other marks from an image?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!