Simple Programming Questions-1 Certainly, here's a set of programming questions without specifying any particular programming language: **Question 1:** Write a function to find the factorial of a…
Basic Questions on Fractions 1. Simplify fractions to the simplest form 20/25=4/5, 25/20 = 1+ 1/4, 25/5=5 2. Convert to fractions 1 + 2/3=5/4, 3. Generate the Farey Series for a number N. For N=4 t…
1. Write a program to find the smallest divisor of a number. Give 1 if it is prime. 2. Write a program to find all the exact divisors of a number. 3.Write a program to find the smallest number with n…
Data Comparison Test Reasoning Quiz with interview questions. Loading…
Saturday Questions Questions on Prime Numbers Write a program to check if a number is prime. Write a program to find all prime numbers in a range. Find the largest prime factor of a number. Find the…
Saturday Questions Write a program to print the M pattern. Write a programm to print the Fibonacci Number to N in reverse order. Check for palindromes in a list. Write the pattern Z 0000 0…
Given 2 x,y positions check if a bishop can move from x1, y1 to x2, y2 Given a x,y position find all the places that the bishop can move to. Also try for 2 moves. Given a x,y position find all the pl…
What is a Disarium number? (This is a question that is asked often in Coding Interviews and also in programming assignments in schools and college courses) A Disarium number is a number where the sum…
A Pythagorean Triplet is a 3 number sequence of a, b and c such that a 2 + b 2 = c 2 Some examples of Pythagorean triplets are 3,4 and 5 where 3 2 + 4 2 = 5 2 , that is 9 + 16 = 25 Another examp…
How to find all the prime numbers within a given range? This is a question that is asked very often in programming assignments and also in coding tests during interviews. We will try and solve this …
Some text..
Some text..
Contact us for software training, education or development …
Social Plugin