+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.
public delegate Calculation(int numOne, int numTwo);
public delegate int Calculation(int numOne, int numTwo);
delegate Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
View Answer
2. Which data type is used to create a variable that should store text?
int
String
Boolean
float
View Answer
3. Managing memory and verifying code safety are functionalities of ________.
Common Language Specification
.Net Framework Class Library
Common Type System
Common Language Runtime
View Answer
4. Which interface supports simple iteration over elements of a generic collection.
IEnumerator
ICollection
IList
IDictionary
View Answer
5. 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
6. _________ is one of the most powerful features that was first introduced in .NET framework 3.5.
EF API
LINQ
ADO.Net
Entity SQL
View Answer
7. EF queries are converted to ______ queries for underlying databases.
API
XML
SQL
Reference
View Answer
8. CLR stands for___________
C# Language Runtime
Common Language Runtime
Common Layer Runtime
Common Language Repository
View Answer
9. Which version of C# is use in visual studio 2019
7.0
6.0
8.0
5.0
View Answer
10. Which of these indicates whether sliding expiration is enables?
Absolute Expiration
Cache Policy
Sliding Expiration
None of them
View Answer