Remo Exam-Screening
Remo Exam-Screening
How can I include `en_core_web_lg` in a Python script in a way, that makes it possible for
`pyinstaller` to create an `.exe`
https://www.remotasks.com/tasklog?assignment=6596d4a520e9164112cd6205
2. Write a JavaScript script for drawing a pair of responsive eyes on the given canvas, enabling
the eyes to track the mouse/cursor movements.\n `html\n<canvas id=”canvas”……`
https://www.remotasks.com/tasklog?assignment=6597c651a92b21f33340be37
Better: Response 2
Response 1 -> 224111
Response 2 -> 552211
3. How would this code run? #include <stdio.h> #include <stdlib.h> #include <time.h>
void swap (int *a, int *b) {int temp = *a; *a = *b; *b = temp;}
void shuffle_quarter(int arr[], int size) {int quarter_size = size / 4;
srand(time(NULL));
for (int i = 0; I < quarter_size; i++)
https://www.remotasks.com/tasklog?assignment=6596cba5c7efd25f1df27fc7
4. I have a timeseriesdataframe and want to drop the last period of data for all items, how do I
do this?
https://www.remotasks.com/tasklog?assignment=6596ccd3df374228878507ad
https://www.remotasks.com/tasklog?assignment=6596cda230a0f908121af32c
https://www.remotasks.com/tasklog?assignment=6596ce94efa95f8e9af97484
7. I need a program in C++ that converts a binary number into a hexadecimal number. Allow an
input entry for the binary number. Add comments to all the code.
https://www.remotasks.com/tasklog?assignment=6596cf90b2663f294f2e91c7
https://www.remotasks.com/tasklog?assignment=6596d014e25dad2d4a10c158
9. Import numpy as np
def normalize_data(data):data = (data – mean(data)) / std(data) return data
https://www.remotasks.com/tasklog?assignment=65972303035c822fb0a2dbc6
Better: Response 1
Response 1 -> 555511 – Well explained
Response 2 -> 252211 -Well explained
10. Generate a code in C. I want this code to implement Euclidean algorithm for finding GCD
https://www.remotasks.com/tasklog?assignment=6596d264c70865c430de0459
11. # reassignment
a = [1, 2, 3, 4]
b=a
a = a + [5, 6, 7, 8]
print(a)
print(b)
#extends
a= [1, 2, 3, 4]….
https://www.remotasks.com/tasklog?assignment=6596bdf32b50c4f6bde315f0
https://www.remotasks.com/tasklog?assignment=6596bf999c6975c370d87566
13. Refactor this C code snippet, don’t use bool, and keep cls
#include <stdio.h>
#include <string.h>
#define MAXN 100
https://www.remotasks.com/tasklog?assignment=6596c12aa920204e6ee9a3d2
14. Generate a program in Java that uses flux to filter some data from a text file. There is one
number on each line of the text file. It should filter out all numbers that are perfect squares
or are powers of 2.
https://www.remotasks.com/tasklog?assignment=6597c3f4fd4bcb340d5c62b3
Better: Response 1
Response 1 -> 555511 – Well explained
Response 2 -> 343311 – Well explained
15. If the message doesn’t contain any string in a given list then print message, Python code.
https://www.remotasks.com/tasklog?assignment=659f32a5543b4e7a71b3f5bb
Better: Response 2
Response 1 -> 333411 - Response 1 offers a clear explanation but the approach it uses is less
effective in addressing the prompt.
Response 2 -> 444411 - Response 2 rates higher for its use of Python's built-in functions to
achieve the task in a more concise and efficient manner.
16. Create a Bash Script that allows the reading of the content of a .txt file and print each line.
https://www.remotasks.com/tasklog?assignment=6596c643454575750e7cc139
17. Create a code in JavaScript that reads data from a csv file and creates an object to store all of
that information. This JS script will be embedded into html which will display this data in a
table.
https://www.remotasks.com/tasklog?assignment=659802b7367cec3be952176e
18. What is the syntax for using the replace() method in JavaScript to replace ‘/’ to ‘$$’ ?
https://www.remotasks.com/tasklog?assignment=659805f093e9abaf6445fa59
19. In JavaScript, how can I make an array of 1000 items, with 999 items of the same value(0), 1
item of a special value (1000). How to implement such an array so it is efficient in terms of
storage cost? We need to maintain the same interface as native JavaScript array.
https://www.remotasks.com/tasklog?assignment=6598066e2542f361d79aea4b
20. Write a Python script to solve the following problem:
Given a list of integers, the program should return the sum of the even valued numbers. For
example, if the input list is [1, 2, 3, 4, 5], the output should be 6 (as 2 plus 4 equals to 6).
https://www.remotasks.com/tasklog?assignment=65980771b6b08310b1db9b18
21. I’m trying to initialize a list of points in Python where the y coordinate is double the x
coordinate and the x coordinate is increasing from 0 to 5. Please tell me what I’m doing
wrong:
o = {“x”: 0, “y”: 0}
l = []
https://www.remotasks.com/tasklog?assignment=65980b06f195247d53fdb136
https://www.remotasks.com/tasklog?assignment=65980bf6f230cf689395a4b1
23. How can I filter a list of coordinates using Python list comprehension?
https://www.remotasks.com/tasklog?assignment=65985f64e10015f2a50537f5
24. Generate a function in JavaScript that is able to detect when a button is pressed three times
with less than one second between click. Only after the third click an alert pops up saying,
‘Fast clicking detected!’. The timer should reset after this.
https://www.remotasks.com/tasklog?assignment=659860065a0c0123dc5fa717
25. Given two arrays, `username` and `website`, along with an array `timestamp`, all of the same
length, where the tuple `[username[i], website[i], timestamp[i]]` denotes that user
`username[i]` visited website `website[i]` at time `timestamp[i]`. A pattern consists of three
websites, and the score of a pattern represents the number of users who visited all the
websites in the pattern in the same order.
https://www.remotasks.com/tasklog?assignment=65986159552d7416147aa715
26. Write me a simple program explaining how classes work in C++
https://www.remotasks.com/tasklog?assignment=6598623f0bc61ac12c26af63
27. I want a screen on my browser using HTML and CSS that will create tetragons with the
vertices based on the dots I click on the screen.
https://www.remotasks.com/tasklog?assignment=65979a78424d65ccb1474049
28. Can you create a code using the C programming language that simulates a game of sudoku.
These are the rules.
https://www.remotasks.com/tasklog?assignment=6597f37822080fb2ba36f283
29. Given a list of emails, write some code that creates a tuple of the username and domain
before .com or anything similar in Python.
For example, if the emails are [email protected] and [email protected], the output
should be the following array of tuples: [(‘test1’, ‘example1’), (‘test2’, ‘example2’)]
https://www.remotasks.com/tasklog?assignment=6595986851ab4c4ad56491ea
30. Create a Python script that takes a list of numeric grades, which might be numbers or strings
of numbers. Calculate and return the average grade. The script should also provide the
highest and the lowest grades in the class. Ensure to account for the edge cases such as an
empty list or a list with non-numeric values. Return an appropriate error message in such
cases.
https://www.remotasks.com/tasklog?assignment=6597f5c3dcfdbe6c71bfb518
function App() {
const [isPopupOpen, setIsPopupOpen] = useState(false);
return………..
https://www.remotasks.com/tasklog?assignment=6597f90c198e6b4c410b2db6
32. Given a positive integer `millis`, write an asynchronous fuction that sleeps for `millis`
milliseconds. It can resolve any value. Explain the concept of asynchronous operations. For
example:
https://www.remotasks.com/tasklog?assignment=6597fa1c9c3125652db3a342
33. Define a C++ class called Car with private attributes for the make, model, and year.
Implement public member functions for setting these attributes and displaying the details.
Write a program that creates an instance of the class, sets its details, and displays them.
https://www.remotasks.com/tasklog?assignment=6597faf6216237d17f691c58
34. Explain this code. Go step by step, explaining each line in detail:
const re = /\\\\w+\\\\s/g;
const str = “fee fi fo fum”;
const myArray = str.match(re);
console.log(myArray);
https://www.remotasks.com/tasklog?assignment=6597fc27698dbe0ace64caee
35. Write a Python script where you need to extract all the email addresses from a given text
file. The script should take the path of the text file as input and output a list of all unique
email addresses found in the file. The email addresses can be of any type
(.com, .edu, .gov, .org etc.). Assume you have access to the re module (regular expressions)
in Python.
https://www.remotasks.com/tasklog?assignment=65972d62d10a9206faae291a
Response 2
Response 1 -> 443411 – Well explained
Response 2 -> 445511 - Well explained
https://www.remotasks.com/tasklog?assignment=6598021203d56640b4827469
37. Generate a program in C++ that uses divide and conquer to do polynomial multiplication.
https://www.remotasks.com/tasklog?assignment=6597b756d510c2f45ec2d067
38. How do I use the `requests` package in Python to hit an endpoint and retry if there are
failures?
https://www.remotasks.com/tasklog?assignment=6597b88ae8700c862b8ee26c
https://www.remotasks.com/tasklog?assignment=659791146d7960551ffd9fad
Response 2
Response 1 -> 555211
Response 2 -> 355511
40. Write a C code to write number of digits in an integer without using a function
https://www.remotasks.com/tasklog?assignment=6597bb4079e8afa5058a8785
41. Can you give me a program written in Java with a method called front_back. This method
needs to track the arrow key movements on the keyboard and tell the correct position on a
path that loops back to the beginning. So if the position is the first one, zero, then the left
arrow key will move the position to the last one. The number of positions on the path should
change easily. End the program and display the result when the enter key is pressed.
https://www.remotasks.com/tasklog?assignment=6597bccd16963ca8a7caae05
black = (0, 0, 0) white = (255, 255, 255) green = (0, 255, 0) red = (255, 0, 0)……
https://www.remotasks.com/tasklog?assignment=6597bef64d9373a711a9c158
Response 1
response 1 -> 555511 – Well explained
Response 2 -> 333311 – Well explained
43. Come up with code that has 50 boxes and each box leads to a different random website.
https://www.remotasks.com/tasklog?assignment=6597c2284f07cf0903e04435
https://www.remotasks.com/tasklog?assignment=65979d7f49a896679283285e
Response 2
Response 1 -> 433411 – Well explained.
Response 2 -> 555511 – Well explained.
https://www.remotasks.com/tasklog?assignment=6597eea1b43963f30cbf2a36
46. Write a function that takes an unordered vector of integers and its dimension as input and
constructs another vector by removing duplicate values efficiently. The function should
return the dimension of the new vector (The requested function should not exceed 10 lines).
https://www.remotasks.com/tasklog?assignment=6597efe96089720a89dcbeb3
47. Please answer the following question. Question title: indexing an element from a volatile
struct doesn’t work in C++
I have this code:
typedef struct {
int test;
} SensorData_t;
SensorData_t getNextSensorData(int i) {
SensorData_t data = sensorData[i];
return data;
}…..
I am not sure if I need to add volatile as well for the data variable and the return type,
shouldn’t be needed because it is copied. But I do access the sensorData array from an
interrupt as well (on an embedded system), so I think I need volatile for the top level variable
sensorData.
https://www.remotasks.com/tasklog?assignment=6596d58503e6990fd773da77
48. What does the .find() method in JS do?
https://www.remotasks.com/tasklog?assignment=6597a7022bf9de17c19a8283
49. Write a Python script that implements a simple parallel processing use case. The script
should create a procedure-consumer pipeline where producers generate 3000 random
integers between 1 and 100,000 in parallel, and consumers process these integers by
checking if they are prime numbers.
https://www.remotasks.com/tasklog?assignment=659f01c9f5539ec3d0df3f8e
50. Can you explain to me what this code snippet’s function is? Def fun(g): n = len(g) for k in
range(n): for i in range(n): for j in range(n): if g[i][k] + g[k][j] < g[i][j]: g[i][j] = g[i][k] + g[k][j]
return g
https://www.remotasks.com/tasklog?assignment=659793bc8604efddb92aeefb
Better: Response 2
Response 1 -> 334311 – Well explained
Response 2 -> 555511 – Well explained
Please make sure to include exception handling and to follow Python’s best practices for
code readability and efficiency.
https://www.remotasks.com/tasklog?assignment=6597b076f38767e6fdfa62f5
52. Write a Python script that reads a CSV file, removes any duplicate entries based on the
‘email’ column, and then saves the cleaned data into a new CSV file.
https://www.remotasks.com/tasklog?assignment=65959fa8e37559c089ae5953
Better: Response 1
Response 1 -> 555511 - Response 1 is rated higher overall because it provides a clear and
concise answer.
Response 2 -> 333311 - Response 2 lacks explanations and is less efficient, making it less
favorable.
53. Let’s say a div in HTML has the format of: first name: input, last name: input, message:
textbox button
When the button is clicked, another div appears such that the values inputted above are
shown, first name: value entered by the user last name: value entered by user message: text
written by user
https://www.remotasks.com/tasklog?assignment=6597b7adbf11345c0d32294d
Response 2
1 -> 332211 – Well explained
2 -> 445511 – Well explained
54. Implement a type of List whose Iterator ignores its null elements. Use the following
interface:
public interface IgnoreNullList <T> extends List<T> {public Iterator<T> ignoreNullsIterator();}
https://www.remotasks.com/tasklog?assignment=6597c4a20289b8b1276746e0
Better: Response 2
Response 1 -> 333311 – Well explained
Response 2 -> 555511 – Well explained
55. Can you write a code in C++ that removes all the whitespace from a given string? Write the
program using classes and comment on each part of the code.
https://www.remotasks.com/tasklog?assignment=65971b0b3e74e2099c7c9e94
Better: Response 1
Response 1 -> 555511
Response 2 -> 555211
Better: Response 2
Response 1 -> 231211 – Well explained
Response 2 -> 444411 – Well explained.
57. Write a program in Java to compute the sum of two numbers that sum up to a given number
K.
https://www.remotasks.com/tasklog?assignment=65972b4ecf82a68effe7c240
Better: Response 1
Response 1 -> 555511
Response 2 -> 552511
58. Write a program in Java that concatenates a given string. Give me the code without
comments or docstrings.
https://www.remotasks.com/tasklog?assignment=6596b8003b98937e9ba20213
Better: Response 2
Response 1 -> 324411
Response 2 -> 555511
59.