Professional Documents
Culture Documents
Ms Silchar t2 2022 - Xii - Cs
Ms Silchar t2 2022 - Xii - Cs
SECTION (A)
What is an IP Address? 01
Answer:
IP stands for "Internet Protocol” It is a unique address that identifies a device
on the internet or a local network and is the set of rules governing the format of
data sent via the internet or local network.
Answer: connect()
1
The columns or fields are generally referred as attributes of a table. Attributes defines
structure a table.
The rows are generally referred as Tuples of a table. Tuples contains data stored in one
table.
mysql> create table stmaster(stid int primary key, studentname varchar(30), date_of_birth date,
gender char(1), fee decimal, status varchar(6));
one mark for correct syntax of creating table.
OR 02
Delete is a DML command, used to delete the record as per users criteria. – 1 Mark
Drop is a DDL command used to drop or remove various database elements such as tables,
databases, views etc.- 1 Mark
SECTION (B)
This section consists of 03 Questions (8 to 10).
Each question carries 3 Marks.
8. Write AddNew (Book) and Remove(Book) methods in Python to add a new Book and 03
Remove a Book from a List of Books Considering them to act as PUSH and POP
operations of the data structure Stack?
One mark for correct definition of PUSH operation
One mark for correct definition of POP operation
One Mark for checking of Underflow and Overflow conditions
OR
Write a program to implement the stack using list.
One mark for correct definition of PUSH operation
One mark for correct definition of POP operation
2
One mark for correct peek and display operations and correct menu.
SECTION (C)
iii) To increase the price by 1000 for those customer whose name starts with ‘S’
iv) To add one more column totalprice with decimal(10,2) to the table customer
Or
3
a) Identify the Protocol, Domain Name and document in the given URL.
Protocol: https
Domain Name: silchar.kvs.ac.in
Document name : index.php
b) What is the use of ping command?
Ping command is used to check the connectivity/availability between two
computers.
ii) What are the differences between Circuit Switching Technique and Packet 02
Switching Technique?
Minimum 02 Differences. One mark for each difference
Primary Key Unique Key
In circuit switching, each data unit know In Packet switching, each data unit just
the entire path address which is provided know the final destination address
by the source intermediate path is decided by the
routers.
It is not a store and forward technique. It is a store and forward technique.
Circuit switching is more reliable. Packet switching is less reliable.
Or
Give two advantages and two disadvantages of star topology
One mark for advantages
One mark for disadvantages
Advantages:
Easy to Services
Simple Access Protocols
Centralized Control /problem diagnosis
Disadvantages
Long Cable Length
Difficult to expand
Central Node dependency
13. 04
Orbit
Building
Sunrise
Jupiter
Building
Building
Oracle
Building
4
iv) MAN, it is formed to connect various locations of the city via various communication
media.