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 by a communication path.

Options A, B, and D are all legitimate, intentional technical reasons why website content differs between devices. Option C describes tampering (unauthorized modification during transmission), which is a security breach and not a normal cause of intentional content variation. Responsive design, user agent detection, and JavaScript-based rendering are standard web development practices used to display appropriate content for each device.

Step-by-step Derivation:
Analyze each option as a potential cause of legitimate content variation:

  • Option A (JavaScript): Valid. JavaScript can render different content client-side based on device capabilities or screen size.
  • Option B (User Agent): Valid. Servers commonly detect user agent headers to serve device-specific versions (mobile vs. desktop).
  • Option D (Responsive Design): Valid. CSS media queries automatically adjust layouts for different screen sizes.
  • Option C (Communication Path Tampering): Invalid as a normal cause. Tampering implies unauthorized interception and modification, which is a security issue, not an intended design feature. This is an exception/anomaly, not a standard reason for content differences.

The question asks which is not a cause. Option C stands out as the only malicious/exceptional scenario rather than a standard web development technique.