Forums.Sureshkumar.net : A Perfect Place to Share Knowledg Blogs   Games  Magazines   click here

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > FRESH JOB SEEKERS > Fresher Resources > Aptitude Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 12-02-06, 03:54 AM   #1 (permalink)
Moderator
 
Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 14 Times in 11 Posts
Thanks: 0
Thanked 14 Times in 11 Posts
Rep Power: 19 sowmya571 has disabled reputation


hello


Every body please solve the technical questions of accenture !!!


27. ----means allowing objects of difference types to be considered as examples of a higher level set :


28. The primary characteristic of key field ?

29.Specify the relation between the entities Manager-------------- --employee ( managed by)

30. If a member initialiser is not provided for a member object of a class .The object - is called
a) static fn
b) non static fn
c) default constructor
d) none

31. class constest
{
private:
const int i;
public:
constest():i(10)
}

32. Inheritance
b) abstract base class
c) specifies a way to to define a const member data
d) none

33. Iimplement polymorphism when by object belonging to different class can respond to the same message in diff ways.
a) late binding
b)dynamic binding
c) dynamically created object
d) virtual fun

34. Member function---------- and ----------- set and reset the format state of flags.
a) set,reset
b) set,get
c) set, unset
d) set ,unsetf

35. #include<iostream.h>
struct abc
{
int i;
abc(int j)
{ i=j;}
public:
void display()
{ cout<<i;}
}

void main()
{
abc ob(10);
ob.disp();
}
a)10
b) error : constructor is not accessible
c) abc: i not accessible
d)none

36. # include<iostream.h>
class sample
{
public :
sample(int **pp)
{
p=pp;}
int **p;
int **sample:: *ptr=&sample ::p;

37. In a file A...Z characters are written.if we open the file using fopen and
lseek(fp,-10,2);
c=getc(fp);
printf("%c",c);
what will be the output.?

38. Same question with
lseek(fp,10,0);
c=getc(fp);
printf("%c",c);



39. what are far pointers and what is its usefullness?


40. Now some questions about extern variables.

41. #include<stdio.h>
main()
{
char str[]={"hell"};
int i;
for(i=0;i<5;i++)
printf("%c%c%c%c\n",str[i],i[str],*(str+i),*(i+str));
getch();
}
42. Which of the following is not defined in string.h strtod,memchr,strspn,strchr



43. Questions on macros with arguments .same pattern given in TEST UR C SKILLS
eg.#define SQUARE(x) x*x
main()
{
.......
y=SQUARE(2+3);
printf("%d",y);
}

44. Remember an inline function does type checking and so it is better than a macro a question on this.

45. Some
memory is allocated using malloc and then realloc is called. And now to
write the sizeof the variable.. What
it does and syntax.?
__________________
http://livetolead.blogspot.com/
all the best
Arise Awake N Stop Not Until Ur Goal Is Reached!
sowmya571 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-02-06, 10:03 AM   #2 (permalink)
Moderator
 
Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 14 Times in 11 Posts
Thanks: 0
Thanked 14 Times in 11 Posts
Rep Power: 19 sowmya571 has disabled reputation
hello



27. ----means allowing objects of difference types to be considered as examples of a higher level set :



28. The primary characteristic of key field ?
It must be unique and not null




29.Specify the relation between the entities Manager-------------- --employee ( managed by)


one to many relationship


30. If a member initialiser is not provided for a member object of a class .The object - is called
a) static fn
b) non static fn
c) default constructor
d) none


31. class constest
{
private:
const int i;
public:
constest():i(10)
}


32. Inheritance
b) abstract base class
c) specifies a way to to define a const member data
d) none


33. Iimplement polymorphism when by object belonging to different class can respond to the same message in diff ways.
a) late binding
b)dynamic binding
c) dynamically created object
d) virtual fun


34. Member function---------- and ----------- set and reset the format state of flags.
a) set,reset
b) set,get
c) set, unset
d) set ,unsetf


doubt a/b





__________________
http://livetolead.blogspot.com/
all the best
Arise Awake N Stop Not Until Ur Goal Is Reached!
sowmya571 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14-02-06, 11:19 AM   #3 (permalink)
Junior Member
 
Join Date: Feb 2006
Location: India
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 3 mnvsriram has disabled reputation
27. ----means allowing objects of difference types to be considered as examples of a higher level set :

I THINK THE ANSWER IS CASTING.ISNT IT???






29.Specify the relation between the entities Manager-------------- --employee

YA THIS IS ONE TO MANY RELATION SHIP AS THERE WILL BE ONE MANAGER AND MANY EMPLOYEES




mnvsriram is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +6.5. The time now is 01:13 PM.




Get Short Listed Fast !! Upload Your CV here & Apply New Jobs Everyday.

Search Engine Optimization by vBSEO 3.1.0