Ik heb online gesolliciteerd. Ik heb gesolliciteerd bij DataAnnotation (Phoenix, AZ) in jul 2025
Sollicitatiegesprek
Received an invitation to do an online assessment. I was given a problem and asked to solve it and explain my thought process. There was no interaction with anyone personally and everything was done via text. A few days later I was told that I was accepted and could begin working and start the on boarding process.
Sollicitatievragen [1]
Vraag 1
Create a program to retrieve data from an online document and find a message in the document using the information contained in the document.
Ik heb online gesolliciteerd. De procedure duurde 1 dag. Ik heb gesolliciteerd bij DataAnnotation (Londen, Engeland) in dec 2023
Sollicitatiegesprek
Online questionnaire. Optional programming questions, asking you to help improve AI responses testing skills in any coding language such as python. Have not finished interview as came here to read reviews and need to write this first before I can see anything because this website is useless.
Sollicitatievragen [1]
Vraag 1
Part 1: Creating an AI Reply to a User's Coding Prompt
In Part 1, we'd like you to pretend to be an AI language model and provide a response to the user prompt below. Please provide your full code and an explanation of what it does in the text box below.
Your response must include two things:
the complete final version of your code
an explanation of what the code does. (This can be as little as 1-2 sentences for simple code, or up to paragraphs for more complex solutions)
Note that can write your code using any language and IDE you want (python is preferred if possible, but not mandatory).
User Prompt
I need a function called decode(message_file) that can read in an encoded message from a .txt file and return the decoded version as a string.
Here's an example of what the message_file .txt file will look like:
3 love
6 computers
2 dogs
4 cats
1 I
5 you
As you can see, each word is associated with a number. Imagine you ordered all those numbers from smallest to biggest and arranged them into a pyramid. Each line of the pyramid includes one more number than the line before it:
1
2 3
4 5 6
The numbers at the end of each line (1, 3 and 6) correspond to the words that are part of the message. You should ignore all the other words. So for the example input file above, the message words are:
1: I
3: love
6: computers
and your function should return the string "I love computers"