0% found this document useful (0 votes)
17 views4 pages

Worksheet 1 XII Physics

Worksheet of all sub as per new pattern

Uploaded by

ykumawat604
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)
17 views4 pages

Worksheet 1 XII Physics

Worksheet of all sub as per new pattern

Uploaded by

ykumawat604
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/ 4

TSSM’S

CYGNET PUBLIC SCHOOL [ NEW]AND JUNIOR COLLEGE


NARHEACADEMIC YEAR [ 2024 – 25]
CLASS XII
Worksheet-1

Sub:Computer science Marks:40


Date: Time:2 Hrs.

Q Questions Marks
No

1 1
Which of the follwing Python functions is used to iterate over a sequence of
number by specifying a numeric end value within its parameters?
a.range() b.len() c.substring() d. random()

2 Identify the valid declaration of L: 1


L={1:’MON’,2:’23’,3:’hello’,4:’60.5’}
a. Dictionary b.string c. tuple d. list

3 What will be the output of the following statement: 1


print(3-2**2**3+99/11)
a. 244 b. 244.0
c. -244.0 d. Error
4 Which of the following is valid variable name? 1
a. Student Name b. 3Number
c.%Name% d. Block_number
4. A function in python begins with which keyword? 1

(a) Void (b) return

(c ) int (d) def


5. A variable created or defined within a function body is 1
classified as

a ) local b) global

c) built-in d) instance
6. Which of the following keywords are not specific to exception 1
handling?

a ) try b) except c) else d)finally

7. Name the statement that sends back a value from a function. 1

a ) print b) input c) return d) None

8. The errors encountered when a user violates the syntax of a 1


programming language while writing a code are termed as.

a ) Compile time error b) Logical error

c)Runtime error d) Exception

9. Which amongst the following is a mutable data type in Python? 1

a) int b) string

c) tuple d) list

10. The statement Bval=str1>str2 shall return , if two strings str1 1


and str2 contains “Delhi” and “New Delhi”.

a ) True b)Delhi c) New Delhi d)False


Section B
VERY SHORT ANSWER QUESTION
(2*3=6)
11. What is Python module? What is its significance? 2

12. Why is Python interpreted? 2

13 Write program to add 3 number in Python. 2

Section C
SHORT ANSWER-BASED QUESTIONS (3x2=6)

14. 3
Define a network. What is its need.

15. Differentiate between FTP and HTTP. 3

Section D
LONG ANSWER-BASED QUESTIONS (5X2=10)

16. A)Give one difference between XML and HTML. 5


B)How is http different from https?

17. What is the difference between “w” and “a” modes? 5

Section E
QUESTIONS (4X2=8)
18. Explain Bus topology and Star topology. 4

19. What is TCP/IP? 4

You might also like