Answer:
Consider the following code.
Explanation:
save the following code in read_and_interp.m
function X = read_and_interp(s)
[m, n] = size(s);
X = zeros(m, 1);
for i = 1:m
if(str2num(s(i, 2:5)) == 9999)
% compute value based on previous and next entries in s array
% s(i, 2:5) retrieves columns 2-5 in ith row
X(i,1) = (str2num(s(i-1 ,2:5)) + str2num(s(i+1,2:5)))/2;
else
X(i,1) = str2num(s(i,2:5));
end
end
end
======================
Now you can use teh function as shown below
s = [ 'A' '0096' ; 'B' '0114' ; 'C' '9999' ; 'D' '0105' ; 'E' '0112' ];
read_and_interp(s)
output
ans =
96.000
114.000
109.500
105.000
112.000
<u>Drastic change of over society Computers:</u>
In society computer has drastically changed and it has been used to for varies purpose to do analysis or storing data, as decisions making tools. Purpose computer been found is to do huge calculation. “Compute” word has been derived to computer. Computer later stage it diverted is purpose from calculation to information store device.
Computers have heavy effect the communication in normal word and business world. Especially social media took over the control of computers. In today’s world four type of ethical issue are known in computer mainstream in the workplace they are.
1. Crime (computer)
2. failure of responsibility in the computer.
3. Protection of software records and documents etc.
4. End user data protection and privacy.
99% of computers are protected with firewalls and antivirus. But still hackers can hack the computer and steal the data.
Answer:
Using C++, the generated from the algorithm created in the explanation box is here by attached to this answer.
Explanation:
To create the program, you need to analyse and design a solution before coding.
Problem Analyses:
- Input-The program requires the user to enter the part number to be searched and also a control number(sentinel) to allow user to continue searching. Therefor, 2 inputs are required.
- Output-The program will display at least the part number entered, the corresponding price and quantity as the final output.
- Process-The process that will convert the input to output will involve creating the 3 required array to store part numbers, price and quantity. There after, a search will be performed on the part number array to match and retrieve the corresponding price and quantity from their respective arrays.
Pseudo code
- Initialize variables and the 3 arrays:run,value,i,partnum[],price[],quantity[],size
- While run remains 'c'
- Get value
- Open for loop
- If value is same as array index i
- Print part number,price and quantity
- Break from for loop
- end if
- Else if at the end of the search there is no value matching any part number
- print not available
- Break
- End esle if
- Update run
- End while
- End program
Answer:
COPPA(Children's Online Privacy Protection Act) was the act introduced in the year 1998, which was made for the online privacy regulations of the children who were under the age of 13 years.
COPPA was made for the protection of the children from being abused and humiliated through the means of online sources. COPPA is also governed by the Federal trade commission and helps to protect it
2. Telecommunications, also known as telecom, is the exchange of information over significant distances by electronic means and refers to all types of voice, data and video transmission. ... A complete, single telecommunications circuit consists of two stations, each equipped with a transmitter and a receiver.
3. Data transmission and data reception or, more broadly, data communication or digital communications is the transfer and reception of data in the form of a digital bitstream or a digitized analog signal over a point-to-point or point-to-multipoint communication channel.
I HOPE IT'S HELP :)