View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 26 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 10 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 6 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 10 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 13
In public static void Main(string[] args) Why static modifier is used? 
Options:
  1. Program Execution starts with method which has static keyword
  2. Since static members are allocated memory when the class is loaded
  3. Since static methods are automatically loaded into memory when class is loaded by the CLR (that calls Main method).
  4. None
View Answer/Explanation:
c
Explanation:
Once compiled, the method is marked as entrypoint that can be called as class level. If there are more than 2 classes have valid entry point then the relevant class should be setup as startup object. This information is used by the CLR to call the Main method at class level.

Question No: 2 of 13
In VB.NET  if an entry point Main method is written in class instead of module what is the extra keyword to be used? 
Options:
  1. Virtual
  2. Shared
  3. Implements
  4. Static
View Answer/Explanation:
b
Explanation:
Shared Keyword should be used with Main method when written inside Class. This is similar to static keyword in C# that requires the Method to be called at class level.

Question No: 3 of 13
Can an application have more than one Entry Point method Main? 
Options:
  1. Yes, an Application can have more than one valid Main, but any one of them has to be mentioned as Startup object.
  2. No, Every application should have only one Main
  3. Yes, an application can have more than one Main; we can set multiple start up object.
View Answer/Explanation:
a
Explanation:
One project can have any number of Main’s but only one of them can be set as startup point for the application.

Question No: 4 of 13
What is the extension of a Solution file and VB.NET project? 
Options:
  1. Solution & .VBproj
  2. .sln & . VBproject
  3. .sln & . vbproj
View Answer/Explanation:
c
Explanation:
Solution file has extension .sln where as VB.NET project will have .vbproj

Question No: 5 of 13
What is the difference between Start Debugging and Start Without Debugging? 
Options:
  1. Complier allows user to manually track flow of the application code when application is executed in StartWithout Debugging mode whereas Startwithdebugging mode directly runs the application.
  2. Complier allows user to manually track flow of the application code when running application in Start Debugging mode whereas Start without debugging directly runs the application.
View Answer/Explanation:
b
Explanation:
Start Debugging provides the opportunity to a program for tracking the program using breakpoint to monitor flow of execution and have an insight into detailed runtime information. Start without Debugging runs the application in non-debugging mode where the events are not tracked and the runtime information would not be available to user until the commands are processed and displayed.

Question No: 6 of 13
Why is it not a good practice to use Module in a project? 
Options:
  1. Every public member of a module is treated as Global member.
  2. Every member of a module can be accessed from any part of the application without explicitly using module name
View Answer/Explanation:
a
Explanation:
Every public member of a module is treated as Global Member and it can be accessed in any part of the application without explicitly using module name and this is against object oriented principles.

Question No: 7 of 13
What is Return value of Main used for? 
Options:
  1. Return value of Main used by the current application to communicate its state to the parent process
  2. Return value of main is used for Communicating its state with other methods of the Application.
View Answer/Explanation:
a
Explanation:
State of a current application can be communicated to parent process with the return value, The integer return value can be predefined with some meaning. It can also be called as Exit Code of an application.

Question No: 8 of 13
What is the difference between Module and Class? 
Options:
  1. Instances can be created from a class, but not from a module.
  2. Instances can be created for a class and Module. The scope of the members of a class and Module is for lifetime of the object.
View Answer/Explanation:
a
Explanation:
Both class and modules are a collection of methods and properties. The major difference is that instances can be created from a class in the form of objects, but not from a module. The scope of the members of a class is only for the lifetime of the object, but the scope of the members of a module exist for the life of the program.

Question No: 9 of 13
Mostly the console based applications are developed in situations where the application should run as 
Options:
  1. A top level process
  2. As child process
  3. Either A or B
  4. None
View Answer/Explanation:
b
Explanation:
Console based application run mostly as child process because they are not user friendly applications and at the same time when it runs as a child process can communicate its state with parent process.

Question No: 10 of 13
One project can have multiple modules but only one of many modules with valid main can be treated as ____________ of the application. 
Options:
  1. Start up or entry point
  2. Exit point
  3. Termination point
  4. None
View Answer/Explanation:
a
Explanation:
We can have any number of modules within application but any one of the module with valid main can be set as start up module . To set up the startup object: Project -> Properties->Application->Startup object.

  1