0% found this document useful (0 votes)
48 views1 page

CLASS XII-CS Worksheet - 14.03.2025

This document is a Computer Science worksheet for Class XII students of Everwin Group of CBSE Schools, dated March 14, 2025. It includes programming exercises such as predicting outputs of expressions, explaining jump statements, correcting code errors, and writing programs for various tasks. The tasks involve loops, conditionals, and basic arithmetic operations in Python.

Uploaded by

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

CLASS XII-CS Worksheet - 14.03.2025

This document is a Computer Science worksheet for Class XII students of Everwin Group of CBSE Schools, dated March 14, 2025. It includes programming exercises such as predicting outputs of expressions, explaining jump statements, correcting code errors, and writing programs for various tasks. The tasks involve loops, conditionals, and basic arithmetic operations in Python.

Uploaded by

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

EVERWIN GROUP OF CBSE SCHOOLS

(Kolathur-Maduravoyal-Mathur-Perambur-Surapet-Madurantakam-Rajamangalam-Paruthipattu)

DATE: 14.03.2025 COMPUTER SCIENCE WORKSHEET CLASS: XII

1. Predict the output.


a) 7 * 4+ 4**3 // 5 – 10
b) 13>6 and 9 > 15 or not 19 > 3
2. Predict the output for the following:
I)
for i in range(1,6):
for j in range(0,i):
print(i, end=" ")
print('')
II)
for i in range(1,6):
for j in range(5,i-1,-1):
print(i, end=" ")
print('')
3. Explain Jump statements with an example.
4. Rishi has written a code and his code is having errors. Rewrite the correct code and underline
the corrections made.
x=input("Enter a no:-")
if x%2=0:
for i range(2*x):
print(i)
loop else:
print("#")
5. Write a program to check whether a number is positive or negative number.
6. Write a program to print a square root of every 3rd number from range 3 to 15.
7. Write a program to find the product of two numbers by using repeated addition.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy