+ Sample Resume 1
+ Sample Resume 2
+ Sample Resume 3
+ Resume Format - C, C++
+ Resume Format - Dot Net
+ Resume Format - Hardware & Networking
+ Resume Format - Software Testing
+ Resume Format - Java, J2EE
+ Resume Format - DBMS
+ Resume Format - MCA
+ Resume Format - System Admin
+ Resume Format - Embedded Systems
Saturday, August 7, 2010
Sample Resumes
How to write an effective resume?
- chronological
- functional
- combination
Demonstrated ....; researched market.....; performed whatever.
Make a listing of all your experience, choose the format to display your experience, it may change when you have more working experience

Basic parts:
- Heading or identification
- Objective
- Education
- Experience
- Honors & Scholarships (Awards)
- Skills
- Activities
- Personal, or Interest or Background (Optional)
Tells the employer
- What kind of work you are interested in
- What you are hoping to do or
- What are you wish to work in
- Include paid job and volunteer, summer, and part-time.
- Use action verbs to describe your accomplishments
- Use verbs in present tense for current work you are doing
- Use verbs in past tense for completed experiences
- Check qualifications or requirements of the jobs you are applying to find action verbs
- You are not required to list tall employment history on your resume
- Provide enough details to the recruiters, don't assume that they know everything about you
- Don't be afraid to have two pages
- Computer
- Languages
- Word typing speed
- be specific, detailed, and competent
Scholarships and Honors (Awards)
arrange by semester, or terms; be specific
Activities
Student organization, position
Personal or Interest or Background
extracurricularactivities, hobbies, or interests
References
Available upon request (if there is enough room)
A separate sheet with all you references information should be prepared
Difference between CV and Resume
CV could be 10-15 pages, usually CV is for academic openings
Resume is 1 to 2 pages
Certificate
alone as one part
Publication
Could be put in education
Tips for writting a resume
Check, check, and ckeck content flow, grammar, punctuation, and spellings
1-2 pages
Have a top, bottom, right, left margins of 1 inches
10-12 fonts
good quality paper
Friday, August 6, 2010
C++ Programs Without Answers
- 1) Determine the output of the 'C++' Codelet. class base { public : out() { cout<<"base "; } }; class deri{ public : out() { cout<<"deri "; } }; void main() { deri dp[3]; base *bp = (base*)dp; for (int i=0; i<3;i++) (bp++)->out(); }
- Justify the use of virtual constructors and destructors in C++.
- Each C++ object possesses the 4 member fns,(which can be declared by the programmer explicitly or by the implementation if they are not available). What are those 4 functions?
- What is wrong with this class declaration? class something { char *str; public: something(){ st = new char[10]; } ~something() { delete str; } }; 5) Inheritance is also known as -------- relationship. Containership as ________ relationship. 6) When is it necessary to use member-wise initialization list (also known as header initialization list) in C++? 7) Which is the only operator in C++ which can be overloaded but NOT inherited. 8) Is there anything wrong with this C++ class declaration? class temp { int value1; mutable int value2; public : void fun(int val) const{ ((temp*) this)->value1 = 10; value2 = 10; } };
C++ Programs with Answers & Explanation
- Programs run under Windows environment,
- The underlying machine is an x86 based system,
- Program is compiled using Turbo C/C++ compiler.
- Which is the parameter that is added to every non-static member function when it is called?
Note : All the programs are tested under Turbo C++ 3.0, 4.5 and Microsoft VC++ 6.0 compilers.
It is assumed that,
The program output may depend on the information based on this assumptions (for example sizeof(int) == 2 may be assumed).
1) class Sample
{
public:
int *ptr;
Sample(int i)
{
ptr = new int(i);
}
~Sample()
{
delete ptr;
}
void PrintVal()
{
cout << "The value is " << *ptr;
}
};
void SomeFunc(Sample x)
{
cout << "Say i am in someFunc " << endl;
}
int main()
{
Sample s1= 10;
SomeFunc(s1);
s1.PrintVal();
}
Answer:
Say i am in someFunc
Null pointer assignment(Run-time error)
Explanation:
As the object is passed by value to SomeFunc the destructor of the object is called when the control returns from the function. So when PrintVal is called it meets up with ptr that has been freed.The solution is to pass the Sample object by reference to SomeFunc:
void SomeFunc(Sample &x)
{
cout << "Say i am in someFunc " << endl;
}
because when we pass objects by refernece that object is not destroyed. while returning from the function.
Answer:
‘this’ pointer
3) class base
{
public:
int bval;
base(){ bval=0;}
};
class deri:public base
{
public:
int dval;
deri(){ dval=1;}
};
void SomeFunc(base *arr,int size)
{
for(int i=0; i<size; i++,arr++)
cout<<arr->bval;
cout<<endl;
}
int main()
{
base BaseArr[5];
SomeFunc(BaseArr,5);
deri DeriArr[5];
SomeFunc(DeriArr,5);
}
Answer:
00000
01010
Explanation:
The function SomeFunc expects two arguments.The first one is a pointer to an array of base class objects and the second one is the sizeof the array.The first call of someFunc calls it with an array of bae objects, so it works correctly and prints the bval of all the objects. When Somefunc is called the second time the argument passed is the pointeer to an array of derived class objects and not the array of base class objects. But that is what the function expects to be sent. So the derived class pointer is promoted to base class pointer and the address is sent to the function. SomeFunc() knows nothing about this and just treats the pointer as an array of base class objects. So when arr++ is met, the size of base class object is taken into consideration and is incremented by sizeof(int) bytes for bval (the deri class objects have bval and dval as members and so is of size >= sizeof(int)+sizeof(int) ).
4) class base
{
public:
void baseFun(){ cout<<"from base"<<endl;}
};
class deri:public base
{
public:
void baseFun(){ cout<< "from derived"<<endl;}
};
void SomeFunc(base *baseObj)
{
baseObj->baseFun();
}
int main()
{
base baseObject;
SomeFunc(&baseObject);
deri deriObject;
SomeFunc(&deriObject);
}
Answer:
from base
from base
Explanation:
As we have seen in the previous case, SomeFunc expects a pointer to a base class. Since a pointer to a derived class object is passed, it treats the argument only as a base class pointer and the corresponding base function is called.
5) class base
{
public:
virtual void baseFun(){ cout<<"from base"<<endl;}
};
class deri:public base
{
public:
void baseFun(){ cout<< "from derived"<<endl;}
};
void SomeFunc(base *baseObj)
{
baseObj->baseFun();
}
int main()
{
base baseObject;
SomeFunc(&baseObject);
deri deriObject;
SomeFunc(&deriObject);
}
Answer:
from base
from derived
Explanation:
Remember that baseFunc is a virtual function. That means that it supports run-time polymorphism. So the function corresponding to the derived class object is called.
void main()
{
int a, *pa, &ra;
pa = &a;
ra = a;
cout <<"a="<<a <<"*pa="<<*pa <<"ra"<<ra ;
}
/*
Answer :
Compiler Error: 'ra',reference must be initialized
Explanation :
Pointers are different from references. One of the main
differences is that the pointers can be both initialized and assigned,
whereas references can only be initialized. So this code issues an error.
*/
const int size = 5;
void print(int *ptr)
{
cout<<ptr[0];
}
void print(int ptr[size])
{
cout<<ptr[0];
}
void main()
{
int a[size] = {1,2,3,4,5};
int *b = new int(size);
print(a);
print(b);
}
/*
Answer:
Compiler Error : function 'void print(int *)' already has a body
Explanation:
Arrays cannot be passed to functions, only pointers (for arrays, base addresses)
can be passed. So the arguments int *ptr and int prt[size] have no difference
as function arguments. In other words, both the functoins have the same signature and
so cannot be overloaded.
*/
class some{
public:
~some()
{
cout<<"some's destructor"<<endl;
}
};
void main()
{
some s;
s.~some();
}
/*
Answer:
some's destructor
some's destructor
Explanation:
Destructors can be called explicitly. Here 's.~some()' explicitly calls the
destructor of 's'. When main() returns, destructor of s is called again,
hence the result.
*/
#include <iostream.h>
class fig2d
{
int dim1;
int dim2;
public:
fig2d() { dim1=5; dim2=6;}
virtual void operator<<(ostream & rhs);
};
void fig2d::operator<<(ostream &rhs)
{
rhs <<this->dim1<<" "<<this->dim2<<" ";
}
/*class fig3d : public fig2d
{
int dim3;
public:
fig3d() { dim3=7;}
virtual void operator<<(ostream &rhs);
};
void fig3d::operator<<(ostream &rhs)
{
fig2d::operator <<(rhs);
rhs<<this->dim3;
}
*/
void main()
{
fig2d obj1;
// fig3d obj2;
obj1 << cout;
// obj2 << cout;
}
/*
Answer :
5 6
Explanation:
In this program, the << operator is overloaded with ostream as argument.
This enables the 'cout' to be present at the right-hand-side. Normally, 'cout'
is implemented as global function, but it doesn't mean that 'cout' is not possible
to be overloaded as member function.
Overloading << as virtual member function becomes handy when the class in which
it is overloaded is inherited, and this becomes available to be overrided. This is as opposed
to global friend functions, where friend's are not inherited.
*/
class opOverload{
public:
bool operator==(opOverload temp);
};
bool opOverload::operator==(opOverload temp){
if(*this == temp ){
cout<<"The both are same objects\n";
return true;
}
else{
cout<<"The both are different\n";
return false;
}
}
void main(){
opOverload a1, a2;
a1= =a2;
}
Answer :
Runtime Error: Stack Overflow
Explanation :
Just like normal functions, operator functions can be called recursively. This program just illustrates that point, by calling the operator == function recursively, leading to an infinite loop.
class complex{
double re;
double im;
public:
complex() : re(1),im(0.5) {}
bool operator==(complex &rhs);
operator int(){}
};
bool complex::operator == (complex &rhs){
if((this->re == rhs.re) && (this->im == rhs.im))
return true;
else
return false;
}
int main(){
complex c1;
cout<< c1;
}
Answer : Garbage value
Explanation:
The programmer wishes to print the complex object using output
re-direction operator,which he has not defined for his lass.But the compiler instead of giving an error sees the conversion function
and converts the user defined object to standard object and prints
some garbage value.
class complex{
double re;
double im;
public:
complex() : re(0),im(0) {}
complex(double n) { re=n,im=n;};
complex(int m,int n) { re=m,im=n;}
void print() { cout<<re; cout<<im;}
};
void main(){
complex c3;
double i=5;
c3 = i;
c3.print();
}
Answer:
5,5
Explanation:
Though no operator= function taking complex, double is defined, the double on the rhs is converted into a temporary object using the single argument constructor taking double and assigned to the lvalue.
void main()
{
int a, *pa, &ra;
pa = &a;
ra = a;
cout <<"a="<<a <<"*pa="<<*pa <<"ra"<<ra ;
}
Answer :
Compiler Error: 'ra',reference must be initialized
Explanation :
Pointers are different from references. One of the main
differences is that the pointers can be both initialized and assigned,
whereas references can only be initialized. So this code issues an error.
General C++ Questions
- What is a class?
- What is an object?
- What is the difference between an object and a class?
- What is the difference between class and structure?
- What is public, protected, private?
- What are virtual functions?
- What is friend function?
- What is a scope resolution operator?
- What do you mean by inheritance?
- What is abstraction?
- What is polymorphism? Explain with an example.
- What is encapsulation?
- What do you mean by binding of data and functions?
- What is function overloading and operator overloading?
- What is virtual class and friend class?
- What do you mean by inline function?
- What do you mean by public, private, protected and friendly?
- When is an object created and what is its lifetime?
- What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.
- Difference between realloc () and free ()?
- What is a template?
- What are the main differences between procedure oriented languages and object oriented languages?
- What is R T T I ?
- What are generic functions and generic classes?
- What is namespace?
- What is the difference between pass by reference and pass by value?
- Why do we use virtual functions?
- What do you mean by pure virtual functions?
- What are virtual classes?
- Does c++ support multilevel and multiple inheritance?
- What are the advantages of inheritance?
- When is a memory allocated to a class?
- What is the difference between declaration and definition?
- What is virtual constructors/destructors?
- In c++ there is only virtual destructors, no constructors. Why?
- What is late bound function call and early bound function call? Differentiate.
- How is exception handling carried out in c++?
- When will a constructor executed?
- What is Dynamic Polymorphism?
- Write a macro for swapping integers.
General DBMS Questions Answers 2
- What is MUTEX ?
- What isthe difference between a 'thread' and a 'process'?
- What is INODE?
- Explain the working of Virtual Memory.
- How does Windows NT supports Multitasking?
- Explain the Unix Kernel.
- What is Concurrency? Expain with example Deadlock and Starvation.
- What are your solution strategies for "Dining Philosophers Problem" ?
- Explain Memory Partitioning, Paging, Segmentation.
- Explain Scheduling.
- Operating System Security.
- What is Semaphore?
- Explain the following file systems : NTFS, Macintosh(HPFS), FAT .
- What are the different process states?
- What is Marshalling?
- Define and explain COM?
- What is Marshalling?
- Difference - Loading and Linking ?
General DBMS Questions Answers 1
- What are the different types of joins?
- Explain normalization with examples.
- What cursor type do you use to retrieve multiple recordsets?
- Diffrence between a "where" clause and a "having" clause
- What is the difference between "procedure" and "function"?
- How will you copy the structure of a table without copying the data?
- How to find out the database name from SQL*PLUS command prompt?
- Tadeoffs with having indexes
- Talk about "Exception Handling" in PL/SQL?
- What is the diference between "NULL in C" and "NULL in Oracle?"
- What is Pro*C? What is OCI?
- Give some examples of Analytical functions.
- What is the difference between "translate" and "replace"?
- What is DYNAMIC SQL method 4?
- How to remove duplicate records from a table?
- What is the use of ANALYZing the tables?
- How to run SQL script from a Unix Shell?
- What is a "transaction"? Why are they necessary?
- Explain Normalizationa dn Denormalization with examples.
- When do you get contraint violtaion? What are the types of constraints?
- How to convert RAW datatype into TEXT?
- Difference - Primary Key and Aggregate Key
- How functional dependency is related to database table design?
- What is a "trigger"?
- Why can a "group by" or "order by" clause be expensive to process?
- What are "HINTS"? What is "index covering" of a query?
- What is a VIEW? How to get script for a view?
- What are the Large object types suported by Oracle?
- What is SQL*Loader?
- Difference between "VARCHAR" and "VARCHAR2" datatypes.
- What is the difference among "dropping a table", "truncating a table" and "deleting all records" from a table.
- Difference between "ORACLE" and "MICROSOFT ACCESS" databases.
- How to create a database link ?

