CH
Assignments
3. What will
x
(1)
Type A : Short Answer Questions/Conceptual Questions
1. What are tokens in Python. How
retokens in Python? How many types of tokens are allowed in Puth
Examplify your answer.
2. How are keywords different from identifiers ?
What are literals in Python ? How many types of literals are allowed in
4. Can nongraphic characters be used in Python? How ? Give ex.
5. How are floating constants represented in Python? Give example
6. How are string-literals represented and implemented in Python 2
7. Which of these is not a legal numeric type in Python ? (a) int (h
8. Which argument of print) would you set for :
allowed in Python?
examples to support your an
e examples to support your an
c type in Python ? (a) int (b) float (c) decimal
llowing line in current line?
me unary and binary oper
4. What i
( changing the default separator (space)? (11) printing the following line
9. What are operators ? What is their function ? Give examples of some
10. What is an expression and a statement ?
11. What all components can a Python program contain ?
12. What do you understand by block/code block/suite in Python ?
13. What is the role of indentation in Python ?
14. What are variables ? How are they important for a program ?
15. What do you understand by undefined variable in Python?
16. What is Dynamic Typing feature of Python ?
17. What would the following code do : X = Y = 7?
18. What is the error in following code: X, Y = 7?
19. Following variable definition is creating problem X = 0281, find reasons.
20. "Comments are useful and easy way to enhance readability and understandability of a pre
Elaborate with examples.
Answers
Answered by
12
Answer:
hyy mate I am not getting your question
Explanation:
follow me
Similar questions
English,
6 months ago
Math,
6 months ago
English,
6 months ago
Accountancy,
1 year ago
Computer Science,
1 year ago