Page 250 - CTS - CSA TP - Volume 2
P. 250
COMPUTER SOFTWARE APPLICATION - CITS
Related Exercises
1 Data Type Operations:
• Question: Create a Python program that performs operations on different data types (int, float, string).
Include arithmetic operations and display the results.
2 String Operations:
• Question: Write a Python program that manipulates strings. Perform operations like concatenation, slicing,
and converting the case of the string. Display the modified strings.
3 Date Operations:
• Question: Develop a Python program that works with dates. Perform operations such as getting the current
date, adding a specified number of days to the current date, and displaying the results.
4 Input and Output:
• Question: Create a Python program that takes user input, processes it, and displays the result. Include
appropriate prompts for the user and handle different data types.
5 Output Formatting and Operators:
• Question: Write a Python program that uses output formatting and demonstrates the use of comparison
operators. Include examples that format output using f-strings and perform comparisons between variables.
235
CITS : IT & ITES - Computer Software Application - Exercise 123