+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. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
StackTrace
InnerException
Message
View Answer
2. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
unnamed
partial
named
anonymous
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer
4. CLR stands for___________
C# Language Runtime
Common Language Runtime
Common Layer Runtime
Common Language Repository
View Answer
5. Which of these indicates whether sliding expiration is enables?
Cache Policy
Absolute Expiration
None of them
Sliding Expiration
View Answer
6. The ____________ exception is thrown when a value is assigned to a null object.
ArithmeticException
OverflowException
IndexOutofBondException
NullReferenceException
View Answer
7. An EF is an ________ tool built for ADO.NET.
Windows
Programming
ORM
XML Reader
View Answer
8. The __________ method is used to add the dependent cache item.
Cache.Remove()
Cache.Add()
Cache.Insert()
Chache.Save()
View Answer
9. Managing memory and verifying code safety are functionalities of ____________
Common Language Runtime
Common Language Specification
Common Type system
.NET Framework Class Library
View Answer
10. Which of the following options is not a function of CLR in the .NET framework?
Language translation
Garbage Collection
Memory Management
Code Safety Verification
View Answer