Deck 1: VC#.NET Programming Concepts and Terminologies
Question
Question
Question
Question
Question
Question
Question
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/25
Play
Full screen (f)
Deck 1: VC#.NET Programming Concepts and Terminologies
1
The compiled version of a VC#.NET program will be in_______________.
A)Machine code
B)IL code
C)Byte code
D)None of these
A)Machine code
B)IL code
C)Byte code
D)None of these
Machine code
2
The purpose of JIT compiler is to convert____________.
A)VC#.NET source code IL code
B)IL code to byte code
C)IL code to managed native code
D)None of these
A)VC#.NET source code IL code
B)IL code to byte code
C)IL code to managed native code
D)None of these
IL code to byte code
3
The Garbage Collection solves_____________.
A)Memory leakage problem
B)DLL hell problem
C)Both a & b
D)None of these
A)Memory leakage problem
B)DLL hell problem
C)Both a & b
D)None of these
Memory leakage problem
4
The code that requires the CLR at runtime for the execution is known as the ________.
A)IL code
B)Managed code
C)Binary code
D)One of these
A)IL code
B)Managed code
C)Binary code
D)One of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
Which one of the following JIT compilers produce highly optimized code?
A)Econo JIT
B)Standard JIT
C)Pre JIT
D)None of these
A)Econo JIT
B)Standard JIT
C)Pre JIT
D)None of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
The VC#.NET language________________.
A)Solves the memory leakage problems.
B)Solves the DLL hell problems.
C)Has very good correspondence with the IL language.
D)All the above.
A)Solves the memory leakage problems.
B)Solves the DLL hell problems.
C)Has very good correspondence with the IL language.
D)All the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
Home page in VS.NET is also known as__________.
A)Default page
B)Start page
C)First page
D)Welcome page
A)Default page
B)Start page
C)First page
D)Welcome page
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
The ______________ enables to move through the code very quickly.
A)Class view window
B)Solution explorer window
C)Code window
D)none of these
A)Class view window
B)Solution explorer window
C)Code window
D)none of these
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
In VC#.NET project files are grouped into a _____________.
A)Workspace
B)Namespace
C)Solution
D)Package
A)Workspace
B)Namespace
C)Solution
D)Package
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Which one of the following statements about code debugging is correct?
A)Debugger helps us to step through our code, one line at a time.
B)Breakpoints can be set by pressing F9 function key.
C)Breakpoints can be set by left-clicking in the left margin area at the line where we want to set the breakpoint.
D)a, b and c are correct.
A)Debugger helps us to step through our code, one line at a time.
B)Breakpoints can be set by pressing F9 function key.
C)Breakpoints can be set by left-clicking in the left margin area at the line where we want to set the breakpoint.
D)a, b and c are correct.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
The arrays involved in a jagged array_____________.
A)Should be of same size.
B)May be of different sizes.
C)Are not known as subarrays.
D)None of these.
A)Should be of same size.
B)May be of different sizes.
C)Are not known as subarrays.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
The parameters of a method __________.
A)Help us to pass information to a method.
B)Help us to get information from a method.
C)Help us to pass information to and from a method.
D)None of these.
A)Help us to pass information to a method.
B)Help us to get information from a method.
C)Help us to pass information to and from a method.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
The ref type parameters are____________.
A)"Input only" parameters.
B)"Input / Output" parameters.
C)"Output only" parameters.
D)None of these.
A)"Input only" parameters.
B)"Input / Output" parameters.
C)"Output only" parameters.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
The out type parameters can be used_______________.
A)Only to pass back a result to the calling functions.
B)Only to send information to the called function.
C)To pass data to the called method and receive information from the called method.
D)None of these.
A)Only to pass back a result to the calling functions.
B)Only to send information to the called function.
C)To pass data to the called method and receive information from the called method.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
In case of the Params type parameter____________.
A)Only output can be sent.
B)The number of arguments is variable.
C)Both input and output can be handled.
D)None of these.
A)Only output can be sent.
B)The number of arguments is variable.
C)Both input and output can be handled.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
An instance class member is referred by using the format____________.
A)Object name. Class member name.
B)Class name. Class member name.
C)Object name. Class member name or class name. class member name.
D)None of these.
A)Object name. Class member name.
B)Class name. Class member name.
C)Object name. Class member name or class name. class member name.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
Overloaded constructors will have________.
A)Different names
B)Different parameter lists
C)Different return types
D)none of these.
A)Different names
B)Different parameter lists
C)Different return types
D)none of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
A static constructor_____________.
A)Is executed when the class is loaded.
B)Can be accessed through an object name.
C)Can be executed any number of times.
D)Can have its own destructor.
A)Is executed when the class is loaded.
B)Can be accessed through an object name.
C)Can be executed any number of times.
D)Can have its own destructor.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
A property________________.
A)Should have a get method.
B)Should have a put method.
C)Should have both get and put methods.
D)Should have either a get method or put method.
A)Should have a get method.
B)Should have a put method.
C)Should have both get and put methods.
D)Should have either a get method or put method.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
An indexer________________.
A)Enables us to access a property through index.
B)Can have user-defined name.
C)Is identified by its name.
D)Cannot be overloaded.
A)Enables us to access a property through index.
B)Can have user-defined name.
C)Is identified by its name.
D)Cannot be overloaded.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
A namespace can contain___________.
A)Classes
B)Namespaces
C)Classes and namespaces
D)None of these.
A)Classes
B)Namespaces
C)Classes and namespaces
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
The alias should have
A)Improve the readability of the code.
B)Avoid name clashes.
C)Saves you typing out very long strings.
D)All the above.
A)Improve the readability of the code.
B)Avoid name clashes.
C)Saves you typing out very long strings.
D)All the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
In the case of a component,
A)Reusability is possible.
B)Code will be in IL format.
C)The extension is dll.
D)All the above.
A)Reusability is possible.
B)Code will be in IL format.
C)The extension is dll.
D)All the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
In case of components and namespaces,
A)Several classes may be present in a component.
B)Classes contained in different source files may be part of same namespace.
C)Classes contained in a source file may be from different namespaces.
D)All the above.
A)Several classes may be present in a component.
B)Classes contained in different source files may be part of same namespace.
C)Classes contained in a source file may be from different namespaces.
D)All the above.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
In the case of access modifiers___________.
A)Private and protected access modifiers can be specified for a class.
B)Public access modifier can be specified for a class.
C)The scope of the internal access modifier is the namespace.
D)None of these.
A)Private and protected access modifiers can be specified for a class.
B)Public access modifier can be specified for a class.
C)The scope of the internal access modifier is the namespace.
D)None of these.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck