0% found this document useful (0 votes)
10 views3 pages

Assessment-2 (Set-2) Marking Scheme - 2

Marking scheme

Uploaded by

luckykmbabrala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views3 pages

Assessment-2 (Set-2) Marking Scheme - 2

Marking scheme

Uploaded by

luckykmbabrala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Marking Scheme - Assessment I (2024-25)

Class XII – Computer Science

Set-2
Maximum Marks: 30

Section A

(1 Mark Questions)
(10x1=10)

1. Which placeholder is commonly used with execute() to insert data dynamically?


Answer: b) %s

2. Computers connected by a network across the globe is an example of:


Answer: WAN

3. How can data be retrieved row by row from a query result?


Answer: a) Using fetchone()

4. What is the correct sequence to insert a record into a database table using Python?
Answer: d) connect() -> cursor() -> execute() -> commit()

5. What is the role of a web browser?


Answer: b) To display web pages and interact with web servers

6. What is the full form of URL?


Answer: b) Uniform Resource Locator

7. What does the rowcount attribute of a cursor object represent?


Answer: b) The number of rows affected by the last query

8. Which of the following is NOT a part of a URL?


Answer: d) Web server

9. Which service is required to make a website accessible on the internet?


Answer: a) Web hosting

10. Which Python method is used to create a cursor object?


Answer: b) cursor()

Section B

(2 Mark Questions)
(6x2=12)

1. How is a Switch different from a Hub? Write one disadvantage of a Hub in


comparison to a Switch.

o Answer:
▪ A switch is an intelligent device that sends data to specific devices,
while a hub broadcasts data to all connected devices.

▪ Disadvantage of Hub: Hub increases network traffic due to


broadcasting.

2. Write the expanded names for the following terms:

o POP3: Post Office Protocol version 3

o HTTPs: HyperText Transfer Protocol Secure

o FTP: File Transfer Protocol

o WWW: World Wide Web

3. (a) Define the term Web Browser. Give examples of any two commonly used
browsers.

(b) What is the need for protocols?

Answer: (a)

▪ A web browser is a software application used to access and display


web pages.

▪ Examples: Google Chrome, Mozilla Firefox.

(b) Need for protocols: Protocols are needed to establish


communication rules and standards for data transfer over a network.

4. Differentiate between wired and wireless transmission medium, giving one


example of each.

o Answer:

▪ Wired: Uses cables for data transmission. Example: Ethernet.

▪ Wireless: Transmits data without physical cables. Example: Wi-Fi.

5. Explain the difference between Insert and Update queries in SQL connectivity
using Python with a suitable example.

o Answer:

▪ Insert: Adds new records to the database. Example: INSERT INTO


table_name VALUES (...);

▪ Update: Modifies existing records. Example: UPDATE table_name


SET column=value WHERE condition;

6. Fill in the blanks and True/False:

o Answer:

▪ Blank: PPP # as per changed question

▪ Statement: True
Section C

(3 Mark Question)
(1x3=3)

1. Python code for database connectivity:

o Answer:

mycursor = mydb.cursor() # Statement 1

mycursor.execute(qry) # Statement 2

mydb.commit() # Statement 3

Section D

(5 Mark Case Study)


(1x5=5)

1. Suggestions for Ayurveda Training Educational Institute:

a) Main server location: Administrative Office (due to the maximum number of


computers).

b) Best cable layout: Star topology connecting the server to all buildings
directly.

c) Devices for each building: Switch.

d) Topology and network cable:

i. Topology: Star topology.

ii. Cable: Ethernet cable.

e) Type of network: LAN.

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