Doubtly
@Doubtly · Joined Feb 2021
- Answers
- 3,792
- Questions
- 4,033
- Upvotes received
- 424
- Discuss different applications of AI Here are 10 major applications of artificial intelligence: 1. Virtual Assistants - Siri, Alexa, Google Assistant etc. that understand voices... 1
- What is PEAS descriptor? Give PEAS descriptor for robot maid for cleaning the house. PEAS stands for Performance measure, Environment, Actuators, and Sensors. It is a framework used in the field of artificial intelligence (AI... 1
- What are components in React? Create one class component “Car” in React and invoke it using index.js In React, components are the building blocks that allow you to split the user interface into reusable and independent pieces. Components can... 1
- Write a Javascript to change the background color of the web page to red color if button named “RED” <!DOCTYPE html> <html> <body> <button onclick="red()">red</button> <button onclick="green()">Green</button> <script> function red() { docume... 1
- Anonymous and Arrow Function Examples in ES6 An anonymous function is a function without a name (usually stored in a variable or passed as a callback); an arrow function is the shorter... 1
- List of Camparision and difference between Computer Network TCP vs. UDP: TCP UDP 1. Connection-oriented 1. Connectionless 2. Reliable data delivery with acknowledgments 2. Unreliable data delivery 3.... 1
- Important questions for computer network ai-ds branch T.E sem V 1. Channel allocation problem Slotted & pure aloha 2. Different guided transmission medias 3. OSI reference model 4. Sliding window protocol... 1
- What is classful addressing? Classful addressing is an IPv4 addressing architecture that divides addresses into five groups. Classes A-C: unicast addresses Class D: mult... 1
- What is Subnetting? What is the use of Subnetting? Advantages of Subnetting What is Subnetting? Subnetting is a method of dividing a single physical network into logical sub-networks (subnets). Subnetting allows a bu... 1
- A pure ALOHA network transmits 200-bit frames on a shared channel of 200 kbps. To elaborate: Frame transmission time Tfr= 200/200 kbps or 1 ms. If the system creates 1000 frames per second, or 1 frame per millisecond, t... 1
- Explain the MVC architecture with a diagram. What are the advantages of using it? MVC stands for Model-View-Controller. It is an architecture or a software design pattern that makes creating huge applications easy. It does... 2
- What are the criteria for an API to be a RESTful API? An API is RESTful when it follows the REST architectural constraints: client–server, statelessness, cacheability, a uniform interface, a lay... 1
- When are the React components re-rendered? Explain giving examples. 05 import React, { useState } from 'react'; function Counter() { const [count, setCount] = useState(0); const increment = () => { setCount(coun... 2
- B Write a JavaScript code to set a cookie on the user's computer. 05 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title... 1
- A Demonstrate the routing of web pages using React Router. 05 // App.js import React from 'react'; import { BrowserRouter as Router, Route, Link } from 'react-router-dom'; const Home = () => <h2>Home</h... 1
- Q4 B) Explain the architecture of NodeJs with a neat diagram. Node.js uses a single-threaded, event-driven, non-blocking I/O architecture: one main thread runs JavaScript on the V8 engine, while the lib... 1
- What is NodeJs? What are the advantages of using it? Node.js is an open-source, cross-platform runtime environment that allows developers to run JavaScript code outside the browser. It is built... 2
- Explain the class components in React. What are the advantages of using them? A class component is an ES6 class that extends React.Component, keeps its data in this.state, updates it with this.setState(), and returns i... 1