Sematec C#1 Quiz

10 Questions | Attempts: 844
Share
Please wait...
Question 1 / 10
0 %
0/100
Score 0/100
1. Which of the following operator returns the type of a class in C#?
Submit
Please wait...
About This Quiz
Sematec C#1 Quiz - Quiz

این 10 سوال مهم ترین بخش های درس را مورد آزمایش قرار می دهد. اگر نمره پایین تر 70 را کسب کنید، نیاز به مطالعه این درس دارید

Personalize your quiz and earn a certificate with your name on it!
2. Which of the following defines unboxing correctly?
Submit
3. Which of the following is the correct about class constructor?
Submit
4. Which of the following is the default access specifier of a class member function?
Submit
5. You are developing an application that includes a class named Order. The application will store a collection of Order objects. The collection must meet the following requirements:* Use strongly typed members.* Process Order objects in first-in-first-out order.* Store values for each Order object.* Use zero-based indices. You need to use a collection type that meets the requirements. Which collection type should you use?
Submit
6. You are creating a class named Employee. The class exposes a string property named EmployeeType.The following code segment defines the Employee class. (Line numbers are included for reference only.) The EmployeeType property value must be accessed and modified only by code within the Employee class or within a class derived from the Employee class.You need to ensure that the implementation of the EmployeeType property meets the requirements.Which two actions should you perform? (Each correct answer represents part of the complete solution. Choose two.)
Submit
7. Which of the following access specifier in C# allows a class to expose its member variables and member functions to other functions and objects in the current assembly?
Submit
8. Which of the following is the correct about interfaces in C#?
Submit
9. You are developing an application that includes a class named Order. You implement a method that get count of order from database.You use SqlCommand to write a query to retrieve all order count. Which following method is the best method of SqlComman instance to perform this request?
Submit
10. Which segment you should use to protected username and password value in connection string?
Submit
View My Results

Quiz Review Timeline (Updated): Mar 20, 2022 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2022
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 26, 2017
    Quiz Created by
    Asgari_sematec2
Cancel
  • All
    All (10)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
Which of the following operator returns the type of a class in C#?
Which of the following defines unboxing correctly?
Which of the following is the correct about class constructor?
Which of the following is the default access specifier of a class...
You are developing an application that includes a class named Order....
You are creating a class named Employee. The class exposes a string...
Which of the following access specifier in C# allows a class to expose...
Which of the following is the correct about interfaces in C#?
You are developing an application that includes a class named Order....
Which segment you should use to protected username and password value...
Alert!

Advertisement