+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?
getlength()
Length
textlength()
length()
View Answer
2. Which of following components of the .NET framework enable interoperability of dynamic with the .NET Framework?
Dynamic Language Runtime(DLR)
Common Language Runtime (CLR)
Base Framework Classes
Common Type System(CTS)
View Answer
3. Delegates ensure type safety as the return and parameter types of the delegate are the same as that of the _______ method.
invoked
anonymous
static
referenced
View Answer
4. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
select
from
where
View Answer
5. What is the correct way to create an object called myObj of MyClass?
myclass myobj = new myclass();
all of these
class myobj = myclass();
new obj = new ();
View Answer
6. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using Task Class
By using the Thread Pool class
None of them
View Answer
7. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
ArrayList
Queue
Stack
Array
View Answer
8. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate int Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
9. Managing memory and verifying code safety are functionalities of ____________
Common Language Runtime
.NET Framework Class Library
Common Language Specification
Common Type system
View Answer
10. What is the process of the concurrentDictionary
class?
None of them
Provide a threads-safe implementation of a stack
Provide a threads-safe implementation of a queue
Provide a threads-safe implementation of a dictionary of key value pairs
View Answer