0% found this document useful (0 votes)
27 views3 pages

Questions-Programs Alg Pseudo Flowchart

The document contains a series of programming tasks and questions focused on algorithms, flowcharts, pseudocode, and Python programming. It includes algorithms for various mathematical and logical operations, as well as Python programs for tasks such as finding maximum values, calculating salaries, and implementing classes. Additionally, it covers topics like recursion, sorting, and file handling in Python.

Uploaded by

eshauppin1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views3 pages

Questions-Programs Alg Pseudo Flowchart

The document contains a series of programming tasks and questions focused on algorithms, flowcharts, pseudocode, and Python programming. It includes algorithms for various mathematical and logical operations, as well as Python programs for tasks such as finding maximum values, calculating salaries, and implementing classes. Additionally, it covers topics like recursion, sorting, and file handling in Python.

Uploaded by

eshauppin1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Questions - Algorithm, Flowchart, Pseudocode

Write an algorithm to find the minimum in a list.


Write an algorithm to find maximum value in a list
Write an algorithm to insert a card in a list of sorted cards.
Write an algorithm that to calculate the salary of an employee. Read the inputs (Basic salary,
HRA, TA and DA) and find Gross Salary.
Write an algorithm to find the square root of a number.
Write the Algorithm and Pseudocode for Towers of Hanoi.
Write an algorithm to Calculate area and circumference of a circle.
Write an algorithm to Check if a given year is a leap year or not.
Draw a flowchart to print from 1 to 10.
Write an algorithm to find the greatest common divisor (GCD) of two numbers
Write an algorithm to find Fibonacci sequence up to a given term using recursion.
Develop Flowchart,Algorithm,Pseudocode for calculating the factorial of a number
Develop Pseudocode steps to insert a new card into a sorted list of cards
Develop algorithm steps to calculate the power of a number using recursion
Develop algorithm steps to find the sum of first N natural numbers

Questions to write Python Program


Write a python program to find the greatest among three numbers.
Write a python code to print all numbers in a range (a,b).
Write a python program to find the greatest among three numbers.
Write a Python program to find the sum of N natural numbers.
Write a python program to implement a student mark system using branching or conditional
structures.
Write a python program to find the given number is positive, negative or zero using Nested if
Write a Python program to determine whether a string is a palindrome or not.
Write a Python program to count the number of vowels in a string provided by the user.
Write a Python program to check whether a given year is a leap year or not
Write a Python program to check whether a number is prime or not
Write a Python program to check if a given number is divisible by 4, 10, and 7
Write a Python program to reverse a given string.
Write a Python program to find the frequency of each character in a string.
Write a Python program to find sum all the numbers in a list until it encounters a negative
number.
Write a Python program to find the square root of a number by Iterative Newton’s method.
Write a Python program to search an element using linear search.
Write a Python program to calculate the sum of all even and odd numbers separately for a
given list of integers.

Write a Python program to find the longest word in a given sentence.


Write a Python program to merge two lists and remove duplicates from the merged list.
Write a Python program to find the last n digits in a given number.
Write a Python program to check whether an element ‘o’ and ‘g’ belongs to the tuple mytuple
= (‘p’,’r’,’o’,’g’,’r’,’a’,’m’).
Write a Python program to delete all the duplicate elements in a list.
Write a Python program to sort ‘n’ numbers in a list using insertion sort.
Write a Python program to sort ‘n’ numbers in a list using selection sort.
Write a Python program to perform linear search.
Write the Python code to find the minimum among the list of 10 numbers.
Write the Python code to draw the histogram in Python.
Write a Python code to calculate the frequency of each character in a sentence obtained from
the user using dictionary variable.
Write the Python code to remove multiple keys in a dictionary using del.
Write a Python program to find the GCD of two numbers using recursion.
Write a Python program to find the exponent of a number using recursion.
Write a Python code using a function to generate the first ‘N’ Fibonacci series numbers.
Write a Python program to find the factorial of the given number using recursion.
Provide examples of Tkinter applications such as a simple calculator, text editor, or image
viewer.
Write a Python code to copy the contents of one file to another.
Write a Python code to count the number of words in a file.
Write a Python code to read and print the first 20 characters in a file.
Write a python program to display the calendar of the year, & month of the year.
Write a python program to find minimum and maximum in the list using user defined
functions.
Write a python program for basic calculator operations
Write a python program to add new content to the file and display the file content on screen.
Write a python program to add additional content to file and display the file content on
screen.
Define a class Person in Python with attributes for name and age. Write a method to display
the name and age for two persons.
Write a Python program to create a Person class with name and age as instance variables.
Implement methods to display and update the age.
Implement a Bank account system using OOPS concepts in Python.Create Bank class with
attributes-Account_number, Account_holder, Account_balance and methods-deposit(),
withdraw(), get_account().
Write a class with following criteria
Class name: Fruit
Objects: apple, orange, banana
Properties: price,color,smell
Methods: get(), display()

Write a Python program to create a class named ROOM with dimensions as attributes. Then
create two objects for the class named ROOM, calculate and print the area for study and
dining room.
Write a Python program to create a person class. Include attributes like name, country and
date of birth. Implement a method to determine the person's age.
Write a python program to display information about employees in the organization using
class.
Write a Python program to create a calculator class. Include methods for basic arithmetic
operations.
Write a python program to display student information using class.
Write a Python program to create a class representing a Circle. Write methods to calculate its
area and circumference.

You might also like