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!

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

Блок-схема

View this question

Скільки разів виконається тіло циклу

for(int j=5; j<35; j++) j *= j;

View this question

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

int ** mas = new int*[3];

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

{

mas[i] = new int[3];

for (int j = 0; i<3; j++)

mas[i][j] = i * 3 + j;

}

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

cout << mas[i][i] << '\t';

 

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

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

char** mas = new char*[5];

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

mas[i] = new char[10];

strcpy_s(mas[i],10,"Hello");

}

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

cout << mas[i][i] << "\n";

 

View this question

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

char str[20];

itoa(65, str, 8);

cout << str;

 

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

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

Блок-схема

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

у

int t = 101;

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

{

cout << x<<endl;

t--;

}

View this question

Що буде виведено на екран внаслідок виконання наступного фрагмента коду:

#include <iostream>

using namespace std;

class A{

int a;

public:

A(int x)

{

a = x;

cout << "A(" << a << ")\n";

}

~A()

{

cout << "~A(" << a <<")\n";

}

void show()

{

cout << a << "\n";

}

};

void main(){

A a1;

a1.show();

}

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

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

View this question

Який з перелічених операторів не є оператором присвоєння в мові С?

 

0%
0%
0%
0%
0%
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