CS1305 - VISUAL PROGRAMMING

KINGS COLLEGE OF ENGINEERING

Department of Computer Science & Engineering ACADEMIC YEAR – 2010 – 11(ODD SEMESTER)

Question Bank SUBCODE / SUBJECT: CS1305 / Visual Programming

YEAR / SEM: III / V

UNIT – I WINDOWS PROGRAMMING PART – A ( 2 MARKS ) 1. List out the aspects of Windows 2. Define Dynamic link libraries 3. List out the types of DLL 4. Define Window Procedure 5. Define Message Queue & Message Loop 6. Define handle 7. Define Hungarian Notation 8. Define Queued Message & NonQueued Message 9. What are the events used to generate a WM_PAINT message? 10. Define invalid region or update region 11. Define invalid rectangle 12. Define Device context 13. Define Clipping region 14. Define System font 15. Define resolution, pixel size, metrical size 16. What is the use of COLORREF? 17. Define dithering 18. List out the pen styles 19. What are the functions used to create a Brush? 20. Define viewport and window 21. List out the device coordinate system 22. Define region 23. Define child window control.

PART – B 1. Explain in detail about various versions of Windows Operating System (16) 2. Explain briefly about a) how to create a window (6) b) displaying the window (4) c) processing the message (6) 3. a. Describe the functions of Message Loop (8) b. Explain in detail about the Windows Message structure and Windows procedure (8) 4. a. How does the WM_PAINT message is processed? (10) b. What is WM_DESTROY message? How the program is terminated? (6)

KINGS COLLEGE OF ENGINEERING

1

CS1305 - VISUAL PROGRAMMING 5. a. Define DC and explain the methods available to get the DC and various types of DC handle . (16)

UNIT – II VISUAL C++ PROGRAMMING – INTRODUCTION

PART – A ( 2 MARKS)

1. Define Application Framework 2. Define Appwizard 3. Define Classwizard 4. What are the diagonestic tools available in VC++ 5. Define gallery 6. Define vtable 7. What are the files generated while creating a project. 8. What are the resources available in resource editor 9. Distinguish between Win32 Debug Target and Win32 Release Target 10.Define Precompiled Header 11.Distinguish between Modal and Modeless dialog controls. 12.List out the Windows common dialog classes 13.Define Bitmap 14.Define Color and Monochrome Bitmap 15.List out DIB Access functions 16.Draw the Structure of BMP file.

PART – B 1. Draw & Explain in detail about various components of VC++ (16) 2. Explain in briefly about a. MM_TEXT Mapping Mode (5) b. Fixed Scale Mapping Mode (5) c. Variable Scale Mapping Mode (6) 3. a. Explain in detail about various types of video cards (10) b. How to compute Character Height (6) 4. What is meant by Modal & Modeless controls? Explain Modal dialog controls with a sample programs. (16) 5. Explain in detail various functions of CDib class? (16)

UNIT – III THE DOCUMENT AND VIEW ARCHITECTURE

PART – A ( 2 MARKS)

1. Define Keyboard Accelerator 2. List out Rich Edit Control’s functions 3. Define toolbar 4. Define Status bar 5. List out Toolbar states 6. Explain in briefly about status bar definition 7. Define CPersistentFrame class 8. Define PreCreateWindow member function 9. Define Windows Registry 10. List out the steps involved during the Interaction between document and view class

KINGS COLLEGE OF ENGINEERING

2

CS1305 - VISUAL PROGRAMMING 11. Define Serialization 12. Draw & Explain in briefly about Serialization process 13. Define Dirty flag 14. Define splitter window 15. State the difference between static and dynamic splitter window 16. List out the view options of splitter window 17. Define DLL 18. Distinguish between Implicit and Explicit DLL 19. Define Custom Control DLL 20. Distinguish between Regular and Extension DLL

PART – B 1. Write down the steps to create a VC++ program that encapsulates the menu, keyboard accelerator and tool bar to draw a circle and rectangle and show the output (16) 2. What are the functions performed in SDI application and Explain that functions in detail (16) 3. Write down the steps to create a VC++ program to create an Extension DLL and use it and test it in the client program (16) 4. Develop a dialog based application to simulate a calculator. The calculator should add, multiply, subtract and divide 2 integers. (16) 5. Develop a DLL to add & multiply two numbers and write an application to use the DLL (16)

UNIT – IV ACTIVEX AND OBJECT LINKING AND EMBEDDING (OLE)

PART – A ( 2 MARKS)

1. Define Active X control 2. List out Calendar control’s properties, methods and events 3. Define container 4. Define event sink map 5. Define COM 6. List out the COM features 7. Define Class Factory 8. Define Aggregation and Containment 9. Define Embedding and Inplace Activation 10. Define Mini server 11. Define Full Server 12. List out the Component States 13. List out the Functions in IOleObject Interface 14. List out the functions in OLE Helper 15. Define OLE handler 16. Define OLE Drag & Drop.

PART – B 1. How the COM Client interacts with Inprocess Component 2. a.What are the steps involved to create an Active X control at run time b.What are the steps involved in OLE Drag & Drop 3. Explain the features of OLE container – component interactions 4. Explain in detail Active X control Container programming with example

KINGS COLLEGE OF ENGINEERING

(16) (6) (10) (16) (16)

3

CS1305 - VISUAL PROGRAMMING 5. Write a short notes on a. Unknown Interface and Query Interface Member function b. Reference counting 6. Write a short notes on a. Class Factory b. Containment & Aggregation Vs Inheritance

(10) (6) (10) (6)

UNIT – V ADVANCED CONCEPTS

PART – A( 2 MARKS)

1. List out the Advantages of DBMS 2. Define SQL 3. Define environment, connection and statement 4. List out the functions in CRecordset class 5. List out the MFC classes for DAO. 6. Compare Table with Dynaset, Snapshot 7. Define Dynaset 8. Define Snapshot 9. List out the CRowView Pure virtual member function 10. Define threads 11. Define Synchronization 12. Define event 13. Define IP, UDP and TCP 14. Define DNS 15. Define WinSock 16. Define WinInet 17. Define IIS 18. Define ISAPI server PART – B 1. How the Worker and Main Thread Communicate with each other (16) 2. Explain how ODBC database connectivity is done in VC++ with sample application (16) 3. Explain in detail about various functions of CBlockingSocket class. (16) 4. Write down the Winsock Server and Client Program (16) 5. a. List out the advantages of WinInet over WinSock (4) b. Explain in detail about various MFC WinInet Classes (12) 6. a. Explain in briefly about ISAPI server extension DLL (8) b. Explain in briefly about MFC ISAPI server extension classes (8)

KINGS COLLEGE OF ENGINEERING

4

kings

Define DC and explain the methods available to get the DC and various types of DC handle . (16). UNIT – II. VISUAL C++ PROGRAMMING – INTRODUCTION.

33KB Sizes 5 Downloads 201 Views

Recommend Documents

kings - Vidyarthiplus
What are the various symbols of process chart? ... (i) Outline process chart and flow process chart. (4) .... List the various data required to make a cost estimate.

kings - Vidyarthiplus
What is meant by Work Study? 2. What is meant by Method Study? 3. What is Process Charts? 4. What is SIMO Charts? 5. What is multiple activity charts? 6.

kings
Find whether the following signals are periodic or not. (i) x(t)=2cos (10t+1)-sin (4t-1). (4). (ii) x(t)=3cos4t+2sint. (4) b. Check whether the system y(n)=sgn[x(n] is.

kings of -
KINGS OF. Thurs. 11th May. Materials needed. ✓ Your students' and your own voices. ✓ Lyrics. ✓ YouTube clips (links below). ✓ Jury (2 students from each class + yourselves). ✓ 2 sets of 3 laminated comments (from AST – one per class). Sta

kings vs canucks.pdf
kings 17/01/2012 vancouvercanucks photos. Kings vs.canucks 01/13/2014 losangeles kings photos. Playoff previewparty kings vscanucks then nowtheroyal half ...

Kings field ps2
At guide pdf.Download Kings field ps2 - Ilrisveglio deltuono.Kings field ps2.Rixtonme. and.Kings field ps2.Rhapsody - LegendaryTales.Kings field ps2.Devious ...

kings molly jane.pdf
Janeasher 39 s poundland bakewarerange. selling like hotcakes. Katie price offers prince williamand kate middleton advice on. Mollie king and frankiesandford ...

Kings County Farm Bureau.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Kings County ...

kings quest 7 full.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

kings queens of the underground.pdf
kings queens of the underground.pdf. kings queens of the underground.pdf. Open. Extract. Open with. Sign In. Main menu.

Unofficial Tomb Kings Battletome FAQ.pdf
(pg 78) Swift Vengeance Cohort. Replace the Vanguard rule with the following: Vanguard: Skeletal horsemen are used to pin down enemy units. until the bulk of ...

all the kings men.pdf
all the kings men.pdf. all the kings men.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying all the kings men.pdf.

Kings Engineering College Electrical & Electronics Engineering ...
Page 1 of 23. EE 1354 MODERN CONTROL SYSTEMS. KINGS COLLEGE OF ENGINEERING, PUNALKULAM 1. KINGS. COLLEGE OF ENGINEERING. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING. QUESTION BANK. NAME OF THE SUBJECT: EE 1354 MODERN CONTROL SYSTEMS.

Kings Engineering College Computer Science and Engineering ...
Draw the protocol stack for SSL. 13. ... Displaying Kings Engineering College Computer Science and Engineering Sem 8 Network Protocols.pdf. Page 1 of 4.

"king of kings".pdf
kings omaha kokomaha twitter. Wwe triple h new titantron 2011 the. king of kings music youtube. King of kings 1961 filmwikipedia, the. free encyclopedia.

crusader kings 2}.pdf
game download green man gaming. How crusader kings 2 is the best. game of thrones simulator around. Crusader kings 2 review pc gamer. Crusader kings ii ...

kings bounty the legen.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. kings bounty the ...

results-Kings sprint - Notepad
E TAI East Taieri. 16:12. 7 25 Sarah Johnstone. E TAI East Taieri. 17:07. 8 92 Rachael Cox. StC St Clair. 26:42. Secondary Girls (7) 1.9 km 0 m 18 C. 1 34 Emily Buschl. OGS Otago Girls. 17:19. 2 1 Georgia/Sam Knopp/Hope. BAY Bayfield. 23:46. 3 4 Marc