Topics
Object Oriented Programming with Python
- Concept of Object Oriented Programming with Python
- Data Hiding in Python
- Data Encapsulation in Python
- Class and Object in Python
- Polymorphism in Python
- Inheritance in Python
- Advantages of Object Oriented Programming Over Earlier Programming Methodologies in Python
- Defining Classes (Attributes, Methods)
- Creating Instance Objects
- Accessing Attributes and Methods
- Using Built in Class Attributes (Dict, Doc, Name, Module, Bases)
- Constructor(_Init()_ _, _ _Del()_ _ and _ _ Str()_ _) Methods in a Class
- Private Attributes (Limited Support)
- Importance of "Self" (Acts as a Pointer to Current Calling Object) Operator Overloading with Methods
- Concept of Base Class and Derived Class
- Single, Multilevel and Multiple Inheritance
- Overriding Methods
- Using Super() in Derived Class to Invoke _ _Init()_ _ Or Overridden Methods of Parent Class
Advance Programming with Python
- Linear List Manipulation
- Sequential Allocation
- Traversal
- Insertion of an Element in a Sorted List
- Deletion of an Element from the List
- Searching (Linear, Binary)
- Sorting (Insertion, Selection, Bubble)
- Introduction to Stack in Python (LIFO Operations)
- Operations on Stack (PUSH and POP) and Its Implementation in Python
- Converting Expressions from INFIX to POSTFIX Notation and Evaluation of Postfix Expression in Python
- Queues (List Implementation)
- Introduction to Queue in Python (FIFO)
- Operations on Queue (INSERT and DELETE) and Its Implementation in Python
- Need for Data File in Python
- Types of Data File in Python - Text and Binary
- Opening and Closing Files - Open(), Close()
- Access Modes (Output, Input, Default)
- File Object
- Reading and Writing a File - Read(), Readline(), Readlines(), Write(), Writelines
- File Positions (Seek(), Tell())
- Renaming and Deleting a File.,Flush()
- Searching for Particular Data from a File
- Insertion and Deletion of Data from an Already Existing File
- Modification of Data in File
- Error and Exceptions - NameError, IndexError, TypeError, IO Error, ImportError, ValueError, EOFError
- Generator Function Using Yield
Python - Databases and SQL
- Introduction to Data Base Concepts and Its Need in Python
- Relational Data Model
- Relational Algebra - Selection, Projection, Union and Cartesian Product
- Structured Query Language Advantages of Using SQL
- Data Definition Language and Data Manipulation Language
- Data Types - NUMBER/DECIMAL, CHARACTER/VARCHAR/VARCHAR2, DATE
- SQL COMMANDS - CREATE TABLE, DROP TABLE, ALTER TABLE, UPDATE ….SET…., INSERT, DELETE; SELECT, DISTINCT, FROM, WHERE, IN, BETWEEN, GROUP BY, HAVING, ORDER BY
- SQL functions - SUM ( ), AVG ( ), COUNT ( ), MAX ( ) AND MIN ( )
- Obtaining Results (Select Query) from 2 Tables Using equi-join
- Cartesian Product and Union
Python - Boolean Algebra
- Binary-valued Quantities
- Boolean Variable
- Boolean Constant and Boolean Operators - AND, OR, NOT
- Truth Tables (Boolean Algebra)
- Closure Property
- Commutative Law
- Associative Law
- Identity Law
- Inverse Law
- Principle of Duality
- Idempotent Law
- Distributive Law
- Absorption Law
- Involution Law
- DeMorgan’S Law/Theorem and Their Applications
- Obtaining Sum of Product (SOP) and Product of Sum (POS) Form the Truth Table
- Reducing Boolean Expression (SOP and POS) to Its Minimal Form
- Use of Karnaugh Map for Minimization of Boolean Expressions (Up to 4 Variables)
- Application of Boolean Logic - Digital Electronic Circuit Design Using Basic Logic Gates (NOT, AND, OR, NAND, NOR)
- Use of Boolean Operators (NOT, AND, OR) in SQL SELECT Statements
- Use of Boolean Operators (AND, OR) in Search Engine Queries
Python - Communication Technologies
- Evolution of Networking
- ARPANET
- Internet
- Interspace Different Ways of Sending Data Across the Network with Reference to Switching Techniques (Circuit and Packet Switching)
- Data Communication Terminologies
- Concept of Channel
- Bandwidth (Hz, KHz, MHz) and Data Transfer Rate (Bps, Kbps, Mbps, Gbps, Tbps)
- Twisted Pair Cable
- Coaxial Cable
- Optical Fiber
- Infrared
- Radio Link
- Microwave Link
- Satellite Link
- Network Devices - Modem, RJ45 Connector, Ethernet Card, Router, Switch, Gateway, Wifi Card
- Network Topologies and Types - Bus, Star, Tree, PAN, LAN, WAN, MAN
- Network Protocol - TCP/IP
- Network Protocol - File Transfer Protocol (FTP)
- Network Protocol - PPP
- Network Protocol - SMTP
- Network Protocol - POP3 Remote Login (Talent)
- Internet Wireless/Mobile Communication Protocol - GSM, CDMA, GPRS, and WLL
- Mobile Telecommunication Technologies - 1G, 2G, 3G and 4G
- Mobile Processors
- Electronic Mail Protocols Such as SMTP, POP3
- Protocols for Chat and Video Conferencing VOIP
- Wireless Technologies Such as Wi-Fi and WiMax
- Threats and Prevention from Viruses, Worms, Trojan Horse, Spam
- Use of Cookies
- Protection Using Firewall
- https
- India IT Act
- Cyber Law
- Cyber Crimes
- IPR Issues
- Hacking
- WWW
- Hyper Text Markup Language (HTML)
- Extensible Markup Language (XML)
- Hyper Text Transfer Protocol (HTTP)
- Domain Names
- URL
- Website
- Web Browser
- Web Servers
- Web Hosting
- Web Scripting - Client Side (VB Script, Java Script, PHP)
- Server Side (ASP, JSP, PHP)
- Web 2.0 (For Social Networking)
- E-commerce Payment Transactions Using Online Banking
- Mobile Banking and Payment Apps and Services
Shaalaa.com | Introduction
Related QuestionsVIEW ALL [4]
Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii), which are based on the tables.
DVD
DCODE | DTITLE | DTYPE |
F101 | Henry Martin | Folk |
C102 | Dhrupad | Classical |
C101 | The Planets | Classical |
F102 | Universal Soldier | Folk |
R102 | A day in life | Rock |
MEMBER
MID | NAME | DCODE | ISSUEDATE |
101 | AGAM SINGH | R102 | 2017-11-30 |
103 | ARTH JOSEPH | F102 | 2016-12-13 |
102 | NISHA HANS | C101 | 2017-07- 24 |
1) To display all details from the table MEMBER in descending order of ISSUEDATE
2) To display the DCODE and DTITLE of all Folk Type DVDs from the table DVD.
3) To display the DTYPE and number of DVDs in each DTYPE from the table DVD.
4) To display all NAME and ISSUEDATE of those members from the table. MEMBER who have DVDs issued (i.e., ISSUEDATE) in the year 2017
5) SELECT MIN(ISSUEDATE) FROM MEMBER
6) SELECT DISTINCT DTYPE FROM DVD;
7) SELECT D.DCODE, NAME, DTITLE FROM DVD D, MEMBER M WHERE D.DCODE=M.DCODE;
8) SELECT DTITLE FROM DVD WHERE DTYPE NOT IN ("Folk", "Classical" ) ;
Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii) which are based on the table.
TABLE: Account
ANO | ANAME | ADDRESS |
101 | Nirja Singh | Bangalore |
102 | Rohan Gupta | Chennai |
103 | Ali Reza | Hyderabad |
104 | Rishabh Jain | Chennai |
105 | Simran Kaur | Chandigarh |
TABLE: TRANSACT
TRNO | ANO | AMOUNT | TYPE | DOT |
T001 | 101 | 2500 | Withdraw | 2017-12-21 |
T002 | 103 | 3000 | Deposit | 2017-06-01 |
T003 | 102 | 2000 | Withdraw | 2017-0S-12 |
T004 | 103 | 1000 | Deposit | 2017-10-22 |
T005 | 101 | 12000 | Deposit | 2017-11-06 |
1) To display details of all transaction of TYPE Depos1t from Table TRANSACT.
2) To display the ANO and AMOUNT of all Depos1ts and Withdrawals done in the month of October 2017 from table TRANSACT.
3) To display the last date of the transaction (DOT) from the table TRANSACT for the Accounts having ANO as 103
4) To display all ANO, ANAME and DOT of those persons from tables ACCOUNT and TRANSACT who have done transactions less than or equal to 3000?
5) SELECT ANO, ANAME FROM ACCOUNT WHERE ADDRESS NOT IN ('CHENNAI', 'BANGALORE');
6) SELECT DISTINCT ANO FROM TRANSACT
7) SELECT ANO, COUNT(*), MIN(AMOUNT) FROM TRANSACT GROUP BY AND HAVING COUNT(*) > 1;
8) SELECT COUNT(*), SUM(AMOUNT) FROM TRANSACT WHERE DOT <= '2017-06-01'
Consider the following DEPT and EMPLOYEE tables. Write SQL queries for (i) to (iv) and find outputs for SQL queries (v) to (viii).
Table: DEPT
DCODE | DEPARTMENT | LOCATION |
D01 | INFRASTRUCTURE | DELHI |
D02 | MARKETING | DELHI |
D03 | MEDIA | MUMBAI |
D04 | FINANCE | KOLKATA |
D05 | HUMAN RESOURCE | MUMBAI |
Table: EMPLOYEE
ENO | NAME | DOJ | DOB | GENDER | DCODE |
1001 | George K | 2013-09-02 | 1991-09-01 | MALE | D01 |
1002 | Ryma Sen | 2012-12-11 | 1990-12-15 | FEMALE | D03 |
1003 | Mohitesh | 2013-02-03 | 1987-09--04 | MALE | D05 |
1007 | Anil Jha | 2014-01-17 | 1984-10-19 | MALE | D04 |
1004 | Manila Sahai | 2012-12-09 | 1986-11-14 | FEMALE | D01 |
1005 | R SAHAY | 2013-11-18 | 1987-03-31 | MALE | D02 |
1006 | Jaya Priya | 2014-06-09 | 1985-06-23 | FEMALE | D05 |
Note: DOJ refers to the date of joining ·and DOB refers to the date of Birth of employees
1) To display Eno, Name, Gender from the table EMPLOYEE in ascending order of Eno.
2) To display the Name of all the MALE Employees from the table EMPLOYEE.
3) To display the Eno and Name of those employees from the table EMPLOYEE who are born between '1987-01-01' and '1991-12-01'.
4) To count and display FEMALE employees who have Joined after '1986-01-01'.
5) SELECT COUNT(*), DCODE FROM EMPLOYEE GROUP BY DCODE HAVING COUNT(*)>1;
6) SELECT DISTINCT DEPARTMENT FROM DEPT;
7) SELECT NAME, DEPARTMENT FROM EMPLOYEE E, DEPT D WHERE E.DCODE=D.DCODE AND EN0<1003;
8) SELECT MAX(DOJ), MIN(DOB) FROM EMPLOYEE;
Observe the following table MEMBER carefully and write the name of the RDBMS operation out of (i) SELECTION (ii) PROJECTION (iii) UNION (iv) CARTESIAN PRODUCT, which has been used to produce the output as shown in RESULT. Also, find the Degree and Cardinality of the RESULT :
MEMBER
NO | MNAME | STREAM |
M001 | JAYA | SCIENCE |
M002 | ADITYA | HUMANITIES |
M003 | HANSRAJ | SCIENCE |
M004 | SHIVAK | COMMERCE |
RESULT
NO | MNAME | STREAM |
M002 | ADI'l'YA | HUMANITIES |