Assignment A
Question 1: What are the two standard methods used in data processing systems for organizing data? Explain their relative advantages and disadvantages.
Question 2: Explain relational database and advantages of relational database. Explain different types of relationship.
Question 3a): Give any four- application areas of databases
Question 3b): What is business computing? What role does the database play in business computing?
Question 4a): Write short notes on:
i) Inventory Control System
ii) Payroll System
Question 4b): Differentiate between Master file and Transaction File (With examples)
Question 5a) Write a program to find the factorial of a number
b) Write a program to print the Fibonacci series
0 112 3 5 8 20
Question 6: Write the output for the following:
(i) What will be the result of the following commands?
a) BETWEEN (5,10,20) displays
b) MOD(8,3) displays
ii) What is the difference between a keyword and a variable? Can keywords be used as variables? Which of these are valid variable names? Why / why not?
Data_rec, MY file, Data1, File1, 1 data, Replace, Deposit balance
Assignment B
Question 1: How sequential files are different from Indexed files?
Question 2: What are Visual Basic forms? List out the features that may be incorporated into form to facilitate easier data entry.
Question 3a): Explain the following:
i) SUBSTRING() function
ii) TRIM() function iii) DATE () function iv) CEIL() function v) FLOOR() function
b) Difference between
i) Edit and Change
ii) Zap and Pack
iii) Delete and Recall
iv) Display and List
v) Sort and Index
CASE STUDY
Q A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report with employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
Assignment C
1 Which of the following is a valid command
a INPUT “enter your name” Name
b INPUT “enter your name”, Name
c INPUT “enter your name” Get Name
d INPUT enter your name to Name
2. IN which of the following cases,the output will be 220 ?
a. ?ROUND(219.89,0)
b ?CEILING(219.89,0)
c) Both a and b
d) None
3. Which of the following does not constitute a master file in a store system?
a. Material issue file
b Material reciept file
c Purchase orders file
d All of the above
4. Which of the following is true about a disk file where WRITE statement will always place a record in the next physical position?
a Sequential file
b Relative file
c Indexed file
d None of the above
5 In the data processing system ,if the input data are processed, as the transaction occurs, it is called
a. Parallel Processing
b. Real Time Processing
c. Batch Processing
d. Virtual Processing
6. A file management system can typically access records from
a. Only one file at a time
b Many files at a time
c Only two files at a time
d None of the above
7. Which A sequential file organization is most suited for
a Airline Reservation system
b A library
c A Payroll system
d None of the above
8. A suite of programs that handle an organization’s database responsibilities is called a
a DBMS
b Database Processing System(DBPS)
c DMS
d All of the above
9. Coding and Testing are carried out
a Top down
b Bottom up
c Ad hoc
d None of the above
10 The operation carried out on an input data for examining its acceptability is termed
a. Validation
b Verification
c Moderation
d None of the above
11 A program is made up of
a Constants
b Buffers
c Instructions
d All of the above
12 Which of the following is a flowchart symbol
a Decision
b Flow Lines
c Both a and b
d None of the above
13 The command used to add a new field to an active table file is
a Modify command
b Modify Structure
c Both a and b
d None of the above
14 A field that uniquely identifies records in the table wizard is known as
a Primary Key
b Special Key
c Unique Key
d None of the above
15 To remove all records from the current table, the most appropriate command is
a Pack
b Delete all
c Zap all
d delete file
16 The purpose of EXIT command is to
a Get out of condition loop
b Get out of Fox Pro
c Transfer the control to a different procedure
d None of the above
17 The lowest level of management concerns with
a operational information
b tactical information
c long term planning
d Strategic information
18 Which of the following is an invalid command in DBMS package?
a RUN
b CLEAR
c REPLACE
d None
19 A typical commercial application file would have
a A master file and a transaction file
b A master file but may not have a transaction file
c A transaction file but may not have a master file
d None of the above
20 Which of the following appropriately explains the desirable characterstic of good system design
a Modular approach
b Proper documentation
c Either a and b
d Both a and b
21 A flowchart is a
a. Method of programming
b Usually difficult to understand.
c A method of displaying the solution to a problem in simple steps
d None of the above
22 The Modify command is use to
a Modify Label
b Modify Command
c Modify Structure
d Modify Report
23 The function to remove the leading and trailing spaces from a character expression is
a TRIMO
b LTRIM()
c RTRIM()
d ALLTRIMO
24 The command CLEAR will
a Close all open databases
b Release all memory variables
c Erase the screen contents and reposition the cursor to the upper left corner
d All of the above
25 Trial Balance is a term used in
a Payroll
b Inventory Control
c Financial Accounting
d Sales Management
26 The ??? indicates
1 Print text to output screen
2 print text directly to printer
3 Comment
4 Logical operation
27 Input: A=” 11/05/1983″ Choose the right function to get Output: 198
A) ?SUBSTR(A,7,2)
B) ?STUFF(A,7,3)
C) ?SUBSTR(A,8,3)
D) ?SUBSTR(A,7,3)
28 Decision Table is a
A) Tabular representation of a program logic
B) Symbolic representation of a program logic
C) Graphical representation of a program logic
D) All of the above
29 The command to create a new database file based on two open database files is
A) SET RELATION
B) UPDATE QJOIN
D) None of the above
30 Edit Checks and Controls are built into a computer based system to
a) Ensure that transcription errors do not corrupt the result
b) Duplicate date does not enter into the computer system
c) Avoid transposition errors
d) All of the above
Which one is not a function of Management?
a) Staffing
b) Controlling
c) Planning
d) Co-operating
32 Which one correct for display a record with the value 2000 in the field phone and ‘false’ in the logical field paid.
A) Display for phone=2000 AND. NOT. paid
B) Display for phone=2000 AND paid =’false’
C) Display for phone=2000 AND. paid=’false’
D) Display for phone=2000 ANDNOT.paid
33 What is output of expression: A=CEILING(5.4)?
a) 5 b)4 c)6 d) none of the Above
34 Identify which of the following is not a database maintenance task
a) Renaming database
b) Copying database
c) Combining database
d) Viewing database
35 Payroll is integrated with financial accounts through
a) A month and journal voucher
b) Online up-dation
c) Maintaining each employee record in a subsidiary ledger
d) All of the above
36 A file management system can typically access records from
a. File management
b. File listing
c. File recovery
d. Disk management
37 The means by which an operating system or any other program interacts with the user is called.
a Only one file at a time
b Many files at a time
c Only two files at a time
d None of the above
38 How many style options are available in Form Wizard
a Six
b Five
c Three
d None
39 Which one correct for display a record with the value 2000 in the field phone and ‘false’ in the logical field paid?
a) Display for phone=2000 .AND. .NOT. paid
b) Display for phone=2000 AND paid =’false’
c) Display for phone=2000 AND. paid=’false’
d) Display for phone=2000 AND.NOT.paid
40 The command to create a new database file based on two open database files is
a) SET RELATION
b) UPDATE
c) JOIN
d) None of the above
Reviews
There are no reviews yet.