Vous êtes sur la page 1sur 5

1st round

1)enter a password and check the password is in a specified structure or not..


conditions:
a) atleast two numeric character..(0 to 9)
b)must contain one capital letter..(A to Z)
c)length must be lies between(8 to 10)
2)reverse each word of the given statement..
2nd round:(run in system)

Q: remove the first occurrence of the string..


like: rameshwar>ar
3rd round:(run in system)

single link list..do all operations


4th round:(F2F)
from c++:
virtual funtion..
polymorphism
encapsulation
oops concepts.
from C:
0
1 0 1
21 0 1 2
print it ..
data structure:
write link list program..insert 5 node delete 3rd node..

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

Hi sir Good Evening


i attended the c written exam today.
they told that results will be announced later to ur mail.
the questions are
1) print the series
1
2 1
3 2 1
4 3 2 1
5 4 3 2 1
2) write a program to accept array values as functon argument and the average of those?
3) write a program to accept the inputs[0-9] and print it in descriptive word like 0 as ZERo 1 as
ONE.. and the program should handle the invalid range?
4) typedef struct
{
int *pnext;
char name[20];
int *phead;
int *ptail;
}list;
use the prototype void addToTail(list *pitem);
by using this funtion add item in the end of list?
5) i<12&&5*j<i
1)(i<12)&&(5*j)<i
2)(i<12)&&5*(j<i)
3) i<(12&&5*j<i)

what is the equivalent form of this?

6) what are pros and cons in stack memory vs heapmemory?


7) char *function(const char *in)
{
char *str;
str=(char*) malloc(sizeof(char)+1);
strcpy(str,in);
assert(str!=NULL)
..
..
}
1) why we use const in function argument ?
2) whats the use of +1 here.?
3) what is assert()?

8) how can we restrict the access of c file ?


1)auto
2)extern
3) volatile
4)static
and bits on static..
and small bits.
i hope i wrote well. i am waiting for results.
will you please send the answers for the above questions i have to check with my
answers.

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

Vous aimerez peut-être aussi