+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. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a dictionary of key value pairs
Provide a threads-safe implementation of a queue
None of them
View Answer
2. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
LINQ
ADO.Net
Entity SQL
EF API
View Answer
3. How can you enable communication between threads while synchronizing the threads?
By using the Task class
By using synchronization events
By using the ThreadPool class
None of them
View Answer
4. The validity of a cache item is based on the _________.
Cache system
Cache directory
Memory used
Cache dependencies
View Answer
5. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
NetworkStream
RijndaelManaged
CryptoStream
ICryptoTransform
View Answer
6. Which version of C# is use in visual studio 2019
7.0
5.0
6.0
8.0
View Answer
7. In C#, _____________are created using delegates.
Events
Exceptions
Threads
None of these
View Answer
8. 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
9. Which operator can be used to compare two values?
<=
=
==
<>
View Answer
10. 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);
public delegate Calculation(int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer