++92 313 8389893
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. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
partial
named
unnamed
anonymous
View Answer
2. Which data type is used to create a variable that should store text?
int
Boolean
float
String
View Answer
3. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
all of these
new obj = new ();
class myobj = myclass();
View Answer
4. Which of these indicates whether sliding expiration is enables?
Sliding Expiration
Absolute Expiration
Cache Policy
None of them
View Answer
5. EF queries are converted to ______ queries for underlying databases.
Reference
XML
API
SQL
View Answer
6. Which version of C# is use in visual studio 2019
5.0
6.0
7.0
8.0
View Answer
7. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Language Runtime (CLR)
Base Framework Classes
Dynamic Language Runtime(DLR)
Common Type System(CTS)
View Answer
8. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
user-defined
system-defined
application-Level
system-level
View Answer
9. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
anonymous
static
invoked
referenced
View Answer
10. In ____________the this keyword is required before the first argument.
Collection initializer
Auto implemented property
Static method
Extension method
View Answer