Posts

Why Downloading Speed Is Less ?

Telecom companies says that you will get internet speed of 16Mbps. But when you download a file, you get speed only of 2MBps. Have you ever wondered what is the reason behind this ? Bits & Bytes Internet speed is measured in 2 units that most people don't know - MBps or mbps. See the capital and small "B". The value of 1b (bit) & 1B (byte) is given below. This means that 16Mbps is equals to 2MBps. 8 bits = 1 byte 16Mbps = 2MBps Reason   Telecom companies use smaller unit Mbps for advertising & attracting users. and when you use internet the speed gets divided by 8.

IDE's vs Code Editor

  IDE's : Complex structure & hard to use Mostly paid Requires a significant disc space Suitable for large projects with data base management Code Editor : Simple to use & easy to load Open source & free Requires a minimal disc space Suitable for small projects and sole code writing

Project Ideas and Topics For Beginners [2021]

Top Project Ideas Airline Reservation System Course Management System Data Visualization Software Electricity Billing System e-Healthcare Management System Email Client Software Library Management System Network Packet Sniffer Online Bank Management System Online Medical Management System Online Quiz Management System Online Survey System RSS Feed System Smart City Project Stock Management System Supply Chain Management System Virtual Private Network

Difference Between Java and Java EE ?

JAVA vs JAVA EE Java or Java SE provides basic functionality like defining basic types and objects where as Java EE provides APIs for running large scale applications. SE is a normal Java specifications where as EE is built upon Java SE. Provides functionality like web applications, serverlets etc. Java SE consists of class libraries, virtual machines, deployment environment programming. where as Java EE is a structured application with separate client, Business enterprises layers. Java SE is mostly used to develop APIs for desktop applications like antivirus software, game etc. where as Java EE is mainly used for web applications. Java SE is suitable for beginning Java developers. where as Java EE is suitable for experienced Java developers who builds enterprise wide applications. -  Jai Gora

How Much Java Do You Need To Get A Job ?

 Java Concepts : As an entry level developer : Basic OOP principles — abstraction, encapsulation, inheritance, polymorphism, and others. Knowing how to manage interfaces, classes, and objects, understand the difference between these elements. A deeper knowledge of Object methods and their top applications Hierarchy of collections and exceptions. Basics multithreading, understanding the concepts of threads and processes. SOLID principles and the way they apply to Java. Superficial command of lambdas, streams, and functional interfaces. As an experienced developer : Basic understanding of pile and stack — speed, memory consumption, structure, the garbage collector (decent command). Collections, processing null-statements using HashMap and TreeMap. Handling generics, using abstract class constructors, “IS-A” inheritance. Methods, wrapped classes, hash-code, equals, boxing-unboxing. Basic multithreading concepts, understanding how to create a safe thread. Exception handling. - JAI GORA...

10 Programming Languages You Can Learn in 2021

1. JavaScript 2. Python 3. Java 4. C/C++ 5. C# 6. Kotlin 7. Golang 8. Swift 9. SQL 10. PHP **All this as much as I've read blogs or articles**

Tips for the beginners in programming

Image
When you start programming it’s like opening a door to a dark room that’s not only unknown to you, but you also don’t know where the light switch or anything else is. Don’t think of it as a room in a horror movie though. That might give you a slight relief, but it’s up to you how far in you go, how much you stumble and how long it takes for you to find the light switch. It’s also up to you to keep replacing the lightbulb after finally turning the light switch on. And so, you keep proceeding to the other dark rooms, steadily acknowledging and learning from your weaknesses and recognising patterns that can help you as you advance. Don't just read the sample code, Tinker with it. Learn by doing. Always play with the code while learning. Grasp the fundamentals for long-term benefits. Code by hand. It sharpens proficiency. Ask for help if you need. Don't be shy. Seek out more online resources. There's a wealth of content. Take breaks while debugging. - JAI GORA

10 Days of JavaScript (Day 7) HackerRank Solutions #10daysofjavascript

 DAY 7: Regular Expressions I Solution >>> function regexVar() {   let re = /^([aeiou]).+\1$/;   return re; } DAY 7: Regular Expressions II Solution >>> function regexVar() {   let re = /^(Mr|Mrs|Ms|Dr|Er)(\.)([a-zA-Z])+$/;   return re; } DAY 7: Regular Expressions III Solution >>> function regexVar() {   let re = /\d+/g;   return re; }

10 Days of JavaScript (Day 6) HackerRank Solutions #10daysofjavascript

 DAY 6: Bitwise Operators Solution >>> function getMaxLessThanK(n, k) {   let max = 0;   for (let i = 1; i <= n; i++) {     for (let j = i + 1; j <= n; j++) {       (i & j) > max && (i & j) < k ? (max = i & j) : max;     }   }   return max; } DAY 6: JavaScript Dates Solution >>> function getDayName(dateString) {   let dayName;   const days = [     "Sunday",     "Monday",     "Tuesday",     "Wednesday",     "Thursday",     "Friday",     "Saturday"   ];   dayName = days[new Date(dateString).getUTCDay()];   return dayName; }

10 Days of JavaScript (Day 5) HackerRank Solutions #10daysofjavascript

 DAY 5: Inheritance Solution >>> Rectangle.prototype.area = function() {   return this.w * this.h; }; class Square extends Rectangle {   constructor(s) {     super(s);     this.h = s;     this.w = s;   } } DAY 5: Template Literals Solution >>> function sides(literals, ...expressions) {   const [area, perimeter] = expressions; // ES6 destructuring   const s1 = (perimeter + Math.sqrt(Math.pow(perimeter, 2) - 16 * area)) / 4;   const s2 = (perimeter - Math.sqrt(Math.pow(perimeter, 2) - 16 * area)) / 4;   return [s1, s2].sort(); } DAY 5: Arrow Functions Solution >>> function modifyArray(nums) {   let newArr = [];   for (let i = 0; i < nums.length; i++) {     if (nums[i] % 2 === 0) {       newArr.push(nums[i] * 2);     } else {       newArr.push(nums[i] * 3);     }   }   return newArr; }

10 Days of JavaScript (Day 4) HackerRank Solutions #10daysofjavascript

  DAY 4: Create a Rectangle Object Solution >>> function Rectangle(a, b) {   this.length = a;   this.width = b;   this.perimeter = 2 * (a + b);   this.area = a * b; } DAY 4: Count Objects Solution >>> function getCount(objects) {   let pairCount = 0;   for (let i = 0; i < objects.length; i++) {     if (objects[i].x === objects[i].y) {       pairCount++;     }   }   return pairCount; } DAY 4: Classes Solution >>> function Polygon(shape) {   this.type = shape;   this.perimeter = getPerimeter; } function getPerimeter() {   return this.type.reduce((a, b) => a + b); }

10 Days of JavaScript (Day 3) HackerRank Solutions #10daysofjavascript

 DAY 3: Arrays Solution >>> function getSecondLargest(nums) {   let firstLargestNum = 0;   let secondLargestNum = 0;   for (let i = 0; i < nums.length; i++) {     if (nums[i] > firstLargestNum) {       secondLargestNum = firstLargestNum;       firstLargestNum = nums[i];     }     if (nums[i] > secondLargestNum && nums[i] < firstLargestNum) {       secondLargestNum = nums[i];     }   }   return secondLargestNum; } DAY 3: Try, Catch, and Finally Solution >>> function reverseString(s) {   if (typeof s === "string") {     console.log(       s         .split("")         .reverse()         .join("")     );   } else {     console.log("s.split is not a function" + "\n" + s);   } } DAY 3: Throw Solution >>> function is...

10 Days of JavaScript (Day 2) HackerRank Solutions #10daysofjavascript

 DAY 2: Conditional Statements: If-Else Solution >>> function getGrade(score) {   if (score > 25) {     return "A";   } else if (score > 20) {     return "B";   } else if (score > 20) {     return "B";   } else if (score > 15) {     return "C";   } else if (score > 10) {     return "D";   } else if (score > 5) {     return "E";   } else {     return "F";   } } DAY 2: Conditional Statements: Switch Solution >>> function getLetter(s) {   let letter;   switch (true) {     case "aeiou".includes(s[0]):       letter = "A";       break;     case "bcdefg".includes(s[0]):       letter = "B";       break;     case "hijklm".includes(s[0]):       letter = "C";       break;     case "nopqrstuvwxyz".includes(s[0]):...

10 Days of JavaScript (Day 1) HackerRank Solution #10daysofjavascript

  DAY 1: Arithmetic Operators Solution >>> function getArea(length, width) {   let area;   area = length * width;   return area; } function getPerimeter(length, width) {   let perimeter;   perimeter = 2 * (length + width);   return perimeter; } DAY 1: Functions Solution >>> function factorial(n) {   return n ? n * factorial(n - 1) : 1; } DAY 1: Let and Const Solution >>> function main() {     let r = readLine();     const PI = Math.PI;     console.log(PI * r * r);     console.log(2 * PI * r); }

10 Days of JavaScript (Day 0) HackerRank Solution #10daysofjavascript

  DAY 0: Hello, World! Solution >>> function greeting(parameterVariable) {   console.log("Hello, World!");   console.log(parameterVariable); } DAY 0: Data Types Solution >>> function performOperation(secondInteger, secondDecimal, secondString) {   const firstInteger = 4;   const firstDecimal = 4.0;   const firstString = "HackerRank ";   console.log(firstInteger + Number(secondInteger));   const firstNum = Number(firstDecimal).toFixed(2);   const secondNum = Number(secondDecimal).toFixed(2);   const answer = Number(firstNum) + Number(secondNum);   console.log(answer);   console.log(firstString + secondString); }

ExplainEmojiApp - My first app

Image
This app is used for explain the emoji i.e. It helps you in knowing the meaning of emoji's more clearly <Click the below button to download app>

Final Project- Introduction to the HTML5

Image
Final Project Description Your final project is to create a web page that matches the example given here. Your page must match mine exactly other than the title and any parts that have been highlighted in yellow. (If you would like to open this image in a separate window you can find it  here . If you need help with this content due to difficulties accessing the text, you can find a textual description of the image below at  http://intro-webdesign.com/projectdescription.html .) Grading Checklist doctype head body nav -- add four links, they can go to anywhere you like or nowhere at all section - Favorite Foods section - Achievements section - More About Me 4 . footer - The image from the footer can be found at my website:  http://www.intro-webdesign.com/images/newlogo.png >>> <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Final Proj...

The Raspberry Pi Platform and Python Programming for the Raspberry Pi ( Week 4)

Build a circuit using your Raspberry Pi that causes an LED to blink when a push button is  NOT  pressed. However, the LED should stay on continuously when the push button  IS  pressed. Your video should show the LED blinking when the push button is not pressed, and it should show that the LED is continuously on while the button is pressed. Take a video of your circuit demonstrating the required actions and submit a hyperlink to your video's location on the Internet. Do  not  upload a video here. >>> https://drive.google.com/file/d/1hpyWED9n5G08zKCcJRRrTV1MhjHXhc5_/view Code for the Raspberry Pi Board for this project >>> import RPi . GPIO as GPIO import time GPIO . setmode ( GPIO . BCM ) ledPin = 18 buttonPin = 17 GPIO . setup ( ledPin , GPIO . OUT ) # LED pin set as output GPIO . setup ( buttonPin , GPIO . IN , pull_up_down = GPIO . PUD_UP ) # Button pin set as input w/ pull-up while...

The Raspberry Pi Platform and Python Programming for the Raspberry Pi (Week 3)

Image
Write a Python program that prompts the user to input 3 numbers, one at a time (see Instructions section for more details). Turn in your source code showing a full execution of your program and the result that it prints to the screen. >>> Upload a screenshot showing a full execution of your program and the result that it prints to the screen. In the execution that you take a screenshot of, you should enter the numbers in  non-sorted order  so that we can tell that sorting did occur. >>>

The Raspberry Pi Platform and Python Programming for the Raspberry Pi (Week 2)

Image
Boot the Raspberry Pi and install the “scrot” program to take screen shots. You can install it by typing “sudo apt-get install scrot” in a terminal window. Use the scrot program to take a screenshot of your Raspberry Pi. You will need to submit the screenshot as evidence that you completed the task, but you should submit the screenshot using your Raspberry Pi. I recommend using Epiphany as the browser since it is packaged with the Raspian/NOOBS installation. >>>