Professional Documents
Culture Documents
Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp
Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp
Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp Ãp
Subject:- DBMS
ASSIGNMENT 2
a) LIST
b) DISPLAY
c) LOCATE
d) EDIT
e) BROWSE
f) DELETE
g) RECALL
h) PACK
2. Create a database that contain the following fields: emp_id, emp_name, emp_sal, dept_no
, dept_name, job_type,city
1. Increase salary of all the employee of department no 3 by 1000 and change their
department to 33 for employee database created by you in last assignment.
2. Delete all the records from a database except first 5 records.
3. Delete first 5 records from a database.
4. Delete first record of a employee whose city is “Delhi”.
5. Add a new field of memo data type to your database.
6. Add more data to memo field without using edit /change/browse command.
7. Save the list of all those file whose name start with c on d drive.
8. Sort student records on the basis of their name .If students have same name than sort on
the basis of their father name but in descending order.
9. Sort the records of a database except first 6 records.
10. Sort first 5 records of the database.
UNIVESITY
.
.
Date:
Create a report which show grouping according to month and for each moth further
grouping must be done on the basis of salesman name. Also display sale done by each
salesman for each month.
Assignment-6
2. Write a command to display your name in upper case. Also find length of your name.
3. Accept two values from user and display their addition, subtraction, multiplication,
division and modulus.
4. From the salesman database created by you previously display name and month of sales
man who sold more than 15 quantities.
5. From the salesman database find out total quantity sold in month of feb.
6. Write a command which will display size of array created by you
7. Write a command which will display total number of columns in a 2d array
8. Write a command which will display position number of “k” in string “lucky institute”.
Save the search string in a variable
9. Write a command which will display “luck” from string “lucky”.
10. Write a command which will count total no of occurrence of “I” in “institute”.
Assignment-7
FOXPRO LAB
Assignment 1
1. What is database
2. What is database management system
3. Define table,record and field
4. What is FOXPRO
Assignment-4
1. What is indexing?
2. Create two indexes on father name and phone no field of student database.
3. Using indexing on father name display all the records.
4. Create index on name and father name field of student database.
5. Add two records to the database and show use of reindexing.
6. What is the Difference between independent compound index file and structural
compound index file.
7. Explain creation and working of compound index file and structural compound index file.
8. Describe use of find and seek command with example.