Maventic Questions
Maventic Questions
Maventic Questions
SQL:
join
unique vs primary key
inner join vs outer join
PL/SQL:
procedure vs function..
why pl/sql
like this..
and some question from core java,servlet,jsp,
5th Round (HR Round)
1)write a function that will receive a string and create a copy of a string and then pass it to the
calling funtion,,
like
char * COPY(char *);
2)Shopping cart program.. like using predefined function
write a program that will calculate the total price for a particular
product what ever you purchased from one table and put the price in another table.
like.. two table.. OH(prod_id , total_price) and OL( prod_id, quantity , rate_per_kg)
predefined functions
GOTO(TN); TN means Table name it will move the cursor to the first record of the mentioned
table.
SKIP(); goto next record.. if no record found return false
WRITE(TN,Field_name,amount) ;
int READ(TN,Field_name); return amount
Sir you may forget me.. Sir I from Orissa.. sir I sent something in attachment.. the most happiest
moments of my life..
sir please give some tips to me.. now what to do..?
Thanks n Regards,
Sudarsan Gouda,
Call me @ 08050528568.
1 Attached files| 261KB
======================================================
2nd Paper
3rd Paper
Respected sir,
I am yr student of NIT during this summer as now i attend some of my interview n i face some of
the difficulty in my string so kindly help me in this programs as they as asked by some of the
company.
questions are:
1).wap to count the no. of string.
ex:-if input string[]={ravi,sonu,ravi,anand}
then output should be ravi=2, sonu=1, anand=1
2).wap to print the following pattern with sum.
ex:-if input =5
then output =
11
235
4 5 6 15
7 8 9 10 34
11 12 13 14 15 65
3).suppose there r 2 structures. structure1 contains student name,roll no,project name and
structure2 contains project name and coach name. first u enter the data in 2 structures.then write
a program if user inputs project name then the record is to be shown like project name,student
name,roll no,coach name of each record.
4).in string the words reverse like this-inputI want to study n the output is-I tnaw ot
yduts.
5). string upper case the input-how are you n output isHoW ArE YoU.
please give the solutions of these programs.i tried hard but somewhere i stuck.
n if possible then give some of programs related to only string.
thanking you
Kiran Kumar