Professional Documents
Culture Documents
Algo Question
Algo Question
Algo Question
: 1
Program: B.Tech CSE
Course Name: Algorithmic Thinking and Problem-Solving Using C
Course Code: 21BTCS101
Q2 What is program? 1
Q3 What is pseudocode? 1
Q5 Write an algorithm to find sum of three numbers and calculate their average. 1
Q11 Write an algorithm to input two number and find the greatest among them. 1
Q13 Write an algorithm to find the greatest number among three numbers. 1
Q14 Write an algorithm to find the smallest number among three numbers. 1
Q15 Write an algorithm to input a number and find whether it is odd or even 1
Q16 Write an algorithm to input a number and find whether it is positive or negative 1
number.
Q17 Write an algorithm to input a number and print its table. 1
Q18 Write an algorithm to input a number and print its message N times. 1
Q20 Write an algorithm to input a number and check whether it is palindrome or not 1
Level B. Intermediate Questions (5 marks each)
Q21 Define Algorithm. Write an algorithm to find the area and perimeter of a circle 1
Q23 Write an algorithm to input a number and find whether it is prime number or not. 1
Q28 Write a algorithm to input two characters and check whether they are equal or not. 1
Q34 Write an algorithm and draw a flow chart to find the greatest number among three 1
number taken input by the user.
Q35 Write an algorithmand draw a flow chart to input a string and check whether string 1
is palindrome or not.
Q36 Write an algorithm and draw a flow chart to print a menu 1.add 2.subtract 3. 1
Multiply 4. Divide and perform the above arithmetic operation as per the user
choice.