Posts

Showing posts from October, 2021

How To Detect The Internet Connection Status Is Online or Offline? - letsbug

Image
    Hey everyone in this video I am making a simple web page with a feature which is very handy for all of us the developers. We are making a programme that will detect if the device in which this page is open it will show a message to the user that if his/her device is connected to the internet or not.     It is fairly simple we have just created a title element and a h3 title tag as a container which will store the message. Main work is in JS where first we are setting a const variable con as the container where we will show message. And we set a 1 sec interval which calls a function checkStatus and this function does all of our work.     In checkStaus function we are just doing a simple if check that if navigator object whose property value depends on device has a property Online as true or false. We check that and if true we display message Online else Offline. That's all it has. And you want to know all the navigator objects property then you can visit here . Code: <!DOC

Data Science MCQ(Multiple Choice Questions) and Answers - letsbug

     The fundamental concept of data science is drawn from many fields that study data analytics. Fundamental concept: Extracting useful knowledge from data to solve business problems can be treated systematically by following a process with reasonably will-defined stages.     Data science is growing at a rapid speed so I have come up with some Data Science MCQs   with answers. These data science MCQs are important for you if you are a data science student or someone who has data science as the subjects.  1. _____ useful knowledge from data to solve business problems can be treated systematically by following a process with reasonably well-defined stages.?  Extracting  Preparing  Prescribing  None of the above Answer: 1 2. ______ answers the question "What has happened? Descriptive analytics  Predictive analytics Prescriptive analytics None Answer: 1 3. ______ answers the question "What will happen?" Descriptive analytics  Predictive analytics Prescriptive analytics  No

Software Engineering MCQs questions with answers - letsbug

Introduction to Software Engineering MCQs 2021 for BBA.CA, BCA and B.Tech students 1. What is a Software? Software is set of programs. Software is documentation and configuration of data. Software is set of programs, documentation & configuration of data None of the above Answer: 3 2. Which of  the following is not the characteristic of Software? Software does not wear out Software is flexible Software is not manufactured Software is always correct Answer: 4 3. Layers in layered technology of software are ...... Process, Methods, Tools Internal, External, Central Inner, Outer, Middle Procedure, Methods, Task Answer: 1 4. Which is not McCall's software quality factor? Product Revision Product Transition Product Operation Product Generation Answer: 4 5. Which is characteristic of software process? Understanding Visibility Reliability All of the above Answer: 4 6. Which of the five Generic Software Engineering Framework Activites? Communication, Planning, Modelling, construction,

How to code Linear Search or Sequential Search Algorithm in C Programming - letsbug

Image
    Searching algorithms are used to find the element in the list. In this blog we will see how to implement linear search in C programming.       Linear Search, also called as orderly search or sequential search, because every key element is searched from first element in an array i.e a[0] to last element in an array i.e a[n-1] C Program for linear Search #include <stdio.h> #include <conio.h> int   linearSearch ( int   [] , int , int ); int   main () {     int   a [ 10 ], key, c, n, position;     //Taking input     printf ( "Enter number of element for the array: \n " );     scanf ( " %d " , &n);     printf ( "Enter %d number for aaray: \n " , n);     for ( int i = 0 ; i < n; i++)         scanf ( " %d " , & a [i]);     // Take element for searching     printf ( "Enter the element for searching: \n " );     scanf ( " %d " , &key);     position = linearSearch (a, n, key);     if (position == - 1 )  

Sorting Algorithm Implementation In C Language And Javascript | letsbug.com

Image
    Sorting is a technique to rearrange the elements in ascending or descending order, which can be numerical, lexicographical, or any user-defined order.      For example, consider a telephone directory which consists of four fields; phone number, name, address, pin code.     So a  large data is maintained in the form of records. If we want to search a phone number and name is is alphabetically sorted, then we can search easily. It would be very difficult if records were unsorted. Following are some of the sorting methods: Bubble sort Insertion sort Merge sort Quick Sort Selection Sort Assuming that you know some of programming, lets implement some of this algorithm below. Bubble sort In this sorting, method, the list is divided into two sub-lists sorted and unsorted. The smallest element is bubbled from unsorted sub-list. After moving the smallest element the imaginary wall moves one element ahead. Bubble sort In C language.                                                           

Categories

Big Data Analytics Binary Search Binary Search Tree Binary To Decimal binary tree Breadth First Search Bubble sort C Programming c++ Chemical Reaction and equation class 10 class 10th Class 9 Climate Complex Numbers computer network counting sort CSS Cyber Offenses Cyber Security Cyberstalking Data Science Data Structures Decimal To Binary Development diamond pattern Digital Marketing dust of snow Economics Economics Lesson 4 Email Validation English fire and ice Food Security in India Footprints Without feet Forest And Wildlife Resources game Geography Geography lesson 6 glassmorphism Glossary Graph HackerRank Solution hindi HTML image previewer India-Size And Location Insertion Sort Internet Network Status Interview Questions Introduction to cyber crime and cyber security IT javascript tricks json to CSV converter lesson 2 lesson 1 lesson 2 Lesson 3 Lesson 6 lesson 7 Life lines of National Economy life processes Linear Search Linked List lowest common ancestor Machine Learning MCQs median in array Merge sort min and max of two numbers Moment Money and Credit My Childhood Natural Vegetation and Wildlife NCERT Network connectivity devices Network Models Network Security No Men Are foreign Node.js operator overloading P5.js PHP Physical features of India Population Prime Numbers python Quick sort R language Rain on the roof Regular Expression Resources and development reversing array saakhi science Searching Algorithm Selection sort Social Media Marketing social science Software Engineering Software Testing Sorting Algorithm Stacks staircase pattern System Concepts Text Recognition The last Leaf time converter Time Passed From A Date Todo List App Tree Trending Technologies Understanding Economic Development username and password video player Visualization water resources Wired And Wireless LAN साखी
Show more

Popular Posts

Big Data MCQs(multiple choice questions) with answers - letsbug

Digital Marketing MCQ(Multiple Choice Questions) with Answers | part 1 | letsbug

Software Engineering MCQs questions with answers - letsbug