The compound(s) that shows(show) positive haloform test is(are) 
A compound gives a positive haloform test (reaction with $\text{X}_2$/$\text{OH}^-$ or $\text{I}_2$/$\text{NaOH}$, forming a haloform $\text{CHX}_3$) if it possesses one of the following structural units:
We analyze each compound for the presence of the $\text{R-CO-CH}_3$ group:
(A) $p$-Methylacetophenone:
$$\text{Compound (A)} = \text{Ar}-\text{CO}-\text{CH}_3$$
This compound has a methyl ketone ($\text{CO}-\text{CH}_3$) group.
Therefore, Compound (A) shows a positive haloform test.
(B) Benzylidineacetone (4-Phenylbut-3-en-2-one):
$$\text{Compound (B)} = \text{Ar}-\text{CH}=\text{CH}-\text{CO}-\text{CH}_3$$
This compound also has a methyl ketone ($\text{CO}-\text{CH}_3$) group.
Therefore, Compound (B) shows a positive haloform test.
(C) Methyl $p$-Toluate:
$$\text{Compound (C)} = \text{Ar}-\text{CO}-\text{OCH}_3$$
This is an ester. It does not possess the $\text{CO}-\text{CH}_3$ group directly attached to the carbonyl carbon.
Therefore, Compound (C) does not show a positive haloform test.
(D) $p$-Methylstyrene (1-Propenylbenzene):
$$\text{Compound (D)} = \text{Ar}-\text{CH}=\text{CH}-\text{CH}_3$$
This is an alkene. It is neither a methyl ketone nor the required secondary alcohol structure.
Therefore, Compound (D) does not show a positive haloform test.
The compounds that show a positive haloform test are (A) and (B).
The correct answer is (A) and (B).

One mole of a monoatomic ideal gas starting from state A, goes through B and C to state D, as shown in the figure. Total change in entropy (in J K\(^{-1}\)) during this process is ............... 
The number of chiral carbon centers in the following molecule is ............... 
A tube fitted with a semipermeable membrane is dipped into 0.001 M NaCl solution at 300 K as shown in the figure. Assume density of the solvent and solution are the same. At equilibrium, the height of the liquid column \( h \) (in cm) is ......... 
An electron at rest is accelerated through 10 kV potential. The de Broglie wavelength (in A) of the electron is .............