+923132835245
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Type System(CTS)
Base Framework Classes
Dynamic Language Runtime(DLR)
Common Language Runtime (CLR)
View Answer
2. Managing memory and verifying code safety are functionalities of ________.
Common Language Specification
.Net Framework Class Library
Common Language Runtime
Common Type System
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer
4. In ____________the this keyword is required before the first argument.
Static method
Collection initializer
Auto implemented property
Extension method
View Answer
5. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a queue
None of them
Provide a threads-safe implementation of a dictionary of key value pairs
Provide a threads-safe implementation of a stack
View Answer
6. Managing memory and verifying code safety are functionalities of ____________
Common Language Specification
Common Language Runtime
Common Type system
.NET Framework Class Library
View Answer
7. Which version of C# is use in visual studio 2019
7.0
6.0
5.0
8.0
View Answer
8. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Array
Queue
ArrayList
Stack
View Answer
9. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
static
invoked
anonymous
referenced
View Answer
10. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using the Task class
By using the ThreadPool class
None of them
View Answer