Untitled Document

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

1.

True
2. 2. Alter table tablename modify Ename varchar(24);
3. 24.6
4.

5.d)
6.. Satellite/ Microwave
7.print(200 in mydict.values())
8.b) idnIe$n
9. b)
10. d)&b)
11.a
12.c
13. True
14.c
15. Router
16.Error
17.c
18.d

19. a)Circuit switching : Path Dependent


Packet switching : Independent On path
b)Network Interface Unit and Unifor Resource Locator
a) Modelator Demodulator and Gereral Packet Radio Service
b) Enables you to host website in web browser
20.Def — def
return status
K == 0
Check”
21.
a. def chk(dic):
count = 0
for keys in dic:
if dic[keys][2]==2020:
count+=1
print(count)
srt = sorted(dic)
print(srt)

b.def List_Indes(tuple):
l = []
for i in range(len(tuple)):
if tuple[i]!=0:
l.append(i)

22.[20.0,21,62.0,3,5]

23a..mysql.connector
b. 1Work as screen cursor between python shell and mysql
2 To execute to query and get result set
Or
a.[80,60,40,20]
b.16

24.
a.
Create table projectinfo(stud_roll int(3) NOT NULL UNIQUE,
Name Varchar(15) NOT NULL,
Project_name vgarchar(20) NOT NULL UNIQUE,
Number_of_student int(4) check(number_of_student>1)
Date_of_submission date default 6-6-2022);

B Alter table projectinfo add primary key(stud_roll)

Or

a) Alter table sports drop column categegory


And alter table sports add( Typesport char(24));

25)
Division performed successfully
The result of division operation is 10.0
OVER AND OUT
Division performed successfully
The result of division operation is 5.0
OVER AND OUT
Denominator as ZERO is not allowed
OVER AND OUT

26 .same as yours

27.

a. A1 Amrita Saving Delhi


A2 Parthodas Curerent Mumbai
A1 Amrita Saving Nagpur

B.
1)TID
101
102
104
103

2)
101 2 12000

3) Digital Marketing
Mobile Application Development

4) 15500
28.
def Count_Words():
count = 0
file = open('Alpha.txt')
lines = file.read()
sp = lines.split()
for i in sp:
for j in i:
if j.isdigit():
count+=1
break

print(count)
Count_Words()

29.
def divi(N):
lst = []
for i in N:
if i%3==0:
lst.append(i)
def pop(lst):
print(lst.pop(),end='')

32)def create():
file = open('Employee.csv','a',newline ='')
Roll = int(input('Enter Roll Number : '))
Name = input('Enter Name : ')
Salary = float(input('Enter Salary : '))
record = [Roll,Name,Salary]
writer_obj = csv.writer(file)
writer_obj.writerow(record)
file.close()

def search():
file = open('Employee.csv','r')
reader_obj = csv.reader(file)
n = int(input('Enter Roll Number To Be Searched : '))
for line in reader_obj:
if int(line[0]) == n:
print(line)
file.close()

def display():
file = open('Employee.csv','r')
reader_obj = csv.reader(file)
for line in reader_obj:
print(line)
file.close()

33.

1 Star Topology

2 Admin

3 Admin to senior and admin to junior as it exceeds ablove 80m so repeater should be placed
Switch/Hub should be placed in every block to connect the computer network

4.Microwave
5.Microwave

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