1. B joint application design
2. A it is necessary to write most of the new code manually
3. D since users have been involved in the pro typing, managers can be confident that the system can handle large numbers of users
4. B extreme programming
5. C code that is produced using OOD is easy to secure
6. A more testing is preferable to less testing
7. C object-oriented development
8. D component-based development
9. A object
10. B the code can only represent information as objects
Answer:
program arraysminfinder;
procedure minreplace();
var
no: array [1..10] of integer; (*no is an array of integers, 10 in all *)
a: integer= 0;
i: integer= 0;
c: integer= 0;
k: integer=0;
N: integer=0;
begin
(* We need to first initialize the array no with 0 values *)
for a := 1 to 10 do
no[a]:=0;
c:=no[1];
for a := 1 to 10 do
begin
if (no[i]<c) then
begin
c:=no[i];
k:=i;
end
else
begin
i:=i+1;
end
end;
writeln('Enter the new number:');
read(N);
no[k]:=N;
for a := 1 to 10 do
begin
writeln('The array elements are:',no[a]);
end;
end;
begin
end.
Explanation:
The program is as above. I have used a function, a for loop, an array of integers, and the if then else ladder for getting the desired output as mentioned in the program. If in case you want procedure for input and output, create a procedure like:
procedure replacenum():integer;
Begin
writeln("Enter the new number:" N);
no[k]:=N;
for a := 1 to 10 do
writeln("The array elements are:"no[a]);
end.
Similarly you can make a procedure for input.
C (dont mind this sentence it is so that i can reach 20 characteristics)
Answer:
cp /path/to/source.txt .
is the general format of copying a file to the current directory
cp ~/UnixCourse/fileAsst/TweedleDee/hatter.txt .
You can refer to the current directory with a dot (.)
Explanation:
First, we would like to delete all files in our current directory (commandsAsst directory). To delete the files inside the directory, we would run the following command:
rm -r commandsAsst/*
This command delete the files recursively. Usually, the command for deleting is rm -r. The operator * run rm -r on every file or directory within commandsAsst.