Problem Solving Using Python

195

Author: Kulkarni S A

ISBN: 9789388005456

Copy Right Year: 2020

Pages:  248

Binding: Soft Cover

Publisher:  Yes Dee Publishing

Buy our E books @ Wonderslate

Out of stock

SKU: 9789388005456 Category:

Description

Python is one of the most popular programming languages. This book tries to address early learners who have minimal or no programming experience. Also one of the challenges when you learn a programming language for the first time is how to get familiarized with the syntax and semantics at the earliest. The best part of this book on Python is to explain the nuances of syntax and semantics with hands-on programming examples. Thus you will learn by practising which is considered as one of the best techniques for learning any programming language. Also a large number of standard programming examples are solved to give confidence to the early stage learners/programmers. Thus in a nutshell the book has the following salient features.

Additional information

Weight .3 kg
Dimensions 23 × 15 × 1 cm

Table of Content

Chapter 1 Introduction
1.1 Computer Science
1.2 Algorithm
1.3 Definition of Algorithm
1.3.1 Characteristics of an Algorithm
1.4 The Essence of Computational Problem Solving
1.5 Limits of Computational Problem Solving
1.6 Computer
1.6.1 Hardware
1.6.2 Software
1.7 Compiler vs Interpreter
1.8 Syntax vs Semantic Errors
1.9 Procedural vs Object Oriented Programming Paradigm
1.10 The Process of Computational Problem Solving
1.11 Python Programming Language
1.11.1 Salient Features of Python Language
1.11.2 Python Editor IDLE
1.12 Python Interpreter Mode
1.12.1 Python Debugging
1.13 Values and Types
1.14 Variables
1.15 Python Data Types
1.16 Python Literals
1.16.1 Numeric Literals
1.16.2 String Literals
1.16.3 List of Literals in Python
1.16.4 Write a Python Program Add Complex.py to Add Two Complex
Numbers c1 = 2+3j and c2 = 4+7j
1.17 Python Constants
1.17.1 Write a Python Program (TestBool.py) Using Boolean Data Types
1.18 Python Keywords
1.19 Expressions
1.19.1 Evaluate the Following Python Expression
1.19.2 Evaluate the Following Python Expression
Chapter 2 Control Structures
2.1 Conditional Constructs
2.2 Control Flow Types
2.2.1 Sequence Control
2.2.2 Selection Control
2.2.3 Repetition Control
2.3 Boolean Values  and Operators
2.3.1 Relational Operators
2.3.2 Logical Operators
2.4 Python Membership Operators
2.5 Comments
2.6 Input Statements in Python
2.6.1 Input() Function
2.7 Output Statements in Python
2.7.1 Print() Function
2.8 Decision Making
2.8.1 if Statement
2.8.2 Alternative (if-else)
2.8.3 Chained Conditional (if-elif-else)
Contents vii
2.9 While Loop
2.9.1 Write a Program in Python to Compute the Factorial for a Given
Number
2.9.2 Write a Program in Python to Test Whether a Given Number is
Prime or Not
2.9.3 Write a Program in Python to Generate Fibonacci Series for a
Given Number
2.9.4 Infinite Loop
2.10 for Loop
2.10.1 Write a Python Program to Compute cos(x) from the Given Series
2.10.2 Write a Python Program to Compute sin(x) from the Given Series
2.11 Lists
2.11.1 Introduction
2.11.2 How to Read a List Type from a Keyboard
2.11.3 Python List Methods
2.11.4 Python List Traversal
Chapter 3 Functions
3.1 Introduction to Python Functions
3.2 Advantages of Functions
3.3 Syntax of User-Defined Function
3.4 Flowchart of User-Defined Function
3.5 Functions Which Returns a Value
3.6 Return Statement
3.7 Functions Which do Not Return Values
3.8 Positional Arguments
3.9 Keyword Arguments
3.10 Default Parameter
3.11 Local Variables and Global Variables
3.12 Call-By-Value vs Call-By-Reference in Python
3.13 Write a Python Program Using Functions to Generate the Floyds Triangle
for a Specified Number of Rows
3.14 Write a Python Program Using Functions to Compute the Least Common
Multiple (LCM) of Two Given Integers
Exercises
Chapter 4 Python Objects
4.1 Introduction
4.2 Object References
4.3 What Happens When the Value of a Variable Copied to Another Variable
4.4 Garbage Collection in Python
4.5 List Copying
4.6 Shallow and Deep Copying of Lists
4.7 Turtle Graphics
4.8 Turtle Attributes
4.9 Python Modules
4.9.1 Importing Modules
4.9.2 How to Create Your Own Modules
4.9.3 To Invoke Specific Functions or Variables from Modules
4.9.4 The dir() Function
4.9.5 Restoring a Module
4.10 Files Introduction
4.11 Text Files
4.11.1 Reading from Files
4.11.2 Reading Lines from Files
4.12 Stripping Characters from Files
4.13 Writing into Files
4.14 Filenames and Paths
4.15 Strings in Python
4.15.1 Reading Strings from Keyboard
4.15.2 Accessing Strings
4.15.3 Modifying Strings in Python
4.15.4 String Concatenation
4.15.5 String Updating
4.15.6 Finding the Length of a String
4.15.7 Iterating Through a String
4.15.8 String Membership Operations
4.15.9 Built-in String Functions
4.15.10 Searching in a String
4.15.11 Splitting Strings and Removing Whitespaces
4.15.12 String Join, Length, Replace and Miscellaneous String Functions
4.16 Escape Sequences in Python
4.17 Write a Python Program to Check Whether an Entered String is a
Palindrome or Not Without Using Built-in String Functions Available in
Python
4.18 Write a Python Program to Count Separately the Vowels of a Given
String
4.19 Write a Python Program to Compute the Length of an Input StringWithout
Using the Built-in Python Function “len”
4.20 Write a Python Program to Count the Number of Characters in a Given
Word
4.21 Write a Python Program to Check the Bigger of the Two Inputted Strings
4.22 Write a Python Program to Count the Common Characters in the Two
Inputted Strings
4.23 Write a Python Program to Count the Occurrences of the Substring in a
Given String
4.24 Write a Python Program to Check Whether the Characters of an Inputted
String are in Alphabetical Order
4.25 Write a Python Program to Sort Words Entered by User in Alphabetical
Order
4.26 Exceptions in Python
4.27 Write a Python Program to Demonstrate IO Error Exception When We
Try to Read a Non-existing File .
4.28 Write a Python Program that Computes the Sum of All Integer Numbers
Stored in a File Named “data.txt” with an Exception Handling Features
if the Numbers are Not Integers. The Sum Should be Printed on the
Command Prompt
Chapter 5 Objects and Their Use
5.1 Dictionary Introduction
5.2 Creating a Dictionary and Printing a Dictionary
5.3 Accessing Dictionary Elements
5.4 Modifying a Dictionary
5.5 Delete Operations on a Dictionary
5.6 Dictionary Key Properties
5.7 Comparing Two Dictionaries
5.8 Python Dictionary Built-in Functions
5.9 How to Generate Keys, Values and Items for Python Dictionary
5.10 Copying and Updating a Dictionary
5.11 Write a Python Program Using Dictionary to Generate a Small Dictionary
of Synonyms. The Program Should Then Accept a Word and Generate
Synonyms for the Same
5.12 Write a Python Program Using Dictionary to Accept a Sentence and
Generate the Frequency of Words for the Same
5.13 Write a Python Program to Create a Dictionary Consisting of State and
Their  Corresponding  Dishes. The Program Should Accept a State Name
from the User and Generate the Corresponding Dishes
5.14 Write a Python Program Using Dictionary to Find the Maximum and
Minimum Among the Given Values
5.15 Sets Introduction
5.16 Set Creation
5.17 Write a Python Program to Demonstrate Set Operations
5.18 Object Oriented Programming with Python
5.19 Encapsulation
5.20 Inheritance
5.21 Polymorphism
5.22 Recursive Function in Python

Laboratory Exercises
Appendix A Algorithmic Problems Solving

About The Author

Dr. S. A. Kulkarni is Associate Professor, Department of Computer Science and Engineering, The National Institute of Engineering (NIE), Mysuru. He has a Ph.D. in the faculty of Computer and Information Science from The National Institute of Engineering Research Center, Mysuru, affiliated to Visvesvaraya Technological University, Karnataka.

E-Books

Buy our E Books @

Wonderslate

68 reviews for Problem Solving Using Python

  1. bezogoroda.ru

    What’s up, I wish for to subscribe for this weblog to take most recent updates, so where can i do it please help. bezogoroda.ru

  2. daachka.ru

    Hi, I do believe this is an excellent website. I stumbledupon it 😉 I will return once again since I book-marked it. Money and freedom is the best way to change, may you be rich and continue to help other people. daachka.ru

  3. гостиничные чеки спб

    Hey There. I found your blog the use of msn. This is a very smartly written article. I will be sure to bookmark it and come back to read more of your useful information. Thank you for the post. I will definitely comeback. гостиничные документы санкт петербург

  4. nadachee.ru

    Pretty nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I’ll be subscribing to your feed and I hope you write again soon! nadachee.ru

  5. fake residence docs

    Howdy would you mind letting me know which webhost you’re working with? I’ve loaded your blog in 3 completely different web browsers and I must say this blog loads a lot quicker then most. Can you suggest a good web hosting provider at a honest price? Thanks a lot, I appreciate it! generate fake passport online

  6. бисер купить дешево

    Good day! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done a outstanding job! сколько стоит бисер

  7. yes-dacha.ru

    It is perfect time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or suggestions. Perhaps you could write next articles referring to this article. I want to read more things about it! yes-dacha.ru

  8. rem-dom-stroy.ru

    What’s up friends, how is all, and what you want to say regarding this piece of writing, in my view its really remarkable in favor of me. rem-dom-stroy.ru

  9. obshchestroy.ru

    Why viewers still use to read news papers when in this technological world everything is available on net? obshchestroy.ru

  10. remont-master-info.ru

    These are actually impressive ideas in concerning blogging. You have touched some good points here. Any way keep up wrinting. remont-master-info.ru

  11. снять офис в пригороде минска

    you are really a just right webmaster. The site loading velocity is incredible. It kind of feels that you are doing any unique trick. Moreover, The contents are masterpiece. you have performed a wonderful task in this topic! аренда офиса в минском районе

  12. Juristide konsultatsioon

    constantly i used to read smaller articles which also clear their motive, and that is also happening with this article which I am reading at this place. Jurist

  13. Juriidiline abi

    Informative article, just what I wanted to find. Õigusabi Eestis

  14. аренда ричтрака в минске

    I used to be recommended this blog by way of my cousin. I am not positive whether this submit is written through him as no one else recognize such targeted approximately my problem. You are amazing! Thank you! ричтрак в аренду

  15. аренда ричтрака

    Wow, that’s what I was seeking for, what a stuff! present here at this website, thanks admin of this web site. ричтрак в аренду

  16. накрутка просмотров яппи

    You ought to take part in a contest for one of the greatest sites on the web. I will recommend this blog! накрутка просмотров яппи

  17. накрутка подписчиков в yappy

    I am in fact happy to read this webpage posts which includes lots of useful information, thanks for providing these data. накрутить просмотры яппи

  18. накрутка лайков в яппи

    My spouse and I stumbled over here from a different website and thought I might as well check things out. I like what I see so now i am following you. Look forward to looking at your web page again. накрутить просмотры яппи

  19. накрутка подписчиков в яппи

    I like the valuable information you supply for your articles. I will bookmark your weblog and test again here frequently. I am slightly certain I will be told lots of new stuff right here! Good luck for the following! накрутка подписчиков в яппи

  20. smartremstroy.ru

    I was wondering if you ever considered changing the page layout of your site? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two images. Maybe you could space it out better? smartremstroy.ru

  21. daachnik.ru

    Awesome blog! Do you have any tips and hints for aspiring writers? I’m planning to start my own site soon but I’m a little lost on everything. Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused .. Any recommendations? Appreciate it! daachnik.ru

  22. delaremontnika.ru

    hey there and thank you for your information I’ve definitely picked up anything new from right here. I did however expertise a few technical issues using this web site, since I experienced to reload the site a lot of times previous to I could get it to load properly. I had been wondering if your web hosting is OK? Not that I am complaining, but sluggish loading instances times will often affect your placement in google and can damage your quality score if advertising and marketing with Adwords. Anyway I’m adding this RSS to my e-mail and can look out for a lot more of your respective interesting content. Make sure you update this again soon. delaremontnika.ru

  23. twitch.tv

    Appreciating the persistence you put into your site and in depth information you provide. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Wonderful read! I’ve saved your site and I’m including your RSS feeds to my Google account. twitch.tv

  24. перетяжка мягкой мебели

    Hi there friends, how is all, and what you wish for to say about this post, in my view its truly awesome designed for me. обивка мягкой мебели в Новосибирске

  25. сделать чеки на гостиницу в москве

    Your way of describing all in this post is truly good, all can without difficulty know it, Thanks a lot. отчетные документы за проживание москва

  26. daachkaru

    I am actually pleased to read this blog posts which contains lots of helpful data, thanks for providing such data. daachkaru

  27. xxx sxe dog

    I always spent my half an hour to read this weblog’s articles everyday along with a cup of coffee. www xnx animal com

  28. glavsadovnik.ru

    I am sure this piece of writing has touched all the internet viewers, its really really nice article on building up new webpage. glavsadovnik.ru

  29. myinfodacha.ru

    Hello! Someone in my Myspace group shared this site with us so I came to take a look. I’m definitely enjoying the information. I’m book-marking and will be tweeting this to my followers! Fantastic blog and amazing design and style. myinfodacha.ru

  30. раскрутка сайта в гугле

    Hi friends, good piece of writing and pleasant arguments commented here, I am really enjoying by these. продвижение в гугле

  31. sadounik.ru

    Wow, this piece of writing is nice, my sister is analyzing these things, so I am going to tell her. sadounik.ru

  32. daachka.ru

    Wow, wonderful blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, let alone the content! daachka.ru

  33. daa4a.ru

    What’s up to all, how is all, I think every one is getting more from this website, and your views are nice for new viewers. daa4a.ru

  34. мужской эромассаж Москва

    Исключительный частный эротический массаж в Москве цена мужской эромассаж в Москве

  35. animal triple x movie

    Good post. I definitely love this website. Stick with it! www xxx anemal

  36. ремонт стеклопакетов в Борисове

    hi!,I really like your writing so so much! percentage we keep in touch more approximately your post on AOL? I need an expert in this space to unravel my problem. May be that is you! Taking a look forward to peer you. ремонт стеклопакетов в Жодино

  37. ремонт окон пвх в Жодино

    It’s difficult to find educated people on this topic, but you sound like you know what you’re talking about! Thanks ремонт пластиковых окон в Борисове

  38. фитнес тренер обучение

    Saved as a favorite, I like your site! фитнес тренер обучение

  39. фитнес тренер обучение

    Heya are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you need any coding knowledge to make your own blog? Any help would be greatly appreciated! фитнес тренер обучение

  40. dogxxxsex

    I’ve been exploring for a little bit for any high-quality articles or blog posts in this kind of space . Exploring in Yahoo I eventually stumbled upon this web site. Reading this info So i’m glad to show that I have a very just right uncanny feeling I came upon exactly what I needed. I so much for sure will make certain to don?t disregard this web site and give it a look on a constant basis. www xvideos dog

  41. daachka.ru

    Way cool! Some very valid points! I appreciate you writing this post and also the rest of the site is extremely good. daachka.ru

  42. bezogoroda.ru

    Great post. I’m facing some of these issues as well.. bezogoroda.ru

  43. чистка подушек жодино

    hi!,I love your writing so much! proportion we communicate more approximately your post on AOL? I need an expert in this area to unravel my problem. May be that is you! Looking forward to peer you. чистка подушек смолевичи

  44. химчистка матраса в жодино

    Hi, Neat post. There is a problem together with your site in internet explorer, might check this? IE still is the marketplace leader and a large component to folks will miss your fantastic writing due to this problem. химчистка диана цены на услуги жодино

  45. sadovoe-tut.ru

    Hi there to all, it’s really a good for me to visit this web site, it contains valuable Information. sadovoe-tut.ru

  46. agrosadovnik.ru

    You’ve made some decent points there. I looked on the web for more info about the issue and found most individuals will go along with your views on this site. agrosadovnik.ru

  47. где сделать в москве гостиничные чеки

    If some one wants to be updated with most recent technologies then he must be visit this website and be up to date daily. где можно сделать чеки на гостиницу

  48. Blonde Free Live Webcams with Girls

    his special category of our cement and ready-mix concrete solutions demonstrate unique sustainability attributes that include saving water

  49. гостиничные чеки куплю

    It’s remarkable in favor of me to have a web site, which is beneficial designed for my experience. thanks admin где можно сделать чеки на гостиницу

  50. гостиничные чеки мск

    Great article! We will be linking to this great post on our site. Keep up the good writing. чеки на гостиницу в москве

  51. гостиничные чеки с подтверждением

    First off I want to say terrific blog! I had a quick question in which I’d like to ask if you don’t mind. I was curious to know how you center yourself and clear your mind before writing. I have had a hard time clearing my mind in getting my thoughts out. I do enjoy writing but it just seems like the first 10 to 15 minutes are usually wasted just trying to figure out how to begin. Any ideas or tips? Kudos! гостиничные чеки куплю

  52. чеки на гостиницу в москве с подтверждением

    Greetings! I know this is kinda off topic but I was wondering if you knew where I could find a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot! гостиница с отчетными документами

  53. гостиничные чеки с подтверждением москва

  54. ogorodkino.ru

    Hi there everyone, it’s my first pay a visit at this web site, and piece of writing is really fruitful designed for me, keep up posting such articles or reviews. ogorodkino.ru

  55. гостиничные чеки с подтверждением москва

    fantastic post, very informative. I’m wondering why the other experts of this sector do not realize this. You should continue your writing. I am sure, you have a huge readers’ base already! гостиничные чеки с подтверждением

  56. купить чек на гостиницу в москве

    Pretty section of content. I simply stumbled upon your blog and in accession capital to say that I acquire in fact enjoyed account your blog posts. Any way I’ll be subscribing in your augment or even I achievement you access persistently rapidly. купить чеки на гостиницу в москве

  57. link indexer page

    Thank you for sharing your info. I truly appreciate your efforts and I am waiting for your next post thank you once again. link indexing url

  58. infoda4nik.ru

    WOW just what I was searching for. Came here by searching for %keyword% infoda4nik.ru

  59. Доставка алкоголя Екатеринбург бесплатная доставка

    Asking questions are actually pleasant thing if you are not understanding anything completely, except this piece of writing offers nice understanding even. Доставка алкоголя Екатеринбург Уралмаш

  60. Доставка алкоголя Екатеринбург 24 часа

    Very soon this website will be famous among all blogging users, due to it’s pleasant posts Доставка алкоголя Екатеринбург телефон

  61. квартиры на сутки

    Nice blog here! Also your site loads up fast! What host are you using? Can I get your affiliate link to your host? I wish my site loaded up as fast as yours lol квартира на сутки в Минске

  62. חשפניות

    I will right away seize your rss as I can not in finding your email subscription link or newsletter service. Do you have any? Please allow me recognise so that I may just subscribe. Thanks. חשפניות

  63. חשפניות

    Great post. חשפניות

  64. sphynx kitten

    I know this web site provides quality based articles or reviews and other information, is there any other site which gives these stuff in quality? sphynx kittens for sale

  65. חשפניות

    It’s a shame you don’t have a donate button! I’d without a doubt donate to this excellent blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will talk about this site with my Facebook group. Chat soon! חשפניות

  66. sphynx kittens for sale

    If some one wants to be updated with newest technologies then he must be visit this site and be up to date everyday. sphynx kittens for sale

  67. חשפניות

    Thanks for one’s marvelous posting! I seriously enjoyed reading it, you will be a great author.I will be sure to bookmark your blog and will come back down the road. I want to encourage you to continue your great writing, have a nice morning! חשפניות

  68. חשפניות

    It is not my first time to visit this website, i am visiting this website dailly and take good information from here everyday. חשפניות

Add a review

Your email address will not be published. Required fields are marked *

New Product Tab

Here's your new product tab.