+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 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);
delegate Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
2. Managing memory and verifying code safety are functionalities of ________.
Common Type System
Common Language Runtime
.Net Framework Class Library
Common Language Specification
View Answer
3. Which operator can be used to compare two values?
<>
=
==
<=
View Answer
4. How can you enable communication between threads while synchronizing the threads?
By using synchronization events
By using the ThreadPool class
None of them
By using the Task class
View Answer
5. The ____________ exception is thrown when a value is assigned to a null object.
OverflowException
ArithmeticException
NullReferenceException
IndexOutofBondException
View Answer
6. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
where
select
from
View Answer
7. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
Array
ArrayList
Stack
Queue
View Answer
8. How can you enable communication between threads while synchronizing the threads?
By using the Thread Pool class
None of them
By using Task Class
By using synchronization events
View Answer
9. Which interface defines methods to control different generic collections.
IEnumerator
IDictionary
ICollections
All of them
View Answer
10. Which of the following options is not a function of CLR in the .NET framework?
Code Safety Verification
Language translation
Memory Management
Garbage Collection
View Answer