it only has the HDMI port but not conventional projector slot so how to get it connected to projector
XPS L502X has HDMI and Mini-display ports but not 15-pin VGA port. If you purchase a Minidisplay-VGA adapter, it can be connected to projector.
If the projector has HDMI port, HDMI cable can be used to connect the laptop to projector, but it does not give dual (clone) display unless you change the NVIDIA settings.
-Rama Reddy Karri