+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.
NullReferenceException
OverflowException
IndexOutofBondException
ArithmeticException
View Answer
2. Which of these indicates whether sliding expiration is enables?
Absolute Expiration
Cache Policy
Sliding Expiration
None of them
View Answer
3. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
system-defined
system-level
user-defined
application-Level
View Answer
4. Which access modifier makes the code only accessible within the same class?
protected
private
public
abstract
View Answer
5. 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 int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
6. The __________ method is used to add the dependent cache item.
Cache.Remove()
Cache.Add()
Cache.Insert()
Chache.Save()
View Answer
7. Which property can be used to find the length of a string?
Length
length()
textlength()
getlength()
View Answer
8. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
from
select
where
View Answer
9. An EF is an ________ tool built for ADO.NET.
ORM
XML Reader
Windows
Programming
View Answer
10. Managing memory and verifying code safety are functionalities of ____________
Common Type system
.NET Framework Class Library
Common Language Runtime
Common Language Specification
View Answer