SlideShare a Scribd company logo
1 of 3
Download to read offline
KENDRIYA VIDYALAYA NO. 2 ARMY BHUJ
PERIODIC TEST-3 (2021-22)
Class : XII Duration : 90 Min.
Sub. : COMP. SC. (Python) Max. Marks : 35
---------------------------------------------------------------------------------------
Note – All questions are compulsory.
(1.) MultipleChoiceQuestions– [5marks]
A. Arelationaldatabaseconsists ofa collection of
(a.) Tuples (b.) Attributes (c.) Relations (d.) Keys
B. What is the full form of SMTP ?
(a.) Secure Mail Transfer Protocols
(b.) Simple Mail Transfer Protocol
(c.) Simple Meet Transaction Protocol
(d.) Noneofthese
C. ConsiderfollowingSQLcommand.Whattypeofcommandisthis?
ALTER TABLE
(a.) DML (b.) DDL (c.) DCL (d.) None of the above
D. The data type CHAR(n) and VARCHAR(n) areused to create ,and types
of string/text fields in a database.
(a.) Fixed, Equal (b.) Equal,Variable
(c.) Fixed, Variable (d.) Variable,Equal
E. ---------------------- is a device that works on the receive and broadcast method.
(a.) Modem (b.) Hub
(c.) Switch (d.) None of the above
(2.) Expand the followings: (i) VoIP (ii) SIM (iii)SSH (iv) NFC [2marks]
(3.) Identify the error in the following SQL query which is expected to delete all rows of a table TEMP
without deleting its structure and write the correct one:
DELETE TABLE TEMP; [1 marks]
(4.) Identify the Guided and Un-Guided Transmission Media out of the following:
Satellite, Twisted Pair Cable, Optical Fiber, Infra-Red waves
5.) Definetheseterms(withexample)– [2marks]
(a.) PrimaryKey (b.) Foreign key
(6.) DifferentiatebetweenDDLandDMLcommands.Write02commandsforeachtype. [2marks]
(7.) Write the name of topology in which all the nodes are connected through a single path cable.
[1 mark]
(8.) Write command to list the available databases in MySQL? [1 mark]
(9.) Write SQL statement to create the following table (with given constraints) – [3marks]
Table- Album
Field Name Data Type Data Limit Constraint
Album_id Integer 4 PRIMARY KEY
Album Text 20 NOT NULL
Cost Integer (5)
Qty Integer 3 DEFAULT 0
Album_no Integer UNIQUE
Discount Numeric (4)
(10.) In a existingtableEMPLOYEEwritecommandfor these– [3marks]
a.) add a column named SPECIAL PAY of data type INT(5) and with a DEFAULT value of
2400.
b.) Modifycolumn JOB to havenew widthof 30 characters.
c.) RemovetheJOB_IDcolumnoftheEMPLOYEEtable.
(11.) ConsiderthefollowingCLUBtableandwriteSQLqueriesfrom(a)to(e) [6marks]
Table: CLUB
COACH_ID COACHNAME AGE SPORTS DATOFAPP PAY SEX
1 KUKREJA 35 KARATE 27/03/1996 1000 M
2 RAVINA 34 KARATE 20/01/1998 1200 F
3 KARAN 34 SQUASH 19/02/1998 2000 M
4 TARUN 33 BASKETBALL 01/01/1998 1500 M
5 ZUBIN 36 SWIMMING 12/01/1998 750 M
6 KETAKI 36 SWIMMING 24/02/1998 800 F
7 ANKITA 39 SQUASH 20/02/1998 2200 F
8 ZAREEN 37 KARATE 22/02/1998 1100 F
9 KUSH 41 SWIMMING 13/01/1998 NULL M
10 SHAILYA 37 BASKETBALL 19/02/1998 1700 M
(a.)Toshow all theinformationabout theswimmingcoaches intheclub .
(b.)Tolistnamesofallcoacheswiththeirdateofappointment(DATOFAPP)indescendingorder.
(c.) To display a report , showing coachname , pay ,age and bonus (15% of pay) for all the
coaches.[ the name of the field 15% of payshould be ‘Bonus’ ]
(d.)Todisplaytotalno.ofmaleandfemalecoachesindividually.
(e.)To displaydetail of the coachesindescending order based coachname.
(f.) Todisplaycoachnameinwhichnamecontains2nd characteras‘A’.
(12.) Writeoutput of thefollowingSQLqueries basedon abovementioned CLUBtable. [4marks]
(a.)SELECT COUNT(pay) FROM club ;
(b.)SELECT coachname, datofapp FROM CLUB WHERE Sports= “Karate” and Sex=”F” ;
(c.) SELECT AVG(age) “AVERAGE AGE” FROM club.
(d.)SELECTCOUNT(*)FROMclubGROUPBYSEX;
(13.)Rehaana Medicos Center has set up its new center in Dubai. It has four buildings as shown in the
diagram given below: [5Marks]
As a network expert, provide the best possible answer for the following queries:
i) Suggest a cable layout of connections between the buildings.
ii) Suggest the most suitable place (i.e. buildings) to house the server of this organization.
iii) Suggest the placement of the following device with justification: a) Repeater b) Hub/Switch
iv) Suggest a system (hardware/software) to prevent unauthorized access to or from the network.
v) Which cable is best suited for above layout.

More Related Content

What's hot

Prim Algorithm and kruskal algorithm
Prim Algorithm and kruskal algorithmPrim Algorithm and kruskal algorithm
Prim Algorithm and kruskal algorithmAcad
 
Symbolic Regression on Network Properties
Symbolic Regression on Network PropertiesSymbolic Regression on Network Properties
Symbolic Regression on Network PropertiesMarcus Märtens
 
A presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithmA presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithmGaurav Kolekar
 
Homework 1 of Optical Semiconductor
Homework 1 of Optical SemiconductorHomework 1 of Optical Semiconductor
Homework 1 of Optical SemiconductorLê Đại-Nam
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)Madhu Bala
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphsHussain K
 
Signal Flow Graph ( control system)
Signal Flow Graph ( control system)Signal Flow Graph ( control system)
Signal Flow Graph ( control system)Gourab Ghosh
 
2.4 mst prim’s algorithm
2.4 mst  prim’s algorithm2.4 mst  prim’s algorithm
2.4 mst prim’s algorithmKrish_ver2
 
Block Reduction Method
Block Reduction MethodBlock Reduction Method
Block Reduction MethodSmit Shah
 
Block reduction technique
Block reduction techniqueBlock reduction technique
Block reduction techniquerajkumar ch
 

What's hot (17)

133467 p2a2
133467 p2a2133467 p2a2
133467 p2a2
 
Prim Algorithm and kruskal algorithm
Prim Algorithm and kruskal algorithmPrim Algorithm and kruskal algorithm
Prim Algorithm and kruskal algorithm
 
Block diagram reduction techniques
Block diagram reduction techniquesBlock diagram reduction techniques
Block diagram reduction techniques
 
Symbolic Regression on Network Properties
Symbolic Regression on Network PropertiesSymbolic Regression on Network Properties
Symbolic Regression on Network Properties
 
A presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithmA presentation on prim's and kruskal's algorithm
A presentation on prim's and kruskal's algorithm
 
Two port-networks
Two port-networksTwo port-networks
Two port-networks
 
Org Beamer
Org BeamerOrg Beamer
Org Beamer
 
Homework 1 of Optical Semiconductor
Homework 1 of Optical SemiconductorHomework 1 of Optical Semiconductor
Homework 1 of Optical Semiconductor
 
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphs
 
Signal Flow Graph ( control system)
Signal Flow Graph ( control system)Signal Flow Graph ( control system)
Signal Flow Graph ( control system)
 
Hardcore functional programming
Hardcore functional programmingHardcore functional programming
Hardcore functional programming
 
2.4 mst prim’s algorithm
2.4 mst  prim’s algorithm2.4 mst  prim’s algorithm
2.4 mst prim’s algorithm
 
Topological sort
Topological sortTopological sort
Topological sort
 
Block Reduction Method
Block Reduction MethodBlock Reduction Method
Block Reduction Method
 
Block Diagram Reduction
Block Diagram ReductionBlock Diagram Reduction
Block Diagram Reduction
 
Block reduction technique
Block reduction techniqueBlock reduction technique
Block reduction technique
 

Similar to KENDRIYA VIDYALAYA NO. 2 ARMY BHUJ PERIODIC TEST-3 (2021-22) COMPUTER SCIENCE CLASS XII

[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...Mumbai B.Sc.IT Study
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...Mumbai B.Sc.IT Study
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016][Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]Mumbai B.Sc.IT Study
 
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...Mumbai B.Sc.IT Study
 
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...Selva Kumar
 
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...Mumbai B.Sc.IT Study
 
xii-ip-support-material.pdf
xii-ip-support-material.pdfxii-ip-support-material.pdf
xii-ip-support-material.pdfkajalkhorwal106
 
2015 16combinepdf
2015 16combinepdf2015 16combinepdf
2015 16combinepdfmadhesi
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPERVISHNUPRABHANKAIMAL
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPERVISHNUPRABHANKAIMAL
 
Query optimization techniques for partitioned tables.
Query optimization techniques for partitioned tables.Query optimization techniques for partitioned tables.
Query optimization techniques for partitioned tables.Ashutosh Bapat
 
System software
System softwareSystem software
System softwareMobiless
 
Vlsi model question paper 3 (june 2021)
Vlsi model question paper 3 (june 2021)Vlsi model question paper 3 (june 2021)
Vlsi model question paper 3 (june 2021)PUSHPALATHAV1
 

Similar to KENDRIYA VIDYALAYA NO. 2 ARMY BHUJ PERIODIC TEST-3 (2021-22) COMPUTER SCIENCE CLASS XII (20)

[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
 
1st Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
1st  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...1st  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
1st Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016][Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
 
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
 
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
 
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
 
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
2nd  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...2nd  Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
 
xii-ip-support-material.pdf
xii-ip-support-material.pdfxii-ip-support-material.pdf
xii-ip-support-material.pdf
 
5th Semester (June; July-2015) Computer Science and Information Science Engin...
5th Semester (June; July-2015) Computer Science and Information Science Engin...5th Semester (June; July-2015) Computer Science and Information Science Engin...
5th Semester (June; July-2015) Computer Science and Information Science Engin...
 
8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
 
2015 16combinepdf
2015 16combinepdf2015 16combinepdf
2015 16combinepdf
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
 
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPEREC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
 
8th Semester Electronic and Communication Engineering (June/July-2015) Questi...
8th Semester Electronic and Communication Engineering (June/July-2015) Questi...8th Semester Electronic and Communication Engineering (June/July-2015) Questi...
8th Semester Electronic and Communication Engineering (June/July-2015) Questi...
 
Query optimization techniques for partitioned tables.
Query optimization techniques for partitioned tables.Query optimization techniques for partitioned tables.
Query optimization techniques for partitioned tables.
 
System software
System softwareSystem software
System software
 
Vlsi model question paper 3 (june 2021)
Vlsi model question paper 3 (june 2021)Vlsi model question paper 3 (june 2021)
Vlsi model question paper 3 (june 2021)
 
2nd Semester M Tech: Structural Engineering (June-2015) Question Papers
2nd  Semester M Tech: Structural Engineering  (June-2015) Question Papers2nd  Semester M Tech: Structural Engineering  (June-2015) Question Papers
2nd Semester M Tech: Structural Engineering (June-2015) Question Papers
 
Doc 20180130-wa0006
Doc 20180130-wa0006Doc 20180130-wa0006
Doc 20180130-wa0006
 

Recently uploaded

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 

Recently uploaded (20)

Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 

KENDRIYA VIDYALAYA NO. 2 ARMY BHUJ PERIODIC TEST-3 (2021-22) COMPUTER SCIENCE CLASS XII

  • 1. KENDRIYA VIDYALAYA NO. 2 ARMY BHUJ PERIODIC TEST-3 (2021-22) Class : XII Duration : 90 Min. Sub. : COMP. SC. (Python) Max. Marks : 35 --------------------------------------------------------------------------------------- Note – All questions are compulsory. (1.) MultipleChoiceQuestions– [5marks] A. Arelationaldatabaseconsists ofa collection of (a.) Tuples (b.) Attributes (c.) Relations (d.) Keys B. What is the full form of SMTP ? (a.) Secure Mail Transfer Protocols (b.) Simple Mail Transfer Protocol (c.) Simple Meet Transaction Protocol (d.) Noneofthese C. ConsiderfollowingSQLcommand.Whattypeofcommandisthis? ALTER TABLE (a.) DML (b.) DDL (c.) DCL (d.) None of the above D. The data type CHAR(n) and VARCHAR(n) areused to create ,and types of string/text fields in a database. (a.) Fixed, Equal (b.) Equal,Variable (c.) Fixed, Variable (d.) Variable,Equal E. ---------------------- is a device that works on the receive and broadcast method. (a.) Modem (b.) Hub (c.) Switch (d.) None of the above (2.) Expand the followings: (i) VoIP (ii) SIM (iii)SSH (iv) NFC [2marks] (3.) Identify the error in the following SQL query which is expected to delete all rows of a table TEMP without deleting its structure and write the correct one: DELETE TABLE TEMP; [1 marks] (4.) Identify the Guided and Un-Guided Transmission Media out of the following: Satellite, Twisted Pair Cable, Optical Fiber, Infra-Red waves 5.) Definetheseterms(withexample)– [2marks] (a.) PrimaryKey (b.) Foreign key (6.) DifferentiatebetweenDDLandDMLcommands.Write02commandsforeachtype. [2marks] (7.) Write the name of topology in which all the nodes are connected through a single path cable. [1 mark] (8.) Write command to list the available databases in MySQL? [1 mark] (9.) Write SQL statement to create the following table (with given constraints) – [3marks]
  • 2. Table- Album Field Name Data Type Data Limit Constraint Album_id Integer 4 PRIMARY KEY Album Text 20 NOT NULL Cost Integer (5) Qty Integer 3 DEFAULT 0 Album_no Integer UNIQUE Discount Numeric (4) (10.) In a existingtableEMPLOYEEwritecommandfor these– [3marks] a.) add a column named SPECIAL PAY of data type INT(5) and with a DEFAULT value of 2400. b.) Modifycolumn JOB to havenew widthof 30 characters. c.) RemovetheJOB_IDcolumnoftheEMPLOYEEtable. (11.) ConsiderthefollowingCLUBtableandwriteSQLqueriesfrom(a)to(e) [6marks] Table: CLUB COACH_ID COACHNAME AGE SPORTS DATOFAPP PAY SEX 1 KUKREJA 35 KARATE 27/03/1996 1000 M 2 RAVINA 34 KARATE 20/01/1998 1200 F 3 KARAN 34 SQUASH 19/02/1998 2000 M 4 TARUN 33 BASKETBALL 01/01/1998 1500 M 5 ZUBIN 36 SWIMMING 12/01/1998 750 M 6 KETAKI 36 SWIMMING 24/02/1998 800 F 7 ANKITA 39 SQUASH 20/02/1998 2200 F 8 ZAREEN 37 KARATE 22/02/1998 1100 F 9 KUSH 41 SWIMMING 13/01/1998 NULL M 10 SHAILYA 37 BASKETBALL 19/02/1998 1700 M (a.)Toshow all theinformationabout theswimmingcoaches intheclub . (b.)Tolistnamesofallcoacheswiththeirdateofappointment(DATOFAPP)indescendingorder. (c.) To display a report , showing coachname , pay ,age and bonus (15% of pay) for all the coaches.[ the name of the field 15% of payshould be ‘Bonus’ ] (d.)Todisplaytotalno.ofmaleandfemalecoachesindividually. (e.)To displaydetail of the coachesindescending order based coachname. (f.) Todisplaycoachnameinwhichnamecontains2nd characteras‘A’. (12.) Writeoutput of thefollowingSQLqueries basedon abovementioned CLUBtable. [4marks] (a.)SELECT COUNT(pay) FROM club ; (b.)SELECT coachname, datofapp FROM CLUB WHERE Sports= “Karate” and Sex=”F” ; (c.) SELECT AVG(age) “AVERAGE AGE” FROM club. (d.)SELECTCOUNT(*)FROMclubGROUPBYSEX;
  • 3. (13.)Rehaana Medicos Center has set up its new center in Dubai. It has four buildings as shown in the diagram given below: [5Marks] As a network expert, provide the best possible answer for the following queries: i) Suggest a cable layout of connections between the buildings. ii) Suggest the most suitable place (i.e. buildings) to house the server of this organization. iii) Suggest the placement of the following device with justification: a) Repeater b) Hub/Switch iv) Suggest a system (hardware/software) to prevent unauthorized access to or from the network. v) Which cable is best suited for above layout.