+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
Softwares
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. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a queue
None of them
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer
2. 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 Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
3. Which of the following options is not a function of CLR in the .NET framework?
Code Safety Verification
Memory Management
Garbage Collection
Language translation
View Answer
4. In C#, _____________are created using delegates.
Threads
Events
Exceptions
None of these
View Answer
5. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
unnamed
partial
named
anonymous
View Answer
6. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
application-Level
system-level
user-defined
system-defined
View Answer
7. The validity of a cache item is based on the _________.
Cache directory
Cache system
Cache dependencies
Memory used
View Answer
8. In ____________the this keyword is required before the first argument.
Extension method
Static method
Collection initializer
Auto implemented property
View Answer
9. Which operator can be used to compare two values?
<>
==
<=
=
View Answer
10. EF queries are converted to ______ queries for underlying databases.
Reference
SQL
XML
API
View Answer