Posts

AMD vs Intel processors

Image
1. Intel:              Intel stands for "Integrated Electronics". Intel Corporation is an American multinational company headquartered in Santa Clara, California, in Silicon Valley. It was invented by Robert Noyce. It is Developed of the first x86 processor-intel 8086         If we talk on a Scale of 1-10, Intel processors come at a scale of 4-10. These processors have good CPU performance and almost all Intel Processors come with IGPU. This Processor also clocks higher than AMD processors, at the cost of higher power consumption and battery life. Thus, for short workloads and single-core boosts especially in laptops, newer Intel-powered laptops can be used when battery life is not a concern. If we talk about Desktop, and you want to change processor, Motherboard, or socket's Compatibility then Intel has fewer Options available for that in Comparision to AMD processor due to frequent motherboard and chipset changes    ...

DDR 3 VS DDR 4

Image
 Double Data Rate version 3 (DDR3): In DDR3, auto-refresh and self-refresh are performed to refresh its content. Generally self refresh is used for low power consumption and DDR3 consumes low power than DDR2. The clock speed of DDR3 vary from 800 MHz to 2133 MHz, where 2133 MHz is the its peak in some cases, generally clock speed is vary between 1600 to 1800 MHz. Double Data Rate version 4 (DDR4) : In DDR4, only self-refresh is performed to refresh its content that’s why it consumes less power. The minimum clock speed of DDR4 is 2133 MHz and it has no defined maximum clock speed. Let’s see the Data rate and bandwidth diagram for DDR3 and DDR4: In above figure, we can see that the clock speed of DDR3 is vary between 1600 to 1800 MHz and its bandwidth is increased but less than DDR4. And DDR4’s clock speed starts from where DDR3 left but it has no defined maximum clock speed.   S.NO   DDR3   DDR4    ...

ACTIVATION STACK

  ACTIVATION STACK: The activation stack is where the run time environment of the program keeps track of all the functions that have been called. The activation stack records all the necessary information about a function call, including parameters, local variable, return values, location currently being executed in the function, etc. As one function call a function, which in turn calls yet another function, all of this information is stored in the activation stack  A Stack refers to a method of placing one thing on top of another. In a cafeteria, the clean trays are placed in a stack, one after the other, and the most recently cleaned tray is on the top of the stack, waiting for your use. OF course, this means the tray that was cleaned longest ago is on the bottom of the stack. As your program calls more and more "functions" the computer keeps track of this information in an "Activation Stack" (a list of all functions in the order they were called, wherein the func...

JAVA BEANS

Image
  JavaBean A JavaBean is a Java class that should follow the following conventions: It should have a no-arg constructor. It should be Serializable. It should provide methods to set and get the values of the properties, known as getter and setter methods. Why use JavaBean? According to Java white paper, it is a reusable software component. A bean encapsulates many objects into one object so that we can access this object from multiple places. Moreover, it provides easy maintenance. Simple example of JavaBean class //Employee.java      package mypack;   public class Employee implements java.io.Serializable{   private int id;   private String name;   public Employee(){}   public void setId(int id){this.id=id;}   public int getId(){return id;}   public void setName(String name){this.name=name;}   public String getName(){return name;}   }   How to access the JavaBean c...

Features of OOPS in Python

Image
OBJECT ORIENTED PROGRAMMING Python is a multi-paradigm programming language. It supports different programming approaches. One of the popular approaches to solve a programming problem is by creating objects. This is known as Object-Oriented Programming (OOP). OBJECT: An object has two characteristics: attributes behavior Let's take an example: A parrot is can be an object, as it has the following properties: name, age, color as attributes singing, dancing as behavior The concept of OOP in Python focuses on creating reusable code. This concept is also known as DRY (Don't Repeat Yourself). CLASS: A class is a blueprint for the object. We can think of class as a sketch of a parrot with labels. It contains all the details about the name, colors, size etc. Based on these descriptions, we can study about the parrot. Here, a parrot is an object. The example for class of parrot can be : class Parrot:     pass Here, we use the class keyword to define an empty class Parrot. From class, ...

DIFFERENCE BETWEEN PROCEDURAL AND OBJECT ORIENTED PROGRAMMING

Image
PROCEDURAL PROGRAMMING: Procedural programming can be defined as a programming model which is derived from structured programming, based upon the concept of calling procedure. Procedures, also known as routines, Subroutines, or functions, simply consist of a series of computational steps to be carried out. During a program's execution, any given procedure might be called at any point, including by other procedures or itself  1.In procedural programming, the program is divided into small parts called functions. 2.Procedural programming follows a top-down approach. 3.There is no access specifier in procedural programming. 4.Adding new data and function are not easy. 5.Procedural programming does not have any proper way of hiding data so it is less secure. 6.In procedural programming, overloading is not possible. 7.In procedural programming, the function is more important than data. 8.Procedural programming is based on an unreal world. Examples: C, FORTRAN, Pascal, Basic, etc. LANGU...

GOOGLE DORKS

Image
WHAT IS GOOGLE DORKS? It is basically a search string that uses the advanced search query to find information that is not easily available on the website. That is most of the time when you search using the google tab it gives you the relevant things to the word you search. For Eg: If you search shoe it shows the availability of shoes in online stores, the definition of the shoe, etc. But when you search using Google Dorks it gives an exact result like the availability of shoes in Flipkart. It is also regarded as illegal google hacking activity which hackers often uses fro purpose such as cyber terrorism and cyber theft Can Google be used by Hackers to hack websites? People often take Google as just a search engine used to find text, images, videos, and news. However, in the information world, it has a very vast role. Google can be also be used as very useful hacking tool. we cannot hack websites directly using Google. But it's tremendous web crawling capabilities can be of great he...