1KoTObOpMoT1
29.11.2020 21:09

Task 1
Communication applications – write min. 7 sentences
Find and describe several communication applications (for example, newsletters, websites, multimedia presentations, musical notes, cartoons, flyers, and posters)
Task 2
Data handling applications – write min. 7 sentences
Find and describe the use of a few data handling applications (e.g. surveys, address lists, clubs and society records, school reports and school libraries)
Task 3
Measurement applications – write min. 7 sentences
Find and describe the use of microprocessors and computers in several applications (e.g. pollution monitoring, intensive care units in hospitals)
Task 4
Microprocessors in control applications – write min. 7 sentences
Find and describe the use of computer control in applications (e.g. turtle graphics, automatic washing machines, automatic cookers, computer controlled central heating systems, burglar alarms, computer-controlled glasshouse)
Task 5
School management systems – write min. 7 sentences
Find and describe how systems can be used for organising examinations, creating timetables and managing teaching cover/substitution

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
burgerface
14.01.2021 15:47

#include <iostream>

using namespace std;

int main()

{

   int *arr;

   int size;

   

   cout << "size = ";

   cin >> size;

   if (size <= 0) {

       cerr << "Invalid size" << endl;

       return 1;

   }

   arr = new int[size];

   for (int i = 0; i < size; i++) {

       cout << "arr[" << i << "] = ";

       cin >> arr[i];

   }

   int temp;

   for (int i = 0; i < size - 1; i++) {

       for (int j = 0; j < size - i - 1; j++) {

           if (arr[j] > arr[j + 1]) {

               temp = arr[j];

               arr[j] = arr[j + 1];

               arr[j + 1] = temp;

           }

       }

   }

   for (int i = 0; i < size; i++) {

       cout << arr[i] << " ";

   }

   cout << endl;

   delete [] arr;

   

   return 0;

}

0,0(0 оценок)
Ответ:
бюро
03.01.2020 02:41
Var
   i,j,t,x:integer;
   a:array[1..10]of integer;
begin
writeln('Исходный массив:');
for i:=1 to 10 do
   begin
   a[i]:=random(-100,100);
   write(a[i]:5)
   end;
i:=2;
while i<11 do
   begin
   t:=a[i];
   a[i]:=a[i-1];
   a[i-1]:=t;
   i:=i+2
   end;
writeln;
writeln('Переставленный массив:');
for i:=1 to 10 do
   begin
   write(a[i]:5);
   if a[i] mod 2=0 then x:=x+1
   end;
writeln;
writeln('Четных элементов: ',x);
//Гномья сортировка   
i:= 2;   
j:= 3;
while i < 11 do
        if a[i - 1] > a[i] then
            begin
            i:= j;
            j:= j + 1
            end
        else
            begin
            t:= a[i - 1];
            a[i - 1]:= a[i];
            a[i]:=t;
            i:= i - 1;
            if i = 1 then
                begin
                i:= j;
                j:= j + 1
                end
            end;
writeln('Отсортированный массив:');
for i:=1 to 10 do  write(a[i]:5)
end.
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота