Well, more and more people are buying products and then uploading them online so that other people, who may not have the money or just don't want to buy them can download them for free. Of course, this is illegal, however it is a common practice all over the globe. Even if you are not downloading, but rather just watching a show on a website where you don't have to pay for it - it is still piracy.
Answer:
Algorithm:
1. Declare an integer variable N.
2. Read the value N from user.
3.While(N):
3.1 find r=N%10;
3.2 print r in new line.
3.3 Update N as N=N/10.
4.end program.
Implementation in C++.
// header
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variable
int N;
cout<<"Enter an Integer:";
cin>>N;
// find the digits of number
while(N)
{
// last digit
int r=N%10;
// print last digit
cout<<r<<endl;
// update the number
N=N/10;
}
return 0;
}
Output:
Enter an Integer:329
9
2
3
Answer:
Total Memory= 4 KB = 4096 bytes = 32768 bits
Explanation:
<em><u>1. Data lines are 8 From D0 to D7</u></em>
so
Total memory at single address locations is 8 bits.
<em><u>2. Address lines are 12 (A0 to A11)</u></em>
There are 12 address lines but 3 out 12 are for selction of chip or memory bank.
so only 9 pins are there to address the locations on one chip.
Total No. of address locations on single chip = 2^9 = 512 locations
as 1 location is 1 byte so total memory of single chip is 512 bytes.
<u><em>3. Total Memory Bank </em></u>
There are total 3 selection pins for memory bank.
so
Total chips = 2^3 = 8.
<em><u>4. Total Memory </u></em>
Total size of 1 chip = 512 bytes
Total size of 8 chip = 8x512 bytes = 4096 bytes = 4096/1024 kb = 4 kb
<em>So total memory of system is 4 Kb = 4096 bytes = 32768 bits</em>
Answer:
Explanation:
Algorithm design is the branch of discrete mathematics and computer science that deals with the research, development and implementation of sequential and asynchronous algorithms. ... An algorithm is simply a sequence of instructions; a recipe is an algorithm, and so is a list of driving instructions.
The Zoom slider will allow users to change the way the document appears on the screen