+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. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
static
anonymous
referenced
invoked
View Answer
2. Which access modifier makes the code only accessible within the same class?
abstract
private
public
protected
View Answer
3. In C#, _____________are created using delegates.
None of these
Exceptions
Events
Threads
View Answer
4. The __________ property of the System Exception class return the Exception instance that caused the current exception.
StackTrace
InnerException
Message
Source
View Answer
5. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
where
from
select
return
View Answer
6. The ____________ exception is thrown when a value is assigned to a null object.
OverflowException
IndexOutofBondException
ArithmeticException
NullReferenceException
View Answer
7. The __________ method is used to add the dependent cache item.
Cache.Add()
Chache.Save()
Cache.Remove()
Cache.Insert()
View Answer
8. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using the Thread Pool class
None of them
By using Task Class
View Answer
9. The default capacity of ArrayList is ________.
8
32
12
16
View Answer
10. How can you enable communication between threads while synchronizing the threads?
None of them
By using synchronization events
By using the Task class
By using the ThreadPool class
View Answer