CodeHS is an interactive online learning platform offering computer science and programming instruction for schools and individual learners.
CodeHS is focused on spreading access to and knowledge of computer science by offering online instructional materials supported by remote tutors.
Explanation:
Downloading an image from a website on the internet.
- Right-click the image.
- Choose the command Save Picture As. The command might be different in browsers other than Internet Explorer.
- Use the Save Picture dialog box to find a location to save the picture. You can rename the picture as it's saved to your computer's storage system
- Click the Save button.
Download an image of Karel the dog from the URL
- Create a folder in your laptop
- Place your text file of images URL in the folder.
- cd to that folder.
- Use wget -i images.txt.
- You will find all your downloaded files in the folder.
How your computer finds the CodeHS server, requests information from the server, and receives it.
- When you enter an URL into the address bar of browser, browser will send the domain to a server call DNS to convert the domain into IP address.
- For example: google dot com will be convert into 113.171.253.224
- Next, the browser will send your request to that IP.
- All your sent data will be divided into packages, each package contains your IP address.
- That is the reason why server know who it will send the response.
A spacecraft virus<span> is a type of bacteria virus that feeds on other bacteria. It got it name because it is mostly shaped like a spacecraft.</span>
i believe the answer would be B
Answer:
In C++:
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
void printarray(int array []){
for(int i=0; i<100; i++){ cout << array[i] << " "; }
}
void sortarray(int array []){
sort(array, array + 100);
printarray(array);
}
int main() {
int array[100];
srand((unsigned)time(0));
for(int i=0; i<100; i++){ array[i] = (rand()%99); }
printarray(array);
cout<<endl;
sortarray(array);
return 0;
}
Explanation:
<em>See attachment for program source file where comments are used for explanation purpose</em>