0% found this document useful (0 votes)
34 views2 pages

SCHEME OF EVALUATION-p-a

The document provides a scheme of evaluation for a Python exam containing 10 multiple choice questions worth 2 marks each. The questions cover topics such as algorithms, flowcharts, writing algorithms to solve problems, Python keywords, error types, and scalar object types in Python. An algorithm is provided to convert between Fahrenheit and Celsius temperatures.

Uploaded by

excitekarthik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

SCHEME OF EVALUATION-p-a

The document provides a scheme of evaluation for a Python exam containing 10 multiple choice questions worth 2 marks each. The questions cover topics such as algorithms, flowcharts, writing algorithms to solve problems, Python keywords, error types, and scalar object types in Python. An algorithm is provided to convert between Fahrenheit and Celsius temperatures.

Uploaded by

excitekarthik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SCHEME OF EVALUATION

PART A— (10 x 2 = 20 marks)


1. What is an algorithm?
Algorithm is a set of rules for solving a problem in finite number of steps.
An algorithm defined as a finite sequence of explicit instructions.

2. Write the advantages of flowchart.


Communication, Effective analysis, Proper documentation, Efficient Coding, Proper
Debugging
3. Write an algorithm to convert Fahrenheit to Celsius.
Step 1: start the program
Step 2: Read temperature in Fahrenheit
Step 3: To convert Fahrenheit to Celsius using formula
Celsius=(5/9)*(Fahrenheit-32)
Step 4: print Celsius
Step 5: stop the program.
4. What is problem solving?
Problem solving is about the formulation and finding solution to problems..
5. Draw a flow chart to find largest of two numbers.

6. Write an algorithm to accept two numbers compute the sum and print the result.
Step 1: start the program
Step 2: Read a and b value
Step 3: sum=a + b
Step 4: print sum
Step 5: stop the program.
7. What is keyword in python?
The interpreter uses keywords to recognize the structure of the program, and they cannot
be used as variable names.
8. What do you mean by script mode in python?
Run Python in interactive mode, which means that you interact directly with the
interpreter.
The alternative is to save code in a file called a script and then run the interpreter in script
mode to execute the script.
9. What are the various types of errors in python?
Syntax errors, semantic errors, runtime errors.
10. Name the four types of scalar objects python has?
Int, float, complex, bool

You might also like