All questions
- Compare Model Based agent, goal-based agent and utility-based agent with diagrams. Aspect Model-Based Agent Goal-Based Agent Utility-Based Agent Knowledge Representation Maintains an explicit model of the world, including t... 1
- Describe the AI perspectives: acting and thinking humanly and rationally. AI Perspectives: Acting and Thinking Humanly 1. Acting Humanly: Objective: The goal of this perspective is to create AI systems that exhibit... 1
- Justify “In React, everything is a component?” The statement means that a React user interface is built entirely by combining components: small, reusable, self-contained pieces that each... 1
- How to create Single page application using React JS? A single-page application (SPA) loads one HTML page and then swaps components on the screen without full page reloads; in React this is done... 1
- Discuss React state and props with suitable examples. Props are read-only inputs passed from a parent component to a child; state is data that a component owns and can change, and changing state... 1
- Differentiate between ES5 and ES6. SR.NO. ES5 ES6 1. ECMA script is a trademarked scripting language specification defined by Ecma international. The fifth edition of the same... 1
- Compare Client side and Server side rendering. In client-side rendering (CSR) the browser downloads a mostly empty HTML page plus JavaScript and builds the page itself; in server-side ren... 1
- Justify “an inline style has the highest priority, and will override external and internal styles and browser defaults” Inline styles win because, in the CSS cascade, a declaration written in the element's own style attribute has the highest specificity and is... 1
- Write JavaScript to accept an input from user and check whether number is an Armstrong in nature or not. An Armstrong number equals the sum of its digits, each raised to the power of the number of digits (e.g. 153 = 1³ + 5³ + 3³ ). The script be... 1
- Differentiate between XML and JSON. XML is a markup language that stores data using custom tags, while JSON is a lightweight text format that stores data as key–value pairs and... 1
- Explain HTML DOM Tree of Objects. The HTML DOM (Document Object Model) represents a web page as a tree of objects, where every element, attribute and piece of text is a node;... 1
- Explain any 5 Block Level Tags in HTML. Block-level elements always start on a new line and take up the full available width. Five common ones are <div>, <p>, <h1>–<h6>, <ul>/<ol>... 1
- Justify “NodeJS is an asynchronous programming” In Node.js, asynchronous programming is both straightforward and effective. When working with Node.js modules, you'll notice that most modul... 1
- Demonstrate the working of Node JS by creating a simple server to display a “Welcome” message Install Node.js: If you haven't already, you'll need to install Node.js on your computer. You can download it from the official website: htt... 1
- Differentiate between React JS, Node JS and Express JS React.js Node.js Express.js Definition A JavaScript library A runtime environment A web application framework Type Library Runtime environme... 1
- What is Express used for? Explain the advantages of using Express. Express is a popular web application framework for Node.js, designed to simplify the development of web applications and APIs. Here are the... 1
- Explain the concept of Hooks in React. What are the rules for using the Hooks? Hooks are a new feature in React that let you use state and other React features without writing a class. They were introduced in React 16.8... 1
- Write the code making use of Hooks useState function that displays the number of times button named “CLICK” is clicked import React, { useState } from "react"; function App() { const [count, setCount] = useState(0); const handleClick = () => { setCount(count... 1
- Design an interactive page making use of React Hooks that displays four buttons import React, { useState } from "react"; function App() { const [selectedColor, setSelectedColor] = useState(""); const handleClick = (color... 1
- Write a Code for data Clustring in Python and show outputs import pandas as pd import matplotlib.pyplot as plt import seaborn as sns from sklearn.cluster import KMeans df = pd.read_csv("Mall_Customer... 1
- Using the source transformation find the current flowing through the 4 Ω resistance current flowing through the 4 Ω resistance is 1.33 A 1
- Using mesh analysis find current through 5Ω resistor. current through 5Ω resistor is -2.7857 A 1
- Find the equivalent resistance between the terminal A and B Solution is : 1
- Find the node voltage V 1, V 2, V 3 and current through 0.5 Ω. Find the node voltage V 1, V 2, V 3 and current through 0.5 Ω. Solution : 1