MSCCS-104 (Assignment : July-2023, Jan-2024)

Internal Assignment for July-2023 and January-2024. Paper Code (MSCCS-104) (Programming in VB and Dot Net).

Section-A

Q.A.1 : Give difference between DLL and EXE ?

Ans (Q.A.1) : There are some common differences between DLL and EXE files-

.EXE Files :

  • .EXE is Executable File.
  • .exe is run individually.
  • .exe Has Main Function.
  • Mainly is for stand alone application.

.DLL Files :

  • .DLL is Dynamic Link Library.
  • .dll can’t run individually.
  • .dll doesn’t contain Main Function.
  • .dll give support to exe.

Q.A.2 : What do you mean by Abstraction ? Give an example.

Ans (Q.A.2) : Abstraction is the process of hiding the internal details of an application from the outer world. Abstraction is used to describe things in simple terms. It’s used to create a boundary between the application and the client programs. Abstraction is one of the core concepts of Object-Oriented Programming.

There are two types of abstraction.

  1. Data Abstraction.
  2. Process Abstraction

Q.A.3 : List out some features of ASP.NET ?

Ans (Q.A.3) : ASP.NET is an open-source framework developed and maintained by Microsoft. It is a server-side web application framework designed to create dynamic web pages. Microsoft delivers many new updates and extended features to help developers make a scalable web app that leads to high performance.If you are in the market for clothes, our platform is your best choice! The largest shopping mall!

There are some features of ASP.NET- (कोई भी पाँच लिख दो-बदल-बदलकर)

  1. High Performance
  2. Cross-Platform and Container Support
  3. Asynchronous Programming Patterns 
  4. Rich Development Environments
  5. Language-Independent
  6. Support for web sockets
  7. Security
  8. Deployment flexibility
  9. Caching 
  10. AJAX support 
  11. Razor Syntax
  12. Web Forms

Q.A.4 : What is Err Object ? Discuss its usage.

Ans (Q.A.4) : The Err object contains properties and methods that allow you to obtain information about a single runtime error in a Visual Basic program. It also allows you to generate errors and to reset the error object. Because the Err object is an intrinsic object (which means that it’s part of every VB project you create) with global scope, you don’t need to create an instance of it within your code.

Uses of Err Object :

  • to raise predefined Basic errors.
  • to throw user-defined exceptions.
  • to name the routine originating the error.
  • to describe the error and possible solutions.

Section-B

Q.B.1 : Explain ADO.NET data architecture with neat diagram ?

Ans (Q.B.1) : Coming Soon….. Keep Visiting.

Q.B.2 : Write short note on MDI ?

Ans (Q.B.2) :multiple-document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Multiple-document interface (MDI) applications enable you to display multiple documents at the same time, with each document displayed in its own window. MDI applications often have a Window menu item with submenus for switching between windows or documents.

The MDI applications act as the parent and child relationship in a form. A parent form is a container that contains child forms, while child forms can be multiple to display different modules in a parent form.

Advantage of Multiple Document Interface :

MDI enables users to open more than one file at once. It was developed to enable people working with large amounts of data to easily view several documents simultaneously. The main advantage of MDI is that it makes it easier to manage files because they can be viewed side by side. (For example, comparing two versions of the same spreadsheet is often helpful when working with multiple spreadsheets. With MDI, this becomes much simpler.)

Another benefit of MDI is that users can quickly switch between documents without having to close them first. In addition, MDI reduces the amount of screen clutter and improves readability.

Disadvantage of Multiple Document Interface :

Without an MDI frame window, floating toolbars from one application can clutter the workspace, potentially confusing users with a messy interface. It can be tricky to utilize multiple screens on desktops as the parent window might require stretching across two or more screens, hiding sections.

MDI can also make it increasingly challenging to work with several applications simultaneously. This is because there may be restrictions on how windows from multiple applications are arranged together without obscuring each other.

MDI child windows sometimes behave differently from SDI applications, and MDI parent windows behave more like a desktop. It can quickly become confusing whenever this is the case, and users have to learn two subtly different windowing concepts.

Q.B.3 : What are the differences between Constructor and Di-constructor in VB.NET ?

Ans (Q.B.3) : Coming Soon….. Keep Visiting.

Q.B.4 : What do you understand by multithreading ? Explain with an example ?

Ans (Q.B.4) : Multithreading is a model of program execution that allows for multiple threads to be created within a process, executing independently but concurrently sharing process resources. Depending on the hardware, threads can run fully parallel if they are distributed to their own CPU core.

thread is a path which is followed during a program’s execution. A process is a program being executed. A process can be further divided into independent units known as threads. A thread is like a small light-weight process within a process. Or we can say a collection of threads is what is known as a process.

Example of Multithreading :

Most of the applications that you use on a daily basis have multiple threads running behind the scenes. Consider your internet browser. At any given time, you may have numerous tabs open, each one displaying various types of content. Multiple threads of execution are used to load content, display animations, play a video, and so on.

Another example of a multithreaded program that we are all familiar with is a word processor. While you are typing, multiple threads are used to display your document, asynchronously check the spelling and grammar of your document, generate a PDF version of the document. These are all happening concurrently, with independent threads performing these tasks internally.

Section-C

Q.C.1 : Explain .NET Framework with all its components ?

Ans (Q.C.1) : Coming Soon….. Keep Visiting.

Q.C.2 : What is the importance of Data validation ? Discuss different types of Data Validation with suitable examples.

Ans (Q.C.2) : Coming Soon….. Keep Visiting.

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *