++92 313 8389893
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 Language Runtime (CLR)
Base Framework Classes
Dynamic Language Runtime(DLR)
Common Type System(CTS)
View Answer
2. How can you enable communication between threads while synchronizing the threads?
None of them
By using synchronization events
By using the ThreadPool class
By using the Task class
View Answer
3. Managing memory and verifying code safety are functionalities of ________.
Common Type System
.Net Framework Class Library
Common Language Runtime
Common Language Specification
View Answer
4. EF queries are converted to ______ queries for underlying databases.
SQL
API
Reference
XML
View Answer
5. The __________ method is used to add the dependent cache item.
Cache.Insert()
Cache.Add()
Chache.Save()
Cache.Remove()
View Answer
6. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
7. The __________ property of the System Exception class return the Exception instance that caused the current exception.
StackTrace
InnerException
Source
Message
View Answer
8. Which version of C# is use in visual studio 2019
7.0
5.0
6.0
8.0
View Answer
9. The ____________ exception is thrown when a value is assigned to a null object.
OverflowException
NullReferenceException
IndexOutofBondException
ArithmeticException
View Answer
10. CLR stands for___________
Common Layer Runtime
Common Language Repository
C# Language Runtime
Common Language Runtime
View Answer