What do you know about C # P2 programming language?
- Question 1. In C #, which of the following preprocessing directives allows creating a level alert from a specific location in your code?
- cảnh báo
- region
- line
- lỗi
-
- Question 2. Which answer is correct when talking about exceptions in C #?
- Exception classes in C # are mainly taken directly or indirectly from the System.Exception class.
- C # exceptions are represented by classes.
- Both answers are correct
- There is no right answer.
-
- Question 3. Are assignment operators unable to overload?
- It's correct
- False
-
- Question 4. Which of the following is correct about the member functions of a class?
- A member function of a class is a function whose definition or prototype is in the same class definition as any other variable.
- The class member function works on any object of the class and has access to all members of the class for that object.
- The above two answers are correct.
- There is no right answer.
-
- Question 5. Is the System.SystemException class the base class for all predefined system exceptions in C #?
- It's correct
- False
-
- Question 6. Which of the following preprocessing directives specifies the end of a conditional directive in C #?
- elif
- endif
- if
- else
-
- Question 7. To convert a type (integer or string) into a date-time structure in C #, we use:
- ToString
- ToSingle
- ToChar
- ToDateTime
-
- Question 8. In C #, which access method allows a class to hide its member variables and functions from other class and function objects, except subclasses in the same application?
- Protected Internal
- private
- Protected
- Internal
-
- Question 9. When talking about constructor class, what is the correct answer?
- The constructor class is a special member function of the class, executed whenever we create a new object of that class.
- The constructor has the same name as the class and has no return type.
- Both answers are correct.
- There is no right answer
-
- Question 10. To convert a type to a Boolean value in C #, we use:
- ToBoolean
- ToSingle
- ToChar
- ToDateTime
-
3.5 ★ | 2 Vote
You should read it
- Set of multiple choice questions about programming with P10 prize
- P13 programming set of multiple choice questions
- Top 5 best programming languages for kids today
- Set of multiple choice questions about programming with P12
- Beginners of computer programming need to focus on what?
- The world's 5 most annoying 'programming languages'
- Set of multiple choice questions for programming with P15 prize
- A set of multiple choice questions for programming has a P2 prize
May be interested
- What is C programming language?c is a high-level programming language originally developed by dennis m.ritchie to develop the unix programming system at bell labs. c was originally developed on 1972 dec pdp-11 computer.
- What do you know about C # P3 programming language?c # is an object-oriented programming language developed by microsoft, the start of their .net plan. please invite the network administrator to learn about this topic through the quiz below.
- 16 programming languages will change your luckjust knowing java, pascal or swift, work and career will be open to you in 2018.
- What is the basic C ++ programming language?c ++ is a static programming language, data deduction, distinguishing lower case letters that support object-oriented programming, procedural programming.
- Test on C programming P4the c language is the most widely used computer language, along with the java language, the leading popular programming languages, widely used in modern developers. below, invite readers to test their knowledge on this topic through the multiple-choice questions below.
- Facebook introduced the programming language 'Hack' to help write software fasterfacebook recently introduced a new programming language that speeds up writing and testing software. called hack, facebook's internal language has been used for over a year now and it now makes it an open standard for everyone to use.
- Python - Powerful and intuitive programming languagepython is a free programming language developed by the python software foundation for computers. this open source tool is a programming language that can be used to develop and create various programs.
- Who invented the Pascal programming language?pascal programming language, based on algol computer language was developed in the late 1960s and named after blaise pascal.
- Microsoft developed a new programming language for quantum computersat the ignite conference, microsoft shared a plan to develop a language for programming quantum bits. the name of this programming language is still a mystery. however, it is known that this language will be provided through its visual studio toolkit.
- Rust - interesting programming language worth learningrust - interesting programming language, this is a statement of many developers. there are many reasons why rust became the next language you should learn. consider the following reasons.