+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. Which version of C# is use in visual studio 2019
7.0
5.0
6.0
8.0
View Answer
2. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Stack
Queue
ArrayList
Array
View Answer
3. How can you enable communication between threads while synchronizing the threads?
By using the Thread Pool class
By using Task Class
None of them
By using synchronization events
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);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
5. The default capacity of ArrayList is ________.
16
12
32
8
View Answer
6. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
InnerException
StackTrace
Message
View Answer
7. Which interface supports simple iteration over elements of a generic collection.
ICollection
IDictionary
IList
IEnumerator
View Answer
8. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
invoked
referenced
static
anonymous
View Answer
9. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
user-defined
system-level
system-defined
application-Level
View Answer
10. In C#, _____________are created using delegates.
Events
Exceptions
None of these
Threads
View Answer