11 IP - PB - 24 Ans
11 IP - PB - 24 Ans
11 IP - PB - 24 Ans
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
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
SECTION C
26. (i) High quality printouts-better than inkjet or dot matrix. 3
(iii) Makes very little noise-much less than inkjet or dot matrix.
property.
(Any 4)
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)