Deck 1: .Net Framework and ASP.net Programming: Part A
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/18
Play
Full screen (f)
Deck 1: .Net Framework and ASP.net Programming: Part A
1
A variable which is declared inside a method is called?
A)Serial
B)Local
C)Private
D)Static
A)Serial
B)Local
C)Private
D)Static
Local
2
Feature of a local variable?
A)It can be used anywhere in the program
B)It must accept a class
C)It must be declared within a metho
D)D It represent a class object
A)It can be used anywhere in the program
B)It must accept a class
C)It must be declared within a metho
D)D It represent a class object
It must be declared within a metho
3
Two methods with the same name but with different parameters?
A)Overloading
B)Loading
C)Multiplexing
D)Duplexing
A)Overloading
B)Loading
C)Multiplexing
D)Duplexing
Overloading
4
What is the output of the code public class B: A { }?
A)Errors
B)It defines a class that inherits the public methods of A only
C)It defines a class that inherits all the methods of A but the private members cannot be accesse
D)D Both b and c
A)Errors
B)It defines a class that inherits the public methods of A only
C)It defines a class that inherits all the methods of A but the private members cannot be accesse
D)D Both b and c
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is the root of the .NET type hierarchy?
A)System.Object
B)System.Type
C)System.Base
D)System.Root
A)System.Object
B)System.Type
C)System.Base
D)System.Root
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
6
int keyword targets to which .Net type?
A)System.Int8
B)System.Int16
C)System.Int32
D)System.Int64
A)System.Int8
B)System.Int16
C)System.Int32
D)System.Int64
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
7
How many web.config files that can be there an ASP.NET application?
A)Only One
B)Only Two
C)Upto 10
D)More than one
A)Only One
B)Only Two
C)Upto 10
D)More than one
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
8
The RangeValidator control supports the following data types?
A)Integer only
B)Date, Integer and String
C)Only String
D)Date and Interger
A)Integer only
B)Date, Integer and String
C)Only String
D)Date and Interger
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
9
How to kill a user session explicitly?
A)Session.Close()
B)Session.Discard()
C)Session.kill()
D)Session.Abandon()
A)Session.Close()
B)Session.Discard()
C)Session.kill()
D)Session.Abandon()
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
10
Different ways a method can be overloaded in C#.NET?
A)Different parameter data types
B)Different number of parameters
C)Different order of parameters
D)All of the Above
A)Different parameter data types
B)Different number of parameters
C)Different order of parameters
D)All of the Above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
11
Can you store multiple data types in System.Array?
A)No
B)Yes
C)Both
D)None
A)No
B)Yes
C)Both
D)None
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
12
Can you inherit multiple interfaces?
A)Yes
B)No
C)Both
D)None
A)Yes
B)No
C)Both
D)None
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
13
What are the basic techniques for creating a control?
A)Inheriting from an existing control
B)Inherit from User Control
C)Inherit from Control
D)All of above
A)Inheriting from an existing control
B)Inherit from User Control
C)Inherit from Control
D)All of above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following can`t be used in our .NET application?
A).Net Assemblies
B)ActiveX Control
C)COM type libraries
D)All of the above can be used
A).Net Assemblies
B)ActiveX Control
C)COM type libraries
D)All of the above can be used
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
15
Which access modifiers are used in the concept of a property?
A)Get / set
B)Try / catch
C)Finally/throw
D)None of the above
A)Get / set
B)Try / catch
C)Finally/throw
D)None of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
16
Choose the form in which Postback occurs?
A)Html
B)Webforms
C)Windows
D)All of above
A)Html
B)Webforms
C)Windows
D)All of above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
17
Web.config file is used?
A)Configures the time that the server-side code behind module is called
B)To store the global information and variable definitions for the application
C)To configure the web server
D)To configure the web browser
A)Configures the time that the server-side code behind module is called
B)To store the global information and variable definitions for the application
C)To configure the web server
D)To configure the web browser
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck
18
The first event triggers in an aspx page is?
A)Page_Init()
B)Page_Load()
C)Page_Click()
D)All of the above
A)Page_Init()
B)Page_Load()
C)Page_Click()
D)All of the above
Unlock Deck
Unlock for access to all 18 flashcards in this deck.
Unlock Deck
k this deck