Answer:
All data in a computer is stored as a number. Binary data is primarily stored on the hard disk drive (HDD). The device is made up of a spinning disk (or disks) with magnetic coatings and heads that can both read and write information in the form of magnetic patterns.
Explanation:
Please mark me as brainilest if you don't mind and have a wonderful day!! :D
Answer:
def encrypt_digit(digit):
if type(digit) is int or float:
digit = str(digit)
hold = list()
for x in digit:
d = str((int(x) + 3)%10)
hold.append(d)
first = hold.pop(0)
second = hold.pop(0)
third = hold.pop(0)
fourth = hold.pop()
print(int("".join([third,fourth, first, second])))
encrypt_digit(7836)
Explanation:
The python function accepts a four-digit parameter which represents the data transmitted over the company's telephone network. The function encrypts the data by adding 3 to each digit and getting the modulus of division 10, then the digits are swapped and printed out encrypted and ready for transmission.
Answer:
//package CountByFives.java;
import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args)
{
System.out.println("Enter the maiximum number of numbers");
Scanner sq1=new Scanner(System.in);
int num =sq1.nextInt();
int i=0,n=0,a=10;
while(i <=num)
{
System.out.print(i);
i+=5;
if(n==a)
{
System.out.println('\n');
n=0;
}
n=n+1;
}
}
}
Explanation:
Please check the answer section.
Answer:
procedures for calculation