+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 ____________ exception is thrown when a value is assigned to a null object.
OverflowException
IndexOutofBondException
ArithmeticException
NullReferenceException
View Answer
2. Which operator can be used to compare two values?
<=
<>
==
=
View Answer
3. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
static
invoked
anonymous
referenced
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 int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
5. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
StackTrace
InnerException
Message
View Answer
6. The validity of a cache item is based on the _________.
Cache dependencies
Cache directory
Cache system
Memory used
View Answer
7. Managing memory and verifying code safety are functionalities of ____________
.NET Framework Class Library
Common Type system
Common Language Runtime
Common Language Specification
View Answer
8. Which interface defines methods to control different generic collections.
IDictionary
All of them
IEnumerator
ICollections
View Answer
9. In ____________the this keyword is required before the first argument.
Static method
Extension method
Collection initializer
Auto implemented property
View Answer
10. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Queue
ArrayList
Stack
Array
View Answer