Freedom 1: The right to study the source code of how the program works and understand it.
Freedom 2: The right to share multiple copies of the software to the general public.
Freedom 3: The freedom to improve or modify the program and to redistribute the improvements to the program.
Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.
Building to Building distances (in Mtrs.)
| FROM | To | Distance |
| Administrative Building | Finance Building | 60 |
| Administrative Building | Faculty Studio building | 120 |
| Finance Building | Faculty Studio building | 70 |
Number of computers in each of the blocks/Center is as follows:
| Administrative Building | 20 |
| Finance Building | 40 |
| Faculty Studio building | 120 |
(a) Suggest the most appropriate building, where EPG should plan to install the server.
(b) Suggest the most appropriate building to building cable layout to connect all three buildings for efficient communication.
(c) Which type of network out of the following is formed by connecting the computers of these three buildings?
LAN, MAN, WAN
(d) Which wireless channel out of the following should be opted by EPG to connect to students of all over the world?
Infrared, Microwave, Satellite
Write a script to create two lists of 5 floating point values each and then
(a) Sort the first list using sort() method and display it without using any loop
(b) Reverse the second list using reverse() method and display it without using any loop
(c) Append the second list to the first list using extend() method
(d) Delete all the elements from the second list using clear() method
(e) Display the first list (after performing the above operations)
(f) Input an integer from the user and find how many times does it exist in the first list using count() method
Consider the following tables Product and Client. Write SQL commands for the statements (i) to (iv) and give outputs for SQL queries (v) to (viii)
TABLE: PRODUCT
| P_ID | Product Name | Manufacturer | Price |
| TP01 | Talcom Powder | LAK | 40 |
| FW05 | FaceWash | ABC | 45 |
| BS01 | Bath Soap | ABC | 55 |
| SH06 | Shampoo | XYZ | 120 |
| FW12 | Face Wash | XYZ | 95 |
TABLE: CLIENT
| C_ID | ClientName | City | P_ID |
| 01 | Cosmetic Shop | Delhi | FW05 |
| 06 | Total Health | Mumbai | BS01 |
| 12 | Live Life | Delhi | SH06 |
| 15 | Pretty Woman | Delhi | FW12 |
| 16 | Dreams | Bangalore | TP01 |
(i) To display the details of those Clients whose City is Delhi
(ii) To display the details of Products whose Price is in the range of 50 to 100 (Both values included)
(iii) To display the ClientName, City from Table Client, and ProductName and Price from table Product, with their corresponding matching P_ID
(iv) To increase the Price of all Products by 10
(v) SELECT DISTINCT CITY FROM Client;
(vi) SELECT Manufacturer, MAX(Price), Min(Price), Count(*) FROM Product GROUP BY Manufacturer;
(vii) SELECT ClientName, ManufacturerName FROM Product, Client WHERE Client.Prod_Id = Product.P_Id;
Answer the following questions:
Students
| Adm No | Name | Class | Sec | R No. | Address | Phone |
| 1271 | Utkarsh Madam | 12 | C | 1 | C-32, Punjabi Bagh | 4356154 |
| 1324 | Naresh Sharma | 10 | A | 1 | 31, Mohan Nagar | 435654 |
| 1325 | Md. Yusuf | 10 | A | 2 | 12/12, Chand Nagar | 145654 |
| 1328 | Sumedha | 10 | B | 23 | 59, Moti Nagar | 4135654 |
| 1364 | Subya Akhtar | 11 | B | 13 | 12, Janak Puri | Null |
| 1434 | Varuna | 12 | B | 21 | 69, Rohini | Null |
| 1461 | David DSouza | 11 | B | 1 | D-34, Model Town | 243554. 98787665 |
| 2324 | Satinder Singh | 12 | C | 1 | 1/2, Gulmohar Park | 143654 |
| 2328 | Peter Jones | 10 | A | 18 | 21/328, Vishal Enclave | 24356154 |
| 2371 | Mohini Mehta | 11 | C | 12 | 37, Raja Garden | 435654, 6765787 |
Sports
| Adm No | Game | CoachName | Grade |
| 1324 | Cricket | Narendra | A |
| 1326 | Volleball | M.P. Singh | A |
| 1271 | Volleball | M.P. Singh | B |
| 1434 | Basket Ball | I. Malhotra | B |
| 1461 | Cricket | Narendra | B |
| 2328 | Basket Ball | I. Malhotra | A |
| 2371 | Basket Ball | I. Malhotra | A |
| 1271 | Basket Ball | I. Malhotra | A |
| 1434 | Cricket | Narendra | A |
| 2328 | Cricket | Narendra | B |
| 1364 | Basket Ball | I. Malhotra | B |
(a) Based on these tables write SQL statements for the following queries:
(i) Display the lowest and the highest classes from the table STUDENTS.
(ii) Display the number of students in each class from the table STUDENTS.
(iii) Display the number of students in class 10.
(iv) Display details of the students of Cricket team.
(v) Display the Admission number, name, class, section, and roll number of the students whose grade in Sports table is 'A'.
(vi) Display the name and phone number of the students of class 12 who are play some game.
(vii) Display the Number of students with each coach.
(viii) Display the names and phone numbers of the students whose grade is 'A' and whose coach is Narendra.
(b) Identify the Foreign Keys (if any) of these tables. Justify your choices.
(c) Predict the output of each of the following SQL statements, and then verify the output by actually entering these statements:
(i) SELECT class, sec, count(*) FROM students GROUP BY class, sec;
(ii) SELECT Game, COUNT(*) FROM Sports GROUP BY Game;]
(iii) SELECT Game FROM students, Sports WHERE students.admno = sports.admno AND Students.AdmNo = 1434;
Write a program that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically.
Suppose the following input is supplied to the program:
hi,we,are,learning
Then, the output should be:
are,hi,learning,we