Posts

Showing posts from March, 2023

C++

Image
 C++ is a general-purpose programming language that was developed as an extension of the C programming language. It was designed to be efficient and flexible, allowing programmers to write high-performance code for a variety of applications. C++ is commonly used in developing software applications, operating systems, and game engines.  topics to learn in C++: Basic syntax: Variables, data types, control structures, and functions Object-Oriented Programming (OOP): Classes, objects, inheritance, polymorphism, and encapsulation Templates: Function templates and class templates Standard Template Library (STL): Containers, iterators, algorithms, and smart pointers Memory management: Pointers, references, dynamic memory allocation, and memory leaks Exception handling: Handling errors and exceptions in C++ programs Input and output: Streams, file I/O, and console I/O Multithreading: Creating and managing threads in C++ programs Standard libraries: Working with standard libraries like...

Algorithms / Data structure topics

Image
 Data Structures: Arrays Linked Lists Stacks Queues Trees Graphs Hash Tables Algorithms: Sorting algorithms (e.g. bubble sort, insertion sort, quicksort, mergesort) Searching algorithms (e.g. linear search, binary search) Graph algorithms (e.g. depth-first search, breadth-first search, Dijkstra's algorithm) Dynamic programming algorithms (e.g. knapsack problem, longest common subsequence) Greedy algorithms (e.g. Kruskal's algorithm, Huffman coding) Divide and conquer algorithms (e.g. binary search, merge sort) Topics to learn in data structures and algorithms include: Basic data structures: Arrays, linked lists, stacks, queues, trees, and graphs Abstract data types: Priority queues, heaps, and hash tables Sorting algorithms: Bubble sort, selection sort, insertion sort, quicksort, mergesort, and radix sort Searching algorithms: Linear search, binary search, and hash tables Graph algorithms: Depth-first search, breadth-first search, Dijkstra's algorithm, and Bellman...

Linux

Image
 Kali Linux is a Linux distribution specifically designed for penetration testing and digital forensics. It was first released in 2013 and is based on Debian Linux. Kali Linux is free and open-source software and is maintained and funded by Offensive Security, a cybersecurity training and certification company. Here are some key features and components of Kali Linux: Tools: Kali Linux comes with over 600 pre-installed tools for penetration testing, network analysis, wireless testing, web application testing, and digital forensics. Customization: Kali Linux can be customized to suit the specific needs of a particular user or organization, with tools and packages that can be added or removed as needed. Virtualization: Kali Linux can be easily run in a virtual environment, such as VirtualBox, making it easy to use and test without needing dedicated hardware. Live boot: Kali Linux can also be run as a live boot from a USB drive, allowing users to test and use the distribution on an...

Oracle

Image
 What is Oracle database? Oracle database is a relational database management system (RDBMS) developed and marketed by Oracle Corporation. It is used to store and manage data in a structured manner. What are the different types of database objects in Oracle? There are several types of database objects in Oracle, including tables, views, indexes, sequences, synonyms, procedures, functions, triggers, packages, and database links. What is a table in Oracle? A table is a database object in Oracle that is used to store data in a structured manner. Tables consist of columns and rows, and each column represents a particular type of data, while each row represents a single instance of that data. What is a primary key in Oracle? A primary key is a column or combination of columns in a table that uniquely identifies each row in that table. The primary key is used to enforce data integrity and ensure that each row in the table is unique. What is a foreign key in Oracle? A foreign key is a col...

ADVANCE FUNCTIONS JS

Image
 A function has access to the variable environment (VE) of excecution context it was created  Closure : VE attached to the function, exactly as it was at the time and place the function was created  A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives you access to an outer function's scope from an inner function. In JavaScript, closures are created every time a function is created, at function creation time. A closure is the closed-over variable environment of the execution context in which a function wascreated, even after that execution context is gone. A closure gives a function access to all the variables of its parent function , even after that parent function has returned. The function keeps a reference to its outer scope, which preserves the scope chain throught time. A closure makes sure that a function doesn't loose connection to variable that...