#node js interview questions for fresher
Explore tagged Tumblr posts
adira22 · 5 years ago
Link
Of late everyone’s been talking about Node.Js and aspires to learn it because the trends of web development seem to be heading its way. The infrastructure of sites like LinkedIn, eBay, and PayPal is based on Node.Js. It allows you to mold your application according to your requirements. No doubt it’s becoming widely accepted these days! 
0 notes
rosesumonme · 5 years ago
Photo
Tumblr media
80+ Node JS Interview Questions And Answers | Digital Marketing Seva
Clear Node JS Interview in a single attempt! Find here a list of top frequently asked Node JS Interview Questions And Answers For Freshers and Experienced.
0 notes
interviewclassroom-blog · 6 years ago
Link
0 notes
siva3155 · 6 years ago
Text
300+ TOP LESS Interview Questions and Answers
Less Interview Questions for freshers experienced :-
1. What is Less? Less is a dynamic style sheet language that can be compiled in to CSS (Cascading style Sheet). It runs on client side and server side. It is designed by Alexis Sellier in 2009. 2. In which language Less was implemented? Less was implemented into JavaScript Language. 3. What are the features of Less? There are following features of Less: It is easy to readable code and written in organized way. We can define style and it is reusable. It is based on JavaScript and CSS. It sorts the code redundancy. 4. What are the ways to used Less? There are three ways to used Less: Via NPM (Node Package Manager) Download script file for the browse. It can used for third party tools. 5. What are the color channel functions in Less? The color channel functions in Less are: hue saturation hsvhue saturation hswalue red green etc. 6. What are the similarities between Less and Sass? The similarities between Less and Sass are: Nesting capabilities Namespaces Color functions Mixins and parametric mixins JavaScript evaluations 7. What is Mixins in Less? In Less, Mixins enable embedding all the properties of a class into another class. It includes the class name as one of its properties. It is just like a variable. 8. What is the difference between Less and Sass? The difference between Less and Sass are: Less                                                                                              Sass It uses JavaScript and client-side.                        1. It uses ruby and processed at server-side. It is processed at client side.                                  2. It is processed at server side. It uses @symbol to declare variable.                    3. It uses $ symbol to declare variable. It doesn’t inherit multiple selectors.                    4. It inherits multiple selectors. It doesn’t work with unknown units.                   5. It allows us to work with unknown units. 9. What is the data URI in LESS? In Less, data URI allows developer to avoid external image and reduce HTTP request. 10. What is Source Map Less Inline? Map Less Inline helps to include all the CSS files into the sourcemap. 11. What are the operations used in Less? There are various operations used in Less: Arithmetic operators( +, – , *, / ) Color functions Math functions etc. 12. How can we declare the Less variables? We can declare the Less variables by using (@) and (:) symbols. 13. What is the use of e() function in Less? In Less, e() function is used to escape a value. It passes straight through the compiled CSS without being noticed by the Less compiler. 14. How can we invoke the compiler in Less? In Less, we can invoke the compiler by using command line: $ lessc styles.less $ lessc styles.less > styles.css 15. What is the use of &combinatory in Less? In Less, &combinatory is used to concatenates nested selector with parent selector. It is useful for Pseudo classes. Example : hover and focus 16. Who is the developer of LESS? Alexis Sellier and Dmitry Fadeyev is the developer of LESS. 17. Why should we use LESS? We should use LESS because of its features: It is faster and easy to use. It is design in JavaScript. It keeps our code in modular way. 18. In which language the first version of LESS was written? The first version of LESS was written in Ruby. 19. Which command is used to compile the style.less file to style.css? The given code is used to compile the style.less file to style.css. lessc style.less style.css 20. What are the ways to comment the code in LESS? In LESS, there are two ways to comment the code. //Single line comment.*/ /*multi line comment 21. Which directive is used to import the files in the code? @import directive is used to import the files in the code. 22. What are the types of Misc function in LESS? There are various types of Misc function in LESS: color image-size default get-unit svg-gradient etc. 23. What are the type functions in LESS? In LESS, there are various type functions: isnumber isstring iscolor iskeyword isurl etc. 24. How can we disable the JavaScript in LESS? W can disable the JavaScript in LESS by using following code: lessc –no-js 25. What is rootpath in LESS? In LESS, rootpath is used to set the paths of URL. 26. What are the UI/Theme frameworks supported by LESS? There are various UI/Theme framework supported by LESS 1pxdeep Bootflat BootPress BootPress Boot 27. What are the types of Node.js compilers used in LESS? In less, there are various Node.js compilers used that are given below: grunt-contrib-less assemble-less gulp-less autoless etc. 28. What are the different types of operators in LESS? In LESS, the different types of operators are given below: Number Operations Color Operations String Operations Boolean Operations List Operations 29. What are the types of operations used in LESS? There are various type of operations used in LESS. Simple Mathematical operators: +, ? , *, / Color functions Math functions etc. 30. How many ways to use LESS? There are following ways to use LESS: Less can be used in three ways: Via npm LESS can be used on the command line. Download as a script file for the browser. It can be used for third party tools. Less Questions and Answers Pdf Download Read the full article
0 notes
bestinterviewquestion · 6 years ago
Text
Best interview questions for Technical Pogramming
A technical interview is used to assess candidates for specialist positions in IT, engineering,and science. They have the best interview questions that are specific to the role you have implemented so that the employer can confirm that you have the requisite skills.
Therefore, it is necessary to clear the technical round to make the interview successful. You can use these technical interview questions for freshers and experienced to prepare yourself for the interview process.
Companies interviewers have their own separate technical questions and skills for requirements. So, here are some Best Interview questions according to their categories that can be asked in the interview for Technical Jobs.
Here is the collections of Top Programming Languages Technical Interview Questions and Answers.
PHP Interview Questions
What is PHP? Why it is used?
What is the latest version of PHP     and Mysql?
What is the difference between php 7     and php 5?
What is the role of the .htaccess     file in php?
How to make database connection in     PHP?
Java Interview Questions
Explain the features of Java?
What is Network Programming in java?    
What is an anonymous class in Java?
What is the difference between Java'sHashMap and HashTable?
What is "this" keyword in     java? Explain
Node JS Interview Questions
1.    What are the uses of NPM in node js?
2.    What is a callback in Node.js?
3.    How we can secure HTTP cookies against XSS attacks?
4.    What are the differences between synchronous and asynchronous methods of the fs module?
5.   What are the exit codes in Node.js? Can you list a few exit codes?
Python Interview Questions
1.    What is the difference between list and tuples?
2.    What is pickling and unpickling?
3.    What are the rules for global and local variables in Python?
4.    What is pass in Python? What are the differences between pass and continue?
5.   Explain what is a Flask? What are its benefits?
C Programming Interview Questions
What is C language & why it is     used?
Why are algorithms important in C     program?
Why is C called "mother"     language?
What is pointer & why it is     used?
What is recursion in C language?
C++ Best Interview Questions
What is c++& why it is used?
Explain the difference between C     & C++?
What is a storage class used in C++?    
What are the member functions used     in C++?
What is namespace & why it is     used in C++?
Data Structure Interview Questions
What do you mean by the graph?
What do you mean by Fibonacci     search?
What is Huffman’s algorithm? Explain    
What are the uses of data     structures?
Explain the difference between PUSH     and POP?
Testing Interview Questions
What are the Advantages of Manual     Testing and Automated Testing?
What is Selenium?
What is the difference between     Static and Dynamic Testing?
How do select Best automation     testing tool for you?
Define some of the attributes of a     test case?
DBMS Best Interview Questions
What is Database management     system(DBMS) and why it is used?
What is Normalization and why it is     used?
What is BCNF standard form in DBMS?
What is a concurrency problem in     DBMS?
What is acid property in DBMS?
ASP.net Interview Questions
Explain the difference between ASP     & ASP.NET.
Explain cashing in ASP.NET.
What are the cookies types in     ASP.NET?
What is role-based security in     ASP.NET?
Explain the ASP.NET session state     modes.
This is a list of Technical interview questions. So, that is how I think anyone needs to prepare these questions to easily crack down Technical Interviews.
Note:
If you are interested in learning the Best Interview Questions for your Technical Interview. We have specially selected interview questions and answers to improve your knowledge. Visit our Website today and complete your next Technical Interview successfully.
0 notes
marvinjamzz-blog · 6 years ago
Link
Here are the basic and most common node js interview questions and answers for experienced professionals and freshers.
0 notes
siva3155 · 6 years ago
Text
300+ TOP IoT Interview Questions and Answers
IoT Interview Questions for freshers experienced :-
1. What is an IOT? IOT stands for Internet of Things. It is a network in which various Things can communicate with each other using a Network as a means of communication between them. Usually, this Network will be an internet. 2. What is the difference between IOT devices and embedded devices? Internet of things is a type of embedded system that connects to the internet. Embedded systems tend to be small software programs that implement a few functions. Internet of Things may be updated constantly according to the environment and learn by itself. 3. Does the internet is always needed for any IOT devices? No, the internet is not actually needed all the time. But there should be some network present so that the devices are capable of speaking with each other. 4. What is an Arduino? Arduino is an open-source electronics platform which has easy to use both hardware and software. Arduino boards are a Microcontroller which is capable of reading input from sensors to controlling motors and etc. programmatically. 5. How to write instructions or programs for Arduino boards? The Arduino Software (IDE) allows you to write programs and upload them to your board. A bootloader is needed to upload or flash the code to the board. 6. What are the hardware communication interfaces present in the Arduino board? It has several communication protocols like I2C, SPI, Serial, PWM and etc. 8. What programming language is used to code Arduino? Ans: Basically C programming language is used to code Arduino boards 7. What is a Raspberry Pi? Raspberry Pi is a credit card sized computer which is capable of doing all operations like a conventional computer. But it also has other built-in features like onboard Wi-Fi, Bluetooth and GPIO pins to communicate with other external Things. 8. Difference between Arduino and Raspberry Pi? Basically, Arduino is a micro-controller and Raspberry Pi is a microprocessor. Raspberry Pi is slightly superior to Arduino boards like it has better CPU and GPU processing along with onboard Bluetooth, Wi-Fi, Ethernet and etc. 9. What is the operating voltage for both Arduino and Raspberry Pi? Raspberry Pi works in 5V input voltage and for Arduino, its operating voltage is between 5-12V. Arduino boards have a regulator, which help is work on a different input voltage. 10. What are the hardware communication interfaces present in the Raspberry Pi? Similar to Arduino boards Raspberry pi also has several communication protocols like I2C, SPI, Serial, PWM and etc. 11. What are GPIO Pins? GPIO stands for General Purpose Input and Output pins. It is capable of reading and writing data from development boards like Raspberry and Arduino to other Sensors, motors, actuators, and etc. 12. What is the latest Raspberry Pi release? Raspberry Pi 3 Model B+ was the latest release of RPi team with much better CPU @ 1.4GHz on March 18, 2018. 13. How many GPIO pins are there in Raspberry Pi? Raspberry Pi 3 Model B+ as 40 GPIO pins which can only read and write digital data. 14. What are Interrupts in Arduino? Interrupts allow certain important tasks to happen in the background and are enabled by default. An Interrupt’s job is to make sure that the processor responds quickly to important events. When a certain signal is detected, an Interrupt interrupts whatever the processor is doing, and executes some code designed to react. 15. List a few operating systems that Raspberry Pi supports? The official operating system for Raspberry Pi is Raspbian. Although it supports other operating systems like Kali Linux, OSMC, Windows 10 IOT Core, Android Things, RetroPie and etc. 16. How do you run Raspberry pi in headless mode? You can use SSH into Raspberry Pi and run in headless mode. Latest Raspbian OS has inbuilt VNC server installed with that you can take remote desktop on Raspberry Pi. 17. What are the available wireless communications boards present in Raspberry Pi? Wi-Fi and Bluetooth/BLE are the wireless communications present in Raspberry Pi. 18. What Python libraries used in Raspberry Pi to control GPIO pins? RPi.GPIO is the python libraries used in Raspberry Pi to control GPIO pins. 19. Can node JS be used in Raspberry Pi to control GPIO pins? Yes, RPI-gpio is the node library used control Raspberry Pi GPIO pins. 20. What is the syntax to read analog and digital data from a sensor in Arduino? digitalRead() and digitalWrite() are respectively used to read and write digital data to the sensors. analogRead() and analogWrite() are respectively used to read and write analog data to the sensors. 21. What is Arduino Shields? Arduino shields are modular circuit boards that piggyback onto your Arduino to instill it with extra functionality. 22. Examples of MEMS sensor? MPU6050- Gyroscope, ADXL345 – Accelerometer, piezoelectric sensor and etc. 23. What is PWM? PWM stands for Pulse Width Modulation. Pulse width modulation allows us to vary how much time the signal is high in an analog fashion. While the signal can only be high (usually 5V) or low (ground) at any time, we can change the proportion of time the signal is high compared to when it is low over a consistent time interval. 24. List some applications of PWM in IOT? Dimming LED, controlling the speed of DC motor, controlling the direction of a servo motor and etc. 25. What sensor and actuator are used to control any home appliances from any IOT devices in wired mode? A relay is used to control any home appliances from any IOT or Embedded devices. A relay is nothing but an electrically operated switch. 26. What is ZigBee protocol? ZigBee is a wireless Technology with IEEE 802.15.4 based high-level communication protocols which can use to create personal area networks with small, low-power devices for home automation, medical device, and other low-power low bandwidth needs. Hence, ZigBee is a low-power, low data rate, and close proximity wireless ad hoc network. 27. What is BLE? BLE stands for Bluetooth Low Energy. Bluetooth Low Energy uses the same 2.4 GHz radio frequencies as classic Bluetooth but uses less power to transmit distance over a short distance. 28. What is the use of BLE in IOT? Unlike classic Bluetooth, BLE remains in sleep mode constantly except for when a connection is initiated. It is used in applications that do not need to exchange large amounts of data and can, therefore, run on battery power for years at a cheaper cost, therefore it is used as one of the means of exchanging data between the devices. 29. What is MicroPython? MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimized to run on microcontrollers such as NodeMCU. 30. How many hardware serial interfaces are in ESP 32? There are 3 hardware serial interfaces are there in ESP32. 37. What firmware can be flashed into NodeMCU? Ans: Either Arduino or MicroPython firmware can be flashed into NodeMCU. 31. What are Subscribers and Publishers in MQTT? Publisher – The devices which transmit or send data over the MQ broker. Subscribers – The devices which consume or reads data over the MQ broker. 32. Example of some MQTT services? Mosquito MQTT, Cloud MQTT, and PubNub are the commonly known MQTT services available. 33. Can NodeMCU act as a web server? Yes, with the help of ESP8266WebServer Arduino library. This library is for ESP8266. Such similar libraries are also available for other NodeMCU board. 42. What are other development boards available? Ans: Other boards such as Beagle Bone Black, BananaPi, Intel’s Galileo, Asus Tinker Board, MSP 430 Launchpad, and etc. 34. What is Windows 10 IOT Core? Windows 10 IOT Core is a full-fledged operating system based on Windows 10 specifically designed to operate on embedded devices. This will empower you to build a single universal app experience. 35. Name some of the sectors where IOT played a major role? Manufacturing, Transportation, Utilities, Healthcare, Consumer electronics, and cars. 36. What are the challenges in IOT? Power utilization and Security will be the major challenges faced in IOT. As all devices are connected to one single network, a small bug implanted into the network will affect all those devices which lead to a chaos. 37. Can IOT take over human mind? No, IOT cannot take the place of the human brain. As the human brain is very complex, self-learning, and the decision making capability makes every known device incomparable to it. 38. What is the scope of IOT devices in the future? Ans: As per Gartner’s report, a total count of IOT devices may hit up to 21 Billion by 2020 worldwide. 39. What is the big IOT implementation so far? Smart Homes, self-driven cars and etc. are the biggest implementations so far. 40. What are Android things? It is an Android-based operating system particularly build for embedded devices like Raspberry Pi and so on. 41. What are the most used sensors types in iot? Temperature sensors Proximity sensor Pressure sensor Gas sensor Smoke sensor IR sensors Motion detection sensors 42. How did you detect fire, which sensor is suitable? I will use smoke sensor which is detect fire and smoke 43. How did you meaure the voltage using sensors? I will use Thermocouples which is used for measuring the voltage. 44. How the Thermocouples work? It will measuring the temperature with a change in voltage, if temperature increases thermocoupes output voltage will be increased 45. What are the sensors can be used in Agriculture? soil moisture sensor Airflow sensors Electro chemical sensors 46. What is purpose of Airflow sensors? It used to measure the air level in soil,we can measure it from the one location or dynamically get from multiple places from the garden. 47. How to did you make small radar? is it possible? yes its possible, by using ultrasonic sensor we can make our own radar, which is detect object presence and distance 48. How did you check the quality of water? Using Water quality sensors, i can detect the quality of waters 49. can you list out some of water sensors? 1.Total organic carbon sensor 2.Turbidity sensor 3.Conductivity sensor 4.pH sensor 50. Do you have better idea for the saving electricity ? yes i have, by using light detecting sensors we can switch off street light automatically, which is saved lot of electricity. 51. What are suitable databases for Iot? influxDB, Mongodb, RethinkDB, Sqlite Apache Cassandra and some more databases available, but these are the most used suitable for IOT 52. What is the features of influxDB Great support visulalization tools Distributed time series database No external dependencies 53. What is mean by arduino ? Its a programmable my controller,it used to sense and control the electronic devices programmatically. 54. What is mean by Raspberry pi? It’s a credit card size computer, it portable we can bring every where.Its run completely on open source softwares and nice devices for IOT projects. 55. difference between Arduino and Raspberry pi? Arduino:A Open programmable Usb microController, its can execute only one program at a time. Raspberry pi: A credit card sized computer, we can run multiple program at a time and its have more computing power compared to arduino 56. What is mean by Raspberry pi zero? Pi zero is the latest minimized version of Raspberry pi, it costs is only 5$. 57. Mostly used protocols in IOT? MQTT protocol XMPP AMQP Data Distribution Service (DDS) Simple Text Oriented Messaging Protocol(STOMP) Very Simple Control Protocol (VSCP) Zigbee wifi 58. What is the abbreviation of MQTT? MQTT – Message Queue Telemetry Transport. 59. What is the Purpose of MQTT protocol? Its provide the connectivity between application and middleware from net side networks to another side networks. 60. What is role of publishers in IOT? publishers are the light weight sensor that send the Real time data to middle ware or intermediate devices. 61) Who is subscribers in IOT? Subscribers are the application which is interested on collected real time datas from the sensors. 62) How did you program the Arduino? By using Arduino IDE, i can program the Arduino. And another method i can use Node.js Johny five module to control Arduino 63) If its possible to controll the keyboard using Arduino? Yes, its possible to controll the keyboard by using specialized inbuild keyboard Arduino libary. 64) What is mean by libary in Arduino? Library is the collection of code, which is already written for controlling the sensor or module. 65) How did you install new library in Arduino? In Arduino Select Include library from the Sketch option in Toolbar, It will open File Explorer , select library install from the location. That’s it. 66) Meaning of Sketch in Arduino? In Arduino each unit of code called as Sketch which is uploaded and run on the Board. 67) Its possible reduce the size of my sketch? Yes its possible, by Removing unused libraries from the top of the code and make our code very simple and short, Then only we can reduce the size of the sketch. 68) How did you control the Arduino using python? By connecting the serial port of arduino we can control the arduino using python. To connect the serial port we need to import serial module in python. 69) List some of wearable arduino boards? Lilypad arduino simple Lilypad arduino main board Lilypad arduino usb Lilypad arduino simple snap 70) How did host the web server using Arduino? Using the Arduino Ethernet shield we can host the web server in Arduino. 71) What are the available models in Raspberry pi? Raspberry Pi 1 model B Raspberry Pi 1 model A Raspberry Pi 1 model B+ Raspberry Pi 1model A+ Raspberry Pi Zero Raspberry Pi 2 Raspberry Pi 3 model B Raspberry Pi Zero W 72) Real Time usage of Raspberry pi? Home Automation Internet Radio Portable webserver manipulating the robots 73) What is default operating system of Raspberry pi, May i use any other operating systems? Raspbian is the Default operating system os Pi, Yes we can use windows and any linux operating systems mainly designed for Arm based devices. 74) Is windows support for Raspberry pi? Yes windows gives support for raspberry, with specially designed windows 10 IOT core. 75) What is the GPIO ? GPIO – General purpose input/output. Its a programmable pins which may input or output pins, During run time user control these pin programmatically. for more details https://en.wikipedia.org/wiki/General-purpose_input/output 76) which module is used to control the gpio in python? gpiozero is used to control the gpio pins in Rasperry pi. By using this we can control button, LED, Robot and more things are possible. 77) Why should i prepare mongodb for IOT compared to other databases? Its the document model based storage database. Hence its faster compared to other databases, Rather than that its support more than 20 programming language support for integration. 78) What are the programming language supported for Mongodb? Actionscript info,C,C#,C++,Clojure info,ColdFusion info,D info,Dart info,Delphi info,Erlang,Go info,Groovy info,Haskell,Java,JavaScript,Lisp info,Lua info,MatLab info,Perl,PHP,PowerShell info,Prolog info,Python,R info,Ruby,Scala,Smalltalk. 79) what is mean by aggregation in mongodb? Its process of datas and return the computed values. for more information: https://docs.mongodb.com/manual/core/map-reduce/ 80) Explain about sharding? Sharding is Split data into multiple collection and store it in the multiple machines. 81) Explain about replication? Replication is the act of sync datas between multiple servers, which makes mongodb as high availability. 82) Explain how did you store the High volume file like video or audio files into Arduino? Using Gridfs is the specification used to storing and retrieving the audio or video file from Mongodb. 83) can you write a query to insert the data into Mongodb? db.yourIOTcollectionname.insert({location:”india”, count:”123″}); Here YourIOTcollectionname is the name of your collection. 84) Explain how did you insert bulk data in Mongodb, can write query for that? query: var huge= db.iotCollection.initializeUnorderedBulkOp(); huge.insert({location:”India”, count:456, polls:456}); huge.insert({location:”Russia:, count:567, polls:567}); huge.insert({location:”China”, count:789, polls:789}); huge.insert({location:”USA”, count:123, polls:123}); huge.execute() 85) What is db command ? db command is mention the currently selected database name in Mongodb; 86) What are the layers of OSI? Physical layer Data link layer Network layer Transport layer Session layer Presentation layer Applicaton layer 87) List some Advance IOT projects? Control the robot by Hand gesture (like iron man) Office theft prevention system facial recognition based intruder alert system. 88) What is the layout GPIO pins? for layout:https://www.raspberrypi.org/documentation/usage/gpio/ 89) How many pins are available in Arduino UNO board? Totally 28 pins are availble, for pin names please find at this link https://www.arduino.cc/en/Hacking/PinMapping168 90) Which Latest model of Raspberry pi now? and its features? Raspberry pi 3 B+. for its features please refer this link http://socialcompare.com/en/review/raspberry-pi-3-b-plus. 91) What is the keyfeatures of IoT? The mosts important feature of IoT include artificial intelligence, connectivity,sensors,active engagement and small device use. 92) Advantages of IOT? We have many advantages of IOT in many fields and businesses ,Such that very enhanced data collection In proper accurate,Efficient way of customer engagement,Less wastage ,Advanced way of using technology 93) Disadvantages of IOT? IOT is also having some disadvantages I.e privacy of data,security of object,Complexity in implementation and flexibility 94)What is IOT Sensors? As of now in IOT technology sensor is the very important device ,many kind of sensors are available in industry i.e Temperature , Humidity ,Heart-Beat and also which are contain energy modules,power management ,RF Modules etc 95) Wearable Devices in IOT? Wearable electronic devices area unit little devices worn on the top, neck, arms ,torso, and feet. Head – Helmets, Glasses Neck – Jewellery,collars Arm – Watches,Wristbands,rings Torso- clothing, backpacks Feet – socks, shoes 96) What is data collection in IoT? This software system manages sensing, measurements, light-weight information filtering, light-weight information security, and aggregation of knowledge. It uses bound protocols to assist sensors in connecting with period, machine-to-machine networks. Then it collects information from multiple devices and distributes it in accordance with settings. It additionally works in reverse by distributing information over devices. 97) How bluetooth technology supports IoT? This technology supports the low-power, long -use would like of IoT perform whereas exploiting a customary technology with native support across systems. 98) How Low energy wireless helps the IoT? This technology replaces the most power hungry aspect of an IoT systems.Though sensors and other elements can powerr down over long periods, communication links(I.e wireless) must remain in listening mode.Low-energy wireless not solely reduces consumption, but also extends the life of the device through less use. 99) What is Radio Protocol? ZIgBee ,1z-wave and Thread are radio protocols for creating low-rte private area networks. These technologies square measure low-power, however supply high turnout in contrast to several similar choices.This will increase the facility of little native device networks while not the everyday prices. 100) What is common uses of IoT? IoT has applications across industries and markets. Engineering, business and Infrastructure Government and safety Home and workplace Health and drugs. 101) What is application of IoT in Environmental Monitoring? The application of IoT in environmental monitoring are broad: environmental protection , extreme weather monitoring, water safety,endangered species protection, commercial farming and more.In these applications, sensors notice and live each variety of environmental amendment. 102) What is application of IoT in Transportation? At each layer of transportation, IoT provides improved communication, control, and knowledge distribution. These applications embrace personal vehicles, industrial vehicles, trains, UAVs, and alternative instrumentation. It extends throughout the complete system of all transportation parts like control, parking, fuel consumption, and more. 103) What is application of IoT in Government? IoT supports the event of sensible nations and sensible cities. This includes sweetening of infrastructure antecedently mentioned (e.g., healthcare, energy, transportation, etc.), defense, and conjointly the engineering and maintenance of communities. 104) What is application of IoT in Law enforcement? IoT enhances enforcement organizations and observe, and improves the justice system. The technology boosts transparency, distributes vital information, and removes human intervention wherever it proves excess. IoT aids in making higher solutions to issues by exploitation technology within the place of force; for instance, light-weight in-person investigations of suspicious activities may be replaced with remote observation, logged footage of violations, and electronic ticketing. It conjointly reduces corruption by removing human management and opinion for a few violations. 105) What is IoT Thingworx? Thingworx may be a platform for the fast development and readying of sensible, connected devices. Its set of integrated IoT development tools support property, analysis, production, and alternative aspects of IoT development. 106) Who coined the term net( of Things (IoT) and when? The term net of Things is sixteen years previous. But the particular plan of connected devices had been around longer, a minimum of since the 70s. Back then, the thought was usually known as “embedded internet” or “pervasive computing”. But the particular term “Internet of Things” was coined by Kevin Sir Frederick Ashton in 1999 throughout his work on Procter&Gamble 107) What is IoT Cloud? The Salesforce IoT Cloud may be a platform for storing and process IoT information. It uses the Thunder engine for climbable, period event process. Its assortment of application development elements, called Lightning, powers its applications. It gathers information from devices, websites, applications, customers, and partners to trigger actions for period responses. 108) What is IoT GE-PREDIX? GE (General Electric) Predix could be a software system platform for information assortment from industrial instruments. It provides a cloud-based PaaS (platform as a service), that allows industrial-grade analytics for operations optimisation and performance management. It connects information, people, and instrumentation in an exceedingly commonplace method. 109) What is IoT Contiki? Contiki is AN software system for IoT that specifically targets little IoT devices with restricted memory, power, bandwidth, and process power. It uses a minimalist style whereas still packing the common tools of contemporary operative systems. It provides practicality for management of programs, processes, resources, memory, and communication. 110) What role does the network play in the Internet of Everything? must give AN intelligent, manageable, secure infrastructure which will scale to support billions of context-aware devices. 111) How does the Internet of Everything relate to the Internet of Things? The “Internet of Everything” builds on the muse of the “Internet of Things” by adding network intelligence that enables convergence, orchestration and visibility across antecedently disparate systems. 112) Difference between IIoT and IoT? The Industrial IoT connects vital machines and sensors in high-stakes industries like region and defense, care and energy. These area unit systems within which failure usually ends up in severe or different emergency things. On the opposite hand, IoT systems tend to be consumer-level devices like wearable fitness tools, sensible home thermometers and automatic pet feeders 113) What is the difference between the Internet of Things (IoT) and the Sensor Business? Sensors will be employed in scores of other ways, several of that don’t ought to be web connected. IoT additionally includes the management facet, not simply the sensing facet. 114) Why Internet of Things(IoT) will be successful in the coming years? As the telecommunication sector is changing into additional intensive and economical, broadband web is wide offered. With technological advancement it’s currently less expensive to provide necessary sensors with integral WiFi capabilities creating connecting devices more cost effective. 115) What are the important Components of Internet of Things? Hardware-Making physical objects responsive and giving them capability to retrieve knowledge and answer directions code – facultative the info assortment, storage, processing, manipulating and instructing Communication Infrastructure – most significant of all is that the communication infrastructure that consists of protocols and technologies that modify 2 physical objects to exchange knowledge. 116) What is the internet of Everything? The Internet of Everything is that the intelligent affiliation of individuals, process, information and things. 117) What Companies are working on IOT? At this time, the better question could be United Nations agency isn?t working on an IoT product. Big names like Samsung, LG, Apple, Google and Philips are all working on connected devices, as are many smaller companies and startups. Research cluster Gartner predicts that four.9 billion connected devices are in use this year, and therefore the variety can reach twenty five billion by 2020. 118) What impacts will the Internet of Things (IoT) have on Energy Sector? IoT might impact each production and delivery, as an example through facilitating observance of oil wellheads and pipelines. When IoT parts ar embedded into components of the electrical grid, the ensuing infrastructure is usually mentioned because the “smart grid”. This use of IoT allows bigger management by utilities over the flow of electricity and may enhance the potency of grid operations. 119) What impacts will the Internet of Things (IoT) have on Agriculture Sector? The IoT may be leveraged by the agriculture trade through exactness agriculture, with the goal of optimizing production and potency whereas reducing prices and environmental impacts. For farming operations, it involves analysis of elaborate, usually time period knowledge on weather, soil and air quality, installation, pesterer populations, crop maturity, and alternative factors like the cost and availability of equipment and labor. Field sensors check soil wetness and beam balance, which might be in addition to location technologies to modify precise irrigation and fertilization. 120) What is GainSpan’s GS2000 Protocol for Internet of Things (IoT)? GainSpan’s GS2000 is one such technical school that used each ZigBee and Wi-Fi. It makes optimum use of power by golf shot the device into energy-saving standby mode once no information transmission is going down. Only when device is awaked or checked for affiliation failure the high power consumption affiliation of Wi-Fi is employed. 121) What is Bluegiga APx4 Protocol for Internet of Things (IoT)? BLE and Wi-Fi along are often used while not interference as they’re compliable to beingness protocols. The Bluegiga APx4 is one such resolution that supports each BLE and Wi-Fi and is predicated on 450MHz ARM9 processor. 122) What is Wi-Fi Protocol for Internet of Things (IoT)? Counted because the most mature wireless radio technology, Wi-Fi is predominant communication technology chosen for IoT applications. Already existing protocols like WPS create the mixing of web of things devices easier with the present network. If we have a tendency to say transmission then Wi-Fi offers the most effective power-per-bit potency. However power consumption once devices area unit dormant is far higher with standard Wi-Fi styles. Counted as the most mature wireless radio technology, Wi-Fi is predominant communication technology chosen for IoT applications. Already existing protocols like WPS make the integration of internet of things devices easier with the existing network. If we talk about transmission then Wi-Fi offers the best power-per-bit efficiency. However power consumption when devices are dormant is much higher with conventional Wi-Fi designs. The solution is provided by protocols like BLE and ZigBee that reduce power consumption by sensors when devices are dormant. 123) What is ZigBee Protocol for Internet of Things (IoT)? ZigBee could be a low power overwhelming IEEE 802.15.4(2003) commonplace based mostly specification, ZigBee could be a brain kid of sixteen automation corporations. What makes it novel is that the use of mesh networking that makes utilization of communication resources rather more economical. ZigBee based mostly IoT nodes will connect with central controller creating use of middle nodes for propagating the info. 124) Is the Internet of Everything a Cisco or IBM architecture or trademark? No. the web of Everything doesn’t describe a selected design and isn’t exclusively in hand by Cisco or IBM or the other company. 125) What are the IoT Softwares? This are the softwares are avaialable in IOT Microsoft AZure, Blockchain, windows IoT, All Joyn, Node-RED,Predix,Bluemix. 126) Is Mobile phone IoT device? A mobile phone, especially a smart phone is not a thing of the IoT. Smartphones are regular computing device . Ordinary objects that embed such sensors and have bare minimum ability to convey the status are the thiings of the IoT. 127) What is EIS IoT in TCS? EIS stands for engineering and industrial service. IoT is a global thing. It stands for net of things or normally cloud primarily based IT solutions once it involves TCS. 128) Does Intel provide IoT Platform? The intel IoT platform is an finish to finish reference model and family of product from intel. That works with third party solutions to prvide a foundation for seamlessly and securely connecting device,delivering trusted data to the cloud, and delivering value through analytics. 129) What is IoT in TCS? TCS is collabaration with intel to develop a portfolio of IoT solutions such as smart cities, smart infrastructure, connected assets and Telematics.. The intel IoT platform is an end to end reference model designed to unify and modify property and security for the IoT. 130) What is application of IoT in Healthcare? Current devices are rapidly improving in precision, power, and availability; however, they still offer less of these qualities than an IoT system integrating the right system effectively. IoT unlocks the potential of existing technology, and leads U.S.A. toward new and higher medical device solutions. 131) What does NOT represent? What is IOT? The full frame for IOT is “Web of Things”. The Internet of things is only a system of different physical instruments or gadgets and other implanted things which with hardware, programming, actuators over system network. Utilizing this system availability, a free stream of data can be gathered and in the meantime, it can trade the information. 132) What are the critical parts that exist in the Internet of Things? The critical parts that exist in the Internet of Things are as per the following: Hardware Software 133) How will the Internet of Things affect the manageability of the business and will it have any effect on the earth? Indeed, with the assistance of the Internet of Things will positively affect the current procedures and the execution. For instance, with the assistance of the Internet of Things, the road light frameworks can be overseen path superior to anything what we are experiencing now. Utilizing a mechanization procedure the road lighting framework can be better overseen and a great deal of power can be spared and a ton of intensity could be utilized somewhere else where it is truly required. Likewise, with powerful administration, the quantity of carbon discharges could likewise be decreased to an extreme dimension in light of the fact that the road light framework is successfully and effectively overseen. So therefore, having a beneficial outcome on the procedure itself and furthermore goodly affects the earth. 134) Explain what is the job does the system play in the Internet of Everything? Indeed, the system itself assumes a critical job in the expression of the Internet of Things, it is a driving variable for bringing all the diverse frameworks together which work connected at the hip and demonstrate to us a superior future or improvement in each procedure. It gives a keen, sensible and secure foundation for better execution. 135) Explain what is the Internet of everything? The web of everything is only a savvy method for individuals association, process association and information trade. 136) What kind of data does Internet of Things objects convey? To be completely forthright, everything relies upon the kind of the items that are utilized inside the procedure. For instance An article with a solitary sensor, similar to a keen thermometer. With this gadget, the room temperature can be estimated and the data is sent crosswise over to the remote climate observing focus. Then again, let us think about a remote medicinal gadget, it is fit for taking various qualities or information like body temperature, circulatory strain, beat, and some other factors are shared between the restorative specialist co-op by means of a PC or a cell phone. So essentially, it relies upon the kind of the gadget or the item is really utilized in the system. 137) Why will the Internet of Things be effective in the coming years? All things considered, the web of things will be a colossal hit in the coming years due to the accessibility of broadband web. In the event that you have seen over the most recent couple of years the broadband web is really got less expensive contrasted with the past and the accessibility has likewise come to neighborhood conditions. Likewise, the equipment frameworks and the assembling of the sensors have additionally gone down a ton contrasted with the most recent couple of years. As the web is the greatest factor that assumes a positive job for the Internet of things achievement, with the blend of the correct equipment and the web it will be a huge achievement and this is the reason I figure the Internet of things will be gigantic in next couple of years. 138) What is the effect of the Internet of Things have on Healthcare segment? To be completely forthright, with you there will be huge development when the Internet of Things administrations are executed in the medicinal services segment. The as a matter of first importance and the most serious issue is giving quality human services administration to each individual has been a noteworthy test for every one of the nations. With the assistance of the Internet of Things, a great deal of brilliant gadgets and hardware have been intended to take into account this issue. The methodology of Telemedicine and Telehealth is one of the greatest accomplishment in this cutting edge period. This is happened on account of the solid system channel coordinated with a wide assortment of brilliant apparatuses which are used in everyday human services assessment of a person. Starting at now, we have seen organizations developing in this space where they are endeavoring to give specialist interview for all intents and purposes when they require it during the evening or in a crisis level. It has a great deal of positive effect as far as the administration given by the organizations and in next couple of years the specialist and patient communication will totally rethink and it will understand a ton of current day challenges. Some of them can be: 1.Booking arrangements in a standard timetable 2.Traveling to the healing facility with the patient Cooperating with 10 distinct individuals about the sickness and after that at last go see a specialist and so forth 139) What might be the effect of the Internet of Things hands on market, do you see any conceivable activity cuts? All things considered, to be exceptionally obtuse about this, we will confront work cuts where the machines will assume control over a portion of the employments which require constancy and precision. However, on the more splendid side, the people get the chance to learn new abilities to command the machines and make their own space. This has been the law of nature we have something today to lessen the weight and in the following couple of months or days, we have another issue to manage. So I see this in an idealistic way managing our everyday issues 140) What is the best M2M application that is accessible on the planet? The abbreviation M2M application represents Machine to Machine applications. Resource following: This procedure has been enormously changed the manner in which how we track an individual item ideal from the creation to convey. With the assistance of Internet of Things instruments and procedures, a great deal has been given to the web based business associations. Utilizing these apparatuses and process, online business associations have use another methodology of advising their clients about their item whereabouts and the majority of this is going on effortlessly contrasted with the standard procedure that is actualized starting at now. Protection Telematics: Insurance organizations have possessed the capacity to tailor a variety of perspectives into thought while giving out any superior statements to their clients. In this way thinking about all the distinctive contributions to the application, the client will have the capacity to characterize a perfect measure of premium keeping all his past information into thought. Along these lines has upset the manner in which insurance agencies have been working up until this point. Related Article: Internet of Things Revolution 141) What are the distinctive parts where the Internet of Things can really enhance the present procedures? The Internet of Things process can be connected to any handle where profitability, precision or process improvement is required. With the assistance of the innovation and the keen equipment, this can be executed in a small amount of the current working expense. Web of things can be connected or as of now began applying their advantages to the accompanying classes and ideally, we will see more later on: Agriculture Manufacturing Healthcare Energy Transportation Security Data improvement 142) What is the greatest distinction between Internet of Things and sensor organizations? A sensor business probably won’t require a functioning web association and it can in any case work without it. Be that as it may, with regards to the Internet of Things it has a control side related with it which is important to screen, trade the data from the sensor to the focal unit inside a functioning system. This is the fundamental contrast between the web of things and the sensor organizations. 143) So what are the fundamental difficulties of the Internet of Things usage? Up until this point, we have discussed how great Internet of Things can be to the organizations and the people however it likewise accompanies a second side of the blade. The above all else issue with actualizing Internet of Things is the Security angle. As the information is traded over the web it is simple for cybercriminals to think of a framework which can really break into the system and take the important data. Consider the above situation occurring into the social insurance industry where the patient records are presented to the general population. As the gadgets are associated with a solitary system, it is simple for the cybercriminals to infuse an infection which can absolutely harm the whole equipment which results into a gigantic misfortune. This can likewise occur on the off chance that we have not concentrated much on the security perspectives. Q144) What is the distinction among IIOT and IOT? The abbreviation IIOT means “Mechanical Internet of Things”. This is altogether different when contrasted with the Internet of things application. With regards to Industrial Internet of Things, they utilize substantial or basic machines something like the equipment utilized in aviation and in barrier where these gadgets are associated over a system and any disappointment of these gadgets will cause a perilous circumstance. All things considered, with regards to the web of things it is simply done at a little scale level where there is no compelling reason to stress over hazardous circumstances since it is more cooked towards the procedure execution and upgrade. Q145) When you state Internet of Things, I’m not catching your meaning by the “thing”? In the Internet of Things execution world, “Thing” has an increasingly significant methodology since it contemplates of a thought. For instance A”thing” can be a delivery holder which has a RFID tag related with it and it is dispatched starting with one area then onto the next where it gives out the present data at whatever point the RFID label goes through a RFID peruser. Another model is a microchip incorporated into your cell phone or a wellness band which ceaselessly screens your physical developments and after that push the data to the focal storehouse over the web. 146) List out every one of the effects of the Internet of Things will be knowledgeable about the Transportation business? Indeed, these days the vast majority of the vehicles are really outfitted with GPS ( Global Positioning System) and ADAS ( Advanced Driver Assistance System) where all the data is caught from the vehicle and after that dissected as needs be and choices are taken. For instance, the use of crisis break dependent on the sensor information, capacity to give assistance to the client while leaving the vehicle and helping him amid this procedure. The majority of this application have rolled out an immaculate improvement as far as how the web of things can encourage an individual and furthermore the organizations to do innovative work to upgrade their remarkable contributions to the clients to pull in to their organizations. 147) What are the vital components of the Internet of Everything, (IOE)? The vital components of the Internet of Everything are only individuals and the diverse keen gadgets that are appearing. The general population will proceed with their procedure of getting associated with all the shrewd gadgets as they are doing well now and be in contact with all the web-based social networking stages like Facebook, Twitter, LinkedIn and so forth. As on when the Internet of Everything approaches the communications with the general population through the web will increment and in the long run be a solitary hub of the data transmitting from each person to the gathering point. In not so distant future, we can expect people doing this by wearing sensors on their skin and furthermore the use of the sensor in the coat will be pervasive. The majority of this data will be transmitted from an individual and this one will be a solitary hub where the data is streaming to a focal unit where every one of the information is reaped and used for further research and study. 148) What are the effects that can be seen in executing web of Things on Agriculture segment? They are distinctive components that leave a positive effect on actualizing Internet of Things on Agriculture area. With regards to the farming division, it is tied in with being exact and clear about what should be done at the perfect time. This can be automatized utilizing the Internet of things where profitability, exactness, increment in effectiveness and lessening the general expenses related. For cultivating, it is about explanatory information. For instance: To yield a superior outcome it is vital for the rancher to comprehend the dirt quality, air quality, water accessibility, climate related data, bug control and so forth. The majority of this data can be assembled by utilizing the Internet of Things applications. Along these lines understanding distinctive parts of the cultivating, it is certainly advantageous for the agriculturist to look for this kind of assistance. 149) What are the dangers and difficulties that we ought to know about with regards to the Internet of Everything? The dangers and difficulties that everybody ought to know about with regards to the Internet of Everything are: Security Security System blockage Power utilization at the pinnacles 150) What is Bluegiga APX4 convention for the Internet of Things (IOT)? The Bluegiga APX4 is an awesome arrangement which really bolsters both the BLE stage and WiFI and it depends on 450MHz ARM9 processor. 151) Explain why vitality utilization will be an issue when the Internet of Things is actualized? Indeed, the usage of Internet of Things can really profit the created nations without numerous difficulties. On the off chance that the Internet of Things is really actualized in an immature nation or creating nation then it needs to confront a portion of the commonsense issues. For instance, a creating nation may need in giving quality power supply to its populace as of right now on the off chance that the associations are executing Internet of things, it will be a major calamity. Since Internet of Things will take a great deal of vitality utilization and if that is the situation the arrangement given won’t fill in as productively as could be expected under the circumstances. 152) Can you rattle off the organizations that are dealing with Internet of Things? Now of time, the appropriate response is who isn’t taking a shot at Internet of Things. To the self evident reality, the majority of the organizations are really taking the advantages of this procedure and making enhancements to a specific dimension where their general execution has come to certain ideal dimension. 153) Will the accessibility of High-speed web be a noteworthy downside in the Internet of Things advancement and usage? Indeed, the accessibility of High-speed web will be a noteworthy downside in the Internet of Things improvement and execution since it is one of the significant prerequisite for the Internet of things to work proficiently and viably. 154) What are the impacts of the Internet of Things will have on the human life? The beneficial outcomes of the Internet of Things are as of now occurring and it will amazingly increment in approaching years. It is utilized by they way we apply breaks It is utilized by they way we can leave our vehicles It is utilized in the stopping opening machines and at the toll doors Profitability has expanded in view of mechanizing the assembling procedure Process-arranged have been totally made programmed where ingenuity is given most noteworthy need. 155) Why is Zigbee convention so imperative for the Internet of Things execution? The Zigbee convention is vital on the grounds that it is known for its low power utilization, it kept up IEEE 802.15.4(2003) principles while use. 156) What does WSN represent in Internet of Things idea? The abbreviation WSN represents Wireless Sensor Network. It is viewed as the establishment of the Internet of Things applications. 157) Give me an ongoing case of the Internet of Things application? Outstanding amongst other instances of the Internet of Things application is as per the following: You can be conscious with the assistance of predefined alert setup, however with the assistance of Internet of Things application, you let your brewer realize that you are wakeful and it can begin setting up a some espresso for you. In the event that the innovation can enable you to make your mornings awesome it can do whatever else. 158) Does Internet of Everything talk about CISCO based or IBM based engineering? All things considered, Internet of Everything doesn’t portray any data on explicit engineering and it isn’t exclusively claimed by Cisco and IBM 159) Do you think, the Internet of Things is helpful in regular day to day existence? Indeed, Internet of Things to make life less demanding and gives a chance to accomplish something different instead of adhering up to the everyday practice. 160) What do you figure the Internet of Things can totally supplant the human personality and take its very own choices? No, I totally can’t help contradicting this inscription. Web of Things can’t totally supplant the human personality with regards to choices, the manner in which it is assembled is to give us the likelihood of something on factual information and give an alternative to the individual so progressively precise choices can be taken yet not to a degree where the human personality is supplanted with the robots 161) What is the Current Federal Regulatory Role of USA Government relevant to Internet Of Things (IoT)? There is no single government office that has generally duty regarding the IoT, similarly as there is nobody office with by and large obligation regarding the internet. Government office may discover the IoT valuable in helping them satisfy their missions through an assortment of utilizations, for example, those talked about in this report and somewhere else. Every organization is capable under different laws and directions for the working and security of its own IoT, albeit a few advances, for example, rambles, may likewise fall under a few parts of the purview of different offices. Different organizations have administrative, division explicit, and other mission-related obligations that include parts of IoT. For instance, elements that utilization remote correspondences for their IoT gadgets will be liable to distribution rules for the bits of the electromagnetic range that they use. 1. The Federal Communications Commission (FCC) dispenses and allots range for nonfederal substances. 2. In the Department of Commerce, the National Telecommunications and Information Administration (NTIA) satisfies that work for government substances, and the National Institute of Standards and Technology (NIST) makes benchmarks, grows new advancements, and gives best practices to the Internet and Internet-empowered gadgets. 3. The Federal Trade Commission (FTC) controls and upholds buyer assurance strategies, including for protection and security of shopper IoT gadgets. 4. The Department of Homeland Security (DHS) is in charge of organizing security for the 16 basic foundation areas. A significant number of those parts utilize modern control frameworks (ICS), which are regularly associated with the Internet, and the DHS National Cybersecurity and Communications Integration Center (NCCIC) has an ICS Cyber Emergency Response Team (ICS-CERT) to help basic foundation elements address ICS cybersecurity issues. 5. The Food and Drug Administration (FDA) additionally has duties as for the cybersecurity of Internet-associated therapeutic gadgets. 6. The Department of Justice (DOJ) addresses law-implementation parts of IoT, including cyberattacks, unlawful exfiltration of information from gadgets or potentially systems, and examination and indictment of other PC and licensed innovation wrongdoings. 7. Significant exercises at the Department of Energy (DOE) incorporate those related with growing elite and green structures, and other vitality related projects, including those identified with shrewd electrical networks. 8. The Department of Transportation (DOT) has set up an Intelligent Transportation Systems Joint Program Office (ITS JPO) to facilitate different projects and exercises all through DOT identifying with the improvement and arrangement of associated vehicles and frameworks, including all methods of surface transportation. Speck mode-explicit organizations additionally participate in ITS exercises. The Federal Aviation Administration (FAA) is engaged with direction and different exercises identifying with unmanned elevated vehicles (UAVs) and business frameworks (UAS). 9. The Department of Defense was a pioneer in the improvement of a significant part of the central innovation for the IoT. The greater part of its IoT arrangement has identified with its battle mission, both straightforwardly and for strategic and other help. Notwithstanding the exercises depicted over, a few offices are occupied with innovative work (R&D) identified with the IoT:- Like NIST, the National Science Foundation (NSF) takes part in digital physical frameworks look into and different exercises that cut crosswise over different IoT applications. Different organizations associated with such R&D incorporate the Food and Drug Administration (FDA), the National Aeronautics and Space Administration (NASA), the National Institutes of Health (NIH), the Department of Veterans Affairs (VA), and a few DOD offices. The White House has likewise reported a brilliant urban communities activity concentrating on the advancement of an examination framework, exhibition ventures, and other R&D exercises. 162)What organizations are chipping away at Internet of Things (IoT)? At this point, the simpler inquiry may be who isn?t chipping away at an IoT item. Enormous names like Samsung, LG, Apple, Google, Lowe?s and Philips are for the most part chipping away at associated gadgets, as are numerous littler organizations and new companies. Research bunch Gartner predicts that 4.9 billion associated gadgets will be being used for the current year, and the number will achieve 25 billion by 2020. 163).How Does the Internet of Things (IoT) Work? The IoT isn’t separate from the Internet, yet rather, a conceivably enormous augmentation and development of it. The ?things? that shape the premise of the IoT are objects. They could be for all intents and purposes anything? streetlights, indoor regulators, electric meters, wellness trackers, industrial facility hardware, autos, unmanned flying machine frameworks (UASs or rambles), or even cows or sheep in a field. What makes an article some portion of the IoT is inserted or joined PC chips or comparable segments that give the item both a remarkable identifier and Internet availability. Articles with such parts are frequently called “smart”?such as shrewd meters and keen vehicles. Web network enables a savvy item to speak with PCs and with other keen articles. Associations of keen articles to the Internet can be wired, for example, through Ethernet links, or remote, for example, by means of a Wi-Fi or cell organize. To empower exact interchanges, each IoT object must be interestingly recognizable. That is cultivated through an Internet Protocol (IP) address, a number appointed to every Internet-associated gadget, regardless of whether a personal computer, a cell phone, a printer, or an IoT object. Those IP addresses guarantee that the gadget or item sending or accepting data is accurately distinguished. 164) What effects will the Internet of Things (IoT) have on Energy Sector? Within the vitality part, the IoT may affect both generation and conveyance, for instance through encouraging the observing of oil wellheads and pipelines. At the point when IoT segments are implanted into parts of the electrical lattice, the subsequent framework is generally alluded to as the “brilliant network”. This utilization of IoT empowers more noteworthy control by utilities over the stream of power and can improve the proficiency of lattice activities. It can likewise facilitate the mix of microgenerators into the framework. Savvy lattice innovation can likewise furnish buyers with more noteworthy learning and control of their vitality use using shrewd meters in the home or office. The association of brilliant meters to a building’s HVAC, lighting, and different frameworks can result in “keen structures” that coordinate the activity of those frameworks. Keen structures use sensors and other information to naturally modify room temperatures, lighting, and in general vitality use, bringing about more noteworthy proficiency and lower vitality cost. Data from nearby structures might be additionally coordinated to give extra efficiencies in an area or bigger division in a city. 165) For what reason is the Internet of Everything vital? The Internet of Everything unites individuals, process, information and things to make arranged associations more applicable and significant than any time in recent memory – transforming data into activities that make new abilities, more extravagant encounters and uncommon financial open door for organizations, people and nations. 166)What effects will the Internet of Things (IoT) have on the Agriculture Sector? The IoT can be utilized by the horticulture business through accuracy agribusiness, with the objective of enhancing generation and productivity while decreasing expenses and ecological effects. For cultivating tasks, it includes examination of point by point, regularly constant information on climate, soil and air quality, water supply, bother populaces, edit development, and different factors, for example, the expense and accessibility of gear and work. Field sensors test soil dampness and synthetic parity, which can be combined with area advancements to empower exact water system and treatment. Automatons and satellites can be utilized to take point by point pictures of fields, giving agriculturists data about harvest yield, supplement lacks, and weed areas. For farming and creature tasks, radio recurrence distinguishing proof (RFID) chips and electronic ID perusers (EID) help screen creature developments, sustaining examples, and rearing capacities, while keeping up nitty gritty records on individual creatures. 167) Can all IoT gadgets converse with one another? What is the Standard for Communication between these gadgets? With such huge numbers of organizations taking a shot at various items, advancements and stages, making every one of these gadgets speak with one another is no little accomplishment? consistent by and large similarity likely won’t occur. A few gatherings are attempting to make an open standard that would permit interoperability among the different items. Among them are the AllSeen Alliance, whose individuals incorporate Qualcomm, LG, Microsoft, Panasonic and Sony; and the Open Interconnect Consortium, which has the help of Intel, Cisco, GE, Samsung, and HP. While their ultimate objective is the equivalent, there are a few contrasts to survive. For instance, the OIC says the AllSeen Alliance doesn’t do what’s necessary in the regions of security and licensed innovation insurance. The AllSeen Alliance says that these issues have not been an issue for its in excess of 110 individuals. It’s not clear how the gauges fight will play out, however many trust we’ll finish up with three to four unique measures as opposed to a solitary victor (think iOS and Android). Meanwhile, one-way shoppers can get around the issue is by getting a center that bolsters different remote advancements, for example, the one offered by SmartThings. 168) Should the customers be worried about security and protection issues considering the measure of information Internet of Things (IoT) gathers? The different measures of information gathered by savvy home gadgets, associated vehicles and wearables have numerous individuals stressed over the potential danger of individual information getting into the wrong hands. The expanded number of passages likewise represents a security hazard. The Federal Trade Commission has communicated concerns and has suggested that organizations play it safe so as to secure their clients. The FTC, be that as it may, doesn’t have the expert to authorize directions on IoT gadgets, so it is misty what number of organizations will regard its recommendation. For instance, Apple necessitates that organizations creating items for its HomeKit stage incorporate start to finish encryption and verification and security arrangement. The organization additionally said it doesn’t gather any client information identified with HomeKit embellishments. 169) What is implied by a Smart City, with regards to Internet Of Things (IoT)? As with IoT and other prevalent innovation terms, there is no settled agreement definition or set of criteria for portraying what a shrewd city is. Explicit portrayals fluctuate broadly, however when all is said in done, they include the utilization of IoT and related innovations to enhance vitality, transportation, administration, and other metropolitan administrations for determined objectives, for example, supportability or enhanced personal satisfaction. The related innovations incorporate:- Online networking, (for example, Facebook and Twitter), Portable registering, (for example, cell phones and wearable gadgets), Information Analytics (enormous information ? the handling and utilization of substantial informational indexes; and open information ? databases that are openly available), and Distributed computing (the conveyance of registering administrations from a remote area, comparable to the way utilities, for example, power are given). Together, these are now and again called SMAC. 170) What is GainSpan’s GS2000 Protocol for the Internet of Things (IoT)? GainSpan’s GS2000 is one such tech which utilized both ZigBee and Wi-Fi. It makes ideal utilization of intensity by putting the gadget into vitality sparing reserve mode when no information transmission is occurring. Just when the gadget is awaked or checked for association disappointment the powerful utilization association of Wi-Fi is utilized. 171) What dangers and difficulties ought to be considered in the Internet of Everything? Some vital contemplations in the Internet of Everything incorporate protection, security, vitality utilization and system blockage. 172) How Lack of Uniform Technical Standards may influence the Development and Implementation of the Internet of Things (IoT)? Currently, there is no single generally perceived arrangement of specialized principles for the IoT, particularly as for correspondences, or even a usually acknowledged definition among the different associations that have created IoT benchmarks or related records. Numerous eyewitnesses concur that a typical arrangement of models will be fundamental for interoperability and versatility of gadgets and frameworks. Be that as it may, others have communicated negativity that an all inclusive standard is doable or even alluring, given the assorted variety of items that the IoT conceivably includes. A few unique arrangements of true guidelines have been being developed, and a few onlookers don’t anticipate that formal measures should show up before 2017. Regardless of whether clashes between guidelines will influence development of the area as it improved the situation some different innovations isn’t clear. 173) What is the contrast between the Internet of Things (IoT) and Machine to Machine (M2M)? Generally, M2M could be viewed as a subset of IoT. M2M resembles a line interfacing 2 points, and IoT resembles a system, a framework made out of heaps of M2M and activating bunches of collaborations/exercises. Giving a straightforward definition to M2M which is exchanging information starting with one machine then onto the next one. It’s been utilized wherever in our every day life. For instance, entrance security. Much the same as utilizing your worker card to open an entryway. At the point when the security locator gets the ID from the worker card and after that open the entryway once the ID is endorsed. This is M2M. For this situation, what IoT can offer? As referenced, IoT is a system, is a framework made out of bunches of M2M and calculations. At the point when the framework realizes you are the individual entering the workplace, it can turn on the light and the forced air system of your segment, even it can modify the most agreeable light dimension and temperature that you like the most every once in a while in the wake of taking in your conduct for a timeframe. The framework can get every one of the information from every one of the sensors and machines to know, for instance, who and when enters the workplace, how much power you have devoured, what the earth makes you feel most good, and different applications. IoT will make the offices and things more astute and make individuals’ life progressively advantageous. Machine to machine, as well as human to machine, machine to human, etc. 174) How Energy Consumption may influence the Development and Implementation of the Internet of Things (IoT)? Energy utilization can likewise be an issue. IoT objects require vitality for detecting, preparing, and imparting data. In the event that objects disengaged from the electric lattice must depend on batteries, substitution can be an issue, regardless of whether vitality utilization is exceptionally productive. That is particularly the situation for applications utilizing substantial quantities of items or positions that are hard to get to. Along these lines, elective methodologies, for example, vitality collecting, regardless of whether from sun based or different sources, are being created. 175) Who instituted the term Internet of Things (IoT) and when? The term Internet of Things is 16 years of age. In any case, the real thought of associated gadgets had been around longer, at any rate since the 70s. In those days, the thought was regularly called “implanted web” or “inescapable registering”. Be that as it may, the genuine term “Web of Things” was instituted by Kevin Ashton in 1999 amid his work at Procter&Gamble. Ashton who was working in store network advancement, needed to draw in senior management?s regard for another energizing innovation called RFID. Since the web was the most smoking new pattern in 1999 and in light of the fact that it by one way or another seemed well and good, he called his introduction “Web of Things”. Despite the fact that Kevin snatched the enthusiasm of some P&G officials, the term Internet of Things did not get across the board consideration for the following 10 years. 176) How High-Speed Internet may influence the Development and Implementation of the Internet of Things (IoT)? Use and development of the IoT can likewise be constrained by the accessibility of access to rapid Internet and propelled broadcast communications administrations, normally known as broadband, on which it depends. While numerous urban and rural regions approach, that isn’t the situation for some country regions, for which private-area suppliers may not discover foundation of the required framework productive, and government projects might be restricted. 177) What effects will the Internet of Things (IoT) have on Manufacturing Sector? Integration of IoT advancements into assembling and inventory network coordinations is anticipated to transformatively affect the division. The greatest effect might be acknowledged in streamlining of activities, making producing forms increasingly proficient. Efficiencies can be accomplished by associating parts of industrial facilities to upgrade creation, yet additionally by interfacing segments of stock and dispatching for production network improvement. Another application is prescient support, which utilizes sensors to screen apparatus and production line foundation for harm. Coming about information can empower support groups to supplant parts before conceivably hazardous as well as exorbitant breakdowns happen. 178) Is the Internet of Everything a Cisco or IBM engineering or trademark? No. The Internet of Everything does not depict an explicit design and isn’t exclusively claimed by Cisco or IBM or some other organization. 179) What impact will the Internet of Things (IoT) have on our day by day lives? It as of now is having an effect. An ongoing report from Gartner says there will be 4.9bn associated things in 2015, ascending to 25bn by 2020. What are these things, however? “Let us not concentrate on ice chests,” says Will Franks, who sold Ubiquisys to Cisco for ?204m in 2013. Franks, who has quite recently helped set up the Wireless IoT Forum, records various shopper contact focuses. “Monitoring assets where insurance agencies could decrease premiums,” he says. “Home control gadgets, support checks for autos and white merchandise, human services, etc.” He doesn?t notice robots or Facebook. Robots will be associated too in a keen home of things to come, in any event as indicated by the GSMA. Also, Facebook? As indicated by The Register, it?s intending to dispatch programming advancement packs (SDKs) for IoT applications and gadgets. Warming control through frameworks, for example, Nest and Hive are only the begin, it appears. Q180) What is contrast between Wireless Sensor Network (WSN) and Internet of Things (IoT) arrange (sensor)? About WSN: Remote sensor organize is the establishment of IoT applications. WSN is the system of bits, framed to watch, to consider or to screen physical parameters of wanted application. For instance – Motes sent in Agriculture arrive, screen Temp-Humidity or even soil dampness, who accumulates information and with impeccable information examination deliver results about product yields – quality or amount. About IoT: IoT is the system of physical articles controlled and observed over web. Presently similarly as WSN, in IoT application you will experience the observing of physical parameters. However, wanted results are minimal unique. IoT is progressively about M2M, it is increasingly about bringing astuteness into every day objects. For instance – Device snared to your Thermostat screens encompassing temperature and change it to most favored setting for 181) What do you mean by industry 4.0 ? The nest stage of indutrial revolution, Which mainly focused on simplifying complex process using electronic components and providing them the ability to learn and take data based decisions without any human intervenions. 182) Explain the term IOT and how it will be usedful for human race. Internet of things is the about communication of two electronic devices without any human intervensions. The data collected by the IOT devices will be helpful for human race to take informed decisions rather than taking decisions based on experience and gut feel. 183) Name some IOT solutions which you know Access control using automatic number plate recogization system Real estate space management using RFID beacons 184) What is Data and how it is relevant to IOT The information collected by the installed IOT devices at the premises are called as DATA. 185) Does the data provided by IOT devices can be used to take decisions directly ? It depends on the business use cases and what devices has been installed at the site. Mostly the data collected by the sensors are of uncleaned data which cannot be used for taking informed decisions, Hence the role of Data and Business analyst comes into picture. 186) Name any IOT controllers Ardino, Simenes IOT 2020 are few IOT controllers widely used by the industries 187) What is Big Data and How it is related to IOT? Big Data are the huge unstructed datasets which needs to be analysed inorder to convert it to structed datatypes inorder to make any sense from those data. IOT devices will bear the whole sole reponsibility to generate those data, It is estimated that in 2020 around billions of IOT devices will be installed and used by humans. 188) What do you mean by smart cities and the role of IOT in it? Smart city is a initiation taken by various govenrments across the world to equip their city/town with smart solutions such as smart cameras, access control, medical IOT devices and etc so that the services to the general public can be monitored and enhanced in a futuristic way. 189) Why we really need IOT? We lived in era where organizations/people used to take decisions based on the experinece gathered from the downfalls/upsides. Such decisions are always comes with a huge risk of failure. The challenges those people where facing is a way to record and transmit the data whenever and wherever required. Inorder to answer such complex problem industries used the availability of sensors and robots to collect the data and communicate each other. IOT can be a hard process to implement but it will be helpful you in every stage to take better decision based on facts not on experience. 190. Industries which are using IOT currently IOT is not limited to any particular industries but I do like to comment the wave was first started to beign in Manufacturing industries such as Car manufcaturing where most of the industrial operations were automated and the coordination between the machines were able to achive once IOT concepts were implemented. 191. Any live business case about IOT Health Bands – Which will be a best use of IOT devices the communication between your mobile phone and the health band will happen automatically. 192. IOT in india I would like to comment the reach of IOT in india is way slow in India when compared to other developed nations like America and China. But still it is etimated to increase due to the raise of indurtial awarness and government initiations. 193. What is the role of Data Analyst in IOT industry Data Analyst are the one who is equipped with necessary skill set to analyse the data obtained and bring sense to it. Where as business analyst is the person who need to take appropraite business decision with the data processed. 194. What is visulaization and why is important Okay I got the data from the IOT devices and been processed by data analyst,How could anyone make a decision by looking into a list of uber trips happened in bangalore for a year. The data will be huge and complex to understand, Where our visualization comes in to picture, which helps you understand any complex data sets by converting those numbers into understandable graphs and charts Excel, Power BI are few tools which are widely used in the industry. 195. Machine Leaning ML, The word defines its meaning, Its an ability given to a machine by means of training using predefined datasets and providing the ability to learn from datatsets and forcast the solution for a problem. Cocktail party algorithm, E commerce Recommendations systems are few examples of ML. 196. What is use of startup code in microprocessor? In startup code only the size of stack memory, heap memory are allocated and all global variables are initialized with zero. 197. What is boot loader types? Boot loaders are two types. ISP boot loaders IAP boot loaders. 198. What is different between floating CPU and fixed point CPU? Floating CPU its takes floating values directly but fixed CPU convert to int format so some resolution loss also will occur. 199. What is crystal oscillator? Crystal oscillator is heartbeat for microprocessor. Each single pulse one instruction will execute. 200. What is the use of scheduler in RTOS? Scheduler used to task switching between two task. 201. What is different between RTOS and GPOS? RTOS give equal response for each task. But GPOS when one task completed then only will switch task. 202. Different types are of CAN Frame? DATA FRAME REQUEST FRAME ERROR FRAME OVERLOAD FRAME 203. When autobus off will happen in CAN? When the error message reach more than 255 the autobus off will occur. 204. What is the use of mutual execution in RTOS? Same priory task run same times means the output will mismatch. So this time we use one semaphore key to wait one to complete after other task will run. 205. what is different between CAN and CAN FD? Compare the CAN to CAN FD.CAN FD will transmit 64 byte data. CAN only transmit 8 bit data. 206. What is the max ram size of 32 bit processor? 4GB. 207. What is TCB in rtos? Task control block will allocate stack memory for each task function. 208. If two task use same function means what will happen? It will create two times function memory for two task. 209. If you are buying ADC in market what kind of things will check? Depends of requirement resolution need to check. (12 bit or 16 bit) Communication protocol need to check. IoT Questions and Answers Pdf Download Read the full article
0 notes
siva3155 · 6 years ago
Text
300+ TOP Express JS Interview Questions and Answers
Express JS Interview Questions for freshers experienced :-
1. What is ExpressJs? Express Js is a framework for node.js which is light-weight and fast. It is used to develop web and mobile applications. 2. What are the features of ExpressJs? Following are the features of Expressjs: It allows middleware set up to respond HTTP Requests It defines routing table which is used to achieve action based on HTTP Method and URL. It allows dynamically generate the HTML Pages based on passing arguments to the templates. It follows MVC architecture for web application. 3. What is middleware in ExpressJs? Middleware is a function that accesses the request object (req), response object (res), and access next middleware function in application’s request-response cycle. The next middleware function is represented by variable called ‘next’. Syntax: function(req,res,next){ } 4. Can middleware is able for error handling? Explain error handling in ExpressJs. Middleware is able to handle error handling in ExpressJs. This can be done by passing one extra error-handling (err) parameter in middleware function. Syntax: function(err,req,res,next){ } 5. What is ‘next’ in ExpressJs? ‘next’ is a parameter which is passed in middleware function to pass control to next middleware. function(req,res,next){ } 6. What is routing? Routing define how an application responds over client request to a particular endpoint (URI). Endpoint is specially a path and any one of HTTP request methods (GET, POST, etc). Following structure is used for routing: app.METHOD(PATH,HANDLER) Note: METHOD is Http request method (in lowercase), PATH is uri on server, HANDLER is function name. 7. How to configure properties in ExpressJs application? We can configure properties in two ways: With Process.env. Create a file with extension ‘.env’ inside the project folder. Add all the properties in ‘.env’ file. In server.js any of properties can use: var host=process.env.APP_HOST; app.set('host',host); logger.info(app.get('host'); With RequireJs. Create a file 'config.json' inside 'config' folder of the project folder. Add config properties in 'config.json' file. Use require keyword to access the 'config.json' file. var config =require('./config/config.json'); 8. How debugging are done in ExpressJs? Different operating system uses different commands: Windows: set DEBUG = express:* & node index.js Linux: $ DEBUG = express:* & node index.js 9. Define templating in ExpressJs? Templating are powerful engine used for removing the cluttering of our server code with HTML. Some of the templates which are with ExpressJs are: Pug Mustache EJS 10. What is cookie and what it does? Cookie is a data sent from server and stores on the client side. It keeps the information of user’s actions. These are some following purpose of using cookie: Session management User tracking Personalization 11. How to use cookies in ExpressJs? Cookies are used in ExpressJs by installing ‘cookie-parser’ middleware. To install cookie-parser we use command as: npm install --save cookie-parser To set new cookie in our application, we define a new route. app.get('/',function(req, res){ res.cookie('name','express').send('cookie set') }); 12. How to delete cookie in ExpressJs? The clearCookie method is used to delete cookies in ExpressJs. clearCookie('cookie_name'); app.get('/clear_cookie_temp',function(req,res)){ clearCookie('temp'); res.send('cookie temp is cleared'); }); 13. How to handle 404 errors or redirect error to another page? We use the following code in server.js file to redirect 404 errors to another page in ExpressJs. app.use(function(req, res, next){ res.status(404).json({errorCode: 404, errorMessage: requested resources not found”}); }); 14. What is scaffolding? Scaffolding is a tool, which set up all required public directory, add middleware, create separate route file etc (set up skeleton for web application). So that we can directly get started building our application. Yeoman is scaffolding tool built for Node.js. 15. How to get the full url In ExpressJs? var port = req.app.settings.port || cfg.port; res.locals.requested_url = req.protocol + '://' + req.host + ( port == 80 || port == 443 ? '' : ':'+port ) + req.path; 16. How do i render plain html? There’s no need to “render” HTML with the res.render() function. If you have a specific file, use the res.sendFile() function. If you are serving many assets from a directory, use the express.static() middleware function. 17. How to implement jwt authentication in express app ? Explain with example? Create a folder called ‘keys’ inside project folder. Install some dependencies as following: Npm install jsonwebtoken –save Add the login router routes/index.js router.post('/login, function(req, res) { // find the user User.findOne({ name: req.body.username }, function(err, res) { if (err) throw err; if (!res) { res.json({ success: false, message: Login failed.' }); } else if (res) { // check if password matches if (res.password != req.body.password) { res.json({ success: false, message: Login failed. Wrong password.' }); } else { var token = jwt.sign(res, app.get('superSecret'), { expiresInMinutes: 1600 }); // return the information including token as JSON res.json({ success: true, message: 'Valid token!', token: token }); } } }); }); Use the token in application jwt = require("express-jwt"); app.use(function(req, res, next) { var token = req.body.token || req.query.token || req.headers; if (token) { jwt.verify(token, app.get('superSecret'), function(err, decoded) { if (err) { return res.json({ success: false, message: 'Invalid token.' }); } else { req.decoded = decoded; next(); } }); } else { return res.status(403).send({ success: false, message: 'No token given.' }); } }); Express JS Questions and Answers Pdf Download Read the full article
0 notes
siva3155 · 6 years ago
Text
300+ TOP Ext JS Interview Questions and Answers
Ext JS Interview Questions for freshers experienced :-
1. What is Ext Js? Ext JS stands for extended JavaScript. It is a JavaScript framework to develop rich UI web based desktop applications. 2. Why did you choose Ext JS? The overall design of extjs is exemplary.One can learn a lot from it’s unified architecture – no matter which language one is programming in. Extjs requires you to start with one of their base classes – ensuring a consitent model. Consistency is extremely important for the library to be reusable. Extjs documentation seems to be very comprehensive and well maintained. key aspect of the EXTJS Library is the cross-browser support. Build rich Internet applications with Ext JS Ext JS framework is the multitude of rich UI elements provided. These elements include forms, dialog boxes, tabs, trees, and grids. The Ext JS framework includes support for Ajax implementations. Ext JS integration with other Web server frameworks. Ext JS framework development into several popular integrated development environments (IDEs), including Eclipse, Aptana, and Komodo. Ext JS provides excellent performance.The framework is fully object oriented and extensible. Because it’s written in the JavaScript language 3. What are major Web browsers supported by Ext JS framework? Windows® Internet Explorer® version 6 and later. Mozilla Firefox version 1.5 and later (PC and Macintosh). Apple Safari version 2 and later. Opera version 9 and later (PC and Mac). 4. Integration of Web development server-side frameworks with Ext JS? You can use Ext JS with other common Web development server-side frameworks, including PHP, the Java™ language, Microsoft® .NET, Ruby on Rails, and ColdFusion. 5. Where Extjs extended from ? Ext JS as a project to extend the functionality that the YUI Library.A key aspect of the YUI Library is the cross-browser support.The Extjs framework is fully object oriented and extensible. Because it’s written in the JavaScript language. 6. Extjs Ajax implementation? A typical Ext JS Ajax implementation: an HTML text field and button element that posts data in the text field to a Web server when the button is clicked. 7.Do you have any advice for developers using Ext for the first time? Ext can be used by Web Application developers who are familiar with HTML but may have little or no experience with JavaScript application development. If you are starting to build a new web application, or you are revamping an existing application, then take your time to understand the basics of the library including. 8. How to access Dom element using EXTJS? The Element API is fundamental to the entire Ext library. Using traditional Javascript, selecting a DOM node by ID is done like this: var myDiv = document.getElementById(‘myDiv’); Using Extjs: Ext.onReady(function() { var myDiv = Ext.get(‘myDiv’); }); 9. what is the purpose of Element Object in Extjs? Element wraps most of the DOM methods and properties that you’ll need, providing a convenient, unified, cross-browser DOM interface (and you can still get direct access to the underlying DOM node when you need it via Element.dom) The Element.get() method provides internal caching, so multiple calls to retrieve the same object are incredibly fast The most common actions performed on DOM nodes are built into direct, cross-browser Element methods (add/remove CSS classes, add/remove event handlers, positioning, sizing, animation, drag/drop, etc.) 10. what is syntax for Ext js Button click event? Ext.onReady(function() { Ext.get(‘myButton’).on(‘click’, function(){ alert(“You clicked the button”); }); }); ulating it. 11. what is use of Ext.onReady() function ? Ext.onReady is probably the first method that you’ll use on every page. This method is automatically called once the DOM is fully loaded, guaranteeing that any page elements that you may want to reference will be available when the script runs syntax: Ext.onReady(function() { alert(“Congratulations! You have Ext configured correctly!”); }); 12. For example, to show our message when any paragraph in our test page is clicked, what is the extjs code on paragraph click? Ext.onReady(function() { Ext.select(‘p’).on(‘click’, function() { alert(“You clicked a paragraph”); }); }); or Ext.onReady(function() { var paragraphClicked = function() { alert(“You clicked a paragraph”); } Ext.select(‘p’).on(‘click’, paragraphClicked); }); 13. List out the extjs library files to include in JSP page? ext-base.js ext-all-debug.js or ext-all.js ext-all.css base.css or examples.css 14. List out the css file required to apply Extjs Theme property? xtheme-gray.css ext-all.css 15. what is purpose of MessageBox? MessageBox is asynchronous. MessageBox call, which demonstrates the readable message to user. MessageBox used for multiple purpose like Ext.Msg.alert() Ext.Msg.prompt() Ext.Msg.show({}); Ext.Msg.wait(); 16. write syntax for MessageBox show() method? Ext.MessageBox.show({ title: ‘Paragraph Clicked’, msg: ‘User clicked on Paragraph’, width:400, buttons: Ext.MessageBox.OK, animEl: paragraph }); 17. what is method to Update the message box body text for MessageBox? updateText( ) : Ext.MessageBox 18. what is a widget? A widget is a tiny piece or component of functionality. 19.what is parent class for all stores in extjs? how many stores exists? Ext.data.Store is parent class for all stores. A Store object uses its configured implementation of DataProxy to access a data object unless you call loadData directly and pass in your data. subclasses for Store: GroupingStore, JsonStore, SimpleStore 20. How to handle event for a extjs component? using listeners config object. For ex for grid events : listeners: {rowclick: gridRowClickHandler,rowdblclick: gridRowDoubleClickHandler} using addListener( String eventName, Function handler, , ) : void Appends an event handler to this component using on( String eventName, Function handler, , ) : void Appends an event handler to this element (shorthand for addListener) For ex: store.on( “datachanged”, function( store ){ ….. }); 21. How to find no of records in a store? using store.getCount() : Gets the number of cached records. store.getTotalCount() : Gets the total number of records in the dataset as returned by the server. 22. How to handle exception while loading datastore? using loadexception event. syntax: store.loadexception() : Fires if an exception occurs in the Proxy during loading. use beforeload : ( Store this, Object options ) : Fires before a request is made for a new data object. If the beforeload handler returns false the load action will be canceled. syntax: store.on(‘loadexception’, function(event, options, response, error) { alert(“Handling the error”); event.stopEvent(); }); 23. how to handle updates for store changes? use store.commitChanges() 24. what is the purpose of each() in store? Calls the specified function for each of the Records in the cache each( Function fn, ) 25. how to get modified records using store object? store.getModifiedRecords() : Gets all records modified since the last commit. 26. how to get record using index? store.getAt( Number index ) : Get the Record at the specified index. 27. how to get record using id? store.getById( String id ) : Get the Record with the specified id. 28. what is the purpose of load() in store? store.load() : returns boolean Loads the Record cache from the configured Proxy using the configured Reader. For remote data sources, loading is asynchronous, and this call will return before the new data has been loaded. store.load({callback: fnCheckData, scope: this}); 29. what is purpose of loadData() in store? store.loadData( Object data, ) : void Loads data from a passed data block and fires the load event. loadData(storeData,false); False to replace the existing records cache. loadData(storeData,true) : True to append the new Records rather than replace the existing cache. 30. How many types of layout managers exist in extjs?what are they? Layouts fall under this package Ext.layout.* Types of layouts: Absolute Layout: This is a simple layout style that allows you to position items within a container using CSS-style absolute positioning via XY coordinates. Accordion Layout: Displays one panel at a time in a stacked layout. No special config properties are required other than the layout. All panels added to the container will be converted to accordion panels. AnchorLayout: This type of layout is most commonly seen within FormPanels (or any container with a FormLayout) where fields are sized relative to the container without hard-coding their dimensions. BorderLayout: Border layouts can be nested with just about any level of complexity that you might need. Every border layout must at least have a center region. All other regions are optional. CardLayout (TabPanel): The TabPanel component is an excellent example of a sophisticated card layout. Each tab is just a panel managed by the card layout such that only one is visible at a time CardLayout (Wizard): You can use a CardLayout to create your own custom wizard-style screen. FitLayout: A very simple layout that simply fills the container with a single panel. FormLayout: FormLayout has specific logic to deal with form fields, labels, etc.FormLayout in a standard panel, ColumnLayout: This is a useful layout style when you need multiple columns that can have varying content height.Any fixed-width column widths are calculated first, then any percentage-width columns specified using the columnWidth config TableLayout: Outputs a standard HTML table as the layout container.you want to allow the contents to flow naturally based on standard browser table layout rules. data, plus manip 31. How we can apply pagination in grid panel ? using Ext.PagingToolbar plugin, we can implement pagination to a grid panel syntax: new Ext.PagingToolbar({ pageSize: 25, store: store, displayInfo: true, displayMsg: ‘Displaying topics {0} – {1} of {2}’, emptyMsg: “No topics to display”, }) // trigger the data store load store.load({params:{start:0, limit:25}}); 32. what is xtype? The xtype will be looked up at render time up to determine what type of child Component like TextField, NumberField etc to create. i,e xtype = Class ———————- button = Ext.Button textfield = Ext.form.TextField radio – Ext.form.Radio grid = Ext.grid.GridPanel combo = Ext.form.Combobox toolbar = Ext.Toolbar 33. what is vtype? The validations provided are basic and intended to be easily customizable and extended. Few vtypes provided by extjs are as below: emailText : String, The error text to display when the email validation function returns false alphanumText : String, The error text to display when the alphanumeric validation function returns false urlText : String, The error text to display when the url validation function returns false 34.Why we need javascript Library? Javascript is an awesome language. It’s super flexible.Browsers are the modern UI paradigm. The javascript Libraries now must provide a rich set of UI Widgets. javascript libraries: JQuery Qooxdoo Dojo Prototype.js mootools extjs 35.how to get record object from store: var record = grid.getStore().getAt(rowIndex); 36. purpose of Load mask? To apply mask to page level / component level. restrict user not to access any components in page var pageProcessBox = new Ext.LoadMask( Ext.getBody(), { msg: ‘Loading Employee details.’ } ); pageProcessBox.show(); 37. purpose of renderer in grid panel? using config option, renderer: fnCellColor where fnCellColor is method to apply color to a cell. 38. how to get selection model used in a grid panel? using grid.getSelectionModel(); method 39. how to stop editing a record? newRecord.endEdit(); 40. how to start editing a record? newRecord.beginEdit(); 41. how to commit a record modification? newRecord.commit(); 42. what is use of combo select event function? To get the selected value from a combo.using getvalue(); var selectedComboValue = mycombo1.getValue(); 43. how to get a value of textfield or combo box? using getvalue(); var selectedValue = mytextfield.getValue(); 44. how to apply css on select of combo box? using config option as emptyClass : ’emptycss’, where emptycss is a css classname 45. what are components required for grid panel? store, columnmodel, id, width,height 46. how to disable menu option for header in columnModel? using menuDisabled: true 47. how to hide the column in grid panel? using hidden : true 48. How to register callbacks to the load and exception events of the JsonStore? var grid = new Ext.grid.GridPanel({ store: new Ext.data.JsonStore({ listeners: { load: this.onLoadSuccess.crateDelegate(this), exception: this.onLoadException.createDelegate(this) } }), onLoadSuccess: function () { // success }, onLoadException: function () { // error }, } 49. extjs decode() ? var json = Ext.decode(response.responseText); Ext.Msg.alert(‘Error’, json.error); 50. Extjs Vs jQuery: ExtJs and JQuery are kind of apples and oranges. You can compare Ext Core to JQuery, and ExtJs to JQuery UI. Ext JS is a full-fledged widget library while jQuery (not jQuery UI) and Mootools are JavaScript frameworks that help with DOM manipulation etc. Whilst jQuery and Mootools help with the general workings of a site. jQuery UI is a much less rich set of components. Ext JS seems to be focussed on tables and storing Ext JS Questions and Answers pdf Download Read the full article
0 notes