Pructor Python Quiz 1 by anupmaurya June 12, 2021 written by anupmaurya 0 comment Welcome to your Pructor Python Quiz 1 What is the first step in write a program? a) Run Code b) Write Code c) Edit Code d) Check the Code Logical solution is a ____and clear _____procedure to solve the problem, known as _____. Add description here! a) problem description , step-by-step , flowchart b) expression , assignment statement , identifier c) finite , step-by-step , Algorithm d) finite , assignment statement , algorithm Python is a/an___________ language (unlike C, C++, Java). a) Logical programming b) Interpreted programming c) Compiled programming d) Complex programming What is the extension of a python file? a) .cpp b) .py c) .java d) .c In Python variables can be thought of as ______. a) labels b) containers c) boxes d) tumblers Which function is used to get a string in Title Cases (First letter of each word in capital) ? a) pint() b) title() c) strip() d) lstrip() A Python Program is a sequence of ___ and ___. a) data and information b) classes and objects c) strings and arrays d) definitions and commands Which function is used to get rid of the blank spaces on the left? a) strip() b) left() c) rstrip() d) lstrip() What will be the output of : type(3.5) ? a) class int b) class float c) class double d) class char What will be the output of : int(2.5) ? a) 2 b) 3 c) 4 d) 1 Any input that you take in Python is of ___ data type. a) int b) float c) str d) double What is the output of the following : 4//5 ? a) 1 b) 0.8 c) 0 d) 8 What will be the value stored in y? : x, y, z = 1, 2, 3 a) 1 b) 2 c) 3 d) 0 Which of the following is a valid identifier or variable? well&1 well 1 well_1 @well Time's up Share 0 FacebookTwitterLinkedinRedditWhatsappTelegramEmail anupmaurya Hey there, My name is Anup Maurya. I was born with love with programming and works at TCS. One of best global (IT) services and consulting company as System Administrator . I also love graphics designing. It's my pleasure to have you here. previous post Pructor Python Quiz 7 next post Pructor Python Quiz 7 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment. * By using this form you agree with the storage and handling of your data by this website.