11 IP - PB - 24 Ans

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

I – Pre Board Examination, Jan – 2024

Informatics Practices (Answer key)


Class : XI Max Marks : 70
Date : 24/1/2024 Duration : 3 Hrs.

SECTION A

1. Language Processor 1
2. Interactive & Script 1
3. True 1
4. b. GB, TB , ZB 1
5. Select * from student; 1
6. Drop Table Backup; 1
7. Data Capturing 1
8. Describe Product; 1

9. Database Management System 1


10. Not Null, Primary Key 1
11. b. abhiZoom 1
12. a. L1= [1, 6, ‘b’, 8] 1
b. L2= [10, 20]
13. b) Models 1
14. b) VR 1
15. Smart Parking / IOT or any appropriate answer 1
16. a) All data from the table 1
17. i. Both A and R are true and R is the correct explanation for A. 1
18. iii. A is True but R is False 1

SECTION B
19. Line 1: input() function is required in place of int. 2
Line 3 and line 4 should be used with the same indent level as other lines.
Correct Code:
cname=input("Enter Name:")
bill=int(input("Enter amoumnt:"))
print(cname)
print(bill)
20. 2

21. Big data not only represents voluminous data, it also involves various challenges like 2
integration, storage, analysis, searching, processing transfer, querying and visualisation of such
data. Big data sometimes hold rich information and knowledge which is of high business value,
and therefore there is a keen effort in developing software and methods to process and analyse
big data.
Characteristics:
Volume, Velocity, Variety, Veracity, Value [ any relative answer ]
22. [True, 78, 62, 34] 2
OR
In interactive mode, instructions are given in front of Python prompt (>>>) in Python Shell.
Python carries out the given instructions and shows the result there itself.

In script mode, Python instructions are stored in a file, generally with .py extension, and
executed together in one go as a unit. The saved instructions are known as Python script or
Python program.
23. Datatype: A particular kind of data item as defined by the values it can take , the programming 2
language used or to operations that can be performed on it.
Difference between Char and Varchar is that:
Char stores only fixed-length character string data types whereas
varchar stores variable-length string where an upper limit of length is specified
24. a) 3 x 1024 x 1024 = 3145728 2

b) 3.7 x 1024 x 1024 x 1024 = 3,972,844,748.8


25. a) float b) Integer c) Boolean d) String 2

SECTION C
26. (i) High quality printouts-better than inkjet or dot matrix. 3

(ii) Fast printouts-faster than inkjet or dot matrix.

(iii) Makes very little noise-much less than inkjet or dot matrix.

(iv) Low per page cost-cheaper than inkjet or dot matrix.

27. f = float (input("Enter temperature in fahrenheit: ")) 3


c = (f - 32) * (5/9)
print('Temp in Celsius: ',c)
OR
for <Control_variable > in < sequence/items in range>:
<statements in body of loop>
else : # optional
<statements> & example
28. An identifier is the name you give to a variable, a constant, a type, a class, a function, a sub, or a 3

property.

(Any 4)

 The first character must be an uppercase or lowercase letter.

 The remaining characters must be letters, digits, or underscore ( _ ).

 A data type suffix character (%, &, !, #, @, or $) can be appended, but is not part of the

identifier.

 The maximum length is 40 characters, not including the optional suffix character.

 Names are case insensitive. For example, VerED is the same name as vered.
29. a) Create table Order( 3
OrderId varchar(5) Primary Key,
OrderName Varchar(30) Not Null,
OrderDate Date, StoreID Integer Unique);
b) insert 2 rows
30. a) Primary Key – uniquely identifies a tuple/row 3

b)

c) Data redundancy- when multiple copies of the same information are stored in more than one
place at a time.

SECTION D
31. a. Select TITLE FROM MOVIE WHERE PRICE>200 ORDER BY RATING; 4
b. Select NO, PRICE from MOVIE;
c. Select SEATS_LEFT FROM MOVIE WHERE TYPE=’ACTION’;
d. DELETE FROM MOVIE WHERE RATING=’C’;
OR
d. Select TITLE from MOVIE Order by SEATS_LEFT desc ;

32. a. remove() 4
b. append()
c. pop() / del
d. insert()

SECTION E
33. a. d={'Henil':78, 'Kartvya':82, 'Avee':93, 'Dhruvin':88, 'Shaan':94} 5
mx=max(d.values()) Output
mn=min(d.values()) Maximum: 94 [4+1]
Minimum: 78
print("Maximum:",mx)
print("Minimum:",mn)
b. 1
OR
c. word =input ("Enter the string: ")
vowels = ('a', 'e', 'i', 'o', 'u')
d = {}
for i in word:
[3+2]
if i in vowels:
d[i]= d.get(1, 0) + 1
for k,v in sorted (d.items()):
print (k, "occurred", v, "times")
& Output

d. dict_keys([5, 'a'])
dict_values([[6, 7,8], (1, 2, 3)])
34. a. Select * from employee where name like ‘D%’; 5
b. Insert into employee values (11, “sita”, 45000,, “2000-02-19”, 35, “F”);
c. d. 114000 e. 5

OR
a) Definition: Flowchart - Pictorial representation of a task.

b)

35. i. SELECT * FROM employee WHERE name LIKE 'D%'; 5


ii. INSERT INTO employee values (11, ‘Sita’, 45000, ‘Accounts’, ‘2000-02-19’, 35, ‘F’);
iii. SELECT * FROM employee ORDER BY Age DESC;
iv. 114000
v. 5

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