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.
Answer:
//here is code in c++.
#include <bits/stdc++.h>
using namespace std;
int main()
{
// variable
int temp;
cout<<"Please enter the temperature:";
//read temperature from user
cin>>temp;
int n;
// reduce the case for switch
n=temp/10;
// print output according to the switch case
switch (n) {
case 7:
case 6:
cout<<"tennis"<<endl;
break;
case 5:
case 4:
cout<<"golf"<<endl;
break;
default:
if(temp>=80)
cout<<"swimming"<<endl;
else
cout<<"skiing"<<endl;
break;
}
return 0;
}
Explanation:
Read the value of temperature from user and assign it to variable "temp".
Calculate n=temp/10, to limit the number of cases in the switch statement.
if temperature is greater or equal 60 & less than 80, it will print "tennis".
If temperature is greater or equal 40 & less than 60, it will print "golf".
in default case, if temperature is greater than 80, it will print "swimming".
if less than 40, print "skiing".
Output:
Please enter the temperature::67
tennis
Answer:
The data processing is broadly divided into 6 basic steps as Data collection, storage of data, Sorting of data, Processing of data, Data analysis, Data presentation, and conclusions. There are mainly three methods used to process that are Manual, Mechanical, and Electronic.
Answer:
Explanation:dhjyfxdhnjfddhjnvcdfg
Answer: Multitasking is the ability of the operating system by which a processor is able to process multiple task at the same time.
Cooperative multitasking is non preemptive multitasking where the processor is assigned to a single process and does not preempt until it completes its jobs or moves to a waiting state.
Explanation:
In Multitasking jobs are executed at a faster rate than as many jobs or tasks can be assigned to the processor at the same time.
In cooperative multitasking due to the non preemptive nature a single job could be assigned to the cpu at a time.