State the output:
SELECT LEFT(RIGHT("COMPUTER SCIENCE",7),3), MID(UCASE("informatics"),3,4);
State the output:
SELECT LEFT(RIGHT("COMPUTER SCIENCE",7),3), MID(UCASE("informatics"),3,4);
Solution
✅ Correct Option: 1
RIGHT("COMPUTER SCIENCE",7) takes the last 7 characters, which gives "SCIENCE". LEFT("SCIENCE",3) then gives "SCI".
UCASE("informatics") gives "INFORMATICS". MID(string,3,4) starts at the 3rd character and takes 4 characters, so it gives "FORM".
| Expression | Working | Result |
|---|---|---|
| LEFT(RIGHT("COMPUTER SCIENCE",7),3) | "SCIENCE" then first 3 characters | SCI |
| MID(UCASE("informatics"),3,4) | "INFORMATICS" then characters 3 to 6 | FORM |
Option 2: UCASE converts the text to capitals, so the result cannot be lowercase "form".
Option 4: this would need the last 3 characters of the string (LEFT is applied to the first characters of "SCIENCE", not the end).
Related questions:
2025: 3 June Shift 2
2026: 29 May Shift 1
2025: 15 May Shift 2