++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. The __________ object is responsible for transforming the data based on the algorithm of the symmetric encryption class.
NetworkStream
ICryptoTransform
CryptoStream
RijndaelManaged
View Answer
2. What is the correct way to create an object called myObj of MyClass?
new obj = new ();
class myobj = myclass();
all of these
myclass myobj = new myclass();
View Answer
3. Managing memory and verifying code safety are functionalities of ________.
Common Language Runtime
Common Type System
.Net Framework Class Library
Common Language Specification
View Answer
4. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
Entity SQL
LINQ
ADO.Net
EF API
View Answer
5. Managing memory and verifying code safety are functionalities of ____________
.NET Framework Class Library
Common Language Runtime
Common Type system
Common Language Specification
View Answer
6. In C#, _____________are created using delegates.
Threads
None of these
Events
Exceptions
View Answer
7. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
named
unnamed
anonymous
partial
View Answer
8. Which of the following code declares the delegate Calculation with the returns type and the parameter types as integer.
public delegate Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
View Answer
9. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
from
return
select
where
View Answer
10. The ____________ exception is thrown when a value is assigned to a null object.
NullReferenceException
ArithmeticException
IndexOutofBondException
OverflowException
View Answer