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

SUMMER VACATION ASSIGNMENT

The document is a summer vacation assignment sheet for Class XI Informatics Practices, containing various programming and theoretical questions related to Python and computer science concepts. It includes tasks such as differentiating between terms, writing Python programs, identifying valid identifiers, and understanding literals and variables. The assignment aims to enhance students' understanding of Python programming and computer fundamentals.

Uploaded by

boraarjunsingh9
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)
15 views1 page

SUMMER VACATION ASSIGNMENT

The document is a summer vacation assignment sheet for Class XI Informatics Practices, containing various programming and theoretical questions related to Python and computer science concepts. It includes tasks such as differentiating between terms, writing Python programs, identifying valid identifiers, and understanding literals and variables. The assignment aims to enhance students' understanding of Python programming and computer fundamentals.

Uploaded by

boraarjunsingh9
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

SUMMER VACATION ASSIGNMENT SHEET

CLASS-XI (INFORMATICS PRACTICES-065)


Q.1. Differentiate between :-
[1] interpreter and compiler [2] hardware & software [3] system and application software
Q.2. Draw the diagram of components of computer.
Q.3 State some features of Python.
Q.3. “Python is an interpreted language‟. What does it mean to you?
Q.4. Why is python called cross platform language ?
Q.5. Write programs in python:-
[a] to input r and h and calculate v1 and v2 where v1=πr^2 h, v2=1/3 πr^2 h
[b] to input radius and calculate the values of C_1=4/3 πr^3 and c2=πr(r+h)
Q.6. Identify valid or invalid identifiers:- a) 5Total b) _Radius c) pie d)While e) KV2
f) _main g) Hello_Dear1 h) 7 Sisters (i) sub#1 (j)_file (k)2ndname
Q.7. Write the type of tokens from the following: (i) if (ii) roll_no (iii)99.95 (iv)”hello”
(v) elif (vi)True (vii) hello (viii) ‘2/3 aliganj ‘ (ix) 23.44E-3 (x) 0o342
Q.8. Identify the type of literal from the following:- [a] “welcome” [b] 56.322 [c] 0o346 [d] 0b1101 [e]True [f]”false”
[g]”True” [h] 0x2AB2 [i] “indiranagar” [j] “23-2-2023”
Q.9. What will be the sizes of following constants?
(a) “\n‟ (b) “\new-file” (c) “kavita\’s Pen” (d) “\’ques‟ (e) “today’s\ndate”

Q.10. Fill in the Blanks


[a]A ___________ is a reserved word carrying special meaning and purpose.
[b]__________are the user defined names for different parts of a program.
[c]_________ are the fixed values.
[d]___________ are the symbols that trigger some computation or action.
[e]An ____________ is a legal combination of symbols that represents a value.
[f]Non-executable, additional lines added to a program, are known as ___________.
[g]In Python, the comments begin with ______character.
[h]Python is a case ________ language.
[i]The ________ function prints the value of a variable/expression.
[j]The ________ function gets the input from the user.

Q.11-Write a program to read three numbers in three variables and swap first two variables with the sums of first and
second, second and third numbers respectively
Q.12-WAP to input employee details –name, designation, department and salary. Print all the details on the screen
Q.13-WAP to input employee details –name, designation, department and salary. Calculate house rent allowance as 5%
of salary. Now print name, designation, salary and house rent allowance of the employee
Q.14-Write a program to input name of sales man, city and sales of 6 days. Find the total sales and average sales. Also
calculate the incentive if it is 10% of total sales.
Q.15- write a program to input a number and print the value of ( n2+n3+ n)/2n
Q.16. What is a python variable? Identify the variables that are invalid and state the reason:-
Class do while 4d a+ try %ph phone sub#1 manu class&sec filename
Q.17. What is None?
Q.18. How strings are represented in Python?
Q.19. Write a program to product and average of 5 numbers entered by the user.
Q.20. find the output of the following expressions:-
[1]>>> 15+7/3-2 [2]>>> 4*3+5/6+8//5 [3]>>> 32/7+3/5-9 [4]>>> 17//8//3%7 [5] 78/3+23-2

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