+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
Softwares
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. In ____________the this keyword is required before the first argument.
Extension method
Auto implemented property
Collection initializer
Static method
View Answer
2. The __________ property of the System Exception class return the Exception instance that caused the current exception.
InnerException
StackTrace
Source
Message
View Answer
3. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
4. An EF is an ________ tool built for ADO.NET.
Programming
XML Reader
ORM
Windows
View Answer
5. Which of the following options is not a function of CLR in the .NET framework?
Language translation
Code Safety Verification
Memory Management
Garbage Collection
View Answer
6. Which access modifier makes the code only accessible within the same class?
public
abstract
protected
private
View Answer
7. How can you enable communication between threads while synchronizing the threads?
By using the ThreadPool class
By using synchronization events
None of them
By using the Task class
View Answer
8. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Queue
Stack
Array
ArrayList
View Answer
9. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
invoked
static
referenced
anonymous
View Answer
10. Which property can be used to find the length of a string?
length()
Length
textlength()
getlength()
View Answer