I have an Intel Pentium 4 without a screen. Would have to search something on the data stored there. Can I connect this computer to my laptop?
Please what?
No data is stored on a processor, and the rest of your question does not make sense.
So, you want to connect a PC to your laptop to read the data on the hard drive of the PC, right? Incidentally, this has nothing to do with the processor. There are no data stored on it. But since most laptops do not have a video input, and not just an output, this is probably not possible in your case. But it would be easier if you simply remove the hard drive from the PC and connect it externally to your laptop. Such hard drive readers can be bought at Media Markt / Saturn or the Conrad, for example.
I assume you mean a computer. You can't easily connect to the laptop as a monitor. Since the corresponding output on the laptop is only an output, no input…
Here again the old wisdom proves: not always, if the plug fits, it works too…