+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. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
from
return
select
where
View Answer
2. 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 int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
3. Managing memory and verifying code safety are functionalities of ________.
.Net Framework Class Library
Common Language Runtime
Common Language Specification
Common Type System
View Answer
4. The default capacity of ArrayList is ________.
12
8
32
16
View Answer
5. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
All of them
Anonymous
Partial
unnamed
View Answer
6. Which version of C# is use in visual studio 2019
7.0
5.0
8.0
6.0
View Answer
7. Which access modifier makes the code only accessible within the same class?
public
abstract
private
protected
View Answer
8. Exception thrown due to arithmetic operations or null object reference are ________ exceptions.
system-level
system-defined
user-defined
application-Level
View Answer
9. In ____________the this keyword is required before the first argument.
Static method
Auto implemented property
Extension method
Collection initializer
View Answer
10. How can you enable communication between threads while synchronizing the threads?
By using the Task class
By using synchronization events
By using the ThreadPool class
None of them
View Answer