Q5 (20 points) When browsing a website (https://example.com), the contents displayed on the...
Accenture technical mcq question, verified with a worked answer. Free to practise - no sign-up.
(20 points)
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 legitimate, intentional technical reasons why a website displays differently on smartphones versus computers. Option C describes tampering during transmission, which is a security breach, not a standard web development practice designed to show different content on different devices. Tampering is malicious interference, not a normal cause of intentional content variation.
Step-by-step Derivation:
Analyze each option as a valid cause for different content on different devices:
- Option A (JavaScript): Valid. JavaScript can detect device type and render different content client-side.
- Option B (User Agent Detection): Valid. Server-side logic reads the User-Agent header and serves different HTML/CSS based on device type.
- Option D (Responsive Design): Valid. CSS media queries and flexible layouts intentionally adapt content display for different screen sizes.
- Option C (Communication Tampering): Invalid as a cause of intentional differences. Tampering implies unauthorized modification of data in transit (a security threat), not a deliberate web design technique. This is not a normal reason why developers create different experiences for different devices.
The question asks which is NOT a cause—Option C is the only one that describes malicious/unauthorized interference rather than a legitimate design practice.