02 Tcs Interview
02 Tcs Interview
1. Limitations of CSS:
Limited layout control compared to table-based layouts.
Lack of variables for easy value reuse.
Limited conditional logic.
Cross-browser compatibility issues.
Limited support for complex calculations.
2. DOM (Document Object Model):
DOM is a programming interface for web documents.
It represents the structure of a document as a tree of objects, allowing
scripts to dynamically modify the content, structure, and style of a
document.
3. Pointers:
Pointers in programming languages store the memory address of another
variable.
They enable dynamic memory allocation and manipulation.
4. Null Pointer:
A pointer that does not point to any memory location.
Attempting to dereference a null pointer can lead to undefined behavior.
5. Python:
Python is a high-level, interpreted, and general-purpose programming
language known for its simplicity and readability.
6. Python Casting:
Casting in Python involves converting one data type to another.
Examples include int(), float(), and str().
7. List:
A built-in data structure in Python that stores ordered and mutable
sequences of elements.
8. Tuples:
Similar to lists but immutable in Python.
Defined using parentheses.
9. Dictionary vs. Tuple:
Dictionary: An unordered collection of key-value pairs.
Tuple: An ordered and immutable collection of elements.
10. Compilers for Python:
CPython, Jython, IronPython, PyPy, etc.
11. Advantages of Frameworks in Python:
Rapid development.
Code reuse.
Enhanced security.
Maintenance efficiency.
12. Stack, Queue, and LinkedList:
Stack: Last In, First Out (LIFO) data structure.
Queue: First In, First Out (FIFO) data structure.
LinkedList: A data structure consisting of nodes where each node points to
the next in the sequence.
13. Regular Expression:
A sequence of characters defining a search pattern.
Used for pattern matching within strings.
14. HTML and CSS Tags:
HTML tags define the structure of a webpage (e.g., <div>, <p>).
CSS tags (selectors) style HTML elements (e.g., #id, .class).
15. Software Development Life Cycle (SDLC) Steps:
Planning, Analysis, Design, Implementation, Testing, Deployment,
Maintenance.
16. Authentication and Authorization:
Authentication: Verifying the identity of a user.
Authorization: Granting access rights based on the user's identity and
permissions.
17. DBMS vs. RDBMS:
DBMS (Database Management System): Manages databases but may not
support relationships between tables.
RDBMS (Relational Database Management System): Manages databases
with support for relationships between tables.
18. ACID Properties:
Atomicity, Consistency, Isolation, Durability.
Guarantees the reliability of transactions in a database system.
19. IoT (Internet of Things):
A network of interconnected devices that communicate and share data to
perform tasks.
Example: Smart home devices, wearable technology.
20. Denormalization:
The process of intentionally introducing redundancy in a database for
performance optimization.
Used to speed up data retrieval at the cost of increased storage.
21. File Opening in C++:
File opening in C++ involves using the fstream library and functions like
open().
22. Constructor:
A special member function in a class used for initializing the object's state.
Invoked automatically when an object is created.