हिंदी

Science (English Medium) कक्षा १२ - CBSE Important Questions for Computer Science (Python)

Advertisements
[object Object]
[object Object]
विषयों
मुख्य विषय
अध्याय
Advertisements
Advertisements
Computer Science (Python)
< prev  61 to 80 of 84  next > 

Consider the table CLUB given below and write the output of the SQL queries that follow.

CID CNAME AGE GENDER SPORTS PAY DOAPP
5246 AMRITA 35 FEMALE CHESS 900 2006- 03-27
4687 SHYAM 37 MALE CRICKET 1300 2004- 04-15
1245 MEENA 23 FEMALE VOLLEYBALL 1000 2007- 06-18
1622 AMRIT 28 MALE KARATE 1000 2007- 09-05
1256 AMINA 36 FEMALE CHESS 1100 2003- 08-15
1720 MANJU 33 FEMALE KARATE 1250 2004- 04-10
2321 VIRAT 35 MALE CRICKET 1050 2005- 04-30
  1. SELECT COUNT(DISTINCT SPORTS) FROM CLUB;
  2. SELECT CNAME, SPORTS FROM CLUB
    WHERE DOAPP<"2006-04-30" AND CNAME LIKE "%NA";
  3. SELECT CNAME, AGE, PAY FROM CLUB WHERE GENDER = "MALE" AND PAY BETWEEN 1000 AND 1200;
Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: SQL for Data Query

Consider the table Personal given below:

Table: Personal
P_ID Name Desig Salary Allowance
P01 Rohit Manager 89000 4800
P02 Kashish Clerk NULL 1600
P03 Mahesh Superviser 48000 NULL
P04 Salil Clerk 31000 1900
P05 Ravina Superviser NULL 2100

Based on the given table, write SQL queries for the following:

  1. Increase the salary by 5% of personals whose allowance is known.
  2. Display Name and Total Salary (sum of Salary and Allowance) of all personals. The column heading ‘Total Salary’ should also be displayed.
  3. Delete the record of Supervisors who have salary greater than 25000.
Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: SQL for Data Definition

Kabir wants to write a program in Python to insert the following record in the table named Student in MYSQL database,

SCHOOL:

  • rno(Roll number) - integer
  • name(Name) - string
  • DOB (Date of birth) - Date
  • Fee - float

Note the following to establish connectivity between Python and MySQL:

  • Username - root
  • Password - tiger
  • Host - localhost

The values of fields rno, name, DOB and fee has to be accepted from the user. Help Kabir to write the program in Python.

Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: Data Types and Constraints in MySQL

Consider the tables PRODUCT and BRAND given below:

Table: PRODUCT
PCode PName UPrice Rating BID
P01 Shampoo 120 6 M03
P02 Toothpaste 54 8 M02
P03 Soap 25 7 M03
P04 Toothpaste 65 4 M04
P05 Soap 38 5 M05
P06 Shampoo 245 6 M05
Table: BRAND
BID BName
M02 Dant Kanti
M03 Medimix
M04 Pepsodent
M05 Dove

Write SQL queries for the following:

  1. Display product name and brand name from the tables PRODUCT and BRAND.
  2. Display the structure of the table PRODUCT.
  3. Display the average rating of Medimix and Dove brands.
  4. Display the name, price, and rating of products in descending order of rating.
Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: SQL for Data Query

Zack is working in a database named SPORT, in which he has created a table named “Sports” containing columns SportId, SportName, no_of_players, and category.

After creating the table, he realized that the attribute, category has to be deleted from the table and a new attribute TypeSport of data type string has to be added. This attribute TypeSport cannot be left blank. Help Zack write the commands to complete both the tasks.

Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: Data Types and Constraints in MySQL

Sartaj has created a table named Student in MYSQL database, SCHOOL:

  • rno(Roll number )- integer
  • name(Name) - string
  • DOB (Date of birth) – Date
  • Fee – float

Note the following to establish connectivity between Python and MySQL:

  • Username - root
  • Password - tiger
  • Host - localhost

Sartaj, now wants to display the records of students whose fee is more than 5000. Help Sartaj to write the program in Python.

Appears in 1 question paper
Chapter: [9] Structured Query Language (SQL)
Concept: Data Types and Constraints in MySQL

Hi-Standard Tech Traj.ning Ltd. is a Mumbai based organization which is expanding its office set-up to Chennai. At Chennai office compound, they are planning to have 3 different blocks for Admin, Training and Accounts related activities. Each block has a number of computers, which are required to be connected in a network for communication, data and resource sharing.

As a network consultant, you have to suggest the best network related solutions for them for issues/problems raised by them in (i) to (iv), as per the distances between various blocks/locations and other given parameters.

Shortest differences between various blocks/locations:

Admin Block to Accounts Block 300 Metres
Accounts Block to Training Block 150 Metres
Admin Block to Training Block 200 Metres
MUMBAI Head Office to CHENNAI Office 1300 Km

The number of computers installed at various blocks is as follows:

Training Block 150
Accounts Block 30
Admin Block 40

1) Suggest the most appropriate block/location to house the SERVER in the CHENNAI office (out of the 3 blocks) to get the best and effective connectivity. Justify your answer.

2) Suggest the best-wired medium and draw the cable layout (Block to Block) to efficiently connect various blocks within the CHENNAI office compound.

3) Suggest a device/software and its placement that would provide data security for the entire network of the CHENNAI office.

4) Suggest a device and the protocol that shall be needed to provide wireless Internet access to all smartphone/laptop users in the CHENNAI office

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

Differentiate between packet switching over message switching

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

Expand the following:

ARPANET

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Evolution of Networking

Explain the following device:

Repeater

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

Explain the following device:

Router

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

Quickdev, an IT based firm, located in Delhi is planning to set up network for its four branches within a city with its Marketing department in Kanpur. As a network professional, give solution to the questions, after going through the branches locations and other details which are given below: 

DELHI BRANCH
BRANCH A BRANCH B
BRANCH C BRANCH D

 

KANPUR BRANCH
MARKETING DEPT.

Distance between various branches is a follows:

Branch Distance
Branch A to Branch B 40 m
Branch A to Branch C 80 m
Branch A to Branch D 65 m
Branch B to Branch C 30 m
Branch B to Branch D 35 m
Delhi Branch to Kanpur 300 km

Number of computers in each of the branches:

Branch Number of Computers
Branch A 15
Branch B 25
Branch C 40
Branch D 115
  1. Suggest the most suitable place to install the server for the Delhi branch with a suitable reason.
  2. Suggest an ideal layout for connecting all these branches within Delhi.
  3. Which device will you suggest, that should be placed in each of these branches to efficiently connect all the computers within these branches?
  4. Delhi firm is planning to connect to its Marketing department in Kanpur which is approximately 300 km away. Which type of network out of LAN, WAN, or MAN will be formed? Justify your answer.
  5. Suggest a protocol that shall be needed to provide help for transferring of files between Delhi and Kanpur branch.
Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

The modem at the sender’s computer end acts as a ______.

Appears in 1 question paper
Chapter: [10] Computer Networks
Concept: Network Devices

______ is a communication methodology designed to deliver both voice and multimedia communications over Internet protocol.

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Types of Data Communication

Write the full form of the following:

SMTP

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Introduction to Protocols

Write the full form of the following:

PPP

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Introduction to Protocols

What is the use of TELNET?

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Introduction to Protocols

What is the need for Protocols?

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Introduction to Protocols

In case of ______ switching, before a communication starts, a dedicated path is identified between the sender and the receiver.

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Switching Techniques

Define the term bandwidth with respect to networks.

Appears in 1 question paper
Chapter: [11] Data Communication
Concept: Measuring Capacity of Communication Media
< prev  61 to 80 of 84  next > 
Advertisements
Advertisements
CBSE Science (English Medium) कक्षा १२ Important Questions
Important Questions for CBSE Science (English Medium) कक्षा १२ Biology
Important Questions for CBSE Science (English Medium) कक्षा १२ Chemistry
Important Questions for CBSE Science (English Medium) कक्षा १२ Computer Science (C++)
Important Questions for CBSE Science (English Medium) कक्षा १२ Computer Science (Python)
Important Questions for CBSE Science (English Medium) कक्षा १२ English Core
Important Questions for CBSE Science (English Medium) कक्षा १२ English Elective - NCERT
Important Questions for CBSE Science (English Medium) कक्षा १२ Entrepreneurship
Important Questions for CBSE Science (English Medium) कक्षा १२ Geography
Important Questions for CBSE Science (English Medium) कक्षा १२ Hindi (Core)
Important Questions for CBSE Science (English Medium) कक्षा १२ Hindi (Elective)
Important Questions for CBSE Science (English Medium) कक्षा १२ History
Important Questions for CBSE Science (English Medium) कक्षा १२ Informatics Practices
Important Questions for CBSE Science (English Medium) कक्षा १२ Mathematics
Important Questions for CBSE Science (English Medium) कक्षा १२ Physical Education
Important Questions for CBSE Science (English Medium) कक्षा १२ Physics
Important Questions for CBSE Science (English Medium) कक्षा १२ Political Science
Important Questions for CBSE Science (English Medium) कक्षा १२ Psychology
Important Questions for CBSE Science (English Medium) कक्षा १२ Sanskrit (Core)
Important Questions for CBSE Science (English Medium) कक्षा १२ Sociology
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×