WEBKORPES PVT.
LTD.
Coding Questions
1. Write a program to print all permutations of String? example
2. Given an array of 0's and 1's in random order, you need to separate
0's and 1's in an array.
3. Write a Program to check Armstrong number.
4. Find first non repeated character in String
5. Find all pairs of elements from an array whose sum is equal to
given number
6. Write a Program for the Fibonacci series with recursion.
int fact(int n)
{
if(n == 0 )
{ return 1; }
return n*fact(n-1);
}
7. Write a program to check if String has all unique characters?
8. Find first repeating element in an array of integers.
Write a Program to count the number of words in a string.
9. Separate odd in left and even numbers in right of an array
10. Write a Program to find whether a number is prime or not.
11. Write a Program to make a string palindrome
a. INPUT-ABCDYBA
b. OUTPUT-ABDBA
12. Count number of occurrences (or frequency) of each element
in an array
SQL Questions:
1. Write a query to fetch all employees who also hold the managerial
position.
2. Write a query to fetch details of all employees excluding the
employees with firstnames, "Sanjay" and "Sonia" from the
EmployeeInfo table.
3. Write a query to fetch all the records from the Employeelnfo table
ordered by EmpLname in descending order and Department in the
ascending order.
4. Write a query to fetch details of employees whose EmpLname ends
with an alphabet 'A' and contains five alphabets.
5. Write a query to retrieve the EmpFname and EmpLname in a
single column as "FullName". The first name and the last name
must be separated with space.
6. Write a query find number of employees whose DOB is between
02/05/1970 to 31/12/1975 and are grouped according to gender
7. Write q query to find all the employees whose salary is between
50000 to 100000.
8. Write a query to find the names of employees that begin with 'S'
9. Write a query to fetch details of all employees excluding the
employees with firstnames, "Sanjay" and "Sonia" from the
Employeelnfo table.
10. Write a query to fetch details of employees with the address
as "DELHI(DEL)".
GD Topic
1. Multinational company or startup
2. Work from home or work from office
3. Agriculture or Technology
4. Online shopping or offline sopping
5. Artificial intelligence
6. Private job vs government job
7. Moon lighting
8. Banking fraud
9. Social media
10. IT or non IT sector
11. Non IT student get job in IT field or not
12. Team work or Individual
13. What do u know about trading share or thoughts