++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. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Message
StackTrace
InnerException
Source
View Answer
2. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
from
return
where
select
View Answer
3. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a queue
Provide a threads-safe implementation of a stack
None of them
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer
4. The __________ method is used to add the dependent cache item.
Cache.Add()
Chache.Save()
Cache.Insert()
Cache.Remove()
View Answer
5. 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
6. The validity of a cache item is based on the _________.
Memory used
Cache directory
Cache dependencies
Cache system
View Answer
7. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Stack
ArrayList
Queue
Array
View Answer
8. Which access modifier makes the code only accessible within the same class?
abstract
public
protected
private
View Answer
9. Which property can be used to find the length of a string?
getlength()
length()
textlength()
Length
View Answer
10. Which interface defines methods to control different generic collections.
IEnumerator
All of them
IDictionary
ICollections
View Answer