+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. Which property can be used to find the length of a string?
length()
Length
textlength()
getlength()
View Answer
2. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
Anonymous
Partial
unnamed
All of them
View Answer
3. Which interface supports simple iteration over elements of a generic collection.
IEnumerator
ICollection
IList
IDictionary
View Answer
4. The __________ property of the System Exception class return the Exception instance that caused the current exception.
Source
StackTrace
Message
InnerException
View Answer
5. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
static
referenced
anonymous
invoked
View Answer
6. Which of the following options is not a function of CLR in the .NET framework?
Language translation
Memory Management
Code Safety Verification
Garbage Collection
View Answer
7. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using the Task class
None of them
By using the ThreadPool class
View Answer
8. What is the correct way to create an object called myObj of MyClass?
new obj = new ();
all of these
myclass myobj = new myclass();
class myobj = myclass();
View Answer
9. What is the process of the concurrentDictionary
class?
Provide a threads-safe implementation of a dictionary of key value pairs
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a queue
None of them
View Answer
10. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
NetworkStream
CryptoStream
ICryptoTransform
RijndaelManaged
View Answer