[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-718150-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-718150-en":130,"doc-similar-718150":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","multiple-choice-questions-bscmathematics-sixth-semester-mts6-b14e04-mathematical-programming-with-python-and-latex","MULTIPLE CHOICE QUESTIONS - B.Sc.Mathematics - Sixth Semester - MTS6 B14(E04): MATHEMATICAL PROGRAMMING WITH PYTHON AND LATEX","","Multiple Choice Questions for B.Sc. Mathematics, Sixth Semester (MTS6 B14(E04): Mathematical Programming with Python and LaTeX) covering foundational Python programming concepts. The questions test understanding of program outputs, string and indexing/slicing behavior, Python syntax, keywords, variable naming rules, operators and precedence, anonymous functions, built-in functions, object identity via id(), packages and modules, list/set/tuple operations, pickling, and loop control using break and continue. Also included are basic Python language characteristics such as case sensitivity, compilation vs interpretation, and comment syntax.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/exam/","Exam",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/multiple-choice-questions-bscmathematics-sixth-semester-mts6-b14e04-mathematical-programming-with-python-and-latex/718150/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/multiple-choice-questions-bscmathematics-sixth-semester-mts6-b14e04-mathematical-programming-with-python-and-latex/718150.png","ImageObject",300,407,{"name":42,"@type":43},"（）","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-24","2026-11-16",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What kinds of topics do these MCQs cover in Python?","Question",{"text":62,"@type":63},"They cover program output reasoning, core syntax, keywords and identifiers, operators and precedence, anonymous functions (lambda), and basic language behavior such as case sensitivity and comment syntax.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How are common Python data structures and operations assessed?",{"text":67,"@type":63},"The questions include lists, empty sets, appending elements, tuples, and the behavior of functions like len() as applied to Python sequences.",{"name":69,"@type":60,"acceptedAnswer":70},"What loop-control statements are tested?",{"text":71,"@type":63},"The MCQs ask about terminating a loop with break and skipping to the next iteration using continue, along with related behavior.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},718150,1794854118,{"code":4,"msg":81,"data":82},"success",[83,87,91,94,99,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":92,"slug":93},70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":101,"show_sort_weight":102,"slug":103},6,"Technology",50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":95,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":33,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":33,"preview_urls":145},5909898202386,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","MULTIPLE CHOICE QUESTIONS  \nB.Sc.Mathematics, Sixth Semester  \nMTS6 B14(E04): MATHEMATICAL PROGRAMMING WITH PYTHON AND LATEX  \n1. The output of the program  \nx = 3 + 4j  \nprint x, type(x)  \n(a) 3 + 4j, \u003Ctype complex>  \n(b) (3 + 4j) \u003Ctype 'complex'>  \n(c) 3 + 4j \u003Ctype complex>  \n(d) (3 + 4j) \u003Ctype `complex'>  \n2. The output of the program  \ns = 'Hello '  \nprint s + s  \n(a) 10  \n(b) Hello Hello  \n(c) False  \n(d) True  \n3. Who developed the Python language?  \n(a) Zim Den  \n(b) Guido van Rossum  \n(c) Niene Stom  \n(d) Wick van Rossum  \n4. In which year was the Python language developed?  \n(a) 1995  \n(b) 1972  \n(c) 1981  \n(d) 1989  \n5. In which language is Python written?  \n(a) English  \n(b) PHP (c) C  \n(d) All of the above  \n6. Which one of the following is the correct extension of the Python 􀀌le?  \n(a) .py  \n(b) .python  \n(c) .p  \n(d) None of these  \n7. In which year was the Python 3 .0 version developed?  \n(a) 2008  \n(b) 2000  \n(c) 2010  \n(d) 2005  \n8. What do we use to de􀀌ne a block of code in Python language?  \n(a) Key  \n(b) Brackets  \n(c) Indentation  \n(d) None of these  \n9. Which character is used in Python to make a single line comment?  \n(a) /  \n(b) //  \n(c) \\#  \n(d) !  \n10. Which of the following is not a keyword in Python language?  \n(a) val  \n(b) raise  \n(c) try  \n(d) with  \n11. Which of the following declarations is incorrect in python language?  \n(a) xyzp = 5,000,000  \n(b) x y z p = 5000 6000 7000 8000  \n(c) x,y,z,p = 5000, 6000, 7000, 8000  \n(d) x y z p = 5,000,000  \n12. Which of the following words cannot be a variable in python language?  \n(a)   val  \n(b) val  \n(c) try  \n(d)   try   \n13. Which of the following operators is the correct option for power(ab)?  \n(a) a ^ b  \n(b) a􀀃􀀃b  \n(c) a ^^ b  \n(d) a^􀀃 b  \n14. Which of the following precedence order is correct in Python?  \n(a) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction  \n(b) Multiplication, Division, Addition, Subtraction, Parentheses, Exponential  \n(c) Division, Multiplication, Addition, Subtraction, Parentheses, Exponential  \n(d) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction  \n15. Which one of the following has the same precedence level?  \n(a) Division, Power, Multiplication, Addition and Subtraction  \n(b) Division and Multiplication  \n(c) Subtraction and Division  \n(d) Power and Division  \n16. Output of the program  \na='Hello'  \nprint a[0]  \n(a) H  \n(b) e  \n(c) l  \n(d) o  \n17. Output of the program  \na = 'hello world'  \nprint a[3:5]  \n(a) hel  \n(b) lo  \n(c) worl  \n(d) rl  \n18. Which type of Programming does Python support?  \n(a) object-oriented programming  \n(b) structured programming  \n(c) functional programming  \n(d) all of the mentioned  \n19. Is Python case sensitive when dealing with identi􀀌ers?  \n(a) no  \n(b) yes  \n(c) machine dependent  \n(d) none of the mentioned  \n20. Is Python code compiled or interpreted?  \n(a) Python code is both compiled and interpreted  \n(b) Python code is neither compiled nor interpreted  \n(c) Python code is only compiled  \n(d) Python code is only interpreted  \n21. All keywords in Python are in ||  \n(a) Capitalized  \n(b) lower case  \n(c) UPPER CASE  \n(d) None of the mentioned  \n22. What will be the value of the following Python expression?  \n4 + 3  \n(a) 7  \n(b) 2  \n(c) 4  \n(d) 1  \n23. Which keyword is used for function in Python language?  \n(a) Function  \n(b) Def  \n(c) Fun  \n(d) De􀀌ne  \n24. Python supports the creation of anonymous functions at runtime, using a construct called |{  \n(a) pi  \n(b) anonymous  \n(c) lambda  \n(d) none of the mentioned  \n25. Which of the following is true for variable names in Python?  \n(a) underscore and ampersand are the only two special characters allowed  \n(b) unlimited length  \n(c) all private members must have leading and trailing underscores  \n(d) none of the mentioned  \n26. Which of the following functions is a built-in function in python?  \n(a) factorial()  \n(b) print()  \n(c) seed()  \n(d) sqrt()  \n27. Which of the following is the use of id(","cbCaifUpe1ZmKrKD","https://ap.wps.com/l/cbCaifUpe1ZmKrKD","pdf",148840,15,"English","# Multiple Choice Questions\n## Program output and Python basics\n## Syntax, keywords, operators, and precedence\n## Data structures and built-in functions\n## Packages/modules and loop control","[{\"question\":\"What kinds of topics do these MCQs cover in Python?\",\"answer\":\"They cover program output reasoning, core syntax, keywords and identifiers, operators and precedence, anonymous functions (lambda), and basic language behavior such as case sensitivity and comment syntax.\"},{\"question\":\"How are common Python data structures and operations assessed?\",\"answer\":\"The questions include lists, empty sets, appending elements, tuples, and the behavior of functions like len() as applied to Python sequences.\"},{\"question\":\"What loop-control statements are tested?\",\"answer\":\"The MCQs ask about terminating a loop with break and skipping to the next iteration using continue, along with related behavior.\"}]","MULTIPLE CHOICE QUESTIONS - B.Sc.Mathematics - Sixth Semester - MTS6 B14(E04): MATHEMATICAL PROGRAMMING WITH PYTHON AND LATEX | PDF",38,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a21289d58d0cd27387e4ad5f90a1eb20.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d3d2e0e537ebd113bf65e2d8d8afdecc.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/fd9b512a784a9bed5c02916fac703305.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/50c2707a65c36cd95bf04ed7aee6ce6b.webp",980,1268,{"list":163,"token":11},[164,171,177,183,189,195,202,208,215,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},391172,"Infosys-Python-Interview-Questions - Interview Questions - Python","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917366635/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=wUhAkTI16fBun5eFTPF0gpVGiI0%3D","infosys-python-interview-questions-interview-questions-python",17,1790349846,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":115,"category_name":29,"create_tm":176},417796,"PFTWeek - Python Basics - Variables, Types, and Operators","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495578/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=X1uZcNLCpprOvQeOzKD2LYEECoM%3D","pftweek-python-basics-variables-types-and-operators",1790610654,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":110,"category_name":29,"create_tm":182},685774,"UNIT 2 - Lists, Dictionaries And Sets","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000203839/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=et66cyb0ZYTFksBy3FprzXlJsjU%3D","unit-2-lists-dictionaries-and-sets",1794018222,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":105,"category_name":29,"create_tm":188},685628,"Unit 2 - Chapter 6 - List Creation - List in Python","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000169819/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=%2B5S6LT7q6GExCfJg%2F3y9XErlGb0%3D","unit-2-chapter-6-list-creation-list-in-python",1794016091,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":169,"category_name":29,"create_tm":194},391580,"Python coding interview questions for data analyst","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917692249/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=vyLwVl3tCtB0nMwV0rAQRP5EIHE%3D","python-coding-interview-questions-for-data-analyst",1790355255,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},391265,"HCL Placement Papers - Section II-C Programming - C Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917371012/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=NMb7Nigd%2Bkyy%2B22TV%2BhyO0m6ShQ%3D","hcl-placement-papers-section-ii-c-programming-c-questions",11,1790350498,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":105,"category_name":29,"create_tm":207},685775,"Lists, Dictionaries and Tuples - Topic - 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000203838/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=nzq8Eh99BMfOdIMwd2Ktd3Cyif4%3D","lists-dictionaries-and-tuples-topic-1",1794018224,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":29,"create_tm":214},417808,"Internal Assessment Test-I - SET-II - Introduction to Python, Data and Control Systems - Answer Any Two Full Questions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495909/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=gQCibDRihQU9gPLrUx6DZwMPh%2BQ%3D","internal-assessment-test-i-set-ii-introduction-to-python-data-and-control-systems-answer-any-two-full-questions",13,1790610691,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":29,"create_tm":221},289645,"Computer Science (083) - Sample Question Paper (Theory)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903420899/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=jUaRlyYBXdNfQls6ra6M4YWEkYU%3D","computer-science-083-sample-question-paper-theory",23,1789636156,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":29,"create_tm":228},391146,"Capgemini Interview Questions for Freshers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917365447/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169299&Signature=v8VYiX59ooGmgEt2Txqr5Kx6nPk%3D","capgemini-interview-questions-for-freshers",16,1790349686]