Telco Infotech Previous Years Solved Sample Placement Papers
-
In which form does Postback occur?
A: Win Forms
B: HTML Forms
C: Web Forms
D: All
Ans: CExplanation: The Postback occurs in Web Forms.
-
What is the correct use of the web.config file?
A: To store global information and variable definitions
B: To configure the domain server
C: To configure the domain client
D: Store information about web browser
Ans: AExplanation: The web.config file is used to store global information and variable definitions.
-
Is ASP.NET web form supports an event-driven application model?
A: True
B: False
Ans: AExplanation: The ASP.NET web supports an event-driven application model.
-
MVC stands for ____.
A: Model Vocal Controller
B: Model View Count
C: Model View Controller
D: Mode View Controller
Ans: CExplanation: The MVC stands for Model View Controller.
-
What namespace is used for ASP.NET Web Form by default?
A: System.Web.Form
B: System.Web.UI.Page
C: System.Web.GUI.Page
D: System.Web.UI.Form
Ans: DExplanation: The System.Web.UI.Form namespace is used for ASP.NET web form by default.
- Which condition indicates queue is empty
a) front=null
b) rear=N
c) front=rear
d) both a and b
Answer: c) front=rear - Which condition indicates only one element in queue
a) front=null
b) rear=N
c) front=rare
d) rear=N-1
Answer: c) front=rare - Inheritance occurs when a class adopts all the traits of ________
A) an object
B) a parent class
C) a variable
D) a function
Ans: B) a parent class - Encapsulation means____________
A) Binding of data and code together
B) To inherit properties of base class
C) To reduce code length
D) To define global variable
Ans: A) Binding of data and code together - To derive new class from existing class is known as ________
A) Inheritance
B) Polymorphism
C) Object
D) None of these
Ans: A) Inheritance - Which of the following statement is correct?
A) Class is an instance of object.
B) Object is an instance of a class.
C) Class is an instance of data type.
D) Object is an instance of data type
Ans: B) Object is an instance of a class. - An object consists of -----
A) State
B) Behavior
C) Both A and B
D) None of these
Ans: C) Both A and B - Which of the following provides a reuse mechanism?
A) Inheritance
B) Polymorphism
C) Abstraction
D) Encapsulation
Ans: A) Inheritance - Which of the following is correct about class and structure?
A) Class can have member functions while structure cannot
B) Class data members are public by default while that of structure are private
C) Pointer to structure or classes cannot be declared.
D) Class data members are private by default while that of structure are public by default.
Ans: D) Class data members are private by default while that of structure are public by default. - The major goal of inheritance in c++ is:
A) To facilitate the conversion of data types.
B) To help modular programming.
C) To extend the capabilities of a class.
D) To hide the details of base class.
Ans: C) To extend the capabilities of a class. - Class is __________
A) Built in data type
B) User defined data type
C) Both a& b
D) None of these
Ans: B) User defined data type -
What would be the Prefix notation for the given equation?
A+(B*C)
(a) +A*CB
(b) *B+AC
(c) +A*BC
(d) *A+CB
Answer: (c)
Explanation: Reverse the equation or scan from right to left. Apply the infix-to-postfix algorithm. Inside the brackets, the result isCB*
, and outside the brackets, it isA+
. Reversing gives+A*BC
.