Software Developer Interview Questions
- 0of 0 votes
AnswersFind the synonym of the word: FLAUNT
- hr@edinprotech.com October 11, 2021 in India
A. Deep
B. Deceive
C. Trust
D. Exhibit| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersThis question consists of a statement which is followed by two courses of action numbered I and II. You have to analyze the problem discussed in the statement and decide which course of action should be followed to solve the problem.
- hr@edinprotech.com October 09, 2021 in India
Statement:Peter often misbehaves with seniors and fellow students.
Courses of action;
I. He should be rusticated from the college.
II. II. He should be punished physically.
A. Only I follows
B. Only II follows
C. Either I or II follows
D. Neither I nor II follows
E. Both I and II follow| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersSuresh walks 18 km from his house to the North. Then he turns towards the East and covers 12 km. He then turns towards the South and covers 6 km. Finally, he turns towards the West and covers 12 km. In which direction is he from his house?
- hr@edinprotech.com October 09, 2021 in India
A. South
B. North
C. East
D. West| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersWhich letter should come next in the series, Q, J, E, B, _?
- hr@edinprotech.com October 09, 2021 in India
A. A
B. Z
C. C
D. X| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersA man sitting in a train which is running at a speed of 100 km/hr saw a goods train which is running in opposite direction towards him. The goods train crosses the man in 8 seconds. If the length of goods train is 300 meters, find its speed.
- hr@edinprotech.com October 09, 2021 in India
A. 45 Km/hr
B. 50 km/hr
C. 35 Km/hr
D. 60 Km/hr| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersA is twice as good as workman as B so he can do a work in 40 days less than B. If they work together, in how many days they can do the work?
- hr@edinprotech.com October 09, 2021 in India
A. 80/4 days
B. 80/5 days
C. 80/3 days
D. 80/6 days| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
Answers700 ml of a mixture contains water and milk in the ratio 2:8. How much water must be added to the mixture so that the ratio of water and milk becomes 3:8?
- hr@edinprotech.com October 09, 2021 in India
A. 75 ml
B. 65 ml
C. 70 ml
D. 60 ml| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersFind the greatest integer that divides 358, 376, and 334 and leaves the same remainder in each case.
- hr@edinprotech.com October 09, 2021 in India
A. 6
B. 7
C. 8
D. 9| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersIn a group of students, there are 15 boys and 10 girls. If three students are selected at random, what is the probability that 1 girl and 2 boys are selected?
- hr@edinprotech.com October 09, 2021 in India
A. 21/46
B. 21/36
C. 21/26
D. 21/56| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersWhat is the value of (25.732)2 - (15.732)2?
- hr@edinprotech.com October 09, 2021 in India
A. 414.64
B. 414.256
C. 414.128
D. 414.52| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersThe average weight of 10 men is decreased by 2 kg when one of them whose weight is 60 kg is replaced by a new man. What is the weight of the new man?
- hr@edinprotech.com October 09, 2021 in India
A. 35 kg
B. 40 kg
C. 45 kg
D. 50 kg| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersThis question has two words with a certain relationship to each other, and it is followed by four pairs of words. You are required to choose one pair in which the words have the same relationship.
- hr@edinprotech.com October 09, 2021 in India
Sculptor: Statue then Poet: ?
A. Pen
B. Verse
C. Chisel
D. Imagine| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersIn this question, there will be a sentence with jumbled up parts labeled A, B, C, and D. You are required to arrange these parts to form a meaningful sentence.
- hr@edinprotech.com October 09, 2021 in India
An advertisement in the newspaper said that
A. fully furnished apartments
B. air-conditioned
C. are available for
D. the gentlemen of taste
A. ABCD
B. DCBA
C. BCDA
D. BACD| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersIn this type of verbal ability questions, a sentence is broken into four, five or more parts. You are required to arrange these parts in a proper sequence to form a meaningful sentence.
- hr@edinprotech.com October 09, 2021 in India
1.that movie 2.five times 3.have 4.I 5.watched
A. 14351
B. 43251
C. 43512
D. 43521| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
Answers. Inthis question, there will be a sentence with missing words, and you are required to complete the sentence with the most appropriate word or phrase out of the given options.
- hr@edinprotech.com October 09, 2021 in India
The boy was frightened by the ____ of elephants that came running towards him.
A. herd
B. group
C. number
D. bunch| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersFind the synonym of the word: HEED
- hr@edinprotech.com October 09, 2021 in India
A. Observe
B. Decide
C. Acclaim
D. Humble| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
AnswersFind the antonym of the word: LUCID
- hr@edinprotech.com October 09, 2021 in India
A.
Glory
B.
Noisy
C.
Obscure
D.
Distinct| Report Duplicate | Flag | PURGE
EdinPro Technologies Software Developer - 0of 0 votes
Answers. The percentage profit earned by selling an article for Rs. 1920 is equal to the percentage loss incurred by selling the same article for Rs. 1280. At what price should the article be sold to make a 25% profit?
- edinprotechnologies October 01, 2021 in United States| Report Duplicate | Flag | PURGE
Edinprotechnologies Software Developer Aptitude - 0of 0 votes
AnswersAn automobile financier claims to be lending money at simple interest, but he includes the interest every six months for calculating the principal. If he is charging an interest of 10%, the effective rate of interest becomes
- edinprotechnologies October 01, 2021 in United States| Report Duplicate | Flag | PURGE
Edinprotechnologies Software Developer Aptitude - 0of 0 votes
AnswersTwo trains, each 100 m long, moving in opposite directions, cross each other in 8 seconds. If one is moving twice as fast other, then the speed of the faster train is:
- edinprotechnologies October 01, 2021 in United States| Report Duplicate | Flag | PURGE
Edinprotechnologies Software Developer test - 0of 0 votes
Answers#include <stdio.h>
- ds March 22, 2021 in India
#include <stdlib.h>
#include <assert.h>
void my_free(char *p) {
free(p);
p = NULL;
}
int main() {
char *p = (char*) malloc(100);
my_free(p);
assert(p == NULL);
}
Will this code work? or crash| Report Duplicate | Flag | PURGE
Arista Networks Software Developer - 0of 0 votes
Answersinsert node to Binary search tree(BST) both recursively and iteratively.
- ds March 22, 2021 in India| Report Duplicate | Flag | PURGE
Arista Networks Software Developer - 0of 0 votes
AnswersGiven n number of persons in a park. One of them is having a virus. But we don't know whom. Also, the position of all persons is given. A contaminated person can spread it up to d distance. When the best case (Spread is minimum) and the worst case(Spread is maximum) would occur?e.g.
- Voyager October 10, 2020 in India
N=5
Position=[1, 3, 5, 9, 14]
d=5| Report Duplicate | Flag | PURGE
Amazon Software Developer - 0of 0 votes
AnswersImplement an algorithm that takes in a string containing a parenthesized expression and prints it out with all sibling expressions at the same indent level, each on its own line.
- Priyanka September 14, 2020 in United States
Definitions:
A parenthesized expression consist of an opening parenthesis, one or more expressions separated by one or more spaces, and a closing parenthesis.
An expression is either a word or a parenthesized expression.| Report Duplicate | Flag | PURGE
Snap Inc Software Developer Algorithm - 0of 0 votes
AnswerFind min number of jumps it will take to reach to the top in snake and ladder game using recursive function
- theshowtimebuzz29 June 02, 2020 in India| Report Duplicate | Flag | PURGE
Amazon Software Developer - 0of 0 votes
AnswersI was asked the following question in an interview recently, which was a lot more vague and after asking clarification questions came down to this:
- randomCoder May 13, 2020 in Canada
```
We have to perform N tests [1, 2, ... N] but in randomized order.
We have access to two functions test(x) and rand(x) which both take an integer.
test(x) returns if the current test was succesful or not and rand(x) returns a random integer
from 1<= rand(x) <= x.
The tests fail because of the sequeunce of tests carried out and we want to figure out which
sequences are bad and which sequences are good.
Basically our task is to generate a sequence of test while carrying them out and return the
sequence either when the test failed or when all tests are done.
```
I understand that the problem could be simplified by calling rand(N) just once, say x = rand(N) then we get the xth permuation of the seuence (1...N) and then call the test() function on this sequence reutrning only the part of sequence that finished successfully, this is deterministic and can be done in O(N) time.
Is there a better approach / solution in Python?| Report Duplicate | Flag | PURGE
Amazon Software Developer Python - 3of 3 votes
AnswersI was asked to sort extra large file 10GB which contains single word in each line, within 4GB RAM. I told External sort and optimised it with min-heap but interviewer was asking to optimise disk I/O. As last he told that use CS fundamentals. Don't know what was he expecting. Please help.
- sulabh.shkl March 22, 2020 in India| Report Duplicate | Flag | PURGE
Microsoft Software Developer Algorithm - 0of 0 votes
AnswersWrite a binary calculator for summing two strings. Could not use standard {{ bin }} method.
- ito ogami November 20, 2019 in United States| Report Duplicate | Flag | PURGE
Pinterest Software Developer Programming Skills - 2of 2 votes
AnswerWas asked at GHCI Bangalore at their booth for a prize and perhaps hiring interns or experienced software developers.
- jaryya@hawk.iit.edu November 10, 2019 in India
Find the return value for N=100
int returnAns(int N){
int ans=0;
for(int i=0; i<N; i++){
for(int j=i+1; j<N; j++){
ans +=((i & -i) == (j & -j)?1:0); //the question missed the condition and was returning a boolean, so I added it myself
}
}
return ans;
}
My answer: 0 ; their answer: 1610, hence got it wrong.
My explanation: I assumed negative of i in binary to be
simply represented by setting the MSB to 1 e.g. for 8 bit representation of 3: +3 is 0000 0011 and -3 is 1000 0011. In the inner loop the value of ans will always evaluate to 0 since Bitwise & of these i and -i or j and -j will always result into i and j respectively. (undergrad computer organization concept.)
Negative numbers can also be represented as 1s and 2's complement and in all modern machines by architecture its 2s complement.
Now if we assume 1's complement, +3: 0000 0011 and -3: 1111 1100. so bitwise & of these two is 0 and so the value of ans will always be incremented by 1. By two loops 100+99+98+97+...+1 = 100*101/2 (i.e. n*(n+1)/2)
Then 2's complement, which is the most relevant representation of signed binary numbers.
Odd numbers:
+3: 0000 0011 -3: 1111 1101 Binary & is 0000 0001.
For all even numbers:
+4: 0000 0100 and -4: 1111 1011+0000 0001 = 1111 1100 and Bitwise & of 4 and -4 is 0000 0100 which is 4.
So, in the innermost loop ans is incremented by 1 when i is odd and j is also odd. ie. when i is 1, 3, 5, 7... 97 and j is 3, 5, 7, 9,...,99 ans is added 1(return value of true ==) when calculated it comes to 1610.| Report Duplicate | Flag | PURGE
Google Software Developer Algorithm