+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. Which access modifier makes the code only accessible within the same class?
protected
private
abstract
public
View Answer
2. Which version of C# is use in visual studio 2019
6.0
5.0
8.0
7.0
View Answer
3. Which property can be used to find the length of a string?
Length
textlength()
getlength()
length()
View Answer
4. Which data type is used to create a variable that should store text?
Boolean
int
String
float
View Answer
5. Restrictions or Constraints=s can be applied to type parameters by using _______ keyword.
from
where
return
select
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);
delegate Calculation (int numOne, int numTwo);
delegate int Calculation (int numOne, int numTwo);
public delegate Calculation(int numOne, int numTwo);
View Answer
7. Managing memory and verifying code safety are functionalities of ________.
Common Language Runtime
Common Language Specification
Common Type System
.Net Framework Class Library
View Answer
8. Which of these indicates whether sliding expiration is enables?
Absolute Expiration
Cache Policy
Sliding Expiration
None of them
View Answer
9. The _______ types feature facilitates the definition of classes, structures, and interfaces over multiple files.
Partial
All of them
unnamed
Anonymous
View Answer
10. The default capacity of ArrayList is ________.
16
12
8
32
View Answer