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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started