Posts

About angular

Image
THE MOST TRENDING FRONTEND WEB FRAMEWORK Angular Nowadays angular has become most trending, most popular and widely using client-side framework. Angular is a JavaScript structural framework, mostly use for creating dynamic mobile and web, single page applications. There are different versions in angular. The first angular version angular was developed by Misko Hevery, Adam Abrons and Google engineers in 2009. It brings two-way data binding and lets the user see the data changes in JavaScript automatically shown on the UI. Generally, it provides programmers to write an application in MVC (model-view-controller) or MVW (model-view-whatever) architecture. Angular has gained support from many developers and also they have used many packages to make programming easy and faster. Angular is the front-end part of the mean stack consisting of Mongo DB database, Express.js web application server and Node.js server runtime environment. Then the angular team created a completely new f

HTML5 Interview Questions And Answers

Image
HTML5 Interview Question What is HTML5? Define it’s purpose and use as well? HTML is the short form for HyperText Markup Language and with the release of it's latest version HTML5  is used diversely in crafting animated and beautiful websites by creating a web layout of amazing user experience(UX).     2. What is the correct syntax for Doctype in HTML 5? The latest syntax is <!DOCTYPE>.its, not an HTML tag it instructs the browser about the version of the HTML being used.     3. Explain the meaning of the term ‘HTML attributes’? These are the parts of the tags that give them context and purpose for their meaning like align attribute for <p> tag in HTML. Similarly, there are some global attributes such as class, style, id which can be used on all tags directly .     4. What are semantic elements? Semantic elements are those which clearly defines their own meaning with only like <form>, <table>, <p>, <ul> , <add

How to implement malloc function using java

The below memory allocation function is implemented according to the best fit algorithm. i have linked list data structure to implement this. In the LinkedList class i have initialized linked list properties such as head, number of nodes , has(to check whether there is a space) , index(to identify the node's index) . Go through this you will clearly understand what i have done here....  /*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ package malloc; import java.util.Scanner; /**  *  * @author piyumika  */ class LinkedList { //Class variables for the Linked List private static Node head; private static int numNodes;         private static char has;         private static int index;         public static int number;         public static void main(String [] args) {             //allocation memory using user input