JEE TEST 1
JEE TEST 1
19 Boxing in .Net allows the a interger Reference type to Value type to a double type to
user to convert type to double value type reference type interger
20 Which of the following is Class Run-time Exceptions Compile-time
the necessary condition declaration Polymorphism Polymorphism
for implementing
delegates?
21 ________ method is the Start( ) Main( ) Paint( ) Dispose( )
Entry Point for a C#
program.
22 A _______ is an identifier Constant Reference type Variable Object
that denotes a storage
location
23 Full form of CLR Callable Common Language Common Length Common
Language Restrictions Runtime Language Runtime
Runtime
24 Arrays in C# are ______ Reference Logical Value Arithmetic
type objects
25 A C# Program is first MSIL C++ Binary C
converted to _________
code.
26 The methods that are in Method Method Overriding Method Overwriting Method
the same class, have the Overloading Overreading
same name, but different
parameters is called...
27 The methods that are in Method Method Overriding Method Overwriting Method
different classes, have the Overloading Overreading
same name and same
signature is called...
28 Which of the following is Normal JIT Econo-JIT Pre-JIT KM-JIT
NOT A type of JIT
Compiler?
29 When an instance method Abstract Instance method Sealed method Expression
declaration includes the method method
abstract modifier, the
method is said to be an
______.
30 C# treats the multiple If Switch For While
catch statements like
cases in a _____________
statement.
31 C# does not support Abstraction Polymorphism Multiple Inheritance Inheritance
________.
32 A variable which is Local Private Static Serial
declared inside a method
is called a ________
variable.
33 A delegate stores the Class Method Array Pointer
reference of a ________.
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
72 Which object is not a part Connection Command object DataAdapter object None
of .Net Data Provider ? object
73 Which method of ExecuteNonQ ExecuteReader ExecuteScalar None
Command class is used to uety
retrive data from source
to DataReader object ?
74 Which method of ExecuteScalar ExecuteNonQuery ExecuteReader None
command class is used to
retrive a single value from
DataBase?
75 It is used to exchange data DataReader DataAdapter Command object None
between dataset to
datasource
76 Fill method of DataReader DataSet DataAdapter None
DataAdapter is used to
fill_________.
77 Which method used to Fill() Release() Dispose() Close()
release the resource that
DataAdapter class uses ?
78 Which one is true for Points to a provides dose not support None
DataSet? single table disconnected data relation
environment
79 Which one is false for Virtual Multiple DataTables XML DataSet None
DataSet database
80 DataSet generate new Typed DataSet Untyped DataSet XML DataSet None
class is based on XML is
known as ________ .
81 Which one is not true DataReader is DataReader can't It has live Provides
about DataReader connected persist data connection while Disconnected
architecture reading data Environment
82 _______ is the default Click Load KeyPress DoubleClick
event of Form control.
83 We can use ________ Name Id Text Tag
property of Form control
to change the title.
84 _______ is default event SelectedIndex SelectedValueChang SelectionIndexChan SelectionChangeC
of ComboBox. Changed ed ged ommitted
85 _______ is default event Load Click TextEntered TextChanged
of TextBox.
86 Which component is used DataReader DataAdapter DataSet None
in Connected Architecture
?
87 Which component is used DataReader DataSet DataScalar None
in DisConnected
Architecture ?
88 With the use of Item Items Value Values
_________ property we
can insert options in
combobox.
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
122 Features of readonly It is allocated Declaration and It is initialized at run all of these
variables at compile initialization can be time
time separated
123 An Event has _____ as No return Double Integer String
default return type type for
events
124 int keyword targets to System.Int8 System.Int16 System.Int32 System.Int64
which .Net type?
125 Which of the following is Ok OkCancel None YesNo
NOT the
MessageBoxButtons
enumeration value.
126 ………….. class is built into Msgbox MessageBox InputBox DisplayBox
the .Net Framework to
display messages and
accept input from the
user.
127 ……………. event occurs Keydown Keypress Keyup KeyEnter
when a key is pressed
while the form has the
focus.
128 If a class is using an inherit the contain the same a and b None of above
interface, it must properties of method definitions
the interface as the interface
129 ____________ class TreeNodes TreeView Collection TreeNodeCollectio
represents a collection of n
TreeNode objects.
130 The Windows ContextMenu TreeView Splitter ToolStrip
Forms__________control Strip
displays a hierarchy of
nodes, like the way files
and folders are displayed
in the left pane of the
Windows Explorer feature
in Windows operating
systems.
131 ______ class represents a None TreeNodes TreeNodeCollection None of above
node of a TreeView.
132 The Windows Forms Spitter Timer Delegate None of above
__________ is a
component that raises an
event at regular intervals.
133 The __________ control ContextMenu ToolStrip ToolStripTextBox None of above
provides a shortcut menu Strip
that you associate with a
control.
134 ContextMenuStrip ContextMenu Menu MenuStrip ToolStrip
replaces _______.
135 Two methods with the Overloading Multiplexing Duplexing Loading
same name but with
different parameters.
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
136 The RangeValidator Integer only Date, Integer and only string Date and Integer
control supports the String
following data types
137 Which keyword is used to This static base extend
refer baseclass
constructor to subclass
constructor?
138 In Inheritance concept, static protected private shared
which of the following
members of base class are
accessible to derived class
members?
139 Which keyword is used for interface intf This base
correct implementation of
an interface in C#.NET?
140 Can you store multiple No Yes None of above Can't say
data types in
System.Array?
141 Difference between Convert.ToStri ToString() output as Convert.ToString() ToString() handles
Convert.ToString() and ng() handles per format supplied only handles null null values but
ToString() null values but values Convert.ToString()
ToString() doesn't
doesn't
142 Different ways a method Different Different number of Different order of a and b
can be overloaded in parameter parameters parameters
C#.NET data types
143 Sealed Classes cannot be a TRUE FALSE None of above Can't say
base class.
144 What is accessibility It is available It is the least It is the most It is available
modifier "protected to classes that permissive access permissive access within the class
internal"? are within the level level definition
same
assembly or
derived from
the specified
base class.
145 Unboxing in .Net allows a interger a reference type to a value type to a a double type to
the user to convert type to double a value type reference type interger
146 __________object is used DataReader Dataset DataAdapter DataTables
to fill a DataSet/DataTable
with query results in
ADO.net.
147 We can add control on the Design Time & Properties & Both None of above
form using ___________ Run Time Methods
and __________
148 Using _______ property Text Name Index None of above
we can set the sequence
of the TAB key for the
controls
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
149 SDI Stands for Single Structure Document Single Data None of above
Document Interface Integration
Interface
150 MDI Stands for Master Data Multiple Document Multiple Data Multiple Data
Integration Interface Integration Integrity
151 MDF Stands for Master Master Data Folder Master Data File None of above
Database File
152 ___________ method is Checked Text Both None of above
default event of checkbox
153 List Box is collection of Nodes Text Items None of above
__________
154 _____________ are best ListBox ComboBox TextBox CheckBox
use for displaying large
number of choices.
155 To open any dialog control ShowDialog() Show() Shows() None of above
we need to call
______________ method.
156 TreeView is a collection of Items root Node None of above
___________.
157 The main starting node is child node root node parent node focus node
called _____________
node in Treeview.
158 ___________ displaying ListBox ComboBox TextBox None of above
data in a drop-down style
format.
159 ___________ control SaveFileDialog openFileDialog DataAdapter None of above
allow us to save the file in
a specified location.
160 To raise event of Timer Enable Interval Disable None of above
control we need to set
___________ property.
161 Full form of MSIL Microsoft Microsoft Microsoft None of above
Integrated Interconnect Intermediate
Language Language Language
162 Full form of JIT Just In Time Just In Tick Both None of above
163 GC Stands For Garbage Garbage Collect Garbage Collection None of above
Collector
164 DLL Stands For Dynamic Dynamic Link Library Deploy Link Library None of above
Language
Library
165 BCL Stand For Base Class Base Class Library Blank Class Library None of above
Language
166 FCL Stands For Framework Framework Class Both None of above
Class Library Language
167 JIT converts MSIL to Native Native machine Both None of above
______________ into machine code code to MSIL
______________
168 The major components of CLR & CLS CLR & CTS CLR & Class Library None of above
.NET framework are
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
___________ and
__________
169 Data Reader is used in Disconnected Connected Both None of above
___________
Architecture.
170 Using keyword is used to class method namespace None of above
imports ______________
171 ExecuteReader method is Disconnected Connected Both None of above
used in which
Architecture.
172 VS.NET is an example of TRUE FALSE Can't Say None of above
programming language.
173 IDE Stands for Integrity Integrated Integrated Develop None of above
Develop Development Enviornment
Envioenment Enviornment
174 XML Stands for Extensible Xtensible Markup Extensible managed None of above
Markup Language Language
Language
175 Every C# statement ends : ; , None of above
with ___________
176 C# is the case sensitive TRUE FALSE Can't Say None of above
language __________
177 Extension of C# program is .aspx .asax .sln .cs
___________
178 There are two types of Data Type Data Type Name & Class Name & None of above
scope of the variable Name & Class Name Function Name
_________ and Variable
_____________. Name
179 The conversion of a value Boxing Unboxing Both None of above
type instance to an object
is known as ___________
180 Decision statement is also Behavioral , Conditional , Both None of above
known as ____________ , Decision , Decision making ,
_____________ or Conditional Branching
____________. Statement
181 ____________ error is Runtime , Logical , Syntax , Syntax , Logical , None of above
easy to trap , _________ Syntax , Runtime Runtime
error is difficult to trap Logical
and _________ error is
trap with structured
exception handling.
182 Class is a collection of Data member Data function & Data member & None of above
_________ and & functions constructor Constructor
_____________.
183 Method overloading is an RunTime Compile Time Can't Say None of above
example of ___________ Polymorphism Polymorphism
polymorphism.
184 There are ___________ 2 3 4 5
type of properties.
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
239 ___________ project type Console Windows Forms Class Library ASP.NET Web
allows to create GUI based Forms
Windows applications.
240 A method having same Method Sealed Method Method Overriding Abstract Method
name, same parameters Overloading
but different classes with
inheritance relationship is
known as ________.
241 A __________ method can Virtual Sealed Abstract None
be overridden by the child
class.
242 _____________ can not DataReader DataAdapter DataSet DataColumn
persist the data.
243 ___________ project type Console Windows Forms Class Library ASP.NET Web
allows to create Forms
Command-line based
applications.
244 Console class in C# is a System System.Windows.Fo System.Data Microsoft
part of _________ rms
namespace.
245 An object of ___________ Public Internal Abstract Virtual
class cannot be created.
246 _________ is used to DataGridView DataTable Panel GroupBox
disply the data in tabular
format.
247 ___________ is a virtual DataRow DataColumn DataSet DataAdapter
database that is stored
locally.
248 ___________ method Sealed Virtual Public Protected
cannot be overridden by
the child class
249 _____ symbol is used = - + :
when inheriting a class
SUB : PROGRAMMING WITH C# MULTIPLE CHOICE QUESTION
1 2 11 3 21 2 31 3 41 2
2 4 12 2 22 3 32 1 42 1
3 3 13 1 23 4 33 2 43 4
4 1 14 1 24 1 34 2 44 3
5 3 15 1 25 1 35 2 45 1
6 1 16 1 26 1 36 3 46 1
7 2 17 2 27 2 37 4 47 2
8 2 18 1 28 4 38 3 48 3
9 2 19 3 29 1 39 1 49 2
10 2 20 1 30 2 40 3 50 1
51 2 61 1 71 1 81 4 91 4
52 4 62 4 72 4 82 2 92 1
53 1 63 2 73 2 83 3 93 4
54 1 64 4 74 1 84 1 94 1
55 2 65 3 75 2 85 4 95 1
56 4 66 4 76 3 86 1 96 1
57 4 67 4 77 3 87 2 97 2
58 1 68 4 78 2 88 2 98 1
59 4 69 1 79 3 89 1 99 1
60 1 70 3 80 1 90 1 100 4