Looking for Крос-платформне програмування test answers and solutions? Browse our comprehensive collection of verified answers for Крос-платформне програмування at moodle.chnu.edu.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
char a = 'B', c;
int b = 0;
c = (char) (++ a + b ++);
System.Console.Write(c);
Вкажіть результат виведення на консоль після виконання методу Main():
(**CharpBase**)
static void Main()
{
int [] a = new int [] {4, 3, 6};
P (F (a)); P (a);
}
static int [] F (int [] a)
{
int [] b = new int [a.Length / 2];
for (int i = 0; i
return b;
}
static void P (int [] a)
{
for (int i = 0; i
}
Вкажіть результат виведення на консоль після виконання програми.
(**CharpBase**)
Random d1 = new Random (777);
Random d2 = new Random (777);
System.Console.Write(d1 == d2);
Вкажіть результат виведення на консоль після виконання методу Main():
(**CharpBase**)
int [] a, b, c;
a = new int [] {55, 77};
b = new int [] {55, 77};
c = new int [] {88, 89};
System.Console.Write(a == b);
System.Console.Write( ":");
System.Console.Write(a == c);
Вкажіть результат виведення на консоль після виконання методу Main():
(**CharpBase**)
string s = System.Console.ReadLine ();
bool f1, f2, f3;
f1 = s [0]> '3' && s [0] < '8';
f2 = s [s.Length-1] == '3' || s [s.Length-1] == '4';
f3 =! (f1 || f2);
System.Console.Write( "{0} {1} {2}", f1, f2, f3);
(**CharpBase**)
using System ;
class Program
{Static void Main() {Random rnd = new Random (); Console.Write(___); }}
Серед наведених нижче кодів вкажіть код, яким необхідно замінити знаки підкреслення для отримання коректної програми, вирішальної поставлене завдання:
(**CharpBase**)
uint НСД, a = 9, b = 6;
for (НОД = (a
if ((a% НСД == 0) && (b% НСД == 0)) break;
System.Console.WriteLine (НОД);
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
(**CharpBase**)
int a = 2, b;
b = (byte) a ++ == 3? 0: (a << 1 + 2);
System.Console.WriteLine (b);
Вкажіть результат виведення на консоль після спроби запустити програму на компіляцію і виконання:
(**CharpBase**)
(**CharpBase**)
int [] a = new int [] {3, 7, 1};
int s = 0, i;
for (i = 0; i <= a.Length; i ++)
{
if (a [i]% 2 == 0) break;
s + = a [i];
}
System.Console.WriteLine (s);
Вкажіть результат виведення на консоль після виконання методу Main():
(**CharpBase**)