logo

Crowdly

Browser

Add to Chrome

Технології безпечного програмування (1-2 курс, 1р ВО, БІКС, очна)

Looking for Технології безпечного програмування (1-2 курс, 1р ВО, БІКС, очна) test answers and solutions? Browse our comprehensive collection of verified answers for Технології безпечного програмування (1-2 курс, 1р ВО, БІКС, очна) at elearning.kubg.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Дано оголошення методу.

static char Test(char a, int b, int c)

{

.....

}

 Написати скільки параметрів має метод Test .

View this question

Дослідити програму.

class Program

{

static void Main(string[] args)

{

double y, x=16.5;

y=Answer(x, 8.0);

}

.....

}

Виберіть із списку оголошення метод, який буде викликатися у Main():

0%
0%
0%
0%
0%
View this question

Дослідити програму. Написати що буде виведено на екран.

class Program

{

static void Main(string[] args) 

{      Console.WriteLine( Test('a', 'a') );

}

 static char Test(char p1, char p2)

{        if(p1 == p2)

return ‘B’;

else

return ‘L’;

}

}

 

 

View this question

Дослідити програму. Написати що буде виведено на екран.

class Program

{

static void Main(string[] args)

{     int b=5;

Test(b);

Console.WriteLine(b);

}

 

static void Test(int x)

       x=x + 5; 

}

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

View this question

Дослідити програму. Написати що буде виведено на екран.

class Program

{

static void Main(string[] args)

{   int a=4, b=10, c=2;

 Console.WriteLine(Test(a, b,c));

 }

 

int Test(int p1, int p2, int p3)

 {

 if(p1 == 1)

     return p2 + p3;

 if(p1 == 2)

     return p2 - p3;

 if(p1 == 3)

     return p2 * p3;

if(p1 == 4)

              return p2 / p3;

}

}

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

View this question

У мові С# оголошення (заголовок) методу з іменем Smallest, який повертає ціле значення і  має три символьні параметри можна записати таким чином:

0%
0%
0%
0%
100%
View this question

Обрати правильну відповідь.

У мові С# методи (функції), які мають однакові імена і різну кількість та (або) різні типи параметрів називаються...

100%
0%
0%
0%
0%
View this question

Дано оголошення методу:

 

static void func ( double a, char b, double c

}

...

}

 Вибрати правильні варіанти виклику методу.

100%
0%
0%
100%
0%
100%
0%
View this question

Дано оголошення методу.

static int Test(int c, double d)

{

.....

}

 Написати скільки параметрів має метод Test .

View this question

Дослідити програму.

class Program

{

static void Main(string[] args)

{

char y='S', x='v';

char z;

z=Answer(x, y);

}

.....

}

Виберіть із списку оголошення метод, який буде викликатися у Main():

0%
0%
100%
0%
0%
View this question

Want instant access to all verified answers on elearning.kubg.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome