Тест на знание C#

Quiz
•
Computers
•
University
•
Hard
Ольга Билан
Used 35+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Какой способ вызова исключения является корректным?
call new Exception();
throw new Exception();
new Exception();
call Exception();
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет выведено на консоль?
enum Names
{
Viktor
}
static void Main(string[] args)
{
Console.WriteLine(Names.Viktor.GetType().Name);
}
Object
Value
Names
EnumValue
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет выведено на консоль?
int number = -3;
Console.WriteLine((uint)number);
3
-3
0
4294967293
Возникнет ошибка
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что будет выведено на консоль?
public class Person
{
public readonly string name = "Artur";
public Person(string name)
{
this.name = name;
}
}
class Program
{
static void Main(string[] args)
{
Person person = new Person("John");
Console.WriteLine(person.name);
Console.ReadKey();
}
}
"John"
"Artur"
Возникнет ошибка
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что делает модификатор sealed?
Запрещает наследование
Добавляется просто для наглядности, но ничего не изменяет
Разрешает наследование только один раз
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Можно ли наследоваться от нескольких интерфейсов?
Да
Нет
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Тип string является значимым или ссылочным типом?
Значимым
Ссылочным
Create a free account and access millions of resources
Similar Resources on Wayground
22 questions
01-JS- переменные

Quiz
•
University
27 questions
Сыктывдин Информина 20 апреля

Quiz
•
University
30 questions
Веб-эргономика, юзабилити и критерии качества ПИ

Quiz
•
University
21 questions
Операционные системы: тест знаний

Quiz
•
University
20 questions
СКВ Git

Quiz
•
University
20 questions
Тест по вредоносным программам ВСК1

Quiz
•
University
22 questions
8 класс повторение

Quiz
•
8th Grade - University
24 questions
1.17 Типы Обществ.

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University