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

PDF
actel fpga problems
PDF
xilinx fpga problems
PDF
[Question Paper] Electronic and Communication Technology (Revised Course) [Ma...
PDF
Implementation of Stronger S-Box for Advanced Encryption Standard
PDF
Gate level minimization (2nd update)
DOCX
MAT 209 Final Exam 2015 version
PPTX
C PROGRAMS - SARASWATHI RAMALINGAM
PPT
Week 10 part 1 pe 6282 Block Diagrams
actel fpga problems
xilinx fpga problems
[Question Paper] Electronic and Communication Technology (Revised Course) [Ma...
Implementation of Stronger S-Box for Advanced Encryption Standard
Gate level minimization (2nd update)
MAT 209 Final Exam 2015 version
C PROGRAMS - SARASWATHI RAMALINGAM
Week 10 part 1 pe 6282 Block Diagrams

What's hot (16)

PPT
Prim Algorithm and kruskal algorithm
PPT
Block diagram reduction techniques
PDF
Symbolic Regression on Network Properties
PPTX
A presentation on prim's and kruskal's algorithm
PDF
Two port-networks
PDF
Org Beamer
PDF
Homework 1 of Optical Semiconductor
PPTX
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
PPTX
Block diagrams and signal flow graphs
PPTX
Signal Flow Graph ( control system)
PDF
Hardcore functional programming
PPT
2.4 mst prim’s algorithm
PPT
Topological sort
PPTX
Block Reduction Method
PPTX
Block Diagram Reduction
PPTX
Block reduction technique
Prim Algorithm and kruskal algorithm
Block diagram reduction techniques
Symbolic Regression on Network Properties
A presentation on prim's and kruskal's algorithm
Two port-networks
Org Beamer
Homework 1 of Optical Semiconductor
GRAPH APPLICATION - MINIMUM SPANNING TREE (MST)
Block diagrams and signal flow graphs
Signal Flow Graph ( control system)
Hardcore functional programming
2.4 mst prim’s algorithm
Topological sort
Block Reduction Method
Block Diagram Reduction
Block reduction technique
Ad

Similar to Pt 3 xii cs final (20)

PDF
Computer Science Paper 1 (Theory) - 2019 (1).pdf
PDF
Computer Science Paper 1 (Theory) - 2019.pdf
PDF
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
PDF
1st Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
PDF
[Question Paper] Fundamentals of Digital Computing (Revised Course) [April / ...
PDF
[Question Paper] Fundamentals of Digital Computing (Revised Course) [May / 2016]
PDF
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
PDF
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
PDF
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
PDF
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
PDF
xii-ip-support-material.pdf
PDF
5th Semester (June; July-2015) Computer Science and Information Science Engin...
PDF
8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
PDF
2015 16combinepdf
PDF
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
PDF
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
PDF
8th Semester Electronic and Communication Engineering (June/July-2015) Questi...
PDF
Query optimization techniques for partitioned tables.
PDF
System software
PDF
Vlsi model question paper 3 (june 2021)
Computer Science Paper 1 (Theory) - 2019 (1).pdf
Computer Science Paper 1 (Theory) - 2019.pdf
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [Septem...
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) [May / 2016]
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [June /...
III EEE-CS2363-Computer-Networks-important-questions-for-unit-3-for-may-june-...
[Question Paper] Microprocessor and Microcontrollers (Revised Course) [April ...
2nd Semester M Tech: Computer Science and Engineering (Jun-2016) Question Pa...
xii-ip-support-material.pdf
5th Semester (June; July-2015) Computer Science and Information Science Engin...
8th Semeste Electronics and Communication Engineering (June-2016) Question Pa...
2015 16combinepdf
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
EC202 SIGNALS & SYSTEMS PREVIOUS QUESTION PAPER
8th Semester Electronic and Communication Engineering (June/July-2015) Questi...
Query optimization techniques for partitioned tables.
System software
Vlsi model question paper 3 (june 2021)
Ad

Recently uploaded (20)

DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
International_Financial_Reporting_Standa.pdf
PDF
Complications of Minimal Access-Surgery.pdf
PDF
HVAC Specification 2024 according to central public works department
PPTX
20th Century Theater, Methods, History.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
International_Financial_Reporting_Standa.pdf
Complications of Minimal Access-Surgery.pdf
HVAC Specification 2024 according to central public works department
20th Century Theater, Methods, History.pptx
Introduction to pro and eukaryotes and differences.pptx
FORM 1 BIOLOGY MIND MAPS and their schemes
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Empowerment Technology for Senior High School Guide
Weekly quiz Compilation Jan -July 25.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
LDMMIA Reiki Yoga Finals Review Spring Summer
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf

Pt 3 xii cs final

  • 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.