Cybrosys Technologies
Securden Interview Questions and Answers
Q1. Sum of n numbers
The sum of n numbers can be calculated by adding all the numbers together.
Iterate through the list of numbers and add them together
Use a loop to sum up the numbers
Example: For numbers [1, 2, 3], the sum would be 6
Q2. Sum of n number
The sum of n numbers is calculated by adding all the numbers together.
Create a variable to store the sum of the numbers.
Use a loop to iterate through the numbers and add them to the sum variable.
Return the final sum after all numbers have been added.
Q3. Program to find amstrond number
An Armstrong number is a number that is equal to the sum of its own digits raised to the power of the number of digits.
Iterate through each digit of the number
Calculate the sum of each digit raised to the power of the number of digits
Check if the sum is equal to the original number
Q4. Find prime number
A prime number is a number greater than 1 that can only be divided by 1 and itself.
Start by checking if the number is greater than 1.
Then iterate from 2 to the square root of the number and check if it is divisible by any number.
If it is not divisible by any number, then it is a prime number.
Q5. sum of num 123 =1+2+3
The sum of the digits in the number 123 is calculated by adding 1 + 2 + 3.
To find the sum of the digits in a number, simply add each digit together.
For the number 123, the sum would be 1 + 2 + 3 = 6.
Q6. divisible by 10
A number is divisible by 10 if it ends with a 0.
A number is divisible by 10 if its last digit is 0.
Examples: 10, 20, 30, 100, 1000 are all divisible by 10.
Numbers like 15, 25, 35 are not divisible by 10.
Interview Process at Securden
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month