Professional Documents
Culture Documents
18. Assertion(A): Machine Learning requires good quality and sufficient data to train and test
the algorithm.
Reason(R): For correct classification, good quality data which is free from noise and
sufficient data is required for training and testing of the algorithm.
Based on the above assertion and reasoning. Choose an appropriate statement from the
options given below:
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true
Section – B
Section – C
26. Write a program to input N numbers and then print the second largest number.
28.Consider the given table and write the commands for the following:
Table Name: Movie
Movie_Id Movie_name Category releaseDate Director
M0001 Gandhi Godse History 2023-01-26 Rajkumar Santoshi
M0002 Faraaz Action 2023-02-03 Hansal Mehta
M0003 Shehzada Drama 2023-02-10 Rohit Dhawan
M0004 Bawaal Null 2023-04-07 Nitesh Tiwari
Identify the constraints in the above statement and list them out as the column constraints
and table constraints.
30. Differentiate between Augmented Reality and Virtual Reality.
Section-D
31. The record of a student (Name, RollNo, Marks in five subjects and percentage of marks) is
stored in the following list as given:
L1=[‘Jatin’,’H-40’,[56,98,99,72,69],75.5]
Write Python statements to retrieve the following information from the list L1.
1. Display percentage of the student
2. Marks in the fifth subject
3. Maximum marks of the student
4. Roll no of the student
5. Change the name of the student from ‘Jatin’ to ‘Raghu’.
OR
Given a list L=[13,14,15,112,125.7,[12,11,10,15],188], Write a statement to get the
following output from the given list:
1.To print [14,112,[12,11,10,15]]
2.To print [13,15,125.7,188]
3.To print [14,125.7]
4.To print [12,11,10,15]
5. To print [188,125.7,15,13]
35.Your school management has decided to organize cricket matches between students of
Classes XI and XII. All the students are divided into four teams—Team Rockstars,
Team BigGamers, Team Magnet and Team Current. During the summer vacations,
various matches are to be held between these teams. Help your sports teacher do the
following:
(a) Create a database “Sports”.
(b) Create a table “TEAM” with the following considerations:
(i) It should have a column TeamID for storing an integer value between 1 and 9, which
refers to unique identification of a team.
(ii) Each TeamID should have its associated name (TeamName), which should be a string of
length not less than 10 characters.
(iii) Give the statement to make TeamID as the primary key.
(c) Show the structure of the table TEAM using SQL command.
(d) As per the preferences of the students, four teams were formed as given below.
Insert these four rows in TEAM table:
Row 1: (1, Team Rockstars)
Row 2: (2, Team BigGamers)
Row 3: (3, Team Magnet)
Row 4: (4, Team Current)
Or
(d) Add a new column ‘Position’ with appropriate datatype and constraint considering that
no values should be repeated in that column.