logo

Crowdly

Browser

Add to Chrome

Обчислювальна техніка та програмування [04123]

Looking for Обчислювальна техніка та програмування [04123] test answers and solutions? Browse our comprehensive collection of verified answers for Обчислювальна техніка та програмування [04123] at vns.lpnu.ua.

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

Код програми, поданий нижче буде скомпільовано і виконано без помилок:

0%
100%
View this question

Якого значення набуде змінна У унаслідок виконання алгоритму?

Блок-схема

View this question

Який результат виконання наступного фрагмента коду:

int k = 0;

for (int i = 0; i<10; i++)

{

if (i % 2 == 0) continue;

k += i;

}

cout << k;

 

View this question

Код програми, поданий нижче буде скомпільовано без помилок:

#include<iostream>

using namespace std;

 

int main()

{

char str[20] = "Red color";

int size = strlen(str) + 1;

char * ptr = new char[size];

strcpy_s(ptr, size, "Blue");

strcat_s(ptr,size, str);

cout << ptr << '\t' << str;

delete[] ptr;

return 0;

}

 

0%
100%
View this question
При якому значенні змінної t завершиться виконання цикл

у

int t = 101;

for (int x = 10; t > x; t -= x)

{

cout << x<<endl;

t--;

}

View this question

Який результат виконання наступного фрагмента коду:

View this question

Яку задачу розв'язує алгоритм?

Блоксхема

View this question

Який результат виконання наступного фрагмента коду:

View this question

Код програми, поданий нижче буде скомпільовано і виконано без помилок:

0%
0%
View this question
Якого значення набуде змінна

x унаслідок виконання фрагменту коду

int x = 17, y=9;

int *px = &x, py = &y;

py = px; *px = 22; *py = 33;

View this question

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome