++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. Which of the following options is not a function of CLR in the .NET framework?
Code Safety Verification
Garbage Collection
Language translation
Memory Management
View Answer
2. Which property can be used to find the length of a string?
length()
Length
getlength()
textlength()
View Answer
3. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
ICryptoTransform
RijndaelManaged
CryptoStream
NetworkStream
View Answer
4. 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 queue
None of them
Provide a threads-safe implementation of a stack
View Answer
5. Which operator can be used to compare two values?
==
=
<>
<=
View Answer
6. The validity of a cache item is based on the _________.
Cache directory
Cache system
Memory used
Cache dependencies
View Answer
7. Managing memory and verifying code safety are functionalities of ____________
Common Type system
.NET Framework Class Library
Common Language Specification
Common Language Runtime
View Answer
8. Which interface supports simple iteration over elements of a generic collection.
ICollection
IEnumerator
IList
IDictionary
View Answer
9. In C#, _____________are created using delegates.
Exceptions
Threads
None of these
Events
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