Junior software engineer Interview Questions

11K

Junior Software Engineer interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
Insight Global
Junior Java Developer was asked...November 15, 2012

Implement a method to determine whether a string is a palindrome.

4 Answers

Take a string as function parameter. Copy this str value into a new var, then use .reverse() thereupon. Compare the reversed copy back against original string using turnery operator to set resVariable to "true" : "false". Return resVariable. Less

(Using .split(""), as well as .join(""))

const palindrome = (str) => str == str.reversed() palindrome('hello') // false palindrome('eve') // true Less

Show More Responses
Lanyon

Write a function to print the first letter of every word in a string.

4 Answers

public String getFirstLetters(String text) { String firstLetters = ""; text = text.replaceAll("[.,]", ""); // Replace dots, etc (optional) for(String s : text.split(" ")) { firstLetters += s.charAt(0); } return firstLetters; } Less

let sentence = 'Big Green Dog' let words = sentence.split(' ') words.map((word) =>{ word.split('') console.log(word[0]) }) //output "B" "G" "D" Less

public static void PrintFirstLetter( String s ){ If ( s.length == 0 ){ return; } String [ ] Words = s.split( “ “ ); for ( String word : Words ) { System.out.println( word.charAt(0)); } } Less

Show More Responses
TravelClick

As a designer, did I think I would get bored with coding and troubleshooting?

1 Answers

I let them know that while design is a creative field, I have always been interested in designing for the user, and coding is no different. Whether creating a design or writing code the interesting part to me was the end result for the user. Less

Western Governors University

What does the action and method attribute in the HTML <form> tag do.

1 Answers

action = specifies where to send the form data when form is submitted method = specifies how to send the form data (get or post) Less

Naaptol

attributes of <tr> tag

41 Answers

please let me know if anyone got Job

36. If you get call then follow this interview experience

How many of you waiting after 3rd round

Show More Responses
EPAM Systems

tell me about yourself

35 Answers

there will be three programming questions,first one was displaying the particular array element whose index will be given input,but we need to use exceptional handling. the second question was finding repeated letter in a given word along with its count, and the third one was extracting string within given xml tags,ex:<div>hai</div> your output should be hai. Less

Round 2 contains two coding questions and 10 mcqs. Mcqs based on core subjects of computer science and those two coding questions will be of level 3 - level 4 in difficulty . implementing the interfaces using inheritance , or sorting some data with some constraints , collections , algorithms implementation like shortest path , merge sort techniques etc . Less

Mostly on java typical questions about constructors, main method , oops concepts and collections and some advanced concepts like cloning , memory allocation and JVM architecture . Less

Show More Responses
EPAM Systems

implement the dynamic polymorphism

23 Answers

Could you please answer me .what are the 2 coding questions you were asked in the round 2 so that we have an idea of what kind of questions they were expecting ? Hope a reply from you.Thank You Less

Is it the same type of questions asked as he mentioned? or different set of questions. Is it through epam test portal? Less

Already they have sent the mail's for second round for some people. Tommorow they have second round with following others rounds Less

Show More Responses
Pratian Technologies

write a program to print the given series (user need to enter the nth series number from keyboard) 2,3,5,11,23,29,41,53,83,89 .....n

11 Answers

Answer is in java :100% correct public class ProgramDemo { public static void main(String[] args) { System.out.println("Enter the value :"); Scanner read = new Scanner(System.in); int number = read.nextInt(); for(int i=2;i&lt;=number;i++){ if(Prime(i)){ if(Prime(2*i+1)){ System.out.print(" "+i); } } } } static boolean Prime(int a) { int temp, c; for (c = 2; c &lt;= a - 1; c++) { temp = a % c; if (temp == 0) { return false; } } if (c == a) { return true; } return false; } } I Hope its helpful for you :) Plese give me one like for it .... Less

Excellent bro

import java.util.Scanner; public class HelloJava { public static void main(String args[]) { int i,flag=0; for( int x = 2 ;x&lt;100 ;x++) { flag=0; for(i=2;i&lt;=x-1;i++) { if(x%i==0) { flag = 1; break; } } if(flag==0) { for( i = 2; i Less

Show More Responses
Naaptol

Any five html empty tags (last round)

6 Answers

10 Jan

You got the offer?

No .. dont know result .. My actually final round was not good enough

Show More Responses
Naaptol

question mostly about output prediction of java code

5 Answers

Was it only for profound students

How many were shortlisted for the next round..??

I have attended third round. That was horrible

Show More Responses
Viewing 1 - 10 of 11,216 Interview Questions