Questionaire
Questionaire
Questions
c)6
1 d)24
c) Int
2 d) Unsigned Int
c)6
4 d)12
5 The Default value of Boolean Data Type is?
b) Constants
6 c) Variable
b) 2
7 c) Any number
8 What is the return type of constructors?
b) class
a) int
9 c) constructor
c) private
10 d) public
c) lengthof
11 d) length
b) Polymorphism
12 c) Abstraction
b) Sealed class
13 c) Abstract class
c) Structures
14 d) Events
b) Method overriding
15 c) Encapsulation
16 What are C# attributes ?
17 Four Pillars of OOPS ?
c)Abstraction,Singleton,Inheritance,Polymorphism
d)All of the above.
18 Multiple inheritances are possible with the classes?
a)Yes
b)No
19 Can interface contain both declaration and defination part?
a)Yes
b)No
C)Break
20 D)Continue
c)Sealed Method
21 d)Expression Method
A)Yes
22 B)NO
d)system
23 e)event
24 What is "this" pointer ?
c)Points to the object for which the method is called.
d)All Of the Above
A)Yes
25 B)NO
A)Yes
26 B)NO
27 Abstract class must have only abstract methods. Is it true or false?
A)True
B)False
28 Explain life cycle of an ASP page.
c)PreInit, Init, InitComplete, OnPreLoad, Load, PostBack, LoadComplete, OnPreRender, OnSaveStateComplete, Render, a
d)None Of the Above
29 How do you identify that the page is PostBack?
b)By Checking IsPostBack Property.
4 Bytes
FALSE
Variables
c)Any Number.
d) none of the mentioned
c)Constructor
c)Private
d)length
b)Polymorphism
c)Abstract class
c)Structures
a) Method overloading
C# provides developers a way to define declarative tags on certain entities,
eg. Class, method, etc. are called attributes
b)Abstraction,Encapsulation,Inheritance,Polymorphism
b)No .
b)No .
D)Continue
a)Abstract Method
A)Yes
c)Exception
B)False
c)PreInit, Init, InitComplete, OnPreLoad, Load, PostBack, LoadComplete, OnPreRender, OnSaveStateComplete, Render, and UnLoad
d)System.Web.UI.Control
StateComplete, Render, and UnLoad
ASP.Net Questions
b)WebForms
1 c)WinForms
b)Page_Load()
3 c)Page_Click()
c) System.Web.GUI.Page
4 d) System.Web.Form
c)ViewState
5 d)All the above
c) Both a and b
6 d)none of the above
c)Regular Expressions
7 d)Irregular Expressions
a)Yes
8 b)No
c)5
9 d)10
c)SMTP
10 d)None of the above.
c)Dummy cookies
11 d)Options A and B are correct
c)Improved performance
13 d)All of the above
c)IsValid
14 d)IsPostBack
c)Forms Authentication.
15 d)All of the above.
c)Page Class
16 d)Browser Class
c).asdx
18 d).asmx
c)Smtp
19 d)Http
c)WebApplication
20 d)Browser
c)Character
21 d)Date
c).asdx
22 d).asmx
c)System.document
23 d)None of Above
c)Page_Loadcompelete()
24 d)Page_Unload()
b)Out-of-Process
25 c)In-Process
c)Fragment Caching
28 d)None of above
Answer
b)WebForms
b)To store the global information and variable definitions for the application
a)Page_Init()
a) System.Web.UI.Page
c)Both a and b
c)Regular Expressions
a)Yes
a)1
a)HTTP
d)IsPostBack
c)Page Class
b).aspx
d)Http
a)FrameWork
c)Character
d).asmx
b)System.Resources
d)Page_Unload()
a)In-Out-Process
c)Fragment Caching
Ado .net
7 Ado.Net connection object us used to establish connecton betweena)Application and databaseb)Application and data
c)Thread.Abort()
8 d)Threads.Abort()
c)State
9 d)Connectionstate
c)Execute Scalar
10 d)Execute Reader
c)30 Seconds
11 d)40 Seconds
c) Both a and b
13 d) None
c)Data Record
14 d)DataRow
c)GetXML()
15 d)ViewXML()
c)PHP
16 d)Javascript
d)Params
17
c)Catalog Initial
19 d)Database
c)Disconnected data access
20 d)All the above
c)ActiveDataObjectNetwork
23 d)AccessDataObjectsNetwork
c)Execute Reader
24 d)ExecuteQuery
c)QueryDataAdapter
25 d)All the above
Answers
b)DataSet
c)Thread.Abort()
c)State
c)Execute Scalar
c)30 Seconds
c) Both a and b
c)Data Record
b)ReadXML()
a)XML
d)Params
b)Initial Catalog
d) All the above
a)Zero
b)Object
d)ExecuteQuery
c)QueryDataAdapter
JavaScript
C. Local
4 D. Native
C. Accept parameters
6 D. None of the above
C. FirstAndLast
7 D. None of the above
C. <HEAD>
8 D. <TITLE>
C. document.write("Hello World")
10 D. response.write("Hello World")
C. <script>
11 D. <javascript>
C. Switch
14 D. For
A. True
16 B. False
A. False
18 B. True
C. 7
19 D. 78
C. ParseFloat
20 D. Efloat
c. XMLHttpRequest
21 d. All of the mentioned
c. Referenced
22 d. Inline
C. Close(val)
23 D. Close()
C. Slice
24 D. Splice
C. Preprocessor
25 D. Triggering Event
C. High-level
26 D. Assembly-language
C. Data types
27 D. Declaration statements
C. main
29 D. function
C. goto statement
30 D. break statement
C. page.refresh
31 D. window.reload
Answers
B. Navigator
A. Client-side
A. The </script>
C. Accept parameters
A. 2names
A. <SCRIPT>
C. document.write("Hello World")
C. <script>
B. If
A. True
A. False
D. 78
A. Eval
c. XMLHttpRequest
d. Inline
D. Close()
D. Splice
B. Function/Method
B. Object-Based
D. Declaration statements
D. function
B. return statement
A. location.reload
1 c)Commonly
What are theimplemented
advantages UI
of related
jQuery? functionalities are written using minimal lines of codes
d)All of the above.
2 a)jQuery
Does jQuery work
works onlyfor
for both
HTMLHTML and XML documents?
documents.
b)jQuery works only for XML documents.
3 c)The
What is themethod
css() use of css() method
is used in jQuery?
to change text of the selected element.
d)All of the above.
4 c)Used
What istothe significance
count number ofof jQuery.length?
the elements of the jQuery object.
d)None of the above.
5 c)Both
What isa jQuery
& b are click
true. event?
d)Both a & b are false.
6 c)Class
How many types of selectors in jQuery?
d)All of the above.
7 c)Using
Explain add(),remove(),toggle().
how CSS classes can be manipulated in HTML using jQuery?
d)All of the above.
8 c)jQuery.getJSON()
Which are pre-built AJAX requests given by jQuery?
d)All of the above.
9 c)Both
Can youa &tell the false.
b are difference between prop() and attr()s?
d)Both a & b are true.
10 c)jQuery.noConflict()
Which method is used for parsing JSON text?
d)jQuery.done()
11 c)$(“div”).layout(“background-color”,“red”);
Select the correct jQuery code to set the background color of all div elements to red?
d)$(“div”).css(“background-color”,“red”);
12 c)All
Whatspan
doeselements
the following selector select? $("span.first").
with class=“first”
d)All span elements with id=“first”
13 c)jQuery.ajaxSetup()
Which method is used to perform an asynchronous HTTP request?
d)jQuery.ajaxAsync()
14 Select the correct jQuery code for making all div elements 100 px high?
c)$("div").yPos(100)
d)$("<div>").height=“100”
15 c)toggleClass()
Which method is used to switch between adding/removing one or more classes (for CSS) from selec
d)switch()
16 c)All
Whatpdoes the following
elements selector
inside a div elementselect $("div p")?
d)None of the above
17 c)All
Whatelements
does thecontaining
followingthe
selector select $(":disabled")?
text “disabled”
d)All disabled input elements
18 c)Only
Can theproperties
animate()containing
method be used values
numeric to animate ANY CSS property?
d)All properties except the shorthand properties
19 c)jQuery.foobar()
$.foobar() is equivalent to which of the following below??
d)None of the above
// Some code.
20 c)Both
}); A and B
d)Neither A nor B
21 c)Removing
Query.noConflict(true) is usedfrom
all jQuery variables to for?
the global scope
d)All of the above
$('#mainList').find('li')
22 c)Chaining
.width(1000).addClass('selectedElement');
d)Animating
23 c)They
Select the correct
allow options
to remove relating
the odd to the
or even :odd and
elements :even filters?
appropriately.
d)None of the above
24 c)$(‘span.grey:first’)
Which of the following code fetches the first span on the page, which has the class ‘grey’?
d)None of the above
25 c)slowdown()
What function is used to stop your jQuery for a few milliseconds?
d)pause()
B. the ? Sign
26 C. the $ sign
27 A.
With
All jQuery, look at the following selector: $("div"). What does it select?
div elements
B. The first div element
29 C.
Which jQuery method should be used to deal with name conflicts?
nameConflict()
D. conflict()
30 C.
Which of is
/* This these is NOT a valid comment in JavaScript?
a comment
D. <!-- This is a comment.
31 C.
jQuery's main focus is..
Animations
D. All of the above
32 C.
You can attach a handler to an event using which method?
attach
D. eventAttach
33 c)
The speed options can be applied to which jQuery functions?
toggleCss
d) All of the above
d)All of the above.
b)The css() method is used to change style property of the selected element.
a)Using addClass(),removeClass(),toggleClass().
b)jQuery.parseJSON()
elements to red?
d)$(“div”).css(“background-color”,“red”);
b)jQuery.ajax()
a)$("div").height(100)
c)jQuery.foobar()
c)Chaining
b)delay()
C. the $ sign
D. conflict()
C. /* This is a comment
B. bind