[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-790636-105":59,"doc-detail-790636-en":130,"doc-similar-790636":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","19cs0501-python-programming","19CS0501 - Python Programming","","Python Programming (19CS0501) question bank for first-year B.Tech ECE and CSE students under the R19 regulation. Its five units combine descriptive questions with coding exercises on foundational concepts and practical problem solving. Topics span algorithms, data types, operators, control flow, functions, classes and objects, inheritance, modules, packages, exceptions, regular expressions, file handling, command-line arguments, data compression, dates and times, iterators, generators, map, and filter.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/19cs0501-python-programming/790636/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/19cs0501-python-programming/790636.png","ImageObject",300,407,{"name":92,"@type":93},"The weather in my hometown","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-06","2026-12-05",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Who is this question bank intended for?","Question",{"text":112,"@type":113},"It is intended for first-year B.Tech ECE and CSE students taking Python Programming (19CS0501) under the R19 regulation.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which core Python topics are covered?",{"text":117,"@type":113},"The units cover algorithms, data types, operators, control flow, functions, classes, objects, inheritance, and polymorphism.",{"name":119,"@type":110,"acceptedAnswer":120},"What topics beyond programming basics are included?",{"text":121,"@type":113},"The questions also cover modules, packages, exceptions, regular expressions, file handling, command-line arguments, compression, dates and times, iterators, generators, map, and filter.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},790636,1796506578,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},1374408744247,"https://ap-avatar.wpscdn.com/avatar/14001251d37d565ec6f?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790672120290115972","| |  |\n| --- | --- |\n| | SIDDHARTH GROUP OF INSTITUTIONS::PUTTUR\u003Cbr>Siddharth Nagar, Narayanavanam Road – 517583\u003Cbr>QUESTION BANK (DESCRIPTIVE) |\n| Subject with Code: PYTHON PROGRAMMING (19CS0501)\u003Cbr>Course & Branch: B.Tech – ECE, CSE Year & Sem: I B.Tech & I Sem\u003Cbr>Regulation: R19 |  |\n| UNIT – 1\u003Cbr>1. a) What is an algorithm? Explain characteristics of an algorithm. [4M]\u003Cbr>b) What are the features and applications of Python? [4+4M]\u003Cbr>2. Explain about the input and output statements or methods with example. [6+6M] 3. a) Explain about the Single-Valued data types in python. [6M]\u003Cbr>b) What is Indentation? Explain with example. [6M]\u003Cbr>4. a) What is data type? List out the types of data types with example. [6M]\u003Cbr>b) Explain variable assignment with suitable example. [6M]\u003Cbr>5. Describe an algorithm for the following [7+5M] i) Prime number or not\u003Cbr>ii) Odd or even\u003Cbr>6. Define Flowchart and explain symbols used in flowchart with example. [2+10M]\u003Cbr>7. Explain briefly about the Multi-Valued Data types with example. [12M] 8. a) Enumerate the list and its methods with example. [6M]\u003Cbr>b) Elucidate the string and its methods with example. [6M]\u003Cbr>9. a) What is dictionary? Explain the methods available in dictionary. [6M]\u003Cbr>b) Differentiate between the tuple and sets in python. [6M]\u003Cbr>10. a) Define Variable and mention rules for choosing names of Variable. [6M]\u003Cbr>b) Implement the python program to calculate total and average marks based on input. [6M]\u003Cbr>|  |\n\nUNIT – 2  \n1. List various types of operators in Python and write any 4 types of operators. [2+10M]  \n2. Explain in detail about Control flow structures in python. [12M]  \n3. Outline with an example the assignment and bitwise operators supported in Python. [6+6M] 4. a) Write a Python program to print prime number series up to N. [6M]  \nb) Write a Python program to Swapping of two numbers with and without using temporary variable. [6M]  \n5. a) If the age of Ram, Sam, and Khan are input through the keyboard, write a python program to determine the eldest and youngest of the three. [6M]  \nb) Arithmetic operations (Addition, Subtraction, Multiplication, and Division) on integers. Input  \nthe two integer values and operator for performing arithmetic operation through keyboard. [6M] 6. a) Write a python program to find the given number is odd or even. [6M] b) Explain break and continue statement with the help of for loop with an example. [6M]  \n7. Explain the syntax of the following statements [3+3+3+3M] i) for loop  \nii) while loop  \niii) if-else  \niv) if-elif-else  \n8. Explain expressions in python with order of evaluation with example. [12M] 9. a) Develop a program to find the largest among three numbers. [6M]  \nb) Write a python program to find the given year is leap or not. [6M]  \n10.a) Write a python program to print factorial of a given number [6M]  \nb) Implement Python program to find sum of natural numbers. [6M]  \nUNIT – 3  \n1. a) Define function? Write its syntax [3M]  \nb) What are formal and actual arguments [4M]  \nc) Write functions to do all arithmetic operations [5M]  \n2. a) What is recursive function? [3M]  \nb) Explain lambda function [4M]  \nc) Write recursive function to find factorial of a number [5M] 3. a) Differentiate key word and default arguments [6M]  \nb) Differentiate global and local variables [6M] 4. a) Compare class and object with python code [6M]  \nb) Narrate scope of a variable in a function [6M] 5. a) Write about class constructor(_init_ ()),self-variable [5M]  \nb) Compare method overloading and overriding [7M]  \n6. a) A 4 digit integer is entered through the keyboard. Write a function to  \nCalculate the sum of the 4 digit number both without recursion and  \nusing recursion [7M]  \nb) What are the cons of using functions [5M]  \n7. What is inheritance? Illustrate types of inheritance with python code [12M]  \n8. a) Write a function to display ASCII Code of entered character [5M]  \nb) Describe how an object is passed as parameter to a method [7M]  \n9","cbCaigifX5WIFucc","https://ap.wps.com/l/cbCaigifX5WIFucc","pdf",699007,"English","# Unit 1: Python Fundamentals\n## Algorithms, data types, and collections\n# Unit 2: Operators and Control Flow\n## Expressions, loops, and program exercises\n# Unit 3: Functions and Object-Oriented Programming\n## Functions, classes, inheritance, and polymorphism\n# Unit 4: Modules, Packages, and Exceptions\n## Regular expressions and exception handling\n# Unit 5: Files and Advanced Features\n## File operations, iterators, generators, and dates","[{\"question\":\"Who is this question bank intended for?\",\"answer\":\"It is intended for first-year B.Tech ECE and CSE students taking Python Programming (19CS0501) under the R19 regulation.\"},{\"question\":\"Which core Python topics are covered?\",\"answer\":\"The units cover algorithms, data types, operators, control flow, functions, classes, objects, inheritance, and polymorphism.\"},{\"question\":\"What topics beyond programming basics are included?\",\"answer\":\"The questions also cover modules, packages, exceptions, regular expressions, file handling, command-line arguments, compression, dates and times, iterators, generators, map, and filter.\"}]","19CS0501 - Python Programming | PDF",15,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/7917a88a1cd4650ed1365717fdc3f521.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/c076c33f2764752baf6abbe5f7f2c78b.webp",982,1389,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/e9149c6d9dab88c6c00235c9277f64ae.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-12-05/ce497dd9ed82a9e8782ead39b750dbf0.webp",980,1386,{"list":162,"token":66},[163,169,176,183,189,196,202,208,213,220],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":143,"category_name":30,"create_tm":168},417799,"PYTHON PROGRAMMING - R17A0554 - Lecture Notes - B.TECH III YEAR II SEM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=8mamJiSeHhH%2BXi5jddOj3X9FXoY%3D","python-programming-r17a0554-lecture-notes-btech-iii-year-ii-sem",1790610657,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":30,"create_tm":175},692229,"A Beginners Guide to Python 3 Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=pHTBPeWWzymF1dCwKXo%2BSPwiOQY%3D","a-beginners-guide-to-python-3-programming-692229",12,1794186373,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":30,"create_tm":182},692230,"Python Handbook - Updated October 14, 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011060/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=7cIrn6qVmTThxxfSYM2u4he6LcU%3D","python-handbook-updated-october-14-2026",11,1794186375,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":14,"category_name":30,"create_tm":188},790642,"1BPLC105B","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230058082650/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=F2ZEz0x3yn4kevxHW4otPk0ZPY8%3D","1bplc105b",1796506601,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":30,"create_tm":195},347076,"Core Java - Volume 1 - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997667/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=8yCJKm0hk453TarkDEMIEIhc6mc%3D","core-java-volume-1-twelfth-edition",32,1790065168,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":34,"category_name":30,"create_tm":201},670918,"The Python Cheat Sheet - Quick Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988353374/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=t%2BIZumNEeZK9hX7eU9tESwzT8Cw%3D","the-python-cheat-sheet-quick-reference",1793572702,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":14,"category_name":30,"create_tm":207},790646,"Python-10102024","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230058436746/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=KizcV7MEX9ura5a2yfE85K4XhIc%3D","python-10102024",1796506615,{"doc_id":209,"doc_title":171,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":34,"category_name":30,"create_tm":212},682652,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998958669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=c%2BZN4zV7%2B0%2F7%2FoSUX8BNA%2B8VTpo%3D","a-beginners-guide-to-python-3-programming",1793977325,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":30,"create_tm":219},671794,"Python Tutorial - Release 3.7.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988403939/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=gSS%2Ba21Km61ItutXHkfwXKMnOY0%3D","python-tutorial-release-370",18,1793580648,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":8,"category_name":30,"create_tm":225},794438,"20180203082936 Java The Complete Reference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230059486406/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796587799&Signature=KIJISgBJeY8SKGOszK2DfPCEBF8%3D","20180203082936-java-the-complete-reference",1796570907]