Thursday, November 2, 2023

Python observation Program list 2

 Write aim, algorithm and python program and draw flowchart for the following.

1. Calculate the number of vowels and spaces inbetween words in a given sentence.

2. For given list a, with elements 91,97,113,131,195, 227, 277,307,317,337,387,397, print all the prime numbers (in list a) in list b and print all the composite numbers (in list a) in list c.

3. Declare the election result for 3 candidates based on the following data. No. of population:25. Create a list containing age of all the people. People below 18 years are not eligible to vote. Display result with no. of  people, no of voters, vote secured by each candidate with name, winner of the election, vote percentage of each candidate and margin of victory.

4. Print diamond shaped for 2n rows for a given number n. (Example for n=5 the structure is given below)

   * 

   * * 

  * * * 

 * * * * 

* * * * * 

* * * * * 

 * * * * 

  * * * 

   * * 

    * 

5. Arrange first half of the elements 5,2,9,7,1,3,0,4,6,8 in ascending order and last half of the elements in descending order and print the result in the list without using any inbuilt function.[1, 2, 5, 7, 9, 8, 6, 4, 3, 0]

6.print the list of Armstrong numbers between 1 and 10000


Solution list for Observation program list 1

 Click the link below for the solution for observation 1

https://drive.google.com/file/d/1YMBCsLmcgIgiyt5rMb28cTbCbZoH_Gnw/view?usp=drive_link

Sunday, October 29, 2023

Python Observation Program list 1

 Write algorithm, Flowchart and python coding for the following

1. Convert farenheit to centrigrade and viceversa.

2. add the digits in a given no

3. Display Fibinocci Series using recursion

4. Print student grade sheet. Get RollNo, Name, 5 subject mark. Student is "passed", if he gets minimum 50 marks in each subject. Grades can be calculated using average as follows. "A+" if average >95, "A" if average >90, "B+" if average >85, "B" if average >80, "C" if average >70, "D" if average >60, "E", otherwise

5. Print the shape by getting the input as number of points. 1 pt - circle, 2 pt line, 3 point - triangle (right angled/others), 4 - point square/rectange (if angle is 90) - Parallelogram (if angle is other than 90). Get addition parameters depends on the shape.

6. print the following logically

1

12

123

1234

12345

123456

1234567

12345678

123456789

12345678

1234567

123456

12345

1234

123

12

1

Friday, May 14, 2021

OS 5th Unit slides

 The link for the slides for OS 5th Unit is given below.

https://drive.google.com/file/d/1DNmdCj8Ul0VWV61e3emwb-SaNOpWVrKp/view?usp=sharing

You can also get exam oriented materials for mobile OS from the following link

http://drranurekha.com/mobile-os/

Concentrate either linux or mobile OS. In either or choice either you will get the question from linux or Android / iOS

Python observation Program list 2

  Write aim, algorithm and python program and draw flowchart for the following. 1. Calculate the number of vowels and spaces inbetween words...