Pructor Python Quiz 1 by anupmaurya June 12, 2021 written by anupmaurya 0 minutes read 339 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 None 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 None Python is a/an___________ language (unlike C, C++, Java). a) Logical programming b) Interpreted programming c) Compiled programming d) Complex programming None What is the extension of a python file? a) .cpp b) .py c) .java d) .c None In Python variables can be thought of as ______. a) labels b) containers c) boxes d) tumblers None 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() None A Python Program is a sequence of ___ and ___. a) data and information b) classes and objects c) strings and arrays d) definitions and commands None Which function is used to get rid of the blank spaces on the left? a) strip() b) left() c) rstrip() d) lstrip() None What will be the output of : type(3.5) ? a) class int b) class float c) class double d) class char None What will be the output of : int(2.5) ? a) 2 b) 3 c) 4 d) 1 None Any input that you take in Python is of ___ data type. a) int b) float c) str d) double None What is the output of the following : 4//5 ? a) 1 b) 0.8 c) 0 d) 8 None What will be the value stored in y? : x, y, z = 1, 2, 3 a) 1 b) 2 c) 3 d) 0 None Which of the following is a valid identifier or variable? well&1 well 1 well_1 @well None Time's up 0 FacebookTwitterPinterestEmail anupmaurya "Hi there, My name is Anup Maurya. I have a passion for programming and previously worked at TCS, one of the best global IT services and consulting companies, as a System Administrator. I also enjoy graphic design. It's a 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.