Sie sind auf Seite 1von 61

DETAILED SYLLABUS

O LEVEL DOEACC COURSE

DOEACC Society
(An Autonomous body of Department of Information Technology, Ministry of Communication & Information Technology, Govt. of India)

ELECTRONIC NIKETAN 6,CGO Complex New Delhi 110003 Tel: 91-11-4363330 -1-2(3 Lines), 4366577, 79, 80. Fax: 9111-4363335 Web Site: http://www.doe.gov.in E-Mail: doeacc@doe.ernet.in

CONTENTS

S.NO. 1. 2. 3.

TITLE Salient Features of DOEACC Scheme Project Table for O Level syllabus Syllabus for the following subjects:-

Page Number 3 6 7

4.

M1 M2 M3 M4

IT Applications & Tools. Business System. Internet & Web Page Designing. Elective:(One out of the following two subjects to be chosen) M4.1 Programming & Problem solving through C language. M4.2 Programming & Problem solving through VB. 36 40

8 26 32

COPY RIGHT The material contained in this booklet is the property of the DOEACC Society and should NOT be reproduced in any manner without prior written permission from the DOEACC Society.

SALIENT FEATURES OF DOEACC SCHEME 1. 1.1 PREAMBLE The rapid growth and transformation of Information Technology (IT), in the late eighties, generated tremendous career opportunities. To fill this escalating demand for computer professionals, a large number of private institutions mushroomed, with variegated shades of excellence. Though some of these institutes were good, many charged exorbitant fees without providing commensurate training to their students. This created widespread concern not only over the proliferation of such institutes, but their credibility. To remedy the situation, the Department of Electronics (DOE) now Department of Information Technology (DIT) formulated a comprehensive policy on Computer Software Export. Embodied therein, was Software Development and Training to generate quality manpower by harnessing the competence and expertise existing in the private sector computer training institutes, thereby widening the educational opportunities in the area of computers. The Department of Electronics Accreditation of Computer Courses (DOEACC) Scheme is the outcome of a joint effort of the All India Council for Technical Education (AICTE) and the DIT based on this policy. The profile aims at presenting the features of DOEACC Scheme which is implemented by the DOEACC Society (hereinafter referred to as the Society). The Society is an autonomous organisation under the DIT. OVERVIEW OF THE DOEACC SCHEME The Scheme came into being in 1991, with the full support of a large number of institutes, in the private sector, that conduct computer training courses. The Scheme has a dual role -

1.2

1.3

1.4

2. 2.1

2.2

2.2.1 first: to set standards for the conduct of computer training, by institutes, at four Levels of `O' (Foundation), `A' (Advanced Diploma), `B' (MCA) and `C' (M.Tech.). 2.2.2 second: to open the non-formal sector, to develop IT manpower, to meet the shortage. 2.3 Functional areas of the Society -

2.3.1 Apart from administration of the Scheme, there are three functional areas of Accreditation, Registration and Examination. 2.3.2 Accreditation is the process of granting permission, to an institution applying for it, to conduct a DOEACC course.

2.3.3 Registration is the process through which a candidate gets into the DOEACC Scheme and is a mandatory requirement to appear in a DOEACC examination. 2.3.4 Examinations are held, under the Scheme, twice a year, at important cities and towns all over India and test not only the candidates, but also the institutes conducting accredited courses, the latter as determined by the number of candidates who take the examinations through respective institutes and the percentage of candidates who pass. 3. 3.1 SYLLABUS The syllabus for `O' Level has been revised. The revised syllabus consists of three compulsory module and one elective module. The compulsory modules are `IT Application and Tools', Business Systems & Internet & Web Page Designing. Each elective module is to be chosen from two subjects. The structure of the diversified `O' Level syllabus is indicated below: Code Subject

M1 IT Applications & Tools. M2 Business System. M3 Internet & Web Page Designing. M4 Elective:(One out of the following two subjects to be chosen) M4.1 Programming & Problem solving through C language. M4.2 Programming & Problem solving through VB.

3.2

The minimum number of contact hours for each of the above cited modules is indicated in the Table appended. A project is to be completed by the candidates taking the `O' Level examination. Details are given under the head PROJECT. Candidates are allowed a maximum of ten consecutive examinations, reckoned from the examination which a candidate is eligible to take as indicated in the letter of allotment of registration number to the candidate, for completing successfully the `O' Level examination. EXAMINATION PATTERN The examination for each subject would be for a duration of three hours and the total marks for each subject would be 100. Dates for the various activities connected with examinations will be announced through newspapers, well in advance of the examinations. Holding of laboratory work and its examination will be the responsibility of the institutions/organizations, which are running the course. The Society will

3.3 3.4

4. 4.1

4.2 4.3

be responsible for holding the examination for theory papers. In the case of students- at-large, who are taking the examinations as direct candidates, undertaking laboratory work is not obligatory as they are expected to be at the appropriate working level. However, they are required to submit project reports, as in the case of other candidates from the institutes conducting accredited courses and for this purpose, the direct candidates have to make their own arrangements. 4.4 To qualify for a pass in a module, a candidate must obtain at least 50%. The marks will be translated into grades, while communicating results to the candidates. The gradation structure is as below:Percentage Grade

4.5

50% - 54% D 55% - 64% C 65% - 74% B 75% - 84% A 85% and over S Failed (<50) F Revaluation of answer papers of candidates in examinations is not permissible. However, for verification of totals of marks in answer papers, candidates may apply with the stipulated fees and within the stipulated period, if they so desire. Successful candidates in `O' Level would be eligible for a certificate which is recognised as equivalent to Foundation Course by the Government of India for the purpose of employment. DURATION Minimum duration of the O Level course is offered as a part time only and is Course Duration :- One Year.

4.6

5.

6.

AWARD OF CERTIFICATE ON COMPLETION OF TWO MODULES Certificates will be issued to candidates who are registered at `O' Level and who have successfully completed two modules under the revised syllabus for `O' Level, including the compulsory module of `Personal Computer Software'. Such candidates are required to remit stipulated fee for each by demand draft in favour of DOEACC payable at New Delhi

7.

STUDENT GUIDE The Guide enumerates the salient features of the DOEACC Scheme and information relevant to examination, eligibility, publishing material etc.

PROJECT
There is one project at `O' Level. No marks are assigned for the project. A candidate is expected to carry out a project successfully and submit a certificate in the format shown below from the institute (where the candidate has undergone the accredited `O' Level course) or employer (if the candidate has appeared as a direct candidate).

CERTIFICATE
This is to certify that the project work done at ___________________________________ by Mr./Ms. ____________________________________ (DOEACC Registration No. _______________) in partial fulfillment of the `O' Level Examination, has been found satisfactory. This project report has not been submitted for any other examination and does not form part of any other course undergone by the candidate. It is further certified that he/she has appeared in all the modules.

Signature (By head of the Organisation/Division) OR (By head of the institution with PROV NO./FULL NO.)

Table `O' LEVEL SYLLABUS


Module number Code Subject Minimum number of hours

M1 M2 M3 M4

IT Applications & Tools. Business System. Internet & Web Page Designing. Elective:(One out of the following two subjects to be chosen) M4.1 M4.2

120 hrs 120 hrs 120 hrs 120 hrs

Programming & Problem solving through C language. 120 hrs Programming & Problem solving through VB. 120 hrs

AND PROJECT

M1: IT Applications and Tools


Objectives of the Course This Course has been designed to provide an introduction to information technology and its applications. This is an entry level course and does not have any other IT course as its pre-requisite. The course has been organized into two parts. The first part is theoretical and provides an exposure to the field of information technology from the perspective of a first time user. It provides overview of computer organization, data communication and computer networks, software and programming languages. By the end of the first part, a student will become IT literate, and will understand the basic IT terminology. The student will be able to understand the role of information technology and more specifically computers, communication technology, and software in the present social and economic scenario. The second part is oriented towards providing a practical exposure to the student enabling the student to use the computer for some common tasks. B the end of the y second part the student will be able to interact with a computer using MS Windows, perform word processing, do data analysis using a spreadsheet tool, browse the Internet and send/receive emails. The course content has been kept conceptual; avoiding details wherever possible, and does not expect the student to become expert on any specific version of a package. Outline of Syllabus S.No 1. 2. 3. 4. 5. 6. 7. 8. Topic Computer Appreciation Data Representation and Information Concepts Computer Organization Operating System Concepts Microsoft Windows Software Word Processing Package Spreadsheet Package Minimum number of hours 3 5 6 3 7 4 12 14

9. 10. 11.

Programming Languages Networking Essentials Security Total:

2 2 2 60

Syllabus Details 1. Computer Appreciation 1.1. What is a computer 1.2. Characteristics of a computer 1.3. History of computers- generations 1.4. Classification of computers- micro, mini, mainframe, super, notebooks, handheld or mobile computing devices, embedded computers laptops, 3 Hours

1.5. Anatomy of a computer- hardware, input devices, output devices, processing unit, primary memory, secondary storage devices 1.6. What drives a computer- software, program, machine language, higher level programming languages, language translators, compilers, interpreters 1.7. Elements of Networking 1.8. Applications of computers- word processing; business applications like accounting, inventory management, and payroll; email; computer aided design; weather forecasting etc. 2. Data Representation and Information Concepts 2.1. Study of Number Systems 2.1.1. Value v/s Representation of a Number in terms of Decimal, Binary, Octal, and Hexadecimal Number Systems 2.1.2. Conversion amongst Representation Decimal, Binary, Octal and Hexadecimal 5 Hours

2.2. Simple model of computers random access memory- sequence of words, bit, byte, word length, memory size in kilobyte, megabyte, gigabyte 2.3. Representation of Integers in Computers 2.3.1. Sign Magnitude Representation 2.3.2. 1s & 2s Complement Representation 2.4. Representation of Real Numbers in Computers 2.4.1. Representation of Real Values 2.4.2. Range of Real Numbers 2.4.3. Concept of Overflow and Underflow 2.5. Representation of Characters in Computers- Character Codes, ASCII, EBCDIC

2.6. Data v/s Information, Need for information, Qualities of information, Categories of information, Levels of information 3. Computer Organization 3.1. Definition of electronic digital computer 3.2. Basics of Computer Architecture- CPU, ALU, Control Unit, Primary & Secondary Memory 3.3. Commonly used Input Devices- Mouse, Keyboard 3.4. Commonly used Output Devices- Video Display Unit & Printers 3.5. Commonly Used Secondary Storage Devices 3.6. Popular Personal Computers 3.7. PC Anatomy- system cabinet, mother board, expansion slots, device controller cards, switch mode power supply, keyboard, mouse, hard disk, floppy disk drive, multi media kit, CD ROM drive, speaker, micro phone 4. Operating System Concepts 4.1. Relevance of the Operating System 4.2. Resource Management - processor management, memory management, device management, information or file management 4.3. Directory and File manipulations 4.4. Types of operating systems- single user, multi user, single tasking, multi tasking, network operating system 5. Microsoft Windows 5.1 An overview of different versions of Windows 5.2 Opening / Closing of Windows; Resizing of windows 5.3 Basic Windows elements 5.3.1 The desktop 5.3.2 The task bar 5.3.3 The start button 5.3.4 The title bar 5.3.5 The control panel 5.3.6 My computer icon 5.3.7 Network Neighborhood 5.3.8 Wizards 5.3.9 The find feature 5.3.10 Properties 8 Hours 3 Hours 7 Hours

10

5.3.11 Quick view 5.3.12 Web-view 5.3.13 Font management 5.4 File management through Windows, Using Windows Explorer to manage files. 5.5 Using essential accessories 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5 5.5.6 5.5.7 5.5.8 Systems tools- Disk cleanup, Disk defragmenter Entertainment Games Calculator Imaging- Fax Notepad Paint WordPad

5.6 OLE concepts- Embed or link an object into WordPad 5.7 Web features 5.7.1 5.7.2 5.7.3 5.7.4 5.8.1 5.8.2 5.8.3 6. Software 6.1. Types of Software-system v/s application, packaged v/s customized 6.2. System Software- Operating system, Networking Software, Internet Browser, E-mail client 6.3. Personal Computing Tools- word processors, spreadsheets, presentation tools, digital diary 6.4. Application Development Tools- compilers, interpreters, editors, debuggers 6.5. Different types of Business Applications- financial accounting, inventory management, personnel information system, ERP, SCM, CRM 6.6. Vertical Business Applications- Total branch mechanization, banking, Railway reservation system, hospital information system Internet Improved web features (Windows 98 and 2000) Internet connection wizard Web browsers- Internet Explorer E-mail- Outlook Express Mobile computing Plug and play USB Support 4 Hours

5.8 Overview of miscellaneous features

11

6.7. Scientific and Engineering Applications- CAD, CAM, CAE, numerical and statistical packages . 7. Word Processing Package 7.1 Basic word processing concepts 7.1.1 7.1.2 7.1.3 7.1.4 7.2 7.2.1 7.2.2 7.2.3 7.2.4 7.2.5 7.2.6 7.2.7 An introduction to word document, soft copy, hard copy Working with a word processor Advantages of a word processor Applications of a word processor Starting Word The Word Application Window Choosing Commands Getting Help Creating a new document Inserting, Overwriting and Deleting characters Moving Around in a document- Scrolling through a document, Jump to a different part of the document, Moving to a specific page Saving a document Closing a document processing12 hrs word processor,

Getting Started with Word

7.2.8 7.2.9

7.2.10 Opening an existing document 7.2.11 Exiting from Word 7.3 Selecting text 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 Selecting a single word Selecting a line Selecting a paragraph Selecting the entire document Selecting any part of the document Using keyboard to select text Delete selected text Replace selected text Move selected text Copy selected text Reverse or undo the recent changes

Editing text

12

7.4.6 7.5 7.5.1 7.5.2 7.5.3 7.5.4 7.5.5 7.6 7.6.1 7.6.2 7.6.3 7.6.4 7.6.5 7.6.6 7.6.7 7.7 7.7.1 7.7.2 7.7.3 7.7.4 7.7.5 7.7.6 7.8 7.8.1 7.8.2 7.8.3 7.8.4 7.8.5 7.8.6 7.8.7 7.9 7.9.1 7.9.2 7.9.3

Using smart cut and paste Finding text Qualifying the search Replacing text- replace with confirmation, replace without confirmation Finding and replacing formatting- Formatting via find and replace, Find and replace formatting Finding and replacing special characters Print Preview Inserting page breaks Shrinking a document to fit a page Printing the document from standard toolbar and the menu Collate option for printing multiple pages Background and foreground printing Printing to a file Choosing the font and the font size Selecting font style Selecting the case Choosing the position- superscript, subscript Underlining and strike through text Copying or removing character formatting Alignment of text Paragraph indentation Line spacing Spacing between paragraphs Adding borders and shading Tab stops for even text spacing Copying or removing paragraph formatting Paper size and page orientation Working with margins Creating headers and footers
13

Finding and replacing text

Printing documents

Character Formatting

Paragraph Formatting

Page Design and Layout

7.9.4 7.9.5 7.9.6 7.10

Numbering pages and lines Aligning text vertically on a page Creating sections

Editing and Proofing Tools 7.10.1 Checking and correcting spellings- entire document, selected text 7.10.2 Checking the grammar and spelling together, Getting an explanation for a grammar rule, 7.10.3 Using the thesaurus - Looking up for a word in the thesaurus, Replace another word. 7.10.4 Viewing word count and readability statistics

7.11

Using Autocorrect, Autocomplete and Autotext 7.11.1 Creating Autocorrect, Autocomplete and Autotext entries 7.11.2 Using Autocorrect, Autocomplete and Autotext entries to insert text and dates.

7.12

List and Columns 7.12.1 Creating bulleted, numbered, outline numbered list 7.12.2 Sorting a list 7.12.3 Creating multiple columns 7.12.4 Creating columns of unequal width

7.13

Handling Graphics 7.13.1 Inserting clip art, picture into a document. 7.13.2 Modify the size of the graphics on the page. 7.13.3 Position the graphics on the page

7.14

Creating Tables and Charts 7.14.1 Creating tables 7.14.2 Inserting text in tables 7.14.3 Inserting and deleting rows and columns 7.14.4 Resizing columns and rows 7.14.5 Formatting text in tables 7.14.6 Calculate totals in a table 7.14.7 Adding borders and shading to tables 7.14.8 Merging cells in a table 7.14.9 Adding table styles. 7.14.10 Creating and resizing Charts

7.15

Creating and Printing Merged Documents

14

7.15.1 Basic concepts of merging documents 7.15.2 Creating the master (main) document, inserting merge fields into the main document, saving the main document 7.15.3 Creating a data source - creating and attaching a data source, entering data into data source 7.15.4 Merging Documents with data source - merging the information into one file, view and edit merged document, print the merged letters, close the merged document file, Using Mail merge features to create labels and envelops. 7.16 Styles and Automatic Formatting 7.16.1 Formatting using style 7.16.2 Creating and modifying styles 7.16.3 Applying styles to text 7.16.4 Using styles from another template. 7.17 Document Templates and Wizards 7.17.1 What is a template 7.17.2 Creating a new template 7.17.3 Creating a template from an existing document 7.17.4 Creating a document based on a template 7.17.5 Using a Wizard to create a document such as letter 7.18 Creating Web pages. 7.18.1 Creating a web page from template or a wizard 7.18.2 Converting a document into a web page 7.18.3 Adding hyperlinks to web page 8. 7.18.4 Previewing a web page Spreadsheet Package 8.1 Basic Spreadsheet Concepts 8.1.1 What is an electronic spreadsheet 8.1.2 Spreadsheet terminology 8.1.3 Working with spreadsheets 8.1.4 8.1.5 8.1.6 Advanced spreadsheet features Advantages of spreadsheets Applications of spreadsheets 14 hrs.

8.2 Getting started with Excel 8.2.1 Starting Excel 8.2.2 The Excel Application Window 8.2.3 Choosing Commands

15

8.2.4 Getting Online Help 8.2.5 Creating a new Workbook 8.2.6 Entering data in Cells 8.2.7 Entering simple formula in a Cell 8.2.8 Moving around in a Worksheet and Workbook 8.2.9 Saving a Workbook 8.2.10 Closing a Workbook 8.2.11 Opening a Workbook 8.2.12 Exiting from Excel 8.3 Editing a Workbook 8.3.1Editing Cell Contents 8.3.2Selecting a range of Cells, Rows and Columns 8.3.3Clearing Cells, Rows and Columns 8.3.4Inserting Cells, Rows, and Columns 8.3.5Deleting Cells, Rows, and Columns 8.3.6Inserting and Deleting Work Sheets 8.3.7Renaming Work Sheets 8.4 More about entering data in a cell 8.4.1Entering numeric, character, date and time data 8.4.2Entering numbers in a formula 8.4.3Entering text in a formula 8.4.4Entering date and time in a formula 8.4.5Filling adjacent cells and creating series 8.5 Advanced Worksheet Editing 8.5.1Copying and Moving data from selected cells 8.5.2Copying and Pasting selected cells for special results 8.6 More about Formulae 8.6.1Arithmetic Operators 8.6.2Comparison Operators 8.6.3Text Operators 8.6.4Precedence of Operators 8.6.5Automatic conversion of values 8.6.6Referencing Techniques- Absolute, Relative, Mixed 8.6.7Naming of a Range 8.6.8Moving and Copying Formulae

16

8.6.9Displaying Formulae in the Worksheet 8.6.10 Error Values 8.7 Functions 8.7.1Categories of functions 8.7.2Mathematical functions- SUM, ROUND, ABS, SQRT, TRUNC 8.7.3Logical functions- IF, TRUE, FALSE 8.7.4Statistical functions- MAX, MIN, AVERAGE, COUNT 8.7.5Date and Time functions- TODAY, NOW, DAY, MONTH, YEAR 8.7.6Text functions- CONCATENATE, LEFT, RIGHT 8.7.7Financial Functions- SLN 8.7.8Using Function Wizard 8.8 Formatting a Worksheet 8.8.1Formatting Cells changing data alignment, changing date, number, character, or currency format, changing font, adding borders and colors 8.8.2Copying Format to other cells 8.8.3Changing column width and row height 8.8.4Hiding and unhiding columns and rows 8.9 Printing worksheets. 8.9.1Defining page layout 8.9.2Adding headers and footers 8.9.3Inserting and removing page breaks 8.9.4Print Preview 8.9.5Using Print options 8.10 Charts and Graphs 8.10.1 What is a Chart 8.10.2 Components of a Chart 8.10.3 Types of Charts 8.10.4 Creating charts using a wizard 8.10.5 Creating an embedded chart 8.10.6 Creating charts on a separate sheet 8.10.7 Saving and Retrieving charts 8.10.8 Previewing and printing charts 8.10.9 Modifying Charts- resizing, changing chart type 8.10.10Enhancing Charts- adding, changing and formatting legends, adding and changing title, adding gridlines

17

8.11 Database management. 8.11.1 Database management concepts 8.11.2 Concept of a list 8.11.3 Sorting the database 8.11.4 Filtering and finding records in a list 8.11.5 Summarizing data 8.11.6 Using database functions on a list 8.12Creating and using macros 8.12.1 Creating macros using absolute and relative referencing 8.12.2 Running a macro using shortcut key combination or menu 8.12.3 Documenting a macro 8.12.4 Creating, resizing and moving a macro button 8.12.5 Running macros using macro buttons 8.13Creating and using multiple worksheets and linking workbooks 8.13.1 Grouping worksheets to enter common data, formatting and formulas 8.13.2 Inserting and formatting a summary worksheet 8.13.3 Creating linking formulas 8.13.4 Linking workbooks 8.13.5 Creating hyperlinks 8.14Integrating Excel with Word and the Internet. 8.14.1 Integrating worksheets data and charts with word. 8.14.2 Creating an embedded worksheet object in word document. 8.14.3 Using the Internet assistant wizard to convert worksheet data and charts to web pages. 9. Programming Languages 9.1 Machine Language 9.2 Assembly language, Assembler 9.3 High Level Languages, Compilers, Interpreters 9.4 Generation of languages- examples 9.5 Programming paradigms- procedural, functional, logic, object oriented 9.6 Common programming languages and their applications- C, COBOL, FORTRAN, C++, Java, Prolog, Lisp, Visual Basic 2 Hours

18

10. Networking Essentials 10.1 Why network computers? Workgroup support, resource sharing, communication, distributed applications information

2 Hours sharing,

10.2 Local Area Network- Cabling, LAN cards, hubs, switches, servers, clients 10.3 Wide Area Network- private network; Internet; communication infrastructure- PSTN, ISDN, VSAT; Internet Service Provide r, Dial Up Connection, Dedicated Connection, modem, router 11 Security 11.1 Concept 11.2 Perverse Software 11.3 Preventive Measures 11.4 Virus Scanners, Removers BOOKS RECOMMENDED FOR READING AND REFERENCE Main Reading Donald H. Sanders, Computers Today McGraw Hill 3rd Edition PK Sinha, Computer Fundamentals BPB publication Hart Davis, Word 2000 no experience required BPB publication Weisskopf, Excel 2000 no experience required BPB publication Supplementary Reading Mark G. Simkin, Computer Information Systems for Business PHI Michael Desmond, Windows 2000 professional Bible IDG publication Ritchie, Operating Systems, BPB publication Getting Results with Microsoft Office 97 Lonnie E. Moseley and David M. Boodey, Mastering Office 97 BPB publication Software Operating System- Windows 98/2000/XP Word Processor/Spreadsheet- Microsoft Office 97/2000/XP Hardware A personal computer capable of running the software listed above. The following configuration is recommended. Processor Speed 500 MHZ or higher Memory- 64 MB or higher Disk Space- 10 GB or higher Monitor VGA (16-colors) Mouse Windows compatible 2 Hours

19

IT Applications and Tools Sample Question Paper

Duration : 3 Hrs Max Marks : 100

Attempt all Questions. SECTION A

Indicate the most appropriate answer: 1.Which of the following is not an operating system? a. Linux b. DOS c. WINDOWS d. ORACLE

(10 * 1 = 10 marks)

2. When you move the mouse pointer towards the left side of a word window, it changes from an I-beam to a right pointing arrow. This area in the left side of word window where the I-beam changes to a right pointing arrow is referred to as: a. Selection bar b. Selection pointer c. Selection beam d. None of the above 3. The addressing modes that can be used in a Spreadsheet formula are a. Only absolute b. Only absolute a nd relative c. Absolute, relative and mixed d. None of the above 4. Which of the following can be used as Primary Memory a. Cartridge tape b. Hard disk c. Optical disk d. None of these 5. Plotters are very useful in applications such as a. b. c. d. Computer A ided Design Financial Accounting Word Processing All the above

6. Which of the following checks for the syntactic correctness of a source program? a. Compiler

20

b. Interpreter c. Compiler and Interpreter d. None of the above

7. Find the odd o ne out a. Mouse b. Track Ball c. Joystick d. Touch Panel 8. In a CPU, the hardware for adding two numbers will be located in a. Control Unit b. ALU c. Internal Register d. None of the above 9. =COUNT(1,2,3,4) will return a. 0 b. 4 c. #VALUE d. None of the above 10. Which of the following descriptions relates to a floppy diskette? a. 9 Track, 1600 BPI b. Double Sided Double Density c. 33 MHz, Zero wait time d. 40 MB capacity Match the following: 1. Spiral organization of tracks 2. Dumb terminals 3. Auto Correct 4. Data tables 5. Bar code reader 6. Virtual Memory 7. Multitasking 8. Cache 9. (101101)2 10. Viruses ( 10 * 1 = 10 Marks ) a. Magnetic Disk b. Optical Disk c. Scenarios d. Logical Extension of Primary Memory e. Correcting frequently typed mistakes f. Application Software g. DOS h. Windows 95 i. Principle of locality j. (45)10 k. Vaccines l. Optical scanning device Fill in the blanks with the most appropriate answer: (10 * 1 = 10 marks) A. Select Application E. Undo I. Sixteen B. Eight F. Testing J. Drag, Vertical C. Paragraph mark G. Drag, Horizontal K. Increase Decimal D. H. Header L. F6-F4

21

M. Fast Q. Transfer time T. Adapter Card X. Schema AB. Access time Releasing AF. Slow

N. Landscape R. 10(Power 10)

O. CLEAR S. Network Interface Card

P. footer

U. Batch processing V. One-to-many Y. 10(Power 12) Z. Real time AC. Underline AD. Tab AG. D6-D4

W. One-to-one AA. Table AE.

AH. Decrease Decimal

1. A _____ is a piece of text printed at the bottom of each page. 2. A document can be printed in the Portrait or the ______ mode. 3. The ______ stores the formatting applied to each paragraph in word processor. 4. The AutoFill handle is located at the _____ corner of the selected range in a worksheet. 5. If you copy a cell containing '=E6-E4' to the next column in the same row, the copied cell would contain _____. 6. For a computer to be connected to a LAN, the computer must have a _________________. 7. Use of computers in a nuclear pl nt is an example of a/an _____ system. a 8. The structure of a database is called _____. 9. Data _____ is the time needed for a computer to locate and transfer data from secondary storage to primary memory. 10. Changes in a document can be reverted by using the _______________ feature.

State True or False: (10 * 1 = 10 marks)

1. When no object has been deleted, the windows desktop does not contain the Recycle bin object. 2. There is no limit on the number of levels in a multilevel list in Word. 3. To select an entire column of an Excel spreadsheet, it is required to click on the cell located in the first row of the corresponding column. 4. Sheet1!A1:C1 is an invalid range address. 5. In a batch processing system data for a certain time period is collected and then processed as a batch.

6. In a Binary representation the rightmost bit is always one.

22

7. The data read from the memory or that to be written in the memory is placed in the register called MAR. 8. Page breaks created in a WORD document can be highlighted and deleted. 9. Inkjet Printer is a page printer. 10. It is possible in Excel to select non-contiguous data for formatting. SECTION B 1. Explain the following in not more than 5 lines each. marks) a. Task Bar b. Desktop c. Recycle Bin d. Quick View 2. Describe briefly with respect to a word processing software, how documents can be protected from changes and unauthorized usage. ( 5 marks ) 3. Its your sister's birthday and you want to invite all her friends to a party. What tool will you use to create personalized invitation letters? Briefly describe the steps you will take. ( 4 marks ) 4. Describe the process of plotting charts in Excel. ) ( 4 marks (4 * 1 = 4

5. What is a range in Excel? What does naming a range mean? What is the process of creating a range? ( 5 marks ) 6. With the help of suitable examples, explain briefly the following categories of software. (2*3=6 marks ) a. System software b. Utilities c. Application software 7. Differentiate between marks) a. Line printers and Character printers b. 1's Complement and 2's Complement c. Compaction and Relocation 8. Represent the following numbers in sign magnitude, 1's complement, 2's complement notation. (A ssume that the extreme leftmost bit is used for sign) (2 * 3 = 6 marks) (5 * 3 = 15

23

a. 2 8 b. +45 9. What is the need for memory management? Explain briefly the role of Operating System in memory management. ( 6 Marks ) 10. What is the role of clipboar in windows environment? How does it help d OLE in various applications? ( 5 Marks )

24

M2: Business Systems


Outlines of syllabus S.No. 1. 2. 3. 4. 5. Topic Introduction to Business Data Processing Concept of Files Principles and Techniques of Programming Visual FoxPro Business Applications Lectures Practicals/tutorials Total for the subject DETAILED SYLLABUS 1. Introduction to Business Data Processing 1.1 6 hrs. = = = Minimum no. of hrs 06 02 04 40 08 60 60 120

Overview of business systems 1.1.1 Management functions 1.1.2 Levels of management 1.1.3 Information requirements for planning, coordination control for various levels in business, industry and Government.

and

1.2

Profile of data in business systems 1.2.1 Large volumes of data and data handling implicit 1.2.2 Identification of relevant data 1.2.3 Classification of data elements by function (Master, Transaction, Control, Security, Checking) and by source (Raw and Derived) 1.2.4 Primary and Secondary 1.2.5 Historical data for reference and analysis 1.2.6 Need for ensuring accurate, reliable and timely processing of data 1.2.7 Basic tasks in business data processing, data origination, capture, sorting, merging, calculating, summarizing, managing output-results, storing and retrieving transmission, both interim and final 1.2.8 Examples of business data processing and applications, Payroll, Financial, Accounting, Inventory, etc. Computer System as a potent tool to meet business data processing needs, facilities available in computerized systems for: 1.3.1 Data capture, online and offline 1.3.2 Validation, storage, processing and output 1.3.3 Transmission

1.3

25

2.

Concept of Files 2.1 2.2 2.3 2.4

2 hrs.

Contents of master file Information of permanent and semipermanent nature Transaction file and Transaction file organization Sequential, relative and indexed Modes of processing; Batch, online and real-time 4 hrs.

3.

Principles and Techniques of Programming 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Introduction to programming Program definition Program life cycle Characteristics of a good program Data handling Introduction to flowcharts Operation on file : 3.7.1 Input 3.7.2 Output 3.7.3 I/O Processing a File Report production and file updation. Learning to make simple reports with totals Overview of control break procedure for report production Multiple handling File Updation : 3.13.1 Sequential file-updation 3.13.2 Random updation Pseudocodes 3.14.1 Pseudocode defined 3.14.2 Examples of pseudocode with dry run Modular programming Structured approach to programming Checking program design Program development process Program documentation

3.8 3.9 3.10 3.11 3.12 3.13

3.14

3.15 3.16 3.17 3.18 3.19 4.

Visual FoxPro

40 hrs.

4.1. An introduction to Visual FoxPro 4.1.1. A quick tour of Visual FoxPro 4.1.1.1. The menu system 4.1.1.2. File Types 4.1.1.3. The Toolbars 4.1.1.4. Visual Design and Wizards 4.1.1.5. The Command Window and the View Window 4.1.1.6. Other features of the Visual FoxPro Interface 4.2. Tables in Visual FoxPro

26

4.2.1. Creating a New Table 4.2.1.1. The Table Wizard 4.2.1.2. Using the Table Designer 4.2.2. Using Tables 4.2.3. Opening a table 4.2.4. Working on a table 4.2.5. Modifying a table 4.3. Managing Data 4.3.1. Switching from Browse to Edit display 4.3.2. Entering and Editing Data 4.3.3. Appending data 4.3.4. Editing data 4.3.4.1. Moving through a Table 4.3.4.2. The GoTo Record command 4.3.4.3. Find and Replace 4.3.4.4. Deleting a Record 4.3.5. Altering the Display of the Browse Window 4.4. Using Queries 4.4.1. Creating a Query 4.4.1.1. The Query Wizard 4.4.1.2. The Query Designer 4.4.2. Running the Query 4.4.3. Using the Query 4.4.3.1. The Query Wizard 4.4.3.2. Modifying the Query 4.4.3.3. The Query Designer 4.5. Using Forms 4.5.1 AutoForms 4.5.2 The Form Wizard 4.5.2.1 Choosing Fields 4.5.2.2 Choosing a Style 4.5.2.3 Choosing Sort Order 4.5.2.4 Generating the Form 4.5.3 Using Forms 4.5.3.1 Running a Form 4.5.3.2 Using the Form's Control Panel 4.6. Using the Report Wizard 4.6.1. AutoReports 4.6.2. Using the Report Wizard 4.6.2.1. Using the Group/Total Report Wizard 4.6.3. Printing Reports 4.6.3.1. Filtering records for the printed report 4.7. Mailing Labels and Mail Merge 4.7.1. Working with Mailing Labels 4.7.1.1. The Label Wizard

27

4.7.2. Using Mail Merge 4.7.2.1. The Mail Merge Wizard 4.8. Working from the Command Window 4.8.1 Using the Command Window 4.8.1.1 Creating a new table 4.8.1.2 Modifying the structure of the table 4.8.1.3 Displaying and editing the data 4.8.1.4 Deleting and Recalling the records 4.8.1.5 Using commands RUN, SET DEFAULT, DISPLAY, LIST, ? 4.8.1.6 Using logical expressions, logical functions, relational operators, logical operators, IIF() function 4.8.1.7 Sorting a table 4.8.2 Using and creating Indexes 4.8.2.1 Setting the index order 4.8.2.2 Reindexing 4.8.3 Filtering data 4.8.4 Use of Macro (&) command 4.8.5 Date Functions 4.8.6 Use of multiple tables 4.9 Working with Relational Databases in Visual FoxPro 4.9.1 Concept of relational databases and normalization 4.9.2 Entering and Viewing data using the Form Wizard 4.9.3 Using the Query Wizard to work with Relational Databases 4.9.4 Using One-to-many Report Wizard 4.9.5 Using the View Window 4.9.6 Using Queries and SQL 4.9.6.1 Queries versus Views 4.9.6.2 The Que ry designer 4.9.6.2.1 Working with multiple tables 4.9.6.2.2 Directing output 4.9.6.2.3 Viewing SQL code 4.9.6.2.4 Maximizing the Table View 4.9.6.2.5 Running the Query 4.9.6.3 One-to-many and Many-to-one Queries 4.9.6.3.1 Filtered Joins 4.9.6.3.2 A grouped Query 4.9.6.4 The SQL SELECT command 4.9.6.5 Other SQL commands 4.9.6.6 Using Visual FoxPro databases 4.10. 4.10.1 4.10.2 4.10.3 Visual FoxPro Utilities Importing and Exporting data using Import Wizard Editing text The Edit menu, Format menu, Spelling tool Object Linking and Embedding

4.11. Programming and developing applications using Visual FoxPro 4.11.1 An overview of programming 4.11.2 Creating program files

28

4.11.3 Running the program 4.11.4 Input/Output 4.11.5 Variables 4.11.6 Simple output using ? command 4.11.7 Getting Input from the User 4.11.8 The @SAYGET command 4.11.9 Picture clauses 4.11.10Control Flow 4.11.10.1 Looping 4.11.10.2 Selection 4.11.10.3 EXIT and LOOP 4.11.11Procedures and Parameters 4.11.11.1 Scope of Variables and Passing Parameters 4.11.11.2 User-Defined Functions 4.11.12Using the Menu Designer 4.11.13Using the Project Manager 4.11.14Techniques of writing efficient foxpro programming codes.

5.

Business Applications 5.1 Design, analysis and development of 5.2 Computerized Financial Accounting 5.3 Computerized inventory control 5.4 Computerized payroll 5.5 Computerized invoicing application

8 hrs.

BOOKS RECOMMENDED FOR READING AND REFERENCE MAIN READING 1. 2. V.K. Kapoor, Introduction to Computer Data Processing & System Analysis, Sultan Chand. M.M. Lipschutz, S. Lipschutz, Theory and Problems of Data Processing, Schaum Series, 1981 Antanowich, FoxPro 2.5/2.6, Galgotia, 1996 R.K. Taxali, FoxPro 2.5 Made simple for DOS & Windows, BPB Publications, 1996

3. 4.

SUPPLEMENTARY READING 1. 2. Griver, FoxPro 2.6 Code Book, BPB Publication, 1994 Siegel, Mastering FoxPro 2.5, BPB Publication, 1994

29

3.

Dan Gookin, FoxPro 2.6 for Dummies, Pustak Mahal Software Operating System- Windows 98/2000/XP Visual Foxpro Hardware A personal computer capable of running the software listed above. The following configuration is recommended. Processor Speed 500 MHZ or higher Memory- 64 MB or higher Disk Space- 10 GB or higher Monitor VGA (16-colors) Mouse Windows compatible

BUSINESS SYSTEMS
Visual FoxPro practical assignments I

Week 1. Session 1: 1. 2. Load Visual FoxPro with clear screen. Create a database having following fields: (0.5) Emp_code n 4 Emp_name c 15 address 20 city c 10 basic n 5 loan_sanc L 1 loan_amt n 5 and save this database with the name Employee.dbf. Input 5 records in Employee.dbf. In the city field write the city names as Faridabad and New Delhi. Rest of the entries can be of your choice.

3.

30

4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15.

Display all the records on screen. (1) List only those records whose city is Faridabad. (0.5) List only employee code, employee name, basic and loan sanctioned fields of employee.(0.5) List all the records of database without record numbers. (0.5) List fields employee code, employee name and address without the headings. (0.5) Redirect the output of list to printer. (0.5) Goto the third record and display it. Display next four records of a databaseemployee.dbf then go to top (0.5) Display only those records whose basic is greater than 15000. (0.5) Go to the beginning of a database. Search for all records of employees in employee.dbf whose names start with R. (1) Search for those records whose city is New Delhi and basic is greater than 2000.

Session 2 16. Locate those record that contains Kumar as the second name in name field of employee.dbf. 17. Go to the fifth record of database and edit the record and make the changes. Permanent. 18. Add 5 more records in employee.dbf. 19. Change those records whose loan is sanctioned. 20. Change the value of only city, and loan amount. 21. Open browse window in such a manner in which no user can delete records while remaining in browse window. 22. Reduce the width of each field in browse to 10. 23. Now close the browse window and replace all the basic of employees with an increase of Rs. 1000/-. 24. 25. 26. 27. Replace the name of an employee by Amit whose city is New Delhi. Delete the records form 5 to 8 in single command. Call back the 6 th record and permanent remove the rest of the marked records. Add neew fields in employee.dbf with the name. pin n 6 detail memo 10 Make an entry in all the records List only employee code and detail field of employee.dbf. Show the listing of dbf files on the screen.

28. 29. 30.

31

31.

Display list of .BAK files in the current directory if it contains any .BAK file then erase it.

Week 2. Session 3 1. Create another database with the STUDENT having the following structure: Rollno n 5 Name c 15 Class n 2 DOB d 8 Fathers name c 15 Address c 20 Phone n 8 Save the structure and input at least 10 records in database. Sort the records of file in ascending order on Rollno. (0.5) Also, sort them on Name in another file. (0.5) Use that file which is sorted on rollno and display the records. (0.5) Create another database which have the fields rollno, name, class and sorted on DOB. (0.5) Use employee.dbfand sort the file on city and pin in descending order. (0.5) Repeat steps 4 to 7 with index command. (2) Perform structural compound indexing on student. dbf based on Name field.

2. 3. 4. 5. 6. 7. 8. 9.

Session 4 10. 11. 12. (1) Perform independent compound indexing on student. dbf based on Name field. (1) Use the independent compound index file and add 2 more records in it . (1) Use employee. Dbf and create a report having the following format:

EMPLOYEES DETAIL OF

DATE: SNO. EMP CODE EMP NAME ADDRESS

PAGE NO: BASIC

32

13. 14. 15. 16. 17. 18. 19. 20.

This report should contain all the records of same city on one page. (0.5) Insert SNO which is not a field of database file. (0.5) Report should have proper headings and summary details. (0.5) Insert current date on every page and page no on each page. (0.5) Alignments of the report should be proper. (0.5) Show the report on the screen by giving a command in command window. (0.5) Print this report and submit to you Faculty with the following details also: (4) - Structure of a database - Records of a database Create labels for all the employees. Labels should be in the following format: (2)
Employee Code :_____________________ Employee Name :_____________________ Address :__________________________ City :_____________________________ Pin :________________

Week 3. Session 5 1. Create a memory variable having names Age and store 20 in it & name and store Sushmit in it. (0.5) Store current date in variable cur_date. (0.5) Subtract your date of birth from cur_date. (0.5) Declare a variable with the name DOB and store your date of birth in it and then subtract it. from current date. (1) 5. Define a variable Status and store TRUE in it. (0.5)

2. 3. 4.

33

6. 7. 8. 9.

Display the current date on the screen (0.5) Display the current time and also the seconds on the screen. . (1) Show the current day of the current date and of the user defined date. (1) Show the current month and year of system date and of the date defined by the user. (1)

Session 6 10. 11. 12. 12. 13. 14. Show the character day and month of date. Convert a date into character and character into date. Display the day of week and also use the function which display the name of the day Add 20 to current date. Use EMPLOYEE.DBF. Create a screen having the following format: DATA ENTRY SCREEN
Emp code:______________________________ Name :______________________________ Address :______________________________

City :_____________ Sex: [ ] Male [ Department :


Production

] Female

Designation :

General Manager

Qualification : () Post Graduate ( ) Graduate ( ) Under Graduate Want to Enter More Records

BUSINESS SYSTEMS
VISUAL FOXPRO
Practical Assignments II

34

Week 4. Session 7. 1 2 3 4 7 10 11 13 15 17 1) 2) 3) 4) 18 (2) 20 (2) 23 Write a program (WAP) to add, subtract, multiply and divide two numbers. (2) WAP to find factorial of any number. . (2) WAP to print the fibonacci series. (1,1,2,5,8,13,21..). (2) WAP to find whether a number is even or odd. (1) WAP to print first n odd numbers. . (2) WAP to find the square and cube of any number. . (2) WAP to calculate sum & average of n natural numbers. . (2) WAP to calculate greater of n numbers. (1) WAP to print all even numbers within a given range. . (1) WAP to generate the following series : 1,4,9,16..n 1,9,25,49.n 30,29,28,27.n 30,28,26,24,22n WAP to print sum of squares & sum of cubes of n natural numbers. . WAP to input a number and count the number of digits. .

WAP to input a number and find the difference of sum of odd digits and even digits. . (2)

Session 8

35

24

WAP to add n terms of the series: (3) S=1/2! + 2/3! + 3/4! + 4/5!.n WAP to read item details of n elements, like item code, item name, rate and quantity and then print items same and amount sold for each item. At the end total number of items and total amount to be printed. (2) WAP to print a table of any number. . (2) WAP to input rollno, name and marks of three subjects of a student and print all the details with total and percentage.(This will get continued until user presses N) An organization is dealing in two items, say A&B and provide the commission on sale of these items accordingly to the following policy a) Commission rate for item A is 5% upto a sale of Rs. 2000 if the sale of item A is above Rs.2000 then the commission is increased to 6% on the extra sale. b) Commission rate for item B is 10% upto a sale of Rs. 4000 if the sale of B is above Rs. 4000 the commission rate is increased to 12% on the extra sale. Given the sale of both the items, WAP to compute the net commission. . (2)

25

26 27

28

29

WAP to find the discriminate of a equation in which a ,b and c are given and print whether the roots are equal, real or complex, if the roots are equal or real, find the roots also. . (2) WAP to print the output as follows: (10) * *** ***** ******* 2) 1 12 123 1234

30 1)

3)

* *** ***** ******* *****


36

3)

1 22 333 4444 55555

*** * 5) 1 212 32123 4321234 543212345

37

Week 5. Session 9. I WAP to accept records in a file until user presses N according to following format. The structure of file is: Employee code, employee name, department, designation, basic. (3)

DATA ENTRY SCREEN


CODE: DEPARTMENT : BASIC : 2 Calculate DA and HRA which is 20% and 10% of basic and also compute the net pay of each employee depending on the structure of above mentioned file. (2) 3 WAP to modify and delete records in a file (4) NAME : DESIGNATION :

4 WAP to view only on particular record of a file on the basis of user given employee code. (2) 5 A sequential file records the data for the employees of an organization, each record containing the following Information: Name, age, sex code, educational qualification code, Salary Drawn, marital status code. WAP to count the names of all the persons satisfying any one of the following conditions (3) a) All married male employees of above 25 years of age. b) All unmarried female employees drawing above Rs. 2000 a month. c) All employees with post graduate qualification. Sex code : (1 for male and 2 for female) Educational Qualification code ?1,2,3,4 for illiterate, under graduate and post graduate) Marital status code: 1 for married and 2 for unmarried)

38

6 Consider the previous file where we have stored the names, age, sex code, educational qualification, salary drawn and marital status of a employees of an organization. WAP to compute the following: (3) a)Number of graduate married male employees above 30 years of age. b) Number of unmarried male employees below Rs. 1000. c) Average age of post graduate female employees. 7 WAP which checks the basic field of a database SALARY and a) If basic is less than 2500., it will add 1000 in bonus field. b) Else if basic is equal to or greater than 2500 it will add 50% of basic in bonus field. 8 Consider the following dbf file (address.dbf), indexed on age emp_name age address c city PinCode c n c c n 15 2 20 10 6

WAP which accepts age from the user and seeks and displays those records which have age equal to the value of age which is supplied by the user and having the format:

ABC COMPANY DATE: NAME ADDRESS CITY PINCODE

A Student detail is stored in two files one is student master and another is marks file Structure of student Master is: Rollno N 3

39

Name Class

C N

15 2 20 8

Fathers Name C Date of birth D

Structure of Marks file contains the following fields: Rollno Eng Hindi Maths GS SS N N N N N N 3 2 2 2 2 2

Write a program to set a relation in these two files on a key field and add records in these files. 10 11 Consider the structure of previous files to modify multiple no. of records WAP to delete a record from the master files of Q.No.9. (3) (3) (3)

Session 10: 12 Master file: Account number, Name, Account name, opening balance, and closing balance. Transaction file : a) Accept account number form the user and search it in master file if it exists accept type of transaction which should be either be D for deposit W for withdrawal. In case of D add the record to transaction file and add the amount of transaction to closing balance. In case of W if the closing balance > closing balance - 1000 then update master file and add record to transaction file. Opening balance contains previous closing balance. (3) b) Delete the record from master file on the basis of user given account number c) Print a report in the given format: (3) (4)

TRANSACTION DETAILS

40

ACCOUNT NUMBER: ACCOUNT NAME: OPENING BALANCE: CLOSING BALANCE TYPE OF TRANSACTION DATE NAME:

13 WAP to read 10 array elements and print the sum and average of array elements. (2) 14 WAP to find maximum array elements form the above array. 15 WAP to find the second largest element form an array of 10 elements. 16 WAP to print the elements of an array in reverse order. 17 WAP to transpose an array. 18 WAP to append two arrays. (1) (2) (2) (3) (2)

19 WAP to sum the array elements of a two dimensional arrays and display the result. (2) 20 WAP to print the sum of its diagonal elements. Week 6 Session 11. 1 WAP to print the following report (Single page): (4) Report Register for item sales ABC Company ------------------------------------------------------------------------------item code ? cust no. ? item name ?unit cost ?qty sold ?cust name ?ale s --------------------------------------------------------------------------------ic01 ----? cn001 ? pen ? -------- ? -------? 3.00 ? ------? 124 ? -----? S.S Verma ? 372 ? ----------?--(3)

2 WAP to print the previous format in multiple pages i.e. multi page report including the header (ABC Company Ltd. ) on every pages. (2) 3 WAP to print the previous format in multiple pages with single control break on item code and customer number. (3)

41

4.WAP to print the format in multiple pages with multiple control break on item code and customer number. (3) 5.WAP to print the REPORT CARD of a student in proper format. (Consider the file structure of student master and marks file mentioned in Q. 12 of Practical Session 2). (3) 6.WAP to print thePAYSLIP of an employee. 7.Write a procedure to add two numbers given by the user. 8.Write a procedure to find the factorial of any number. 9.Write a function to check whether the date which is entered is valid or not. 10. Write a procedure to prepare table of any number. 11. Write a function of find the absolute value of a number. 12. Write a function to find the square and cube of any number. 13. Write a procedure to find the Difference of two dates. 14. Write a procedure return the month name of a accepted date. 15. Write a function which checks whether the number is even or odd. Session 12 16. Write a procedure which print the n natural numbers. 17. Write a procedure to add a record in a database file. 18. Write a procedure to modify a record in a database file. 19. Write a procedure to delete a record in a database file. 20. Write a function to redirect the output to printer. 21. Write a procedure to find whether the year entered is leap or not. 22. Write a function to find the area of a rectangle. 23. Write a procedure to find the number of characters entered in a string. 24. Write a procedure to find the number of vowels in a string. (2) (2) (2) (2) (2) (2) (2) (2) (2) (1) (1) (1) (1) (1) (1) (2) (2) (2) (2)

25. Write a function to check whether the Rollno already exists in database or not.If exists display the proper Message and accept the Rollno again until it becomes valid.

42

LAB ASSIGNMENT VISUAL FOXPRO


Q1. Prepare a database called EMPLOYEE.DBF with the following structure :EMP_CODE NAME BASIC IT CHAR CHAR NUM NUM 4 20 5 4

Attempt the following question:a) b) c) d) e) f) g) h) i) j) k) Create a single index file (idx) which should be indexed on NAME with the name as NAME.IDX. Create a single index file again which should be indexed on EMP_ CODE with the name as CODE.IDX. See the records on the basis of NAME and then on the basis of EMP_CODE. Now add a new record. Update that record in both the IDX files. Close all the open files. Open the EMPLOYEE. DBF and sort it on 3 level i.e. first on the basis of NAME & then BASIC and store it in NB.DBF. View the sorted listing now. Make an Independent Compound index file which will contain 2 level indexed records on the basis of NAME & then BASIC with the name as NEW. CDX. Now make a Structural compound index file containing the records according to EMP_CODE. Close all the files and then view the records of NEW.CDX and then EMPLOYEE.CDX. Write down the required STORE command to create the following variables:VARIABLE NAME AGE CONTENTS ABC 18 TYPE CHAR NUM

Q2

43

STATUS DOB

F 01/01/81

LOCICAL DATE

Attempt the following questions:a) b) c) d) e) f) g) h) i) j) k) l) m) Convert AGE into character and Store it in AGE 1 View the length of NAME, AGE1 Delete left blanks of AGE1 and store it in AGE2 Convert DOB into character and store it in DOB1 Create a variable D1= 1026.9076, A1=124, B1= LMN C1= -10 Convert D1 into character with the name as D2, and A1 into numeric. Convert DOB1 into date with the name as DOB2 Delete all the blanks in B1 Display the Year, Month, Day of DOB Round of D1 to 2 places, Extract the integer part of D1 Display the sign of C1, Make it positive Identify which among A1 & D1 is Maximum and Minimum Check whether C1 is falling in between A1 & D

Q3. Create two databases f1.dbf and f2.dbf containing the following fields. F1.dbf: Staffno, name, desig, dept, dept, dt_of-join, basic F2.dbf: Staffno, da, hra, pf, itax, netpay Write a program to update these two files based on the following conditions: (a) if an employee has worked for more than a year, his basic is to be increased according to his designation as follows: Desig Manager Accountant Clerk increase 500 350 200

(b) (c)

da=70% of basic hra is calculated as

44

Basic <=1500 <=3000 <=4500 >4500

hra 250 400 500 700

Q4. Create two database books.dbf and issue.dbf containing the following fields: Books.dbf Accno, title, author Issue.dbf Accno, sname, dt_of _issue Write a program to determine whether a book has been issued or not after accepting accno. (assuming there exist only one copy of each book) Asso calculate the fine@2.00/- per day for the books which have been issued for more than 15 days. Q5. In a master. Dbf the following information is maintained: Fieldname I code Iname Qty Rate Amount type Char Char num num num Width Dec 5 30 4 7 13 0 2 2 Remarks item code item name quantity rate amount

Write a program to enter the item code. If the item exists, edit the table through a suitable format file. If it does not exist, append the table with that record using the same format file. Q6. The following sales information is given: salesman number, salesman name and sales amount. You are required to calculate the commission, which is 8% of the sale amount. There may be more than one record for a salesman but all the records of a particular salesman are grouped together and amount of sale and commission totaled ie. Before the processing of the next salesman, print the total sale and the total commission of the previous salesman. In the end, total sales amount and total commission of the travois salesman. In the end, total sales amount and total commission of the entire salesman should be printed. Q7. Write a program to check whether a given string is a palindrome or not.

45

Q8. Write a program to remove the duplicates form a databse part.dbf where the uniqueness could be checked for the part number. (Assume rest of the fields) Q9. There are two databases A1.dbf and A2.dbf with the following structure. A1.dbf Itemcode Name A2.dbf Itemcode Name char char 5 20 char char 5 20

Write a program to display those records, which are in a2.dbf but not in a1.dbf Q10. WAP to compute the wage of a daily laborer as per the following rules. (15 marks) Hours worked Upto first 8hrs. For next 4 hrs. For next 4 hrs. For next 4 hrs. For rest The o/p should be: Enter the name of the employee: ABCD Enter the total hrs worked: 20 Shyam will get: Rs. 270 the user *** It should run for N number of laborers as specified by Rate Applicable Rs.50/Rs.10/-per hr. extra Rs.20/-per hr. extra Rs.25/-per hr. extra Rs.40/-per hr.

Q11. Write a procedure to print a order requisition form to the purchase department for all the items whose stock is less than the re-order level. (Assume all the relevant fields yourself) Q12. Write a program to accept a name from the user and display it in a particular format. Eg. Input-> Manish Kumar Gupta Output-> M.K.GUPTA
46

Q13. Write a program to create the birth as well as the death files (dbf) using an already existing file with the following information: Fieldname P_name F_name M_name P_address B_D_code Date Place Reg_no Type Char Char Char Char Char Date Char Num width 30 30 30 30 1 08 30 07 description Persons name Fathers name Mothers name Address Birth-b,death-d Date of birth/death Place of death/brith Registration number

Mini Project: (Visual FoxPro Programming)


Scope: To be proficient in Visual FoxPro programming concepts, like Screens, reports and file handling can be handled. Exercise 1: Consider a Library of any computer Institute. Draw a Menu Driven project consisting of Master. Transaction, Daily reports. The Master must contain entry of books, staff, faculty. The transaction must contain Issue /Return of book. (staff/student). Reports must contain daily reports i.e. fine collection. Books issued, current books available in library etc.. State all your assumptions.

47

M3 - Internet and Webpage Designing

Outlines of syllabus S.No. number of 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. Topic Minimum Hours 2 8 6 6 8 4 1 1 4 10 4 4 2 Theory Hours Practical Tutorial Hours Total Hours = 60 = 60 = 120

Introduction to Internet Internet Technology and Protocol Using the World Wide Web Browsers Electronic Mail File Transfer Protocol Telnet Internet Relay Chat Web publishing HTML Interactivity Tools Multimedia and Graphics Internet Security

A. 1.

Detailed Syllabus Introduction to Internet 1.1 Internet A network of Networks 1.2 History of Internet 1.3 Internet Applications 1.4 Impact of Internet on Society 1.5 Netetiquette Internet Technology and Protocols 2.1 Internet Protocols 2.2 Network Devices 2.3 Local Area Networks 2.4 Wide Area Networks 2 Hours

2.

8 Hours

48

2.5 2.6 2.7 2.8 3.

IP Address Domains and DNS Client Server Concepts Getting Connected 6 Hours

Using the World Wide Web 3.1 Evolution of WWW 3.2 Basic features 3.3 WWW Browsers 3.4 WWW Servers 3.5 HTTP 3.6 Universal Resource Locator(URL) 3.7 Search Engines

Browsers 4.1 Basic features 4.2 Bookmarks, history, Progress indicators 4.3 Customisation of browsers 4.4 Saving and Printing Web pages 4.5 Netscape Communicator 4.6 Internet Explorer Electronic Mail 5.1 Introduction to E-Mail 5.2 E-Mail Networks and Servers 5.3 E-mail protocols 5.3.1. SMTP 5.3.2. POP3 5.3.3. IMAP4 5.3.4. MIME6. 5.4 Structure of an E -mail 5.4.1 E-Mail Address 5.4.2 E-Mail Header 5.4.3 Body 5.4.4 Attachments E-Mail Clients 5.5.1 Netscape Mail Client 5.5.2 Outlook Express 5.5.3 Web based E-mail

6 Hours

5.

8 Hours

5.5

5.6 5.7

Address Book Signature File

49

6.

File Transfer Protocol 6.1 6.2 6.3 6.4 6.5 Introduction to FTP and Terminology FTP Servers and Authentication Line Mode FTP and Common Commands GUI Based FTP Clients Browser Based FTP Clients

4 hours

7.

Telnet 7.1 7.2 7.3

1 Hours Introduction to Telnet Protocol User Authentication Terminal Emulation 1 Hours

8.

Internet R elay Chat 8.1 Concept of chatting and IRC 8.2 Client Software for Chat 8.3 Chat Servers 8.4 Smileys

9.

Web Publishing 4 Hours 9.1 Overview 9.2 Where to host your web site 9.3 Search Engines 9.4 How to register a Web Site on search Engines 9.5 Publishing Tools HTML 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 10.9 10.10 10.11 10.12 10.13 10 Hours Document Layout Header Elements Section headings Block-oriented elements Lists Inline elements Visual markup Hypertext links Uniform Resource Locators(URLs) Images Forms Tables Special characters 4 Hours

10.

11.

Introduction to Interactivity Tools 11.1 ASP 11.2 VBScript 11.3 JAVA Script and JAVA Multimedia and Graphics 12.1 VRML

12.

2 Hours

50

13.

Internet Security 13.1 Overview of Internet Security Threats 13.2 Firewalls

2 Hours

BOOKS RECOMMENDED FOR READING AND REFERENCE MAIN READING 1. 2. 3. Internet for Everyone Alexis Leon and Mathews Leon(Leon TECH World) Internet 101 Wendy G.Lehnert(Pearson Education) The Internet Book Douglas Comer(prentice Hall)

SUPPLEMENTARY READING Internet an Introduction CIStms Tata McGraw-Hill series

Software Windows-98 OS Web Browsers Web Servers Web Publishing Tools

Hardware Any Standard PC with Internet connectivity Local Area Network with simulated Internet Environment

51

M 4.1: Programming & Problem Solving in C Language Outlines of Syllabus

S. No. Topic 1. Fundamentals of Problem Solving 2. Introduction to C Language 3. Conditionals and Loops 4. Arrays 5. Functions 6. Structures and Unions 7. Address Arithmetic and Pointers 8. Self Referential Structures and Linked Lists 9. Variables 10. File Processing 11. Advanced Features of C

Minimum number of hours 04 06 08 08 06 06 05 04 04 05 04

Lectures Practicals/ Tutorils Total for the subject DETAILED SYLLABUS 1. 1.1. 1.2. 1.3. 1.4. 1.5. 2. 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. 2.7. 2.8. 2.9. Fundamentals of Problem Solving The Basic Model of Computation Algorithms Flow-charts Programming Languages Compilation, Linking and Loading Introduction to C Lan guage Variables and Identifiers Built-in Data Types Variable Definition Arithmetic operators and Expressions Constants and Literals Simple assignment statement Basic input/output statement Simple C programs the main( ) function Other assignment statements - post/pre increment/decrement

= 60 = 60 = 120

4 hrs

6 hrs

52

3. 3.1. 3.1.1 3.1.2 3.1.3 3.2. 3.2.1 3.2.2 3.2.3 3.2.4 3.3. 3.3.1 3.3.2 3.3.3 4. 4.1. 4.2. 4.3. 4.4. 4.4.1 4.4.2 4.4.3 4.4.4 4.5. 4.5.1 4.5.2 4.5.3 4.5.4 4.6.

Conditionals and Loops Decision making within a program Conditions, Relational Operators, Logical Connectives if statement if-else statement Loops while statement for statement Nested loops Infinite loops Other Conditionals and Loops If-else if-else statement switch statement do-while statement Arrays Introduction to one dimensional arrays Definition of arrays Accessing array elements Array manipulation Searching for an element in an array Insertion of an element in an array Deletion of an element from an array Finding the largest/smallest element in an array Introduction to two dimensional arrays Matrix representation Addition of two matrices Multiplication of two matrices Transpose of a square matrix Null terminated strings as array of characters

8 hrs

8 hrs

5.

Functions 5.1. Top-down approach of problem solving 5.2. Modular programming and functions 5.3. Prototype of a function 5.3.1 Formal parameter list 5.3.2 Return Type 5.4. Function Definition 5.5. Function invocation 5.5.1 Parameter passing call by value 5.5.2 Parameter passing using arrays 5.6. Recursive Functions Structures and Unions 6.1. New data types using struct 6.2. Variable definition of type struct

6 hrs

6.

6 hrs

53

6.3. Accessing components of a struct using . operator 6.4. Assignment operator on struct variables 6.5. Nesting of structures 6.6. Variant structures and unions 7. Address Arithmetic and Pointers 7.1. Run-time address of a variable using &(address of) operator 7.2. Variables of pointer type definition 7.3. Pointer initialization the null pointer 7.4. De-referencing of a pointer type variable - the * operator 7.5. Plus, minus, comparison operators on pointer type variables 7.6. Arrays and Pointers 7.7. Run-time storage allocation 7.7.1 malloc( ) and calloc( ) function calls 7.8. Dynamic representation of a two-dimensional array 8. Self Referential Structures and Linked Lists 8.1. Creation of a singly connected linked list 8.2. Traversing a linked list 8.3. Insertion into a linked list 8.4. Deletion from a linked list 4 hrs 5 hrs

9.

Advanced topics on Variables 9.1. Scope and Life-time of variables global & local variables 9.2. Storage specification of variables 9.2.1 auto, register, static variables 9.3. External variables 9.4. Bit-wise operators

4 hrs

10.

File Processing 10.1. 10.2. 10.3. 10.4. Concept of Files File opening in various modes and closing of a file Reading from a file Writing onto a file

5 hrs

54

11.

Advanced Features of C 11.1. 11.2. 11.3. 11.4. 11.5. Pre-compilation in C #include directive Macros definition and expansion Conditional inclusion Variable length argument list in functions

4 hrs

BOOKS RECOMMENDED FOR MAIN READING A ND REFERENCE MAIN READING 1. B.W. Kernighan & D.M.Ritchie, The C Programming Language, Prentice Hall of India, 1989. Richard Johnson-baugh & Martin Kalin, Applications programming in C, Macmillan International editions, 1990. Cooper, Mullish, The Spirit of C, Jaico Publishing House; New Delhi, 1987. R.G.Dromey, How to solve it by Computer, Prentice Hall of India, 1992.

2. 3. 4.

SUPPLEMENTARY READING 1. Jones, Robin & Stewart, The Art of C Programming, Narosa Publishing House; New Delhi. Kenneth A., C Problem solving and Programming, Prentice Hall International Schildt.H, C Made easy, McGraw Hill Book Company, 1987. SOFTWARE 1. Compiler For C Language. 2. Windows 98/2000 . HARDWARE Processor Speed 500 MHZ or higher Memory- 64 MB or higher Disk Space- 10 GB or higher Monitor VGA (16-colors) Mouse Windows compatible

2. 3.

55

M4.2 PROGRAMMING & PROBLEM SOLVING THROUGH VISUAL BASIC.NET Outlines of syllabus S.No. Hours 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. Topic Introduction to the VB.net Environment Managing Projects Introduction to Visual Basic.net Language Working with Forms ActiveX Controls Concepts of Objects and Classes Multithreading and Windows API Visual Basic.net Graphics and Multimedia with Visual Basic.net Event Driven Programming MDI Programming and Interfacing with Office 2000 Max Number of 05 05 08 06 08 05 08 06 03 03 03

Lectures = 60 Practical/tutorials = 60 Total for the subject = 120

DETAILED SYLLABUS 1. Introduction to the Visual Basic.Net Environment 1.1 NET Framework 1.2 Structure of a VB.NET Windows Application 1.3 Visual Basic.NET integrated Development Environment 1.4 Error Handling 1.4.1 Error Detection and Error Handling 1.4.2 Runtime Error Handling 1.4.3 Dealing with Logical Errors 1.4.4 Error Constants 1.5 Debugging tools 2 Managing Project 2.1 Concept of VB.Net Project 2.1.1 Basic project models in Visual Basic, creating the project for Local Windows Application. 05hrs 05hrs

56

2.1.2 Opening and saving the project 2.2 Elements of the User Interface 2.2.1 Designing the User Interface 2.2.2 Creating Forms and Code Module 2.2.3 Aligning Controls 2.3 Running the application 2.3.1 Build/Rebuild Application 2.3.2 Start Application in Debug mode 2.3.3 Start Application without Debug 2.4 Programming an Application 2.4.1 Command Button programming 2.4.2 Grouping controls 2.5 Visual Development and Event Driven Programming 2.5.1 Common Properties 2.5.2 Methods and Common Event handlers 2.5.2.1 Customizing the Environment and Window Form Designer through Tools Options menus 3. Introduction to Visual Basic.Net Language 3.1 Variables 3.1.1 Declaring and Initializing Variables 3.1.2 Strict Type Checking 3.1.3 Working with Block level scope 3.1.4 Static Variables 3.1.5 Arrays 3.1.6 Working with new Abstract Data types 3.1.7 Shadow Variables 3.2 Defining Structures 3.3 Using Objects 3.4 Collections: Array List, Stack, Hash Table, Queue, SortedList 3.5 Exception Handling Structured and unstructuctured exception-handling techniques to detect and possibly recover from program errors during execution 3.6 Visual Basic. NET Statements, Expressions and Operators. 3.6.1 Assignment Statements 3.6.2 Declarations Statements 3.6.3 Visual Basic NET Arithmetic Operators 3.6.4 Comparison and Logical Operators 3.6.5 Concatenation Operators 3.7 Procedures (Sub, Function, Property) 3.8 VB. NET Functions 08 hrs

57

(Asc, Chr, Formet, InStr, Len, Mid, Now, Rnd, Str, Timer, Trim, Val) 3.9 Math Function (Like Math Abs, Math.Atan, Cos, Math.Exp, Math. Log etc) 3.10 Tab Stops and Tab Order 3.11 Setting Tabs 3.12 Key Trapping 3.13 Control Focus 3.14 Control Flow 3.14.1 Visual Basic .NET Decisions Structures If .Then If . ThenElse SelectCase TryCatch.Finally 3.14.2 Visual Basic . NET Loop Structures While DoLoop ForNext For EachNext 3.14.3 With..End With Statements 3.14.4 Nested Control Statement 3.14.5 Exit Statement 4. Working with Forms 4.1 Appearance of Forms 4.1.1 Loading, Showing, Hiding forms 4.1.2 Using Windows Forms 4.1.3 Structure of Windows Forms 4.1.4 Using Controls 4.1.5 Windows Forms Inheritance 4.2 Controlling one form from within another 4.3 Using form template 4.4 Menus (Adding , Moving, Copying, disabling, hiding Items on Windows forms) 4.4.1 Designing menus at design time using MainMenu component 4.4.2 Pop-Up Context menus 4.4.3 Creating Window List for an MDI form 4.4.4 Manipulating Menus programmatically at runtime 4.4.5 Adding Toolbars 4.4.6 Using standard modules instead of from modules 4.4.7 Control Arrays 4.4.8 Using standard modules instead of form modules 5 ActiveX Controls (Exploration of VB.NET Toolbox) 5.1 Text Box Control 08 hrs 06 hrs

58

5.1.1 Basic Properties 5.1.2 Manipulating the Controls Text 5.1.3 Text Selection 5.1.4 Search and replace operations 5.1.5 Capturing Key Strokes

5.2 ListBOX Control and Combo Box Control 5.2.1 Basic Properties 5.2.2 Adding Items to a LIST B 5.2.3 Multi-Select List Boxes 5.2.4 Indexing 5.2.5 Searching a sorted List 5.2.6 Loading Objects into a list Box 5.3 The Scroll bar and Track Bar 5.3.1 Basic Properties of Scroll Bar 5.3.2 Key properties of Track Bar 5.3.3 Controls Events 5.4 Common Dialog Control 5.4.1 Using the Common Dialog Boxes 5.4.2 Color Dialog Box 5.4.3 Find and Replace Dialog Box 5.4.4 Font Dialog Box 5.4.5 Open : Open file and save as boxes 5.4.6 Print and Page setup dialog box 5.5 The File Controls: Open file Dialog, Save File Dialog 5.6 Label control 5.7 Link label control 5.8 Picture box 5.9 List view control 5.10 Help provider 6 Concept of Objects and Classes 6.1 Classes, instances, objects 6.2 Access control 6.3 Methods and properties 6.4 Shared date and methods 6.5 Inheritance 6.6 Polymorphism and overriding 6.7 Events 6.8 Interface 7 Multithreading and Windows API in VB.NET 08 hrs 05 hrs

59

7.1

Multi-threading 7.1.1 Multithreading and the dangers of free threading 7.1.2 Types of synchronization approaches 7.1.3 Bediding when is multithreading really appropriate 7.1.4 Multithreading using win 32 API calls COM interop and accessing API 7.2.1 Calling Win 32 API in VB.NET 7.2.2 COM interperability andnative DLL function Call 7.2.3 Using .NET components with COM 7.2.4 P-invoke, key changes, marshaling, structure layouts 06 hrs

7.2

8 Graphics & Multimedia with VB.NET

8.1 Using Graphics objects, Drawing with the .NET namespace 8.1.1 Basic drawing classes 8.1.2 Simple GDI+ operations 8.1.3 Drawing basic linesand shapes 8.1.4 Filling shapes, collections of shapes 8.1.5 Drawing texts curves 8.1.6 Working with images 8.1.7 Transformations 8.2 Multimedia application with MCI devices using Mmcontrol 8.2.1 Multimedia effects 8.2.2 Animation 9 Event Driven Programming 9.1 using timer control 9.2 running procedures at set intervals of timer 03 hrs

10 Multiple document interface (MDI) 10.1 Overview of MDI 10.2 Runtime features of child forms 10.3 Calling a child form 10.4 Child menus in MDI application 10.5 Arranging child forms 10.6 Positioning child forms 10.7 Tracking child windows 10.8 Unloading an MDI application

03 hrs

11 Programming and interfacing with Ms Office 2000 11.1 Working with Excel objects in VB.NET 11.2 Working with MS WORD objects in VB.NET 11.3 Binding for Office Automation servers with VB.NET 11.3.1 Create an automation client that uses early binding 11.3.2 Create an automation client that uses late binding

03 hrs

60

Books recommended for reading and references : 1 Visual Basic.NET black book By Steven Holzner, Coriolis Technology Press 2 Introducation to Visual Basic Using .Net By BADA L WYATT, ROBERT J OBERG , PRENTICE HALL Programming in Visual Basic.NET By Dave grundgeiger Published By OREILY Professional VB.NET By Rocky Lhotka

SOFTWARE 1. Microsoft Visual Basic.Net 2. Windows 95/98/NT


HARDWARE

Processor Speed 500 MHZ or higher Memory- 32 MB or higher Disk Space- 4.3 GB or higher Monitor VGA (16-colors) Mouse Windows compatible

61

Das könnte Ihnen auch gefallen