OA. free
Free
Accenture Core Computer Science Core Computer Science Medium

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?

Choose one option.
Show answer & explanation
Answer: C. Because the content of the website was tampered with during transmission.

Options A, B, and D are all legitimate technical reasons why a website displays differently on smartphones versus computers. Option C—tampering during transmission—is not a standard, intended mechanism for displaying device-specific content. Tampering is a security breach, not a design feature. Legitimate reasons include: (A) JavaScript conditionally renders content, (B) servers detect device type via user-agent headers and serve different HTML, and (D) CSS media queries adapt layouts to screen sizes.

Step-by-step Derivation:
Analyze each option:

  • A) JavaScript dynamic generation: Valid. JavaScript can detect screen size, device type, and render different DOM elements for mobile vs. desktop. ✓ IS a cause

  • B) User-Agent detection: Valid. Servers read the User-Agent header to identify device type (smartphone, tablet, desktop) and serve device-optimized content. ✓ IS a cause

  • C) Tampering during transmission: Invalid for legitimate purposes. Tampering implies unauthorized modification (MITM attack), which is a security violation, not an intended design mechanism for content differentiation. ✗ NOT a standard cause

  • D) Responsive design: Valid. CSS media queries and flexible layouts automatically adapt content layout and visibility based on viewport size. ✓ IS a cause

Answer: C — This is the only option that is NOT a legitimate cause for displaying different content on different devices.