Laboratory on C#, OOP
6 USDFor all options: each class must keep hidden fields, designers with and without parameters, class and object methods, properties, overloaded operations.Class functional elements must provide a complete, minimal and convenient class interface that has no contradiction.In case of class-specific errors, exceptional situations should be removed.A developed program must contain a check of all the developed class elements (for example, it can keep a menu to check the work of all the public class methods) and the processing of exclusive situations.It is also necessary to re-definite the ToString() method and the Equals() method.Create a class of "par number" such that: a) its copy may contain only a positive par number in the range of 2..200.
(b) its designer without a parameter creates a copy with a value of 2, and the designer with a parameter when created the copy rounds the value of the parameter to the nearest pair number in the specified range.(c) its methods enable it to obtain and assume value, performing the corresponding transformations.d) its print() function exhibit the value of the copy stored in a double note on the screen.(e) its transaction “+” is overloaded: for two pair numbers, it calculates their half sum and returns the pair number; when operating with a normal number, it calculates the sum and returns the whole number.Create a program that verifies the performance of the listed functions.Task 2
Describe the basic class (possible, abstract), in which the interface for the original classes is tailored using virtual or abstract methods and properties.In all classes, you need to re-definite the Equals method so that the values are compared, not the reference.Identify all possible designers in classes.The Main method should keep a massive or list of basic class elements, filled with references to the original class, and demonstrate the use of all the developed class elements according to the option.and the diet.Identify the hierarchy of vegetables.Gather in the salad.Calculate the calorie
Task 3
The task: 1.The method of trapecy to calculate the integral Realize the search of the integral in the form of the method, one of the parameters of which is the function for which the task is developed.Functions for which you need to realize the search integrated are listed in the tasks options.The 2ndCreate an event associated with clicking the keyboard of the symbol from which your name begins.The method processor of this event explains your name completely.
Завдання 1
Для всіх варіантів: кожний клас повинен утримувати приховані поля, конструктори з параметрами та без параметрів, методи класу та об’єкту, властивості, перевантажені операції. Функціональні елементи класу повинні забезпечувати повний, мінімальний та зручний інтерфейс класу, який не має протиріч. При виникненні специфічних для класу помилок повинні вкидатися виключні ситуації. Розроблена програма повинна містити перевірку усіх розроблених елементів класу (наприклад, може утримувати меню для перевірки роботи усіх публічних методів класу) та обробку виключних ситуацій. Необхідно також перевизначити метод ToString() та метод Equals().
Створити клас «парне число», такий, що: а) його екземпляр може містити тільки позитивне парне число в діапазоні 2..200.
b) його конструктор без параметра створює екземпляр зі значенням 2, а конструктор з параметром при створенні екземпляра округлює значення параметра до найближчого парного числа в зазначеному діапазоні.
c) його методи дозволяють отримувати і присвоювати значення, виконуючи при цьому відповідні перетворення.
d) його функція print () виводить на екран значення екземпляра, укладену в подвійні лапки.
e) його операція «+» перевантажена: для двох парних чисел обчислює їх полусумму і повертає парне число; при операції зі звичайним числом обчислює суму і повертає ціле число. Скласти програму, яка перевіряє виконання перерахованих функцій.
Завдання 2
Описати базовий клас (можливо, абстрактний), у якому за допомогою віртуальних або абстрактних методів та властивостей задається інтерфейс для похідних класів. В усіх класах потрібно перевизначити метод Equals, щоби порівнювались значення, а не посилання. Визначити в класах усі можливі конструктори. Метод Main повинен утримувати масив або список з елементів базового класу, заповнений посиланнями на похідні класи, та демонструвати використання усіх розроблених елементів класів відповідно варіанту.
а)Дієта. Визначити ієрархію овочів. Зібрати в салат. Порахувати калорійність
Завдання 3
Завдання: 1. Методом трапеції обчислити інтеграл Реалізувати пошук інтеграла у вигляді метода, одним із параметрів якого є функція, для якої розв’яується задача. Функції, для яких треба реалізувати пошук інтеграла, перелічені у варіантах завдань. 2. Створити подію, яка пов’язана з натисканням на клавіатурі символа, з которого починається ваше ім’я. Метод-обробник цієї події виводить ваше ім’я повністю.
Client's feedback on cooperation with Volodimir Zazulyak
Laboratory on C#, OOPEverything was done well and quickly.
Freelancer's feedback on cooperation with Stanislav Semkov
Laboratory on C#, OOPAll in time, clearly set tasks, I recommend to cooperate
-
10 Welcome to Stanislav! Experience working with C # is, there is also experience in solving such tasks. I’m going to start running the laboratory, so if you choose me as an executive, then maybe the task is already ready and I’ll only have to give it to you.
Congratulations to Daniel!
Вiтаю, Станіслав! Досвід роботи з C # є, також є досвід у вирішенні таких завдань. Почну вже виконувати лабораторку, так що, якщо Ви виберете мене виконавцем, то можливо завдання вже буде готово і мені залишиться тільки його Вам віддати.
З повагою, Данило!
-
3966 68 0 Good morning, ready to fulfill your order, to discuss details contact the personal message
Доброго дня, готовий виконати Ваше замовлення, для обговорення деталей звертайтеся в особисті повідомлення
-
154 38 5 3 Good time for the day!
Only today I worked with the method of traction.
Experience from #4 years
I do everything quickly and quality.
Interested to write to LS!
Доброго времени суток!
Только сегодня работал с методом трапеции
Опыт с# 4 года
Сделаю всё быстро и качественно
Заинтересовал пишите в лс!
-
251 3 1 Good day ! I do without trouble, 2 years of development experience on C#, there is also experience in writing laboratory and coursework, if you choose an executive today, then until tomorrow you will have a ready-made task, please contact me, I will be glad to help!
Доброго дня! Виконаю без проблем, 2 роки досвіду розробки на C#, також є досвід в написанні лабораторних та курсових робіт, якщо оберете виконавцем сьогодні, тоді до завтра буде мати готове виконане завдання, звертайтесь, буду радий допомогти!
-
566 47 1 1 Hello, the task is clear, I did a very similar thing at college. I will complete in less than 1 day, submit the comments, explain by code what interests.
Здравствуйте, задание понятно, делал в колледже очень подобное этому. Выполню меньше чем за 1 день, комментарии расставлю, объясню по коду что интересует.
Current freelance projects in the category Application programming
Creating a Viber Chat
26 USD
Good day !My name is Strok Yuri.We have a small company of 15 people.We are working in the area of the sale of car parts (electronic commerce).We have a sales department of 5 people who contact customers every day through telephony and messengers (60-100 ships per day) We have… 1C, Application programming ∙ 2 proposals |
There is an app and you need to make an API for it.
142 USD
Information about the application: Name of Life. Posts: The ability to publish text, photo and video. Features of likes, comments and posts are similar to Twitter and Instagram. 2 - Shorts: a feature similar to TikTok, allowing you to create short and medium videos. There is… Application programming ∙ 2 proposals |
Софт для ТвиттераНужно разработать софт который будет копировать твит и ретвитеть в другой аккаунт Опыт, цена, сроки? Есть прикрепленные файлы Вопросы? Web programming, Application programming ∙ 3 proposals |
Скрипт на JS для отображения необходимого изображенияНеобходимо реализовать скрипт на Java Script Суть скрипта заключается в том, чтобы он смог выводить необходимое изображение в карточки товара на определенном разрешении по предусмотренным условиям. Объяснение задачи. Допустим есть карточки товаров которые реализованы с помощью… JavaScript, Application programming ∙ 7 proposals |
Parser for the Steam store. Search and purchase of items by parameter
200 USD
Parser for the Steam store. Search and purchase of items by parameters. You need a parser to monitor the Steam marketplace, and more precisely the things from the CS2 game. According to the parameter (price and float things) to make a decision to purchase things from the… Data parsing, Application programming ∙ 6 proposals |