OS: Fedora 43 (KDE Plasma) Driver Source: RPM Fusion Method: Manual Signing (MOK) for Secure Boot
Only run this section if you are re-installing or fixing a broken installation. If this is a fresh OS install, skip to Phase 2.
OS: Fedora 43 (KDE Plasma) Driver Source: RPM Fusion Method: Manual Signing (MOK) for Secure Boot
Only run this section if you are re-installing or fixing a broken installation. If this is a fresh OS install, skip to Phase 2.
Goal: Solve problems 50-70% faster and save 100+ hours of effort.
When you solve problems, look out for the keywords below. These hints will help you identify the underlying pattern immediately and trim down thinking time in 45-minute interview rounds.
1. What is React?
React is a JavaScript library for building user interfaces, primarily used for single‑page applications. It allows developers to create large web applications that can update and render efficiently in response to data changes.
2. What are components in React?
Components are the building blocks of a React application. They are reusable, independent pieces of code that represent parts of the user interface. Components can be either class‑based or functional.
3. What is JSX?
if I decide to divide 1 rupee to divide into many people for various transactions how many decimal point I should consider?
For practical purposes when dividing 1 rupee among many people, you should consider using 2 decimal points. This is because:
The smallest denomination of the Indian rupee in circulation is the 1 paisa coin, which is equal to 0.01 rupees.
Most financial systems and banks in India typically record transactions up to 2 decimal places for rupees.
Using more than 2 decimal places would result in fractions of a paisa, which are not practically usable in real-world transactions.
In JavaScript, dividing any number by zero results in a specific error depending on the data types involved:
Regular Numbers: When you divide a regular number (of the Number type) by zero, the result is either Infinity (positive number divided by zero) or -Infinity (negative number divided by zero). This behavior is due to the IEEE 754 floating-point standard used by JavaScript to represent numbers.
console.log(10 / 0); // Output: Infinity
console.log(-5 / 0); // Output: -InfinityBigInts: If you attempt to divide a BigInt (a special data type for arbitrary-precision integers) by zero, a RangeError: BigInt division by zero exception is thrown. BigInts follow stricter mathematical rules, and division by zero is undefined in this context.
MVC is a design pattern used for developing software applications, particularly web applications. It divides the application into three interconnected components, which helps in separating concerns and improving code organization. Here's a detailed look at each component:
Question: What are the different data types in JavaScript?
Answer: JavaScript has several data types, including:
String, Number, Boolean, Null, Undefined, Symbol, and BigInt.Object (which includes arrays and functions).Imagine you have a toy box.
Objects: In this toy box, you have different toys like cars, dolls, and blocks. Each toy is like an object in programming. A car has wheels, a color, and can drive. A doll has hair, clothes, and can talk. These are the properties and behaviors of objects.
Classes: Now, let's say you have a special box for cars called "Car Box" and another one for dolls called "Doll Box." These boxes are like classes. They tell you what each type of toy can do and what they have. So, the Car Box tells you that cars have wheels, color, and can drive. The Doll Box tells you that dolls have hair, clothes, and can talk.
Encapsulation: Imagine that the Car Box and Doll Box have locks. Only you can open and play with the toys inside. This is like encapsulation in programming. It means that the properties and behaviors of toys (objects) are hidden and protected, and only specific parts can be accessed.
Inheritance: Now, let's say you have a super cool Toy Box that has ev