logo

Crowdly

Browser

Add to Chrome

Об'єктно-орієнтоване програмування (1 курс КН)

Looking for Об'єктно-орієнтоване програмування (1 курс КН) test answers and solutions? Browse our comprehensive collection of verified answers for Об'єктно-орієнтоване програмування (1 курс КН) 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!

Функція обчислює добуток двох чисел. Вихідні дані вводяться з клавіатури. Які перевірки доцільно ввести в програмі?

(C++)

View this question
Нейтральний код (функція або метод класу) повинні:

(C++)

0%
0%
0%
View this question
Чи є помилка в наступному коді?

try

{}

catch (a) {}

catch (b) {}

catch (...) {}

catch (c) {}

catch (d) {}

(C++)

View this question
На якому етапі виявляються помилки в алгоритмі програми?

(C++)

View this question
Скільки параметрів може приймати catch

(C++)

View this question
Яка рядок даного коду виробляє спеціалізацію шаблона?

1: template <class Т> class А {

2: int х;

3:};

4: template <class Т> class А <Т *> {

5: long х;

6:};

7: template <template <class U> class V> class C {

8: V <int> y;

9: V <int *> z;

10:};

11: C <A> c;

(C++)

View this question
Визначено шаблон і описані об'єкти класу:

template <class A > class Array {/ * ... * /};

Array <int > x1;

Array <int > x2;

Array <char > x3;

Array <short > x4;

Які з наступних операторів не містять помилки:

(C++)

View this question
Які твердження про шаблони в мові C++ вірні?

(C++)

0%
View this question
Відзначте всі твердження, які вважаєте вірними:

(C++)

View this question
Визначено шаблон і описані об'єкти класу:

template <class A, int n > class my_template {A x [n]; / * ... * /};

my_template <char, 20 > y1;

my_template <int, 20 > y2;

my_template <char, 30 > y3;

my_template <int, 20 > y4;

Який з наступних операторів не містить помилки:

(C++)

View this question

Want instant access to all verified answers on moodle.chnu.edu.ua?

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

Browser

Add to Chrome