If the frequency of the crystal oscillator is 20 MHz on a PIC16F877a, the frequency of the signal on OSC1/CLKOUT would be?

In RC mode, OSC2 pin outputs CLKO, which has 1/4 the

frequency of OSC1 and denotes the instruction cycle rate. In osc mode, clkout is the same as the oscillator frequency.