+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 operator can be used to compare two values?
=
<=
<>
==
View Answer
2. How can you enable communication between threads while synchronizing the threads?
By using the ThreadPool class
By using synchronization events
None of them
By using the Task class
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
referenced
static
anonymous
View Answer
4. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
Partial
unnamed
Anonymous
View Answer
5. Which property can be used to find the length of a string?
length()
getlength()
Length
textlength()
View Answer
6. 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
7. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
select
from
return
where
View Answer
8. Which interface supports simple iteration over elements of a generic collection.
IDictionary
IEnumerator
ICollection
IList
View Answer
9. An________ method is an inline nameless block of code that can be passed as a delegate parameter.
anonymous
unnamed
named
partial
View Answer
10. 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 Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer