+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. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a stack
None of them
Provide a threads-safe implementation of a dictionary of key value pairs
Provide a threads-safe implementation of a queue
View Answer
2. How can you enable communication between threads while synchronizing the threads?
None of them
By using synchronization events
By using Task Class
By using the Thread Pool class
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer
4. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
system-defined
user-defined
application-Level
system-level
View Answer
5. Which of the following options is not a function of CLR in the .NET framework?
Language translation
Code Safety Verification
Garbage Collection
Memory Management
View Answer
6. Managing memory and verifying code safety are functionalities of ________.
Common Language Runtime
Common Language Specification
.Net Framework Class Library
Common Type System
View Answer
7. CLR stands for___________
Common Language Repository
Common Layer Runtime
C# Language Runtime
Common Language Runtime
View Answer
8. Which data type is used to create a variable that should store text?
Boolean
int
float
String
View Answer
9. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Language Runtime (CLR)
Common Type System(CTS)
Dynamic Language Runtime(DLR)
Base Framework Classes
View Answer
10. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
ADO.Net
Entity SQL
LINQ
EF API
View Answer