Question: 1. What is the relation between program, flow chart, and algorithm? Draw a flowchart to find the largest integer in an initialized finite set of
1. What is the relation between program, flow chart, and algorithm? Draw a flowchart to find the largest integer in an initialized finite set of integers.
2. (a). How do we categorize different types of errors that we encounter in python programming? Explain each of them and in which phase of compilation/execution they may be detected.
(b) For a=56 and b=10 with the help of bitwise operators calculate the following:
I. a&b
II. a|b
III. a^b
IV. Left shift both a and b with 2 bits.
C. What is data type, what different categories of basic data type we have in python outline with appropriate diagram.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
