++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. Managing memory and verifying code safety are functionalities of ____________
Common Language Runtime
Common Type system
Common Language Specification
.NET Framework Class Library
View Answer
2. How can you enable communication between threads while synchronizing the threads?
By using the Task class
None of them
By using synchronization events
By using the ThreadPool class
View Answer
3. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
Anonymous
unnamed
Partial
View Answer
4. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
new obj = new ();
all of these
class myobj = myclass();
View Answer
5. In C#, _____________are created using delegates.
Events
Exceptions
Threads
None of these
View Answer
6. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a queue
None of them
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer
7. Which property can be used to find the length of a string?
Length
getlength()
length()
textlength()
View Answer
8. Which operator can be used to compare two values?
<>
=
==
<=
View Answer
9. Which interface defines methods to control different generic collections.
IDictionary
All of them
IEnumerator
ICollections
View Answer
10. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Common Language Runtime (CLR)
Dynamic Language Runtime(DLR)
Common Type System(CTS)
Base Framework Classes
View Answer