+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
8.0
6.0
View Answer
2. The ____________ exception is thrown when a value is assigned to a null object.
NullReferenceException
IndexOutofBondException
ArithmeticException
OverflowException
View Answer
3. Which of these indicates whether sliding expiration is enables?
None of them
Cache Policy
Sliding Expiration
Absolute Expiration
View Answer
4. What is the correct way to create an object called myObj of MyClass?
all of these
class myobj = myclass();
myclass myobj = new myclass();
new obj = new ();
View Answer
5. Which data type is used to create a variable that should store text?
String
Boolean
float
int
View Answer
6. 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 Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
7. Which access modifier makes the code only accessible within the same class?
protected
private
abstract
public
View Answer
8. Which interface defines methods to control different generic collections.
IDictionary
IEnumerator
All of them
ICollections
View Answer
9. The default capacity of ArrayList is ________.
32
16
12
8
View Answer
10. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
LINQ
EF API
Entity SQL
ADO.Net
View Answer