28/05/2025, 19:44 Programmer Screening Questionnaire
Programmer Screening Questionnaire
lakshmanp230@[Link] Switch account Draft saved
* Indicates required question
Email *
Lakshmanp230@[Link]
What is your name? *
Lakshman Patel
Your contact number *
9713946578
[Link] 1/11
28/05/2025, 19:44 Programmer Screening Questionnaire
Linkedin profile link *
[Link]
What is your country of residence? *
India
What is the decimal value of the hexadecimal value 11? *
11
10
17
18
[Link] 2/11
28/05/2025, 19:44 Programmer Screening Questionnaire
What is the memory size occupied by a variable with a value of -1 on a 32-bit *
computer if a variable with the value of 1 occupies 4 bytes of memory?
Either 2 bytes or 16 bits
32 bits
8 bytes
16 bits
2 bytes
What is similar to a string? *
An unsigned integer
An integer
A set
An array
An integer or unsigned integer
[Link] 3/11
28/05/2025, 19:44 Programmer Screening Questionnaire
How can we correctly determine if two floating point variables are equal? *
See if a == b is true
Check if a - b == 0 is true
Check if ((a-b)*(a-b))/(a*a + b*b) is close to or is zero
Check a*b == a*a is true
None of the above
What is the correct way to calculate the distance between the points (x1, y1) and *
(x2, y2)?
sqrt((x2-x1)*2 + (y2-x1)*2)
pow(x1-x2, 2) + pow(y1-y2, 2)
pow((x1-x2)*(x1-x2)+(y2-y1)*(y2-y1), 0.5)
pow(x2-x1, 2) +pow(y2-y1, 2)
pow((y2-y1)*(x2-x1)+(x2-x1)*(y2-y1), 0.5)
[Link] 4/11
28/05/2025, 19:44 Programmer Screening Questionnaire
What is the most significant similarity between the file I/O and network I/O? *
They read data via a stream
The functions to do them are similarly named
They read data
They are the only ways to read an image file
They read data as bytes instead of as strings
What would happen if the negative value of a signed integer is (unsafely) cast to *
the unsigned integer type?
It would be a random number since the value will be garbled
The cast would fail because it's an undefined behavior
The value would be greater than the maximum signed integer
The cast would fail because of the stack overflow
The value would be zero
[Link] 5/11
28/05/2025, 19:44 Programmer Screening Questionnaire
Pick a correct statement about UTF-8 *
UTF-32 can represent more characters than UTF-8
UTF-8 requires more computation than UTF-32
ASCII characters cannot be encoded as UTF-8
UTF-16 is a superset of UTF-8
Chinese, Japanese and Korean characters cannot be encoded as UTF-8
What is the first thing among the following a browser would do when a user tries *
to open a webpage?
Resolving the domain
Downloading the page
Doing the handshake with the server for TLS
Parsing the URL
Sending an HTTP GET request
[Link] 6/11
28/05/2025, 19:44 Programmer Screening Questionnaire
What makes the least sense if it were to be done on a single-core CPU? *
Write to a network file descriptor
Start multi-threaded connections to servers to download multiple files
Traverse every pixel of an image by the width and height
Read a single file by chunks in multiple threads
Start multiple threads to compute the sum of an array of numbers multiplied by a
constant value
How is an array different from a set? *
They are identical, a set is just a convenient method to allow mathematical
operations
An array can have duplicates while a set cannot
A set is immutable
Random access is only available on sets
Iterating is more expensive on arrays than on sets
[Link] 7/11
28/05/2025, 19:44 Programmer Screening Questionnaire
What is most similar to a switch statement? *
A dictionary with function pointers as values
A while loop
An array with function pointers as values
A for loop
A ternary operator
What is most important when calculating a ratio? *
Check if the denominator and numerator are the same
Check if the denominator is zero
Check if an unsigned value is being divided by a floating point value
Check if either the denominator or the numerator is a floating point value
Check if a signed value is being divided by an unsigned integer
[Link] 8/11
28/05/2025, 19:44 Programmer Screening Questionnaire
What is an overlay network of what? *
UDP is an overlay network of HTTP
UDP is an overlay network of TCP
IP is an overlay network of HTTP
HTTP is an overlay network of TCP
TCP is an overlay network of HTTP
What would be the least sensible way of joining in SQL? *
Join subquery results from a table with another table on its primary key column
Join two tables on primary keys along with WHERE
Join two tables on indexed columns
Join two tables on primary keys
Join two tables on an indexed column of one table and a primary key column of the
other
Submit Page 1 of 1 Clear form
Never submit passwords through Google Forms.
[Link] 9/11
28/05/2025, 19:44 Programmer Screening Questionnaire
This form was created inside of ShardLab.
Does this form look suspicious? Report
Forms
[Link] 10/11
28/05/2025, 19:44 Programmer Screening Questionnaire
[Link] 11/11