You are on page 1of 20

DE7762

WK11


1
DE2452

DISTANCE EDUCATION
B.Sc. (IT) DEGREE EXAMINATION, DECEMBER 2011.
DIGITAL COMPUTER FUNDAMENTALS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 =100)
1. (a) ( ) ( ) ( ) ( )
2 16 8 10
125 Z Y X = = = . Find Y X, and Z . (10)
(b) Convert the following hexadecimal numbers to decimal.
(i) E9
(ii) 8 FC 3 (10)
2. (a) Using 9s and 10s complement method perform the following operations :
(10)
(i) 75 98
(ii) 43 26 .
(b) Write a short note on BCD codes and ASCII code. (10)
3. (a) State and prove DeMorgans theorems. (10)
(b) Simplify : ( ) ( )C B A BD C B A Y + + = . (10)
4. (a) Explain Karnaugh map method of solving expressions. (10)
(b) Simplify using Karnaugh map
( ) ( ) 15 , 13 , 10 , 8 , 7 , 5 , 2 , 0 , , , = = D C B A F Y . (10)
5. (a) Briefly describe the design of an ALU. (10)
(b) Discuss the construction and working of a 4-bit adder.
(10)
6. (a) What is a full adder? How is a full adder built using two half adders?
(10)
(b) Design a half adder using NOR gates. (10)
7. (a) Explain the working of a clocked RS flip-flop using NAND gates.
(10)
(b) What are shift registers? Discuss their functions in detail.
(10)
8. (a) Discuss the different types of ROMs. (10)
(b) Write a brief note on computer generations and classification.
(10)

13
DE7762
WK11


2
DE2453


DISTANCE EDUCATION
B.Sc. (Information Technology) DEGREE EXAMINATION, DECEMBER 2011.
DATA STRUCTURES USING C
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) List out and explain the Operators in C language.
(b) Explain the following and give one example
(i) getchar( ) (ii) putchar( ) (iii) gets ( ) (iv) puts ( ).
2. (a) Discuss the different type of Control Statements in C language.
(b) Write a program in C language to calculate sum of the four digit number.
3. (a) Define Recursion. Explain with an example program.
(b) Write a program in C language to find a factorial of a n number.
4. (a) List out and explain any five string handling function.
(b) Write a program in C language to addition of the two matrices.
5. (a) How do you pass pointer to function? Explain with an example program.
(b) How do you process the Data file? Explain with an example.
6. (a) Write an algorithm in Queue operation.
(b) Explain the create, insert and delete algorithm of single linked list.
7. (a) Briefly explain Binary Tree Traversal.
(b) How do you represent list as Binary Trees?
8. (a) Briefly explain Threaded Binary Tree.
(b) Explain about the following with example
(i) Singly linked list
(ii) Doubly linked list.

14
DE7762
WK11


3
DE2454


DISTANCE EDUCATION
B.Sc. (I.T.) DEGREE EXAMINATION, DECEMBER 2011.
DISCRETE MATHEMATICS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 =100)
1. (a) (i) Find a disjunctive normal form of
( ) ( ) ( ) ( ) q r p r p q
(ii) Find a conjunctive normal form of
( ) ( ) ( ) ( ) ( ) p r q p r q p .
(b) (i) Show that from
(1) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) g W y M y x S x F x
(2) ( ) ( ) ( ) ( ) y W y M y
the conclusion
( ) ( ) ( ) ( ) x S x F x follows.
(ii) Show that
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) x Q x x P x x Q x P x .
2. (a) If C B A , , are any three sets, prove that ( ) ( ) ( ) C A B A C B A = .
(b) (i) Given { } 4 , 3 , 2 , 1 = A and = R {(1, 2), (1, 1),
(1, 3), (2, 4), (3, 2)} and = S {(1, 4), (1, 3), (2, 3), (3, 1), (4, 1)} are relations
on A. Find R S o by matrix method.
(ii) Prove that relation congruence modulo m over the set of positive integers
is an equivalence relation.
3. (a) Let { } 3 , 2 , 1 = X and h g f , , and s be functions from X to X given by f ={(1, 2),
(2, 3), (3, 1)}, g ={(1, 2),
(2, 1), (3, 3)}, h ={(1, 1), (2, 2), (3, 1)}, s = {(1, 1),
(2, 2), (3, 3)}. Find , , , , g s g h f f g g f o o o o o , s g o s f s s o o , .
(b) Show that the inverse of the composition of two functions is equal to the
composition of the inverses of the functions in the reverse order.
4. (a) Let * be a binary operation on X which is associative and which has the identity
X e . If an element X a is invertible, then both its left and right inverses
are equal-Prove.
(b) Show that ( ) ( ) ( ) C A B A C B A = by using characteristics functions.
5. (a) Let ) , ( S be a given semigroup. Prove that there exists a homomorphism
s
S S g : where ( ) 0 ,
s
s is a semigroup of functions from S to S under the
operation of composition.
(b) Let ) , ( S be a semigroup and R be a congruence relation on ) , ( S . Show that
the quotient set S/R is a semigroup ( ) , / R S where the operation
corresponds to the operation on S. Also, there exists a homomorphism from
) , ( S onto ( ) , / R S called the natural homomorphism - Prove.
6. (a) Let ) , ( G be a finite cyclic group generated by an element G a . If G is of
order, n, then show that e a
n
= so that { } e a a a a G
n
= = ...., , , ,
3 2
. Further more,
15
DE7762
WK11


4
n is the least positive integer for which
e a
n
= - Prove.
(b) Prove that a subset s of G is a subgroup of ( ) , G if and only if for any pair
of elements S b a S b a
1
, , .
7. (a) State and prove Lagranges theorem.
(b) Let ( ) , G and ( ) , H be groups and H G g : be a homomorphism. Then the
kernel of g is a normal subgroup - Prove.
8. (a) Let ( ) , G be a group of order 2 in which { } a e G , = . Find ( ) 0 , G G , the direct
product of ( ) , G with itself.
(b) Let ( ) ,
1
H and ( ) ,
2
H be subgroups of a group ( ) , G . Show that ( ) ,
2 1
H H
is also a subgroup of ( ) , G . Show that, in general, ( ) ,
2 1
H H is not a
subgroup of ( ) , G except when
2 1
H H or
1 2
H H .

DE7762
WK11


5
DE2455


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
INTERNET PROGRAMMING
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions. (5 20 = 100)
All questions carry equal marks.
1. Explain in detail about the various client server models. Give example.
2. Explain in detail about the following :
(a) Name server concepts
(b) Creating web server.
3. Explain in detail about the following :
(a) Entertainment on the Internet
(b) Shopping on the Internet.
4. Explain in detail about the one dimensional and multidimensional arrays with
suitable examples.
5. (a) Explain in detail the constructors with example.
(b) Explain in detail the operator overloading methods with example.
6. Discuss in detail :
(a) TCP/IP
(b) HTTP methods.
7. Discuss in detail :
(a) Electronic commerce
(b) Network topologies.
8. Explain in detail about the basics of JAVA and object oriented programming.

23
DE7762
WK11


6
DE2456


DISTANCE EDUCATION
B.Sc. (IT) B.Sc. (IT)/(Lateral) DEGREE EXAMINATION, DECEMBER 2011.
ANALYSIS AND DESIGN OF INFORMATION SYSTEMS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) What are the elements of a System? Explain.
(b) Explain about system development Life Cycle.
2. (a) List out various Fact Finding Techniques and Explain them.
(b) Explain about Cost Benefit Analysis in detail.
3. (a) What are the Process and Stages of System Design? Explain.
(b) Explain about Output Design.
4. (a) List out various File Organization and Explain them.
(b) Explain about Warnier Orr Diagram and Structured Walkthrough.
5. (a) What is conversion? List out the Conversion Methods and explain them.
(b) What are the procedure of Hardware and Software Selection? Explain them.
6. (a) Explain about the Characteristics of a System.
(b) Explain about System Analysis.
7. (a) What are the Design Methodologies? Explain them.
(b) Explain about the System Testing.
8. (a) Describe the Dataflow Concept.
(b) Explain about System Maintenance and its types in detail.


24
DE7762
WK11


7
DE2457


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
APPLICATION PROGRAMS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) What is windows? Discuss in detail about windows elements.
(b) Describe the required steps to create, open and saving files.
2. (a) Explain the concept of mail merge.
(b) Discuss in detail about spell checking and table handling.
3. (a) Explain the functions in MS-Excel.
(b) Discuss the concept of header and footer with neat example.
4. (a) How to create and edit power point presentation?
(b) Explain about text formatting and alignment.
5. (a) Write the steps to create, save and edit a query in access.
(b) Explain about the adding, inserting and deleting records.
6. (a) Describe the various toolbars.
(b) Discuss in detail about dialog boxes.
7. (a) Explain the concept of find and replacing text.
(b) Write note on bold, italic and underlining text in word document.
8. (a) How can you combine excel data and with word document?
(b) Describe the data types supported by MS-ACCESS.


25
DE7762
WK11


8
DE2458


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
COMPUTER NETWORKS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) Discuss the uses of Computer Networks.
(b) How to Select Network Software? Explain.
2. (a) Discuss in detail the OSI reference model.
(b) Explain about Broadband and Narrowband ISDN.
3. (a) How error detection and correction takes place in the data link layer? Explain.
(b) Discuss on collision free protocols.
4. (a) Discuss briefly about routing algorithm in network layer.
(b) Explain about Fragmentation and Firewalls.
5. (a) Discuss the elements of Transport protocols.
(b) Explain the performance issues related in designing Transport protocol.
6. (a) Briefly explain about the internet control protocols.
(b) Discuss the features of TCP protocol.
7. (a) Write short notes on: Cryptography.
(b) Explain the working concept of the Electronic mail.
8. (a) Discuss briefly on World Wide Web.
(b) Explain about Data Compression in detail.

31
DE7762
WK11


9
DE2459

DISTANCE EDUCATION
B.Sc. (IT)/ B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
VISUAL PROGRAMMING
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
(5 20 = 100)
All questions carry equal marks.
1. (a) Explain briefly about
(i) How to create a window? (4)
(ii) Displaying the window. (4)
(iii) Processing the message. (4)
(b) List out the aspects of Windows. (8)
2. (a) Write short notes on OLE.
(b) Explain the various menus available in windows.
3. (a) Write short notes on dialog boxes in VB. (8)
(b) Write a VB program using control array that creates a scientific calculator with
appropriate command buttons. (12)
4. (a) With a suitable example explains the IF, DO, WHILE loops.
(b) Explain the making of EXE file.
5. (a) Explain Menu controls with the examples.
(b) Explain the different types of variables used in VB with example.
6. (a) Give examples of passing arguments by value and passing arguments by
reference in Visual Basic procedures.
(b) How to handle multiple forms at runtime and also discuss the use of do events
function and subMain?
7. (a) Describe the syntax of General property procedures and also write a note on
MDI forms.
(b) Write a note on input box and check box.
8. (a) What is a Control Array? Explain the two ways of creating the Control Array.
(b) Write an event procedure in VB to check whether the given string is a
palindrome or not and to find the length of the string.

32
DE7762
WK11


10
DE2460


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
PRINCIPLES OF INFORMATION TECHNOLOGY
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) What are the six elements of a computer and communication? Explain.
(b) What are the ethics of Information Technology?
2. (a) Write a note on connectivity.
(b) Discuss about interactivity.
3. (a) Explain word processing in detail.
(b) What is spreadsheet? Explain.
4. (a) Write a note on group ware.
(b) What are the ethics and intellectual property rights? Explain.
5. (a) What are telephone related communication services? Discuss.
(b) What do you mean by video conferencing? Explain its uses.
6. (a) Write a note on Modems.
(b) Discuss about factors affecting data transmission.
7. (a) Explain the storage fundamentals.
(b) What are the features of DBMS? Explain.
8. (a) Describe the steps in programming.
(b) Describe the different generations of programming languages.

33
DE7762
WK11


11
DE2461


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
MOBILE COMPUTING
(2007 Onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) How do the 3G technology mobile phones work? Explain.
(b) Write a detailed note on Symbian.
2. (a) What is VOIP? Explain in detail.
(b) Elucidate the term IPV6.
3. (a) Discuss the client software and hardware of wireless application protocol.
(b) Write a note on the WAP application environment.
4. (a) Distinguish between XML and WML.
(b) How do you display Images using WML? Write an example.
5. (a) Explain the control structures of WML script.
(b) Explain the events in WML script.
6. (a) Explain the issues and challenges in Mobile computing.
(b) Discuss in detail about WLL.
7. (a) Write a note on WAP gateways.
(b) How can you get the input values from user using WML? Write an example
program and explain.
8. (a) Elucidate the extensions available in WML script.
(b) Explain the cellular digital packet data in detail.


34
DE7762
WK11


12
DE2462


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
RDBMS
(2007 onwards)
Time : Three hours Maximum : 100 marks
Answer any FIVE questions.
All questions carry equal marks.
(5 20 = 100)
1. (a) Explain database management system and its features.
(10)
(b) Write about schema and subschema. (10)
2. (a) Explain about Relational data model. (10)
(b) Explain about data manipulation facilities in detail.
(10)
3. (a) Write a note on benefits of Oracle. (8)
(b) Write a note on Oracle physical files. (6)
(c) Write a note on Oracle user. (6)
4. (a) Write about any five SQL commands with syntax.
(10)
(b) Explain the different types of queries. (10)
5. (a) Explain about CREATE TABLE and ALTER TABLE with examples.
(12)
(b) Write about Embedded SQL. (8)
6. (a) Explain the mapping operations in relational model.
(10)
(b) Write about data definition facilities in detail. (10)
7. (a) Explain DML commands with example. (12)
(b) What do you mean by multiple part querry? Explain.
(8)
8. (a) How will you manage tables in Oracle? Explain. (8)
(b) How will you create and use indexes in Oracle? Explain with example. (12)

35
DE7762
WK11


13
DE3196


DISTANCE EDUCATION
B.Sc. (IT) DEGREE EXAMINATION, DECEMBER 2011.
COMPUTER LAB I (C AND DATA STRUCTURES LAB)
(2007 onwards)
Time : Three hours Maximum : 100 marks
ONE question should be given to each candidate
by lot system
Each subdivision carries 50 marks.
1. (a) Write a C program to sort the given set of numbers in ascending order.
(b) Write a C program for linked list implementation of queue operations.

2. (a) Write a C program to concatenate two given strings and find the length of the
concatenated string.
(b) Write a C program to implement insert and delete operations on queue using
array concept.

3. (a) Write a C program to find the maximum and minimum in the given set of
numbers.
(b) Write a C program to implement insert and delete operations on linked list
structure.

4. (a) Write a C program to find the factorial of the given number using FUNCTION.
(b) Write a C program to evaluate the given mathematical expression using stack.

5. (a) Write a C program to find simple and compound interest using FUNCTION.
(b) Write a C program to implement push and pop operations on stack.

6. (a) A man is paid at the hourly rate of Rs. 15 per hour for the first 45 hours worked.
Thereafter, overtime is paid at 1.5 times the hourly rate for the next
25 hours and 2 times the hourly rate for further hours worked per week.
Calculate and print his gross weekly wage.
(b) Write a menu driven program in C to find an element using linear and binary
search methods.

7. (a) Write a C program that receives the data such as age and name of person to
check the eligibility for voting. Take the condition that if a person is more than
18 years old he is eligible to vote. Else display the number of years he has to wait
for voting.
(b) Write a C program to sort a set of elements using insertion sort.

8. (a) There are 10 students in a class. Their names and marks in three different
subjects are given. If a student takes more than 40 marks in each subject, then
he is declared PASS. Otherwise FAIL. Write a C program to do the above.
(b) Write a C program to sort the given set of elements using selection sort.


16
Cut here
Cut here
Cut here
Cut here
Cut here
DE7762
WK11


14
DE3197


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
COMPUTER LAB II (JAVA PROGRAMMING LAB)
(2007 onwards)
Time : Three hours Maximum : 100 marks
ONE question should be selected by the Examiner and given to each candidate by lot.
Answer both Subdivisions (a) and (b).
1. (a) Write a java program to multiply two given matrices.
(b) Write a java program to handle mouse events and keyboard events.

2. (a) Write a java program to write Applets to draw various polygons.
(b) Write a java program to count number of words and characters in a text.

3. (a) Write a java program which illustrates the implementation of abstract class.
(b) Write a java program to display the contents of file along with a line number before
each line.

4. (a) Write a java program to create packages in Java.

(b) Write a java program that displays the number of characters, lines and words in a text
file.

5. (a) Write a Java program for sorting a given list of names in ascending order using
command line arguments.
(b) Write a java program to implement producer/consumer problem using synchronization.

6. (a) Write a java program to create multiple Threads in java.
(b) Write a java program that reads a file name from the user and displays the contents of
file.


26
Cut here
Cut here
Cut here
Cut here
DE7762
WK11


15
DE3198


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
COMPUTER LAB III (APPLICATION PROGRAMS LAB)
Time : Three hours Maximum : 100 marks
Examiner has to select ONE question each from Word, Excel and Access.
MS-Word : 25
Excel : 35
Access : 40
Total : 100
UNIT I
MS-WORD
1. Create a form letter that informs the customer about the date of maturity of a deposit
amount in a commercial bank and request the customer for renewal. Mail merge it with an
access database containing all the customer data.

2. Prepare the first page of MCA practical record note book with picture insertion and
alignment.

3. Prepare an invitation for a function to be conducted in your college. Use different text
orientation and pictures to make it attractive.
4. Type lecture notes and provide audio explanation with the help of sound files.


UNIT II
MS-EXCEL
5. Create a worksheet in Ms-Excel with the following columns:
Employee number, Employee name, designation, basic pay, HRA, DA, LIC, PF, Gross-pay
and Net-pay.
(a) Type data for Employee Number, Employee name, designation, Basic pay, LIC and PF.
(b) Calculate: HRA = 20% of Basic pay
DA = 30% of Basic pay
Gross-pay = Basic pay + DA + HRA
Net-pay = Gross-pay (LIC + PF)
(c) Draw the bar chart between employee name and Net-pay.

6. Create a worksheet with the following columns:
Salesman number, Salesman name, City, Product name, Sales amount.
(a) Add 5 records for different salesmen who have carried out sales of different products in
different cities.
(b) Find (i) Citywise total sales
(ii) Salesmanwise total sales
(iii) Productwise total sales
(iv) Grand total sales.
7. The following were the observations made in certain experiments for the values y and
given the values of x
x : 1 2 3 4 5 6 7 8 9 10
y : 10 30 45 25 15 28 40 32 15 35
Compute (a) mean, median and standard deviation
(b) correlation coefficient between x and y
(c) draw the bar chart.
27
Cut here
Cut here
Cut here
Cut here
DE7762
WK11


16

8. Create a worksheet in Excel to calculate the electricity bill.
For first 100 units, the cost is 1 Rs/unit
For next 200 units, the cost is 1.50 Rs/unit
For above 300 units, the cost is 2 Rs/unit.
All the customers should be charged a minimum of
Rs. 50/- even if their bill amount is below 50.

UNIT III
MS-ACCESS
9. Create student table with the following fields:
Reg. No., Name, M1, M2, M3
Create address table with the fields : Reg. No. Street, City and Pin.
(a) Write a query to display Reg. No, Name and total of all three subject marks.
(b) Write a query to display Reg. No, Name, Street, City, Pin and total of all three marks.
10. Create inventory table with fields :
Item No, name, quantity on hand and reorder level
(a) create a form in custom format
(b) write a query to display reorder level of all items
(c) create a macro that executes reorder query automatically.

11. Create two tables sales1 and sales2. Join them to produce a third table sales3.

12. Create student table with the fields:
Reg. No., subject name, marks for 5 subjects.
Create a report to print the marksheet for all students in a neat format. Condition for
passing a subject: min. of 50 marks in each subject. Otherwise fail.


Cut here
Cut here
Cut here
Cut here
DE7762
WK11


17
DE3199


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION, DECEMBER 2011.
LAB IV VISUAL BASIC AND ORACLE
Time : Three hours Maximum : 100 marks
(1) Examiner has to select TWO questions ONE from VB and another from Oracle.
(2) Each question carries 50 marks.
(3) Questions are to be given to the candidates by lot system.
(4) Write algorithm and flow chart if necessary.
VB QUESTIONS
1. Write and test a VB program to print twenty address labels in a two-column format for
the address
THE REGISTRAR
ALAGAPPA UNIVERSITY
KARAIKUDI 630 003.

2. Write a VB program to do temperature conversion c to f and f to c at users choice
using label, text and enter key.

3. Write a VB program to calculate simple interest or compound interest using three
command buttons namely input, calculate, display.
4. Write and test a VB program to compute and print either the SUM or the PRODUCT
of the first N natural numbers. Use option button.

5. Write and test a VB program to select candidates for four posts, based on their
qualifications,
MALE AND PG DEGREE MANAGER
MALE, GRADUATE and TYPING CLERK
FEMALE AND PG DEGREE SECRETARY
FEMALE, GRADUATE and TYPING STENO

ORACLE
6. Create table result with the following structure :
Field Name Type Width Decimal
REGNO Numeric 8
NAME Character 20
MARK 1 Numeric 3
MARK 2 Numeric 3
MARK 3 Numeric 3
TOTAL Numeric 3
RESULT Character 4
(a) Add 5 records (fill all fields except total and result fields).
(b) Fill Total field with the sum of MARK 1, MARK 2 and MARK 3.
(c) Fill the RESULT field with PASS if TOTAL > = 150 otherwise FAIL.
7. Create table BIODATA with following structure :
Field Name Type Width Decimal
NAME Character 25
AGE Numeric 2
SEX Character 1
DEGREE Character 8
36
Cut here
Cut here
Cut here
Cut here
DE7762
WK11


18
CITY Character 20
(a) Add 5 records (BIODATA of 5 employees)
(b) Display all records of MALE employees.
(c) Delete all B.Sc degree holders and then display the table contents.
(d) Remove all employees records whose AGE is greater than 20.
(e) Display all records having AGE < 20 and CITY is TRICHY.
8. Create table PERSONAL with the following structure.
Field Name Type Width Decimal
SNo. Numeric 8
NAME Character 20
CITY Character 20
PIN Numeric 6
PHONE Numeric 6
(a) Add 5 records.
(b) Display the contents of the table.
(c) Display all names.
(d) Display all names without duplicate.
(e) Display all names in uppercase, lowercase and initial capital letters.
(f) Display all names and length of names.
(g) Display name, city in which only beginning portion of name is known.
9. Create table SALES with the following structure :
Field name Type Width Decimal
SALENO Numeric 5
SALENAME Character 20
SALEAMT Numeric 8 2
COMM Numeric 6 2
SALEDATE Date
(a) Add 5 records.
(b) Replace COMM with the following conditions :
If sales amount is greater than or equal to 1000 but less than or equal to 5000,
commission is 5% of sales amount.
If sales amount is greater than 5000, commission is 10%
(c) Display all the records
(d) Display the records having commission < 1000
(e) Display the records having commission > 1000
(f) Display the average sales and average commission.
10. Create table PAY with the following structure :
Field name Type Width Decimal
EMPNO Numeric 8
NAME Character 25
DOJ Date
BPAY Numeric 8 2
DA Numeric 8 2
HRA Numeric 3
DEDU Numeric 3
GPAY Numeric 8 2
NPAY Numeric 8 2
DE7762
WK11


19
(a) Add 5 records, (fill all fields except DA, HRA, DEDU, GPAY and NPAY)
(b) Fill DA with 75% of BAY for all employees
(c) Fill HRA with 300 for all employees
(d) Fill DEDU with 750 for all employees
(e) Fill GPAY with the sum of BPAY, DA and HRA
(f) Fill NPAY with GPAY DEDU
(g) Display EMPNO, NAME, BPAY, DEDU, GPAY, NPAY alone.


DE7762
WK11


20
DE3200


DISTANCE EDUCATION
B.Sc. (IT)/B.Sc. (IT) (Lateral) DEGREE EXAMINATION,
DECEMBER 2011.
LAB V NETWORKING
(2007 onwards)
Time : Three hours Maximum : 100 marks
Examiners has to choose and give ONE question to each candidate by lot system.
1. Write a Java program find factorial of given number using RMI client-server technique.
2. Write a Java program to setup a chat server and chat client.
3. Write a Java program to display the users and their
IP addresses logged in the network.
4. Write a Java program to setup time server and time client.
5. Write a program to read a file from the remote system.
6. Write a Java program to ENCRYPT given word.
7. Write a Java program to setup Echo Server and Echo Client.
8. Write a Java program to send message from one system to another system.




37
Cut here
Cut here
Cut here
Cut here
Cut here
Cut here

You might also like