KINGS COLLEGE OF ENGINEERING PUNALKULAM DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK UNIT - I WINDOWS PROGRAMMING PART A (2 MARKS)

Similar documents
DEPARTMENT OF INFORMATION TECHNOLOGY ACADEMIC YEAR EVEN SEMESTER QUESTION BANK. UNIT I WINDOWS PROGRAMMING Part-A (2-MARKS)

SHRI ANGALAMMAN COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER SCIENCE VISUAL PROGRAMMING UNIT I

Visual Programming 1. What is Visual Basic? 2. What are different Editions available in VB? 3. List the various features of VB

CS1253-VISUAL PROGRAMMING S4 CSE & S6 IT 2 MARKS & 16 MARKS PREPARED BY S.VINILA JINNY, L/CSE Y. JEYA SHEELA, L/IT

Visual C++ 2. Developing Professional Applications in Windows 95 and NT Using MFC. Marshall Brain th Lance Lovette

END-TERM EXAMINATION

Developing Professional Applications in Windows 95 and NT sing MFC


Prentice Hall CBT Systems X In A Box IT Courses

An Introduction to MFC (builds on your lecture on MFC)

MFC, ATL, and WFC Is MFC Dead?

Binghamton University. EngiNet. State University of New York

VB.NET Web : Phone : INTRODUCTION TO NET FRAME WORK

Qno.2 Write a complete syantax of "Getparents" functions? What kind of value it return and when this function is use? Answer:-

Inside Visual C++: With CDROM (Microsoft Programming Series) PDF

What's New in Access 2000 p. 1 A Brief Access History p. 2 Access the Best Access Ever p. 5 Microsoft Office Developer Features p.


IFE: Course in Low Level Programing. Lecture 5

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY ACADEMIC YEAR (ODD SEM)

About the Author... xiii Introduction... xiv Acknowledgments and Thanks... xv Terminology... xvii Sample Code... xvii

Programming with Microsoft Visual Basic.NET. Array. What have we learnt in last lesson? What is Array?

TABLE OF CONTENTS PREFACE CHAPTER1 INTRODUCING WINDOWS++ 1

Exercises for Delphi Advanced Programming Technology (English Version)

P3e REPORT WRITER CREATING A BLANK REPORT

Lab 7 Macros, Modules, Data Access Pages and Internet Summary Macros: How to Create and Run Modules vs. Macros 1. Jumping to Internet

Windows Programming Using MFC and Visual C ++.Net

Developing Applications Using Visual Basic 2008: Volume 2

This page intentionally left blank

CS410. Note: VuGujranwala.com is not responsible for any solved solution, but honestly we are trying our best to Guide correctly.

KLiC C Programming. (KLiC Certificate in C Programming)

Team Developer. There are no good reasons to stay in legacy mode.

Introduction. ActiveX, OLE, and the Internet

UNIT -I PART-A Q.No Question Competence BTL

Part A (Compulsory) (Marks : 10) Answer all ten questions (20 words each). Each question carries equal marks.

Visual Basic 6 (VB6 Comprehensive) Course Overview

PGDCA II SEMESTER INTERNAL ASSIGNMENT QUESTIONS P.G. Diploma in Computer Applications (2017)

Department of Computer Applications

UNIT 1 PART A PART B

Crystal Reports. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (Crys Rept - 7.1) IDX: Page 1

Call: Crystal Report Course Content:35-40hours Course Outline

Appendix A GLOSSARY SYS-ED/ COMPUTER EDUCATION TECHNIQUES, INC.

Microsoft.NET Programming (C#, ASP.NET,ADO.NET, VB.NET, Crystal Report, Sql Server) Goal: Make the learner proficient in the usage of MS Technologies

M P BHOJ (OPEN) UNIVERSITY, BHOPAL ASSIGNMENT QUESTION PAPER

Outline. COM overview. DCOM overview. Comparison DCOM and Corba

Introducing MFC. Programming Windows with MFC, Second Edition. Jeff Prosise

2. OpenGL in a Window System

Chapter 1: Retrieving Data from an ODBC Database

C# Syllabus. MS.NET Framework Introduction

IT6503 WEB PROGRAMMING. Unit-I

CMPT 212 Introduction to MFC and Windows Programming. Spring 2007

VALLIAMMAI ENGINEERING COLLEGE

QUERY USER MANUAL Chapter 7

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Copyright 2010, Oracle. All rights reserved.

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Get Unique study materials from

CS 4300 Computer Graphics

Post-Graduate Diploma in Computer Application Examination,2008 ELECTRONIC DATA PROCESSING

Since you can designate as many symbols as needed as baseline symbols it s possible to show multiple baselines with unique symbology.

Test Bank Database Processing Fundamentals Designand Implementation 14th Edition Kroenke

Part 18. Developer 2000

Module 2: Getting Started with Visual C AppWizard

MFC Internals. Inside the Microsoft Foundation Class Architecture. George Shepherd and Scot Wingo. Foreword by Dean D. McCrory.

CANVASES AND WINDOWS

HIGHER SECONDARY COMPUTER SCIENCE

Different Ways of Writing Windows Programs

List of Defects Fixed

ADMINISTRATIVE MANAGEMENT COLLEGE

Upgrade: Transition Your MCPD Windows Developer Skills to MCPD Windows Developer 3.5 Instructor: Peter Thorsteinson (VB)

Core Java SYLLABUS COVERAGE SYLLABUS IN DETAILS

Sri Vidya College of Engineering & Technology

Administration. Training Guide. Infinite Visions Enterprise Edition phone toll free fax

SRE VIDYASAAGAR HIGHER SECONDARY SCHOOL. TWO MARKS

Access Review. 4. Save the table by clicking the Save icon in the Quick Access Toolbar or by pulling

Microsoft Access. Introduction to Access, Tables and Data

DATABASES 1.0 INTRODUCTION 1.1 OBJECTIVES

USER S MANUAL. Unified Data Browser. Browser. Unified Data. smar. First in Fieldbus MAY / 06. Unified Data Browser VERSION 8 FOUNDATION

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR (ODD SEMESTER) QUESTION BANK

Database Design Practice Test JPSFBLA

MFC Programmer s Guide: Getting Started

The Kronometer Handbook. Elvis Angelaccio

Index. B backing up 76 7

Visual C++ MFC Programming By Example By John E. Swanke

ELO. ELO Dropzone. Document Management and Archiving Software. September ELO Digital Office GmbH.

Index. Arrays class, 350 Arrays of objects, 97 Arrays of structures, 72 ASCII code, 131 atan2(), 288

MyProgram m i ng Lab. get with the programming. Through the power of practice and immediate personalized

CHETTINAD COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF MCA QUESTION BANK UNIT 1

9. Introduction to MS Access

OBJECT-RELATIONAL COMPONENT APPROACHES: A COMPARISON

NETWORK PROGRAMMING AND MANAGEMENT 1 KINGS DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

Merits of QT for developing Imaging Applications UI

Sage 300 ERP Intelligence Reporting Connector Advanced Customized Report Writing

Introduction to C++/CLI 3. What C++/CLI can do for you 6 The rationale behind the new syntax Hello World in C++/CLI 13

SIMATIC HMI. WinCC V7.4 SP1 SIMATIC HMI WinCC V7.4 Getting Started. Welcome 1. Icons 2. Creating a project. Configure communication

Creating 3D Text with LibreOffice

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Unit Wise Questions. Unit-1 Concepts

CHAPTER 7 COM and.net

Course Title : Computer Fundamentals & Programming in C. SLM Code : C-101. All questions carry equal marks. Total Marks : 20

Windows and Messages. Creating the Window

Transcription:

1 KINGS COLLEGE OF ENGINEERING PUNALKULAM - 613 303 DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK Subject Code & Name: CS1305 Visual Programming Year / Sem : III / VI UNIT - I WINDOWS PROGRAMMING PART A (2 MARKS) 1. Write a simple windows program to print Hello world. 2. Define and list down the GDI Primitives. 3. What is a message? 4. What is a message loop? 5. Define device context. 6. Under what circumstances painting is needed? 7. What are GDI primitives? 8. What are the ways to trigger WM_PAINT message? What does the message do? 9. What is a window programming? 10. List out the main header files in Windows programming. 11. What is Hungarian Notation? 12. What are the steps required to create a window? 13. How to register a window class? 14. What is a window class? 15. How to create a window? 16. What is the use of GetMessage( )? 17. What are the actions of windows procedure? 18. What is WM_DESTROY message? 19. Which function is used to terminate the program? 20. What are the fields in MSG structure? 21. What are queued Message and Nonqueued Messages?

2 22. Give some messages used in Windows. 1. a. Discuss on Windows Messaging. b. Explain about the same in case of Child Window Controls 2. Explain briefly how to create, display and process the window with necessary program. (16) 3. a. Explain in detail about the windows message structure and windows procedure. b. Write a windows program to display Bezier curves. 4. Explain the various methods available to get the DC Handle. (16) 5. a. Explain windows GDI in detail. b. Explain GDI Functions and GDI Primitives. UNIT- 2 VISUAL C++ PROGRAMMING - FUNDAMENTALS PART A (2 MARKS) 1. Give any four pen styles. 2. Give the default font, pen brush, bitmap. 3. What is appwizard? 4. What is class wizard? 5. What are accelerators? 6. What are the types of dialogs? Give application for each. 7. What is event driven programming? 8. Define Application Framework. 9. What are the types of mapping modes? 10. What is the use of SetMapMode command? 11. List out the types of video cards used to display the colors. 12. What is resole font? 13. What is the use of GetSystemMetrics function? 14. Differentiate CClientDC and CWindowDC. 15. Differentiate Modal and Modeless dialogs. 16. What is system modal dialog?

3 17. List some of the COMDLG32 classes. 18. What are dialog controls? 19. Mention some of the window common controls. 20. What are keyboard accelerators? What are the messages generated? 21. What are the types of messages generated by mouse? 1. a. Explain MFC Classes. b. Write a simple program to demonstrate the basic MFC Classes 2. a. Define keyboard Accelerators. b. Explain the purpose of keyboard Accelerators with an example program. c. Write a program for creating a MenuBar with Accelerators (02) (06) 3. Explain Model and Modeless Dialog with Example. (16) 4. a. Explain window common controls. b. Explain in detail how you will load a bitmap into your application. 5. a. Explain the steps with an example for programming a modal dialog. b. Explain with a program the creation of modeless dialog 6. Explain the different mapping modes. Compare and construct. (16) 7. a. Write a program using VC++ to display the character pressed. b. Write a program using VC++ to display mouse coordinates. UNIT- 3 THE DOCUMENT AND VIEW ARCHITECTURE PART - A (2 MARKS) 1. What are toolbars? 2. What are the applications of multiple views? 3. Give two examples for MDI. How many child and parent windows are available in MDI program? 4. What do DLL contain? 5. What is a serialize function? 6. What is a menu? What are its types? 7. Mention two text editing tools.

4 8. What are the characteristics of SDI frame window? 9. What are the two CFrameWnd member functions? 10. How to make a class serialize? 11. Explain splitter window. 12. Differentiate Dynamic and static splitter window 13. What are the functions that treat registry data as either CString objects or unsigned integers? 14. Define DLL. 15. Explain document view architecture. 16. What is a view? 17. Differentiate SDI and MDI. 18. What are the disadvantages of using DLL? 19. What is LoadLibrary( ) function? 20. What is GetProcAddress ( ) function? 1. Write a VC++ program to create a menu bar. (16) 2. Write a VC++ program to create a Toolbar. (16) 3. Write a VC++ program to create a status bar. (16) 4. Write a VC++ program to implement DLL. (16) 5. Explain SDI and MDI Applications in detail. (16) 6. Differentiate Extension DLL and Regular DLL with an example program. (16) 7. a. What is meant by splitter window? b. How to create dynamic splitter window? c. Implement a dynamic splitter window in an MFC Application. (02) (06) 8. Explain the document view architecture with a program. (16) 9. Develop a calculator using dialog based application. (16) UNIT 4 ACTIVEX AND OBJECT LINKING AND EMBEDDING (OLE) PART - A (2 MARKS) 1. Name two applications of OLE. 2. What is COM? 3. Define DCOM

5 4. Depict the hierarchy of CRichEdit class. 5. What is an ActiveX control? 6. How ActiveX controls are different from ordinary controls? 7. Write short notes on aggregation 8. What is the use of IUnKnown interface? 9. Mention the features of COM 10. What is class factory? 11. What is the use of CLSIDFromProgID? 12. What do INTERFACE-PART macros do? 13. What is the purpose of DECLARE-INTERFACE-MAP macro? 14. List out the four states that an embedded object can assume? 15. What are the special features of container? 16. How a COM client calls out of process components? 17. Define Object Model 18. Write short notes on versioning. 19. Mention some applications of OLE 20. What is marshaling? 1. Write down the steps of MFC OLE drag and drop processing with a neat diagram. (For what this question was highlighted?) (16) 2. a. Highlight the features of COM. b. Write a program to implement COM. 3. a. Explain the steps involved in the creation of active-x control. b. Explain with example program how to use Calendar ActiveX Control. 4. Explain how you will add an active X control during runtime with necessary program. (For what this question was highlighted?) (16) 5. a. Explain containment and Aggregation Vs Inheritance. b. Explain how COM calls component of In-Process and Out-Process 6. a. What is OLE? Explain it in detail. b. Explain about MFC OLE Drag and Drop. 7. What is an ActiveX control? How to build an application that uses a calendar control in a dialog? (16) UNIT 5

6 ADVANCED CONCEPTS PART - A (2 MARKS) 1. What is meant by multithreading? 2. What is Winsock? 3. Which are the databases we can open with DAO? 4. What are the applications of multithreading? 5. Mention some advantages of DBMS 6. What is process and thread? What are the two kinds of threads in window? 7. Define ODBC? 8. What are the methods of Binary interface method? 9. What is RFX and where it is used? 10. What is the use of CRecordSet::dynamic? 11. What are the steps to create sample database? 12. How to use Single Row Functions? 13. What are Data Transfer and its two structures? 14. List the MFC WinInet Classes. 15. List the advantages of WinInet over Winsock. 16. Define ISAPI Server Extensions. 17. List MFC ISAPI Server Extension classes. 18. List the components of OLEDB Architecture. 19. Define IIS. 20. Define WinInet. 1. Explain how database connectivity can be achieved using ODBC. Write necessary coding and also write coding to query the database. (16) 2. a. Explain how threading is achieved in VC++. b. Write a Single Threaded program with implementing Progress Bar. 3. a. What is DBMS? b. What is SQL? c. Explain MFC ODBC Classes? d. Explain filter and sort strings? 4. Explain with example the Winsock class in detail. (16) 5. a. Explain Chat Application

7 b. State and explain about the classes in WININET. 6. Write a VC++ program to build a web client using WinInet. (16) 7. a. Explain IIS with suitable example. b. Explain how we use ISAPI extensions.