+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
Softwares
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. In ____________the this keyword is required before the first argument.
Auto implemented property
Static method
Extension method
Collection initializer
View Answer
2. A _____________ class is a variable-length array that can dynamically increase or decrease in size.
ArrayList
Queue
Array
Stack
View Answer
3. Managing memory and verifying code safety are functionalities of ________.
Common Type System
Common Language Specification
.Net Framework Class Library
Common Language Runtime
View Answer
4. The validity of a cache item is based on the _________.
Memory used
Cache directory
Cache dependencies
Cache system
View Answer
5. The default capacity of ArrayList is ________.
12
8
16
32
View Answer
6. 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);
public delegate Calculation(int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
View Answer
7. The __________ property of the System Exception class return the Exception instance that caused the current exception.
InnerException
StackTrace
Source
Message
View Answer
8. 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
9. Which data type is used to create a variable that should store text?
float
String
int
Boolean
View Answer
10. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
return
where
from
select
View Answer