24
600417 VISUAL PROGRAMMING UNIT I WINDOWS PROGRAMMING 8 The windows programming Model – Event driven programming – GUI concepts – Overview of Windows programming – Creating and displaying the window – Message Loop – windows procedure – WM_PAINT message – WM_DESTROY message – Data types – Resources – An Introduction to GDI – Device context – Text output – Scroll Bars – Keyboard – Mouse – Menus. UNIT II VISUALBASICPROGRAMMING 10 Visual Basic Applications – Form and properties – Variables and Constants – Variant type – Procedure scope – Main – Control statements – control arrays – Creating and using Controls – Menus and Dialogs – Programming fundamentals – Objects and instances – Debugging – Responding to mouse events – Drag and Drag drop events Responding to keyboard events – keypress, keyup, keydown events – Using grid control – Graphics controls – shape and line control – File system controls– Common dialog controls – Processing files – Accessing databases with the data controls. UNIT III VISUAL C++ PROGRAMMING 9 Visual C++ components – Introduction to Microsoft Foundation Classes Library – Getting started with AppWizard – Class Wizard – Event handling – Keyboard and Mouse events - WM_SIZE, WM_CHAR messages - Graphics Device Interface - Pen, Brush, Colors, Fonts - Single and Multiple document interface - Reading and Writing documents - Resources – Bitmaps creation, usage of BMP and displaying a file existing as a BMP. UNIT IV CONTROLS 9 Dialog Based Applications, controls – Animate control, image list, CRect tracker – Tree control – CtabControl – Dynamic controls – slider control – progress control – Inheriting CTreeView CRicheditView – Modal Dialog, Modeless Dialog – CColorDialog – CfileDialog. UNIT V ADVANCED CONCEPTS 9

3705

Embed Size (px)

Citation preview

Page 1: 3705

600417 VISUAL PROGRAMMING

UNIT I WINDOWS PROGRAMMING 8The windows programming Model – Event driven programming –GUI concepts – Overview of Windows programming – Creating and displaying the window – Message Loop – windows procedure – WM_PAINT message – WM_DESTROY message – Data types – Resources – An Introduction to GDI – Device context – Text output – Scroll Bars – Keyboard – Mouse – Menus.

UNIT II VISUALBASICPROGRAMMING 10Visual Basic Applications – Form and properties – Variables and Constants – Variant type – Procedure scope – Main – Control statements – control arrays – Creating and using Controls – Menus and Dialogs – Programming fundamentals – Objects and instances – Debugging – Responding to mouse events – Drag and Drag drop events Responding to keyboard events – keypress, keyup, keydown events – Using grid control – Graphics controls – shape and line control – File system controls– Common dialog controls – Processing files – Accessing databases with the data controls.

UNIT III VISUAL C++ PROGRAMMING 9Visual C++ components – Introduction to Microsoft Foundation Classes Library – Getting started with AppWizard – Class Wizard – Event handling – Keyboard and Mouse events - WM_SIZE, WM_CHAR messages - Graphics Device Interface - Pen, Brush, Colors, Fonts - Single and Multiple document interface - Reading and Writing documents - Resources – Bitmaps creation, usage of BMP and displaying a file existing as a BMP.

UNIT IV CONTROLS 9Dialog Based Applications, controls – Animate control, image list, CRect tracker – Tree control – CtabControl – Dynamic controls – slider control – progress control – Inheriting CTreeView – CRicheditView – Modal Dialog, – Modeless Dialog – CColorDialog – CfileDialog.

UNIT V ADVANCED CONCEPTS 9Domain Name System – Email – World Wide Web (HTTP) – Simple Status bars – Splitter windows and multiple views – Dynamic Link Library – Data base Management with ODBC – TCP/IP – Winsock and WinInet, – ActiveX control – creation and usage – Container class.

TOTAL = 45

TEXT BOOKS:1. Charles Petzold, “Windows Programming”, Microsoft press, 1996.2. J. David Kruglirski, “Programming Microsoft Visual C++”, Fifth Edition, Microsoft

press, 1998.3. Marion Cottingham “Visual Basic”, Peachpit Press, 1999.

REFERENCES:1. Steve Holzner, “Visual C++ 6 programming”, Wiley Dreamtech India Private Ltd.,

20032. Kate Gregory “Using Visual C++”, Prentice Hall of India Pvt., Ltd., 1999.3. Herbert Sheildt, “MFC from the Ground Up”.

Page 2: 3705

4. Deitel , “ Visual Basic 6.0 How To Program”, Pearson Education, 1999.

Page 3: 3705

St. JOSEPH’S COLLEGE OF ENGINEERINGDepartment Of MCAQuestion Bank

VISUAL PROGRAMMINGClass : MCA Semester: IVSubject Code: 600417

PART –AUNIT – I

1. Write short notes on UNICODE?UNICODE is an extension of ASCII character encoding. Rather than

7-bit used to represent each characters in strict ASCII or the 8-bit per character that have become common on computers, Unicode use a full 16-bit for character encoding. This allows Unicode to represent all the letters, ideographs and other symbols used in all the written languages of the world that are likely to be need in computer communications.

2. What are the various data types available in Windows?i. Char Data type – which indicates 1 bytes of storage i.e., 8bits.

ii. Wider character or wchar_t – which is the same as an unsigned short integer: 16 bits.

3. How will your create and display a window?A window can created by calling the function “CreateWindow” while the information passed to the Register.class function specified in the data structure, the information passed to the CreateWindow function is specified to the separate argument to the function.

After the CreateWindow call returns, the window has been created internally in windows. In order to display the window two more calls are needed.

i. ShowWindow (hwnd,icmdshow)ii. UpdateWindow(hwnd)

Where hwnd is the program name where storedIcmdshow is value passed as parameter to Winmain.

4. Explain WM_PAINT message?This message informas a programs when past or all of the windows

client area is “invalid” and must be “updated” which means that it must be “redrawn” or “repainted”.

5. Write about WM_DESTROY message?This message indicates that windows is in the process a destroying a

window based on a command from the user.The message is a result of the user clicking or the close button or selecting close from the programs system menu.

6. How can u get a device context handle? A device context handle can be obtained by the methods. Method 1:- In method 1, we go for calling the function WM_PAINT message.

By doing these two functions are involved. BeginPaint, EndPaint

Page 4: 3705

Method 2 :- To get a handle to a device context of the client area of the window, we call GETDC to obtain the handle and call ReleaseDC as soon as it is over.

7. What is meant by resources?Resources are data and they are often stored in a program .EXE files, but they do

not reside in the executable programs data area. Resources are not immediately addressable by variables in the programs code.

ExampleMenus, Icons, Dialogboxes, Cursors, Bitmaps, etc.,

8. What is meant by DLL?Dynamic link libraries [DLL] are generally not directly executable, and

they generally do not receive messages. They are separate files containing functions that can be called by programs and other DLLs to perform certain jobs.

9. What is the window?For the user a window is a rectangular area that a particular program

occupies on the screen. From the programmers prospective a window is an object that receives and processes messages. A window receives and processes user input.

10. List out the windows messages?Various window messages are,

WM_PAINT WM_DESTROY WM_QUIT WM_CREATE WM_VSCROLL/WM_HSCROLL WM_SIZE

11. What are the different types of window resources?Menus, Icons, Dialogboxes, Cursors, Bitmaps, Character string,

Keyboard accelerator, Custom resources. 12. List some of the device context attributes.

Windows uses the device context to store “attributes” that govern how the GDI functions operate on the display.

Windows uses the device context to obtain this information when a program obtains a handle to a device context; window sets all the attributes to default values.

13. List few GDI function calls. Functions that get ( or create ) and release ( or destroy ) a device context. Functions that obtain information about the device context. Function that draw something. Functions that set and get attributes of the device context. Functions that works with GDI objects.

14. How will you define a menu?A Menu is one of the most important parts of the consistent user

interface that a windows program offers. A menu tells a user in windows

Page 5: 3705

programs that what operations an application is capable of performing. The main menus can have many submenu bars.

15. What is a Dialog box?Dialog boxes are most often used for obtaining additional input from

the user beyond what can be easily managed through a menu. A dialog boxes generally takes the form of a popup window containing various child window control.

16. Differentiate Modal and Modeless Dialog boxes? Modeless dialog boxes usually include a caption bar and a system

menuWhich is normally not provided in a modal dialog box, because the user cannot do anything in the underlying window.

On like messages to modal dialog boxes and message boxes, messages to Modeless boxes come through the user programs message queue.

17. What is multiple document interfaces?The multiple document interfaces is a specification which describes a

window structure and user interface that allow the user to work with multiple document within a single application.

18. What is device context? The device content is the heart of the GDI. Unlike in DOS, where applications

simply own the entire display, printer or other devices, under windows the output device is a shared resource. The device context is a method of permitting peaceful co-existence between applications sharing the resource.

19.What is event driven programming?When you perform an action on a graphical component you generate an event. In event-driven programming the program responds to events. The program responds to events that the user generates in interacting with GUI components. The order of events is controlled by the user.

20.What are bitmap?The bitmap resource definition specifies a bitmap that an application uses in it’s screen display or as an item in a menu or control. Syntax: NameID BITMAP filename; 21.What are cursor?

Cursor is the image which tables the shape of the cursor on the display screen. It moves along with the movement of the mouse or a key being pressed on the keyboard.Syntax: NameID CURSOR filename;

22.State the difference between static linking and dynamic linking?Static linking:

It occurs during program development when you click various object modules, run time library (.LIB) files, compiled resource (.RES) files,create windows (.EXE) files when static link occurs.Dynamic linking:

It refers to a process that window uses to click a function call in one module to the actual function in the library module.

23.What is a software development toolkit (SDK)?

Page 6: 3705

Software development toolkit is useful for storing more memorizing functions. More complex than other tools. For each SDK program, entry point winmain() is created. 24.What is Microsoft Foundation Class (MFC)?

In Microsoft Foundation Class more classes are available than in SDK, more powerful functions are available, coding is lesser than SDK, less complex, memorizing function is less.25.Define application wizard program?

In application wizard program the code is generated automatically. It’s fastest than MFC. It requires only least code, it can be easily understandable.

Part – B:1. Explain the Windows programming options.2. Describe the conceptual comparison of traditional programming paradigms.3. Give a detailed description about Document Interface.4. Write short notes on the following:

a. DLL (ii) SDK 5. Discuss in detail about Client-Area Mouse Messages.6. Explain about device context and Dynamic Link Library.7. Discuss about the data types of windows programming.8. Define windows messages. Explain its categories.9. Discuss software Development Kit tools.

10. Discuss about the resources of windows programmingUNIT – II Part – A:

1. What is a VB form? List out its more general properties? Start. Select standard EXE. Note that there is a blank window named Project1-Form1. Inside it there is another window simply called form which has

grid of dots. It will be customized by placing controls on it.

The most general properties are, Caption Name Appearance

2. What are the various data types available in VB?There are various data types available in VB. They are,

1. String2. Integer3. Long Integer4. Single precision5. Double precision6. Currency7. Data8. Byte9. Boolean10. Variant

3. Explain any there Graphical tools in VB?

Page 7: 3705

1. Image - A control for displaying images. The image control does not provide as many capabilities as a picture box.

2. Timer - A control that performs a task at programmer specified intervals. A timer is not visible to the user.

3. Picture Box - A control that displays images. It also acts as a container for

other controls.4. List some VBX controls.

Common Dialog Flat scroll bar Image combo Image list Mask edEdit Rich text box Slider UpDown.

5. What is meant by Data Control?Data control is used to connect back-end and front-end.

6. Explain sequential files in VB. How do your open and access it? Sequential files are the most basic kinds of files. They basically hold human readable text. To avoid unnecessary work we use a sequential file. It rarely makes changes within a file. Process the file information from start to finish. Add information at the end of the file.

Operation Visual Basic equivalent Rewind the tape, Press play Open “TEST” For Input and Pause. as #1 Press stop. Close #1.

7. What are the different modes available in opening a file? Read Write Append

8. What is the difference between a Label and Text box?Label Text BoxIdentify objects and occasionallyUse them to display output.

Text Box is sued to display text or to accept user input.

Label do respond to 12 events and they are used passively

Limits for Text box is 32000 characters.

9. List some of the properties in VB? Name Caption Appearname Text

Page 8: 3705

Backcolor Font

10. What is combo box? Describe its properties?Combo box is an intrinsic control that combines TextBox features with

a short drop down list.The properties are,

Enabled Index List ListCount ListIndex Locked MousePointer

11. What is List box control in VB?A List Box control intrinsic control allows the user to view a list of

items. Some of the list box properties are, Columns Enabled Index List ListCount ListIndex

12. What is control array?Multiple controls of the same type can be grouped into an array in the

same manner as a collection of data items. Such a grouping is known as control array.

13. What is a file list box?File list box lists the files in a directory. The primary event procedure

for FileListVox is click.Some of the properties of FileListBox are,

Archive Hidden Multiselect Path Pattern Readonly System

14. What is a Directory list box?Directory list box represents the directory structure. When using a

Dirlist Box the path property sets the directory path that is displayed.Some of the properties Dirlist Box are,

DragIcon DragMode Enabled List

Page 9: 3705

Visible15. What are short cut keys?

Short cut keys are a combination of ctrl, shift, Alt, Function keys( F1,F2..) and letter keys. Short cut keys are specifies using the short cut comboBox.

16. Write short notes on Seek command?Seek command is used to set the file position pointer to the beginning

of the file.17. What is animation?

It implies object motions. The term “computer Animation” generally refers to any time sequence of

visual changes in a scene. A Computer generated animation could display time variations in object

size, color, transparency or surface texture. Advertising animation often transition one object share into another.

18. What is event procedures?Event takes place due to user input . Double click in blank part of the form, the form

opens the coding window. 19. What are built in toolbars?Window application has multiple tool bars available. Some built in tool bars are

standard, edit, debug, form editor, dialog.20. What is multiple document interface?In a single document we are using only one window for output execution. In multiple

document we were using two windows. Main window is the parent window. Part – B:

1. What are the properties of command button ? Explain them briefly with the events associated with the command buttons.

2. Discuss in detail about Input Box and Message Box .3. What is a toolbox ? Explain its available control list.4. How do you handle multiple forms during runtime ? Describe how do you

make the form activate and deactivate at runtime ?5. Create a quiz application using data control. The questions , options for

answers and the score should be displayed on the screen.6. Briefly Describe the properties , events and sample programs for the

following: (i) Image control (ii) Picture control (iii) List box (iv) Combo box

7. What is a control array ? How do you add and remove controls in a Control array ? Explain with an example.

8. Describe about the flex control, its usage & its general property.9. Describe about the common dialog box, file open & file save dialog box.10. How do you create and associate the random and binary files explain.

UNIT – III Part – A:1.What is meant by Framework classes? An application framework is a superset of a class library. An ordinary library is an associated set of classes designed to be incorporated into any program.

Page 10: 3705

2.Explain any two resources available in VC++?There are two resources available in VC++.

Accelerator Resource- Definition for keys that stimulate menu and tool bar selections.

Dialog Resource - Layout and content of dialog boxes.

3.How will your create a message maps.Code file needs a message map macro that connects OnLButtonDown function to Application Framework. BEGIN-MESSAGE_MAP (CMyView, CView) ON_WM_LBUTTONDOWN () END_MESSAGE_MAP()

2. Write short notes on MDI?A Multiple Document Interface [MDI] application has multiple child

windows, each of while corresponds to an individual document.Example: MS-Word

3. What is an Application Framework?An Application Framework is an integrated collection of object

oriented software components that offers all the needs of an application.4. What is the difference between Application framework and class

library?Application framework Class libraryAn Application framework is a superset of a class library.

It defines the structure of the program itself

A Class library is a set of related C++ classes.

C++ class that can be used in an application.

5. Compare single document interface can multiple document interface.

SDI MDIAn SDI application has only one window.

If the application depends on disk file “Documents” only once document can be loaded at a time.

An MDI application has multiple child windows.

An MDI is the default application type.

4. What is a View?A View is an ordinary window that the user can size, move and close in the same way

as any other windows-based application.5. What is Serialization?

The idea is that objects can be persistent, which means they can be saved on disk when a program exists and then can be restored when the program is restarted. This process of saving and restarting objects is called serialization.

Page 11: 3705

6. What is meant by Static splitter window?The panes of static splitter window are defined when the window is

first created and they cannot be changed. The user can move the bars but cannot unsplit or resplit the window.

7. What is a List control?List control is used to display a list that contains Images as well as Text. A list control with a “list” view style and small icons. The elements are arranged in a grid and the control includes horizontal scrolling.

8. What is a Program indication control?The program indication is the common control to program and is represented by

the MFC CProgressctrl class. It is generally used only for output. This control, together with the Track bar, can effectively replace the scroll bar controls.

9. What are the major components of VC++?a. Resource editors.b. C/C++ complier.c. Source code editor.d. Resource complier.e. Linker.f. Debugger.

10. What is progress? It is running program that owns its own memory ,file handles and other system resources.11. What is bitmap?Bitmap is an array of bit mapped to display pixels12. Mention two kinds of window bitmaps

GDI DIB

13. Define TimerWindows is a useful programming element that sometimes makes multithreaded programming unnecessary

14. Define pop-up menu.A pop-up menu is one that is displayed on top of a form and is not attached to the

menu bar. 15. What are ActiveX Controls?To use an activex control in your VB program, the control must be registered in the

windows registry.16. Define message boxes.The first type of dialog box is the message box. This pops up with a little message at

any point in your code. There are many types of message box, ones with yes or no buttons, ones with cancel buttons, ones with abort retry ignore. 17. What are input boxes?

The second type of dialog box is input box. This works in much the same way as the message box.

18. Define container.

Page 12: 3705

A container is a control that can hold other controls within it, such as a frame or a picture box or a form.19.Define Monikers A monikers is a surrogate object that holds the name of the real object.20.What are the derived class of GDI

CBitmap CBrush CFont CPen CRgn

Part – B:1. Write short notes on the following:

(i) Icons (ii) Cursors (iii) Accelerators (iv) Bitmaps 2. Write short notes on

(i) Dialog Boxes (ii) String tables (iii) Fonts.3. Discuss in detail about Message mapping.4. Write short notes on the following:

(i) Menu and submenu (ii) Dialog Box 5. Write short notes on

(i) Message Box (ii) Button control (iii) Static control6. Explain briefly the Document – View Architecture.7. What is meant by Serialization ? Explain.8. Explain Vc++ components9. Explain the steps involved in creating help file. Explain with an example.10. Explain about SDI & MDI application.

UNIT-IV PART - A

1. Why do you need a dialog based application?A simple program structure is sufficient for some application; a dialog provides a

sufficient user interface. Therefore we use dialog based application for simplicity. Eq simple calculator. 2. How the client program finds a DLL? If the link is explicit the DLLs full path name is specified. If the link is implicit the following searchers are made.

Directory contains EXE file. Process’s current directory. Windows system directory Windows directory Directories listed in path environment variable.

3. What is a Modal Dialog box?a. Modal dialog box is supported by the CDialog base class.b. With the Modal dialog, user cannot work elsewhere in the same

application until the dialog is closed.

Page 13: 3705

4.What is Modeless dialog box?c. Modal and Modeless dialog share the same base class CDialog.d. With the Modeless dialog, the user can work in another window in the

application while the dialog remains on screen.

5. Compare Modal Vs Modeless Dialog boxes?

Modal Dialog Modeless DialogIt supports CDialog base class.

The user cannot work elsewhere in the same application until the dialog is closed.

It also supports CDialog base class.

The user can work in another window in the application while the dialog remains on the screen.

6.What is progress? It is running program that owns its own memory ,file handles and other system resources.

7.What is status bar? It neither accepts user input nor generates command messages. It job is to Simply display text in panes under program control.

8.Give the status bar definition Static UNIT indicators[]= { ID_SEPARATOR, ID_INDICATOR_CAPS, ID_INDICATOR_NUM, ID_INDICATOR_SCRL, }

10. What is animate control? You can use animations almost anywhere, which includes in styles and control templates. Animations do not have to be visual

11. What is Ctabcontrol Windows TabControl is a useful control that allows you display multiple dialogs tabs on a single form by switching between the tabs12. What is Dynamic controls Designer, manufacturer and supplier of micro based invalid power wheelchair control, scooter control system and dynamic battery charger.

13. What is slider control

Page 14: 3705

A slider is a Windows control equipped with a small bar, also called a thumb, that slides along a visible line

14. What is progress control The Progress control is used to display the evolution of an activity, especially for a long operation

15. What is a List control?List control is used to display a list that contains Images as well as Text.A list control with a “list” view style and small icons. The elements are arranged in a grid and the control includes horizontal scrolling.

16. What is a Program indication control? The program indication is the common control to program and isrepresented by the MFC CProgressctrl class. It is generally used only for output. This control, together with the Track bar, can effectively replace the scroll bar controls.

17. What does a custom control’s window class contain? it contains

Name of the class Pointer to wndproc function that receives messages sent to windows of the class. Miscellaneous attributes,such as bg color.

18.What are the different common dilalog? CFlieDilalog CFont Dialog CPrintDilalog

19What are the different use of CRichEdit Control CRichEdit control we can view the edit control in very large.

20. How will you dock a toolbar?A: Docking a toolbar means moving or resizing the toolbar. It can be done by dragging its edges or the entire toolbar. If you hold the CTRL key while dragging, windows won’t dock the toolbar.

Part – B:1.Explain different common dialog controls2.Describe in detail about animate control3.Explain in detail about Modal and Modeless dialog4.Explain in detail about progress control5.Describe in detail sl;ider control6.Explain in detail about tree control.7.What are the different dynamic control available explain?8.Explain Progress-Inheriting CTreeView – CRicheditView9.Explain in detail about tree control10.Describe in detail about Image control

Page 15: 3705

UNIT-V – PART - A

1. Dynamic link libraries(DLL)? DLL can be loaded and linked at runtime. Multiple application. can share DLL,Which save memory and disk space.

2. What does ODBC standard defines?It defines - Rules of SQL grammar - C language programming interface to any SQL database.

3. Write short on CRecordset class?CRecordset class is one of 2 principle ODBC classes, which represent

Scrollable rowsets.This class is used to derive other classes to match columns In the database tables.

4. What are the types of DLL?1) MFC library regular DLLs.2) MFC library extension DLLs.

5. What is meant by ODBC?ODBC is a client-side databases access system which provides a std database

Application program interface.ODBC is based on SQL-structured query language.

6. Explain ODBC architecture?Its unique DLL based architecture makes the system fully modular. The top level

DLL defines API, OOBC32; DLL loads drivers during program execution. It tracks database specific DLLs and allows single program to access data in several database.

7. Use of DLLs.It is too statically or dynamically link application framework classes into the

application.What is CRecoreSet and CDatabase?

There are 2 principle ODBC classes. - CDatabase->represents ODbc connection to data sources. - CRecordSet->represents scrollable rowset of database tables.

8.What is ODBC?ODBC makes the system fully modular. It loads database drivers during program

execution. With the help of windows Registry it tracks the specific database for application and allows single program to access data in several DBMS simultaneously.What is the function of CRowview class? Pure virtual member function

Getrowwidth height. Getactiverow

Page 16: 3705

Change seletion nextrow,change seletionrow Ondrawrow.

Others

Updaterow Updatescrollsizes Onprint

9.What is meant by Dynamic splitter window?A Dynamic splitter window allows the user to split the window at any

time by choosing a menu item or by dragging a splitter box located in the scroll bar.

10.Define Winsock? It is the lowest level windows API for TCP/IP programming.You can write both internet server programs and internet client programs using winsock API

11. Define WinInet?Wi9ninet is a higher level API than winsock but it works only for HTTP, FTP,

and Clinet program in both asynchronous and synchronous modes. 12. Advantages of WinInet

Catching Security Web proxy access

Buffered I/O13.How can you add a status bar pane?A: The job of a status bar is to display text in panes under program control. The panes are the separators on the status bar. Edit the MainFrm.cpp file. Replace the original indicators array with the following code:Static UINT indicators[] ={ ID_SEPARATOR, ID_SEPARATOR,

ID_INDICATOR_LEFT,ID_INDICATOR_RIGHT,

}; Next edit the OnCreate member function.14.What is DNS

Domain Name System (DNS) is a hierarchical naming system built on a distributed database for computers, services

15.What is E-mail. email or e-mail, is a method of exchanging digital messages across the Internet or other computer networks.

16.What is HTTP The World Wide Web, abbreviated as WWW and commonly known as the Web, is a system of interlinked hypertext documents accessed via the Internet.

Page 17: 3705

17.Active-X document It is a special file that you can download from a web server. when the browser sees an Active-X document file.

18. What does OLE controls supports? Dynamic invocation (automation) Property pages. Outbound callback interface. Connection (event callback facilities)

19. Explain container features? It handles multiple documents. Displays components metafile in a sizeable,moveable view window. Maintains temporary storage for each embedded object.

20. What are the status of a component?There are 4 states. They are

*Passive *Loaded *Running *Active

Part – B:1. Discuss in detail about ODBC Interface.2. Explain in detail about WinInet3. What is the use of a Splitter Windows ? How can you create it

dynamically and statically4. Develop a simple application for Library information system.5. Explain about in Active-X control6. Explain different classes in winsock.7. Briefly Explain Open Database connectivity.8. Discuss Dynamic linking library in detail.9. Explain in detail about container class10. Briefly explain Database management with ODBC.