Wednesday, August 26, 2009

Oracle Functions BY ANIL NAIN 9416077273

ANIL NAIN 9416077273
Functions are used to manipulate data items and return a result. Functions follow the format of: funtion_name (argument, argumnent2,…) An argument is a user-supplied variable or constant. The structure of functions is such that it accepts zero or more arguments.
Example
AVG Syntax AVG ([DISTINCT ALL]n)
Purpose Returns average value of n, ignoring null values.
Example SELECT AVG (sell_price ) “ Average”
FROM product_master,
Output Average
--------------
2012.3654
Note
In the above SELECT statement AVG function is used to calculate the average selling price of all products. The selected column is renamed as ‘Average’ in the output.
MIN Syntax MIN ([ISTINCT/ ALL] expr)
Purpose Returns minimum value of expr.
Example SELECT MIN(s_order_date) “Minimum Date”
FROM sales_order;
Output Minimum Date
----------------------
26- Jan-93
COUNT (expr) Syntax COUNT ([DISTINCT/ALL] expr)
Purpose Returns the number of rows where expr is not null.
Example SELECT COUNT (order_no) “No of Orders”
FROM sales_order
Output No of Orders
-------------------
5
COUNT(*) Syntax COUNT (*)
Purpose Returns the number of rows in the table, including duplicates and those with nulls.
Example SELECT COUNT(*) “Total” FROM client master;
Output Total
---------
15
MAX Syntax MAX ([DISTINCT/ALL]expr)
Purpose Returns maximum value of expr.
Example SELECT MAX (qty._ordered) “ Maximum”
FROM sale_order_details.
Output Maximum
---------------
5000.00
SUM Syntax SUM ([DISTINCT/ALL]n)
Purpose Returns sum of values of n.
Example SELECT SUM (qty_ordered)”Total Qty”
FROM sales_order_details
WHERE product_mo=’P00001’,
Output Total Qty
---------------
29025.00
ABS Syntax ABS (n)
Purpose Returns the absolute value of n.
Example SELECT ABX(-15) “Absolute” FROM dual;
Otuput Absolute
----------
15
POWER Syntax ABS(n)
Purpose Returns m raised to nth power, n must be an integer, else an error is returned.
Example SELECT POSWER (3,2) “Raised” FROM dual;
Otuput Raised
------------
9
ROUND Syntax ROUND (n[,m])
Purpose Returns n rounded to m places right of the decimal point.If m is omitted, to 0 places m can be negative to round off digits left of the decimal point m must be an integer.
Example SELECT ROUND (15, 19, 1)”Round” FROM dual;
Output Round
-----------
15.2
SQRT Syntax SQRT (n)
Purpose Returns square root of n; if n<0, name="’TURNER’" sel_price="sell_price+">

Saturday, August 15, 2009

UGC NET (NATIONAL ELIGIBILITY TEST) FOR JRF AND ELIGIBILITY FOR LECTURSHIP QUESTION PAPER by anil nain 9416077273

15X5=75

1. FIFO page replacement is used with for initial empty pages trams and eight pages. How many pages faults will occur for the references string 0172337103?
2. What do you mean by authoring tool give its application also. What are various types of authoring tools?
3. Define phrase structure grammar of type 0,1,2,3 with an example of each.
4. what are three major multiplexing technique(tamp) and show that
If A=>B then ~B=> ~A.
5. What are advantages of combining segmentation of paging together?
6. Differentiates between software engineering and software reveres engineering.
7. Explain rapid app. Development model with its various RAD.
8. What is index fast full scan in oracle. Why does it not grant that the output will in shorted order of the index.
9. Explain how the concept of object identify in object oriented mode define the concept of tuple.
10. Write on 9085 assembly language program that finds the 2’s complement of again 8 bit integer.
11. With reference to the worst case behavior determine the complexity of binary search.
12. Determine the product 1234*758 using divide and conquer technique.
13. Discuses XML architecture.
14. Distinguish between Moore and mealytinity sate machining.
15. State in algorithm for converting a transitive graph into a regular expression with explanations.

5x12=60
16. Half man tree.
17. Encoding and decoding of L2 codes.
18. Main goals of JPEG compression images.
19. Fourier transforms.
20. Neural Network sun throughputs fuzzy system sum output.
21. f(x)=1/1+ex
22. Switch function x1+x2x3.
23. LCM Divisible.

One essay type question with internal options 40 marks
24. Describe the back propagation algorithm assure a feed forward neural network topology with single hidden lodger.
25. UNIX files protection. What is fiber obstruction providing by xp? How it differ from threads obstruction

UGC NET (NATIONAL ELIGIBILITY TEST) FOR JRF AND ELIGIBILITY FOR LECTURSHIP QUESTION PAPER by anil nain 9416077273

MODEL TESTPAPER
Section (1) contains 5 Question each carry 5 marks.
Section (11) contains 15 Question each carry 5 marks.
Section (111) contains 5 Question each carry 12 marks.
Section (1V) contains 1 Question each carry 40 marks.