Wednesday, February 8, 2012

[OneStopGATE] Digest Number 1409

Messages In This Digest (5 Messages)

Messages

1.

30 C++ Quetions mostly asked in Interviews - Coolinterview.com

Posted by: "Aishwarya. R" raish86@yahoo.in   raish86

Tue Feb 7, 2012 8:23 pm (PST)




________________________________

C++ INTERVIEW QUESTIONS

Download Free Interview Questions eBook of 500 Questions

(If you do not have a Yahoo! account, you can get it by simply sending a blank email to CoolInterview-Subscribe@yahoogroups.com and confirm the verification email received. Once your email is confirmed, we will instantly send the download link to you.)
C++ Interview Questions
* What is the need of getoxy and gotoxy funtions in c++
http://www.coolinterview.com/interview/48073/

* If you are given task to build search engine, how will you arrange items
and what kind of algorithm will you use to get the quickest search
result?
http://www.coolinterview.com/interview/34981/

* I'm using OpenGL in C++, and dealing with ilumination. I'd like my small car game to have two modes, one day-mode and another
night-mode, that people would select from the menu. Basically the
difference between the two modes will be the color of the source light.
I've already written the piece of code that does it. First I'm not sure
where to paste it in the program. I've put it in mycamera.cpp, that will follow, and I can't see my route anymore, it's all grey and strange...
Anyone knows why? And what am I doing wrong? #include "MyCamera.h"
#include "Car.h" namespace proj{ MyCamera::MyCamera() : Entity("MyCamera"){ } MyCamera::~MyCamera(){ } void MyCamera::init(){ cg::tWindow win =
cg::Manager::instance()->getApp()->getWindow(); _winWidth = win.width; _winHeight = win.height; } void MyCamera::draw(){ Car *_car; _car = (Car*)cg::Registry::instance()->get("Car2"); glMatrixMode(GL_PROJECTION); glLoadIdentity(); _position = _car->getPosition(); gluPerspective( 45, _winWidth/_winHeight ,1,1500); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); gluLookAt(_position[0],_position[1]-500, 400, _position[0],_position[1], 0, 0, 1,0); // init glEnable(GL_LIGHTING); glEnable(GL_LIGHT0); // pre-definições GLfloat position[4] = { 1.0, 1.0, 1.0, 0.0}; /*o zero final indica que trato duma luz direccional. as coordenadas
anteriores são os vectores direcção dos raios*/ GLfloat ambientLight[4] = { 1.0, 1.0, 0, 1.0}; GLfloat diffuseLight[4] = { 1.0, 1.0, 0, 1.0 }; GLfloat specularLight[4] = { 1.0, 1.0, 0, 1.0}; glLightModeli(GL_LIGHT_MODEL_LOCAL_VIEWER, GL_TRUE);//local viewpoint // atribui-las a fonte glLightfv(GL_LIGHT0, GL_AMBIENT, ambientLight); glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuseLight); glLightfv(GL_LIGHT0, GL_SPECULAR, specularLight); glLightfv(GL_LIGHT0, GL_POSITION, position); } void MyCamera::onReshape(int width, int height){ _winWidth = width; _winHeight = height; }
}
http://www.coolinterview.com/interview/34964/

* What Is scoop
http://www.coolinterview.com/interview/34361/

* Create a class called space which contains three data members of type
integer.Include member function getdata() (to read values)and
displaydata() (to display values) in the class space.Overload the -
oprator to add the objects of type space.Write this function in such way that, we can write a statement like S3=S1,S2
Where S1,S2 and S3 are objects of space
http://www.coolinterview.com/interview/34356/

* Write a function which returns the maximum digit of its arguments of type integer.
Maxdigit(int)
example:for(234,it will return 4,for 89->9
http://www.coolinterview.com/interview/34355/

* Write a program to find the sum of integers that are evenly divisible by 10 bfor a given range (example 1 through 50)
http://www.coolinterview.com/interview/34354/

* Input three positive integers representing the sides of triangle and
determine wether they form a valid triangle.hint: in triangle the sum of any two sides must always be greater than the third side
http://www.coolinterview.com/interview/34353/

* Write a program to convert given amount in EURO to local OMR by reading the
amount in EURO from a file and write equivalent amount in OMR to another file.
1 EURO=0.52004 OMR
http://www.coolinterview.com/interview/34352/

* What is c++?
http://www.coolinterview.com/interview/34281/

* Is in c++ an array consists of broken memory locations?
http://www.coolinterview.com/interview/34261/

* what happen if i assign a number with a decimal point to an integer rather
than to a float ? consider the following line of code : int a NUMBER =
5.4
http://www.coolinterview.com/interview/34194/

* what should the 64-bit integer type on new,64-bit machines be?
http://www.coolinterview.com/interview/34119/

* Applications of c++ object oriented programs?
http://www.coolinterview.com/interview/32551/

* What is a mutable member?
http://www.coolinterview.com/interview/29525/

* Define a constructor - What it is and how it might be called (2 methods).
http://www.coolinterview.com/interview/29524/

* Anything wrong with this code?
T *p = 0;
delete p;
http://www.coolinterview.com/interview/29523/

* Anything wrong with this code?
T *p = new T[10];
delete p;
http://www.coolinterview.com/interview/29522/

* What is an orthogonal base class?
http://www.coolinterview.com/interview/29521/

* What is an adaptor class or Wrapper class?
http://www.coolinterview.com/interview/29520/

* What is the dangling pointer in c++
http://www.coolinterview.com/interview/29519/

* What is a mixin class?
http://www.coolinterview.com/interview/29518/

* What is a concrete class?
http://www.coolinterview.com/interview/29517/

* What is the handle class?
http://www.coolinterview.com/interview/29516/

* What is an action class?
http://www.coolinterview.com/interview/29515/

* When can you tell that a memory leak will occur?
http://www.coolinterview.com/interview/29514/

* What is a parameterized type?
http://www.coolinterview.com/interview/29513/

* Differentiate between a deep copy and a shallow copy?
http://www.coolinterview.com/interview/29512/

* What is an opaque pointer?
http://www.coolinterview.com/interview/29511/

* What is a smart pointer?
http://www.coolinterview.com/interview/29510/

* What is cloning?
http://www.coolinterview.com/interview/29509/

* Describe the main characteristics of static functions.
http://www.coolinterview.com/interview/29508/

* Will the inline function be compiled as the inline function always? Justify.
http://www.coolinterview.com/interview/29507/

* Define a way other than using the keyword inline to make a function inline.
http://www.coolinterview.com/interview/29506/

* How can a '::' operator be used as unary operator?
http://www.coolinterview.com/interview/29505/

* What are the main underlying concepts of object orientation?
http://www.coolinterview.com/interview/29504/

* What do u meant by "SBI" of an object?
http://www.coolinterview.com/interview/29503/

* Differentiate persistent & non-persistent objects?
http://www.coolinterview.com/interview/29502/

* What do you meant by active and passive objects
http://www.coolinterview.com/interview/29501/

* What is meant by software development method?
http://www.coolinterview.com/interview/29500/
2a.

Crack NITAT to get a career in I.T.

Posted by: "NITAT" aslan.nornia@yahoo.in   aslan.nornia

Tue Feb 7, 2012 8:45 pm (PST)



3.

Technical Lead - Data Modeler Required At iGate | Opportunity for So

Posted by: "Maheshwari .A" a.maheshi@yahoo.in   a.maheshi

Tue Feb 7, 2012 9:10 pm (PST)




 

Training Institutes| Downloads| News| Articles| Books| Sample Papers

Click here to Join OneStopgate group for Latest Updates
http://groups.yahoo.com/group/OneStopgate/join

________________________________


Latest Fresher & Experience Jobs

 
Opportunity for Software Engineer At Samsung
http://www.onestopgate.com/gate-jobs/details/opportunity-for-software-engin-1554.asp

 
 
Game Programmer Required At Gameloft
http://www.onestopgate.com/gate-jobs/details/game-programmer-required-at-ga-1553.asp

 
 
Opportunity for Software Engineer - FEA /CAE At 3D PLM
http://www.onestopgate.com/gate-jobs/details/opportunity-for-software-engin-1552.asp

 
 
Technical Lead - Data Modeler Required At iGate
http://www.onestopgate.com/gate-jobs/details/technical-lead-data-modeler--1551.asp

 
 
Required L3 NetApp Admin At TCS
http://www.onestopgate.com/gate-jobs/details/required-l3-netapp-admin-at-tc-1550.asp

 
 
Openings for DFT Engineer At Maxim
http://www.onestopgate.com/gate-jobs/details/openings-for-dft-engineer-at-m-1549.asp

 
 
Requirement for PS Integration Engineer At Peopleplus
http://www.onestopgate.com/gate-jobs/details/requirement-for-ps-integration-1548.asp

 
 
Opportunity for PHP Developer At Q3 Technologies
http://www.onestopgate.com/gate-jobs/details/opportunity-for-php-developer--1547.asp

 
 
Designing Engineers Required At GlobalHunt
http://www.onestopgate.com/gate-jobs/details/designing-engineers-required-a-1546.asp

 
 
Required Core Java Developer At Oracle
http://www.onestopgate.com/gate-jobs/details/required-core-java-developer-a-1545.asp

 
 
Openings for Middleware Administrator At Emerson
http://www.onestopgate.com/gate-jobs/details/openings-for-middleware-admini-1544.asp

 
 
Requirement for C++Professionals At Tech Mahindra
http://www.onestopgate.com/gate-jobs/details/requirement-for-c-professiona-1543.asp

 
 
Opportunity for Avionics Leads/ Manager At Infotech
http://www.onestopgate.com/gate-jobs/details/opportunity-for-avionics-leads-1542.asp
4.

Buy 1 value scoop and get 1 FREE at Baskin Robbins

Posted by: "New Offer" tgarima41@yahoo.com   tgarima41

Tue Feb 7, 2012 9:54 pm (PST)



5.

Great Fresher/Experience Jobs and Walkins

Posted by: "Fresher/Exp Jobs" aslan.nornia@yahoo.in   aslan.nornia

Tue Feb 7, 2012 10:58 pm (PST)



For
Great Fresher/Experience Jobs and Walkins

Post your
Resume here
Recent Activity
Visit Your Group
Yahoo! Groups

Small Business Group

Own a business?

Connect with others.

Yahoo! Groups

Mental Health Zone

Mental Health

Learn More

Dog Groups

on Yahoo! Groups

discuss everything

related to dogs.

Need to Reply?

Click one of the "Reply" links to respond to a specific message in the Daily Digest.

Create New Topic | Visit Your Group on the Web
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FREE GATE EXAM PREPARATION RESOURCES
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

<*> http://www.onestopgate.com - Complete Resources on GATE Exam (General Aptitude Test of Engineering). Visit now at http://www.onestopgate.com

<*> http://forum.onestopgate.com - GATE Discussion Forum - Share all your experiences and discuss all the queries here at http://forum.onestopgate.com

<*> http://groups.yahoo.com/group/OneStopGATE/join - JOIN ONESTOPGATE GROUP - Join OneStopGATE group now and receive the latest information and preparation material on GATE Exam now! http://groups.yahoo.com/group/OneStopGATE/join



---------------------------------------------------------------



Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
        Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
Join http://groups.yahoo.com/group/OneStopGATE/join

No comments: