How To Exam?

a knowledge trading engine...


SRM University 2007 B.Tech Information Technology BANK : IT 102 - PROGRAM DESIGN AND DEVELOPMENT - Question Paper

Wednesday, 30 January 2013 09:05Web
32. Show the outcome using logical bitwise operator:
op1 op2
0 0
0 1
one 0
one 1
33. What is the use of Bitwise shift operators? elaborate they?
34. describe ‘Masking’.
35. describe ‘Bitwise complement operator’ with an example.
36. calculate the subsequent data using ‘Bitwise exclusive-or’
x -> 0000 0000 0000 1101
y -> 0000 0000 0001 1001
37. What is the syntax for ‘Left shift operators’? Do left shift for the following:
n=3; data: 0100 1001 1100 1011
38. What is the syntax for ‘Right shift operators’? Do Right shift for the following:
n=3; data: 0100 1110 1010 1110
39. What is the use of Bitwise operators?
40. calculate the subsequent using logical ‘OR’:
x -> 1100 0100 1101
y -> 0001 1100 0001


PART B:

1. discuss in detail about Structure with suitable examples.
2. How will you initializing the structure variables? discuss with suitable examples.
3. discuss in detail about accessing members of structure with a few examples.
4. How structure differs from an Array? discuss with suitable examples.
5. discuss in detail about structure with functions. provide an example.
6. Why we need bitwise operators? discuss about Logical bitwise operators with suitable examples.
7. Write short notes on: a) Bitwise Shift operators
b) Complement operators. provide an example in ’c’ using both operators.
8. What is the use of Bit field? discuss with a few examples.
9. calculate the subsequent data using all bitwise logical operators:
op1 – 1000 0101 1101 1111
op2 - 0000 1110 0101 1101
10. Do bitwise Right shift for the subsequent data:
a) 1110 0101 0001 1010 n=2
b) 0001 1111 1010 1100 n=3
c) 1100 0101 1101 1111 n=2
d) 0010 0000 1110 1011 n=3

11. Do bitwise Left shift for the subsequent data:
a) 1110 0101 0001 1010 n=2
b) 0011 1011 1010 1101 n=3
c) 1100 0111 1101 1101 n=2
d) 0010 0000 1110 1011 n=3
12. Compare structure with union. provide the suitable examples.
13. Write a ‘C’ program to display the learner details using Structure.
14. Write a ‘C’ program to compute salary details of an employee using Structure.
15. Design a program to perform all the bitwise operators.

UNIT – V

PART – A:

1. What do you meant by Merging and Matching?
2. List out the objectives in a merge operation.
3. List out the objectives in a match operation.
4. describe ‘Sequential update process’.
5. List out the 3 possible changes and the circumstances & its action.
6. Distinguish ranging from a file merge design and file match design.
7. How will you match two input files? provide an example.
8. How the update program differs from the matching program?
9. What is the purpose of using new master file?
10. What is the use of fault report?
11. What is meant by “Generational Backup”?
12. What is the function of Update fault report?
13. List out the functions of Edit fault report in I/P edit program.
14. When do you write an fault message in the fault report?
15. What will happen when the master field is greater than the transaction field?
16. What will happen when the master field is less than the transaction field?
17. What will happen when the master field is equal to the transaction field?
18. What is the purpose of using Old master file?
19. What is meant by Sequential processing?
20. What is meant by Non-sequential processing?
21. List out the difference ranging from sequential and non-sequential processing.
22. elaborate the design adjustments involved in Non-sequential processing?
23. What do you meant by Direct access?
24. describe ‘Indexed sequential access’.
25. List out the advantages and disadvantages of Sequential processing.
26. elaborate the advantages and disadvantages of Non-sequential processing?
27. elaborate the two kinds of Non sequential access?
28. Why do you need EOF in your program?
29. What do you mean by Transaction?
30. Write a ‘c’ program to learn the data from file using EOF.
31. What is a FILE?
32. What is meant by Hashing?
33. How will you delete records from an Indexed sequential file?
34. elaborate the major operations included in file processing?
35. learn the data – ‘hello’ from 1 file and store it in a different file.


--------------------------------------------------------------




PART – B:

1. discuss in detail about Sequential processing with an example.
2. discuss in detail about Non-Sequential processing with an example.
3. Design a merge program in which the loop is exited when either file is empty.
4. Design a merge program in which the loop is exited only when both files are empty.
5. Design a match program in which no more than 1 transaction record will be current
for any provided master record.
6. Design a match program in which transaction records may be current for any provided master record.
7. define the objectives and assumptions in a merge operation.
8. define the objectives and assumptions in a match operation.
9. Design a update program that allows multiple transaction records for any 1 master record.
10. Design a 2 input file match program using a non-sequential master file.
11. discuss in detail about the 2 kinds of non-sequential access.
12. Quick ‘N spicy pizza has just bought out Fat ‘N happy pizza. Design a program that will merge the 2 employee lists. Both files include Social security number, name, and address and both are stored on SSN in ascending order. If anyone was employed by both companies, include the name only once on the new list. Write out a count of the new employee list.
13. We have 2 files, 1 containing the name, address, and ID of students applying for graduation from university of MADRAS, and the other with the identical fields for students from Anna University. Both files are in ascending order by ID. You have to combine these 2 files into a third file still in order by ID.
14. Write a ‘ C’ program to update the subsequent date into an existing file.
Data: Sujitha: 50,m1-78,m2-56
Ramesh: 67, m1-90, m2-79
15. Write a program to match the data of 1 file into a different.
( file1=’source’; file2=’target’).















( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER SRM University 2007 B.Tech Information Technology BANK : IT 102 - PROGRAM DESIGN AND DEVELOPMENT - Question Paper