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

Python Lab Test Pca1

The document outlines a Python II course assessment with various programming tasks, each with specific requirements and a total of 25 marks. Tasks include creating text boxes, list boxes, combo boxes, pie charts, and bar charts, as well as performing string manipulations and calculations. The distribution of marks emphasizes design, program implementation, and result analysis.

Uploaded by

sudeshnabbs
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)
2 views2 pages

Python Lab Test Pca1

The document outlines a Python II course assessment with various programming tasks, each with specific requirements and a total of 25 marks. Tasks include creating text boxes, list boxes, combo boxes, pie charts, and bar charts, as well as performing string manipulations and calculations. The distribution of marks emphasizes design, program implementation, and result analysis.

Uploaded by

sudeshnabbs
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

PYTHON II (PCCAIML492)

Time Allotted : 2 Hours Full Marks : 25


Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3

Roll No. --- --- --- --- --- --- --- --- ---
1. Create a text box
Accept a string in the first text box
Accept a word in the second text box
Create a List box in python as follow
Heading : “String”
List Items : ADD, DELETE
Action : on Selection , the first text box will show the string with or without the word as selected
…………………………………………………………………………………………………………………

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3

Roll No. --- --- --- --- --- --- --- --- ---
2. Create two text boxes
Create a Combo box in python as follow
Heading : “Calculate”
List Items : ADD, SUBTRACT, MULTIPLY
Action : on Selection , the answer will be given accordingly for the data put in the text boxes
Add DIVISION to list with its function

………………………………………………………………………………………………………………….

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3
Roll No. --- --- --- --- --- --- --- --- ---
3 . a) Create a List Box with Option Red , Blue and Green
b) Show the selected colors / color
…………………………………………………………………………………………………………………

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3
Roll No. --- --- --- --- --- --- --- --- ---
4 . a) Accept 10 unique numbers from the user
b) Draw a pie chart with corresponding number in each segment
………………………………………………………………………………………………………………….

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3
Roll No. --- --- --- --- --- --- --- --- ---
5. a) Accept 8 numbers to create two lists having 4 numbers each
b) Create a bar chart from those two lists

……………………………………………………………………………………………………………….
PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3
Roll No. --- --- --- --- --- --- --- --- ---
6. Create three text boxes
Accept a string in first text box.
Accept a word in second text box which is available in first string.
Write the third string in the third text box deleting the word from the first string

…………………………………………………………………………………………………………………

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3

Roll No. --- --- --- --- --- --- --- --- ---
7. Create three text boxes
Accept a string in first text box.
In second text box show reverse of the string
In third text box show number of vowels in the string

………………………………………………………………………………………………………………….

PYTHON II (PCCAIML492)
Time Allotted : 2 Hours Full Marks : 25
Distribution of Marks
Design 10, Program implementation 12, Result Analysis 3

Roll No. --- --- --- --- --- --- --- --- ---
8 . a) Accept four values for X and Y each
b) Draw a line graph using those values
…………………………………………………………………………………………………………………

You might also like