+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 access modifier makes the code only accessible within the same class?
protected
private
public
abstract
View Answer
2. The default capacity of ArrayList is ________.
8
32
12
16
View Answer
3. EF queries are converted to ______ queries for underlying databases.
XML
Reference
SQL
API
View Answer
4. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
unnamed
All of them
Anonymous
Partial
View Answer
5. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
6. In C#, _____________are created using delegates.
Events
Exceptions
None of these
Threads
View Answer
7. Which interface supports simple iteration over elements of a generic collection.
ICollection
IEnumerator
IDictionary
IList
View Answer
8. In ____________the this keyword is required before the first argument.
Static method
Collection initializer
Extension method
Auto implemented property
View Answer
9. The ____________ exception is thrown when a value is assigned to a null object.
ArithmeticException
IndexOutofBondException
OverflowException
NullReferenceException
View Answer
10. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Message
Source
StackTrace
InnerException
View Answer