When browsing a website (https://example.com), the contents displayed on the smartphone and...
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
When browsing a website (https://example.com), the contents displayed on the smartphone and the computer are different. Which statement below is not the cause?
Show answer & explanation
Options A, B, and D are all legitimate, intentional reasons why website content differs between devices. Responsive design (D) adapts layouts to screen size, user agent detection (B) serves different content for different devices, and JavaScript (A) can dynamically render content based on device capabilities. Option C describes tampering/modification during transmission, which is a security breach—not a standard, intended cause of content differences. Tampering would affect both devices equally (or randomly) rather than consistently showing different content by device type.
Step-by-step Derivation:
The question asks which is NOT a cause. Analyze each option:
A) JavaScript dynamic generation - VALID CAUSE: JS can detect device type and render different UI.
B) User agent switching - VALID CAUSE: Servers detect User-Agent headers (e.g., 'Mobile Safari' vs 'Chrome') and serve tailored content.
D) Responsive design - VALID CAUSE: CSS media queries and responsive layouts intentionally adjust content/layout based on screen dimensions.
C) Tampering during communication - NOT A NORMAL CAUSE: This is a security incident (MITM attack, proxy injection), not a standard web development practice. It would be malicious and unpredictable, not a designed feature to show different content between devices.
The answer is C.