You are on page 1of 5

Le mer Public School, Thriprayar

ANNUAL EXAMINATION [2020-21]


INFORMATICS PRACTICES
Class : XI Time : 3 Hour
Date: 01-03-2021 Marks: 70
General Instructions:
i) All questions are compulsory.
ii) Answer the questions after carefully reading the text.
iii) Do all the parts of same questions together.
1. What is Tuple? 1

2. 1 Mega Byte = ___________ Byte 1


1 Bytes = ____________ Nibbles
3. _____________ is an interdisciplinary field that integrates computer science 1
and engineering
4. A table has 5 columns and 10 rows. What is its degree and cardinality. 1

5. What are the two parts of main memory? 1

6. Write any two weaknesses of computer? 1

7. Charvi is inserting “Sharma” in the “LastName” column of the “Emp” table but 1
an error is being displayed. Write the correct SQL statement.
INSERT INTO Emp(‘Sharma’)VALUES(LastName) ;
8. Which of the following are not hardware: 1
(i) Printer (iii) Keyboard (iv) CPU (v) Assembler (vi) A Java Program
9. Write mysql command to create a database named School. 1

10. _________________ is the technique with which a machine is made to think 1


and take decisions like human beings.
11. Which keyword eliminates the redundant data from a query result? 1

12. What is the difference between compiler and interpreter? 1

13. In a relational model, relations are termed as_____________. 1


(A) Tuples. (B) Attributes (C) Tables. (D) Rows.
14. How would you calculate 13*15 in SQL? 1

15. Give one point of difference between the primary key and Alternate key. 1

16. Draw the basic architecture of computer along with the functioning of each of 2
its subunit.
17. What is the difference between Cloud Computing and Grid Computing? 2

18. What is SQL? What are the different categories of commands of SQL? 2

19. What are the types of printers? Write an example for each. 2

20. What is a database? Write any four advantages of database. 2

21. What is Big Data? Write the Characteristics of Big Data. 2

22. What is an Operating System? Name any two example. 2

23. Write an SQL query to create the table Customer with the following: 2
FIELD TYPE CONSTRAINT
C_ID Integer (5) Primary Key
CustName Varchar (20)
City Varchar (20)
Price Decimal (5,2)
24. What command is used for- 4
a. To change/open a database
b. To view the table structure
c. To delete a database
d. To modify the structure of table
25. Name the input or output device used to do the following: 4
a) To output audio
b) To enter textual data
c) To display the data or information
d) To enter audio-based command
26. Consider the following table ‘Employee’. Write SQL commands for the 6
statements (i) to (vi) .
EMPNO ENAME CITY JOB DOJ SAL COMM DEPTID

8369 SMITH MUMBAI CLERK 1990-12-18 2050.00 NULL 10

8499 ANYA VARANASI SALESMAN 1991-02-20 1600.00 300.00 20

8521 SETH JAIPUR SALESMAN 1990-02-22 2985.00 500.00 30

8566 MAHADEV DELHI MANAGER 1991-04-02 2250.00 600.00 20

8654 MOHASIN MUMBAI SALESMAN 1991-01-05 2850.00 400.00 30

8698 BINA DELHI CLERK 1991-06-09 2450.00 NULL 10

8882 SHIVANSH JAIPUR MANAGER 1992-12-09 3000.00 450.00 10

8888 SCOTT BENGALURU ANALYSIT 1991-11-18 5000.00 250.00 20

8839 AMIR BENGALURU PRESIDENT 1992-04-08 9000.00 NULL 30

8834 KULDEEP DELHI SALESMAN 1991-09-28 1500.00 150.00 20

i)Display the details of all the employees whose salary is between 2000 and
3000.

ii)Display the details of all the employees whose names contain ‘a’ as the
second character.

iii) Increase the salary of manager by 10%.

iv) Display the names of all the employees who are working in department 20
or 30.

v) Display the names of employees who joined on or after 01/05/1991.

vi)Add another column provident fund of type (7,2) in the Employee table
default amount as 2000.
27. If the value of a = 20 and b = 20, then a+=b will assign ________ to “a”. 1

a) 30 b) 40 c) 20 d) 10
28. Which is used to represent a dictionary? 1

a. [ ] b. ( ) c. -> d. { }
29. What is the use of pop() in lists? 1

30. if X=[18,13,25,39,55], then what will be the output of X[ : :-1] 1

a) [18,25,55] b) [13,39] c) [55,39,25,13,18] d) [55,25,18]


31. __________ are used to add a remark or a note in the source code or 1
program.

(a) Commands (b) Comments (c) IDLE (d) Shell


32. Even={2:’Two’,4:’Four’,6:’Six’} 1
Write the output of the command:
print(Even.values())
33. Find the output of the following code: 2
p=10
q=3
s=p%q
t=p/q
u=p//q
print(s,t,u)
34. Find the value of each expression if x=10 and y=4. 2

(i) x/y (ii) x<=y (iii) x!=y (iv) ( x>y) and ( x<20)
35. Consider the following list and predict the out of slicing operation given 2
list1=[‘Red’,’Green’,’Blue’,’Cyan’,’Magenta’,’Yellow’,’Black’]
1. list1[0:6:2]
2. list1[-6 : -2]
36. Rewrite the following code 2

(a) using while loop:

for x in range(10,20,2):

print(x)

(b) Using for loop

p=1

s=0

while p<10:

s+=p

p+=1

print (s)

37. Write pseudo code and algorithm to find the area and perimeter of a 2
rectangle.
Write python program for the following:

38. To swap the value between two numbers. 2

39. To input age of a person and check whether he/she is eligible to vote or not. 2

40. To print the multiplication table of a number 2

41. To find the largest of three numbers. 3

You might also like