Assessment-2 (Set-2) Marking Scheme - 2
Assessment-2 (Set-2) Marking Scheme - 2
Set-2
Maximum Marks: 30
Section A
(1 Mark Questions)
(10x1=10)
4. What is the correct sequence to insert a record into a database table using Python?
Answer: d) connect() -> cursor() -> execute() -> commit()
Section B
(2 Mark Questions)
(6x2=12)
o Answer:
▪ A switch is an intelligent device that sends data to specific devices,
while a hub broadcasts data to all connected devices.
3. (a) Define the term Web Browser. Give examples of any two commonly used
browsers.
Answer: (a)
o Answer:
5. Explain the difference between Insert and Update queries in SQL connectivity
using Python with a suitable example.
o Answer:
o Answer:
▪ Statement: True
Section C
(3 Mark Question)
(1x3=3)
o Answer:
mycursor.execute(qry) # Statement 2
mydb.commit() # Statement 3
Section D
b) Best cable layout: Star topology connecting the server to all buildings
directly.