2) A = True; B = False; C = True
A \/ С /\ (B \/ ¬B → ¬C) = A \/ С /\ (B \/ ¬C) = 1 (True)
3) Вес одного пикселя = 8 бит = 1 байт
(1024 * 768 * 1) / 1024 = 768 Кбайт
6)
1-b; 2-d; 3-a; 4-c.
7)На C++
#include <iostream>
using namespace std;
int main(void)
{
int age = 0;
cout << "Input your age: ";
cin >> age;
if (age > 18 || age == 18)
cout << "You have the right to vote." << endl;
else
cout << "You don't have the right to vote." << endl;
system("pause");
return 0;
}
var a: array [1..10] of integer; c,sum: integer;beginsum:=0; writeln('введите элементы массива '); for c := 1 to 10 do read(a[c]); for c := 1 to 10 do if (a[c] mod 9) = 0 then sum:=sum+a[c];writeln('сумма равна =',sum);end.