++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 the following options is not a function of CLR in the .NET framework?
Garbage Collection
Code Safety Verification
Language translation
Memory Management
View Answer
2. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
partial
anonymous
unnamed
named
View Answer
3. The validity of a cache item is based on the _________.
Cache dependencies
Memory used
Cache directory
Cache system
View Answer
4. 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);
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
5. Which operator can be used to compare two values?
<>
<=
=
==
View Answer
6. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
StackTrace
InnerException
Message
View Answer
7. Which interface supports simple iteration over elements of a generic collection.
IEnumerator
IList
ICollection
IDictionary
View Answer
8. 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
9. The __________ method is used to add the dependent cache item.
Cache.Add()
Chache.Save()
Cache.Insert()
Cache.Remove()
View Answer
10. Which of these indicates whether sliding expiration is enables?
Cache Policy
Sliding Expiration
None of them
Absolute Expiration
View Answer