Python Quiz Solution week 1 ( new 2021 ) Quiz Aktu
NOTE:- Please Do Not Copy Same Reason ( Please write a new reason of this type)
Answers require a reason. We may evaluate only those answers that have a proper reason.
Q:1. What is the first step in write a program?
1.Run Code
2.Write Code
3.Edit Code
4.Check the Code
Answer:-2.Write Code
Reason:-the first step in write a program to write a code a create the program .
Q:2. Logical solution is a ____and clear _____procedure to solve the problem, known as _____.
1.problem description , step-by-step , flowchart
2.expression , assignment statement , identifier
3.finite , step-by-step , Algorithm
4.finite , assignment statement , algorithm
Answer:- 3.finite , step-by-step , Algorithm
Reason:- it is logical solution of the statemnet third option are rigth .
Q:3. Python is a/an___________ language (unlike C, C++, Java).
1.Logical programming
2.Interpreted programming
3.Compiled programming
4.Complex programming
Answer:- 2.Interpreted programming
Reason:- python is a interpreted programming language its is very essy to use of programing,and it is essay to implement.
Subscribe Our Youtube Channel For More Cantent
Q:4. What is the extension of a python file?
1..pi
2..pyt
3..py
4..ptn
Answer:- .py
Reason:- all file save as the python is .py files, it is very imortant .
Q:5. In Python variables can be thought of as ______.
1.labels
2.containers
3.boxes
4.tumblers'
Answer:- 1.labels
Reason:- lables is used to python so in python variables can be thought of as labels.
Q:6. Which function is used to get a string in Title Cases (First letter of each word in capital) ?
1.pint()
2.title()
3.strip()
4.lstrip()
Answer:- 2.title()
Reason:-title() function is used to get a string in title cases so python is essy to use of string types codes.
Q:7. Which function is used to get rid of the blank spaces on the left?
1.strip()
2.left()
3.rstrip()
4.lstrip()
Answer:- 4.lstrip()
Reason:- lstrip is used to get rid of the blanck space on the left it is python function.
Q:8. A Python Program is a sequence of ___ and ___.
1.data and information
2.classes and objects
3.strings and arrays
4.definitions and commands
Answer:-4.definitions and commands
Reason:- a python program is a sequence of defination and commands . its is the right answer .
Q:9. What will be the output of : type(3.5) ?
1.class double
2.class str
3.class int
4.class 'float'
Answer:- 4.class 'float'
Reason:- (3.5) is float value of python , python wil exist a type float(3.5).
Q:10. What will be the output of : int(2.5) ?
1.1
2.3
3.2
4.2.5
Answer:- 3.2
Reason:- the output of ; int(2.5) is float value but the answer is 2.
Q:11. Any input that you take in Python is of ___ data type.
1.str
2.int
3.float
4.char
Answer:- 1.str
Reason:- str is a string of phthon , python is of str data type.
Q:12. What is the output of the following : 4//5 ?
1.1
2.0.8
3.0
4.8
Answer:- 3.0
Reason:- 4//5 is the statement of the input so its right asnwer is 0 .
Q:13. What will be the value stored in y? : x, y, z = 1, 2, 3
1.1
2.2
3.3
4.None of these
Answer:- 2.2
Reason:-because the value are already stored in y so answer is called y =2.
css quiz 2 solution
Q:14. Which of the following is a valid identifier or variable?
1.well&1
2.well 1
3.well_1
4.@well
Answer:- 3.well_1
Reason:-well undersocte means well_1 is a valid identifier or variable because its are right statement.
7 Comments
Answer python quiz2???
ReplyDeleteLink are Also given this page video link
DeleteQuiz Third four ka ans nahi hai
ReplyDeleteuplode hai python ke option par jake chek karo
DeleteWeek 8 ka nhi uploade kiye ho kya
ReplyDeleteuploade hai
Deletebest
ReplyDelete