Skip to main content

Posts

Showing posts from December, 2019

What is ADO.NET Entity Framework

In it an Enhancement of ADO.NET because ADO.NET use SQL query hence it's performance and security is less as compare to EF( Entity Framework). ADO.NET Use   Predefined Classes and Methods to perform database operation using Drivers and Providers which take more time to execute SQL query under Database server. Entity Framework Will Map Complete Database using Different  Entity Classes in an application means we can directly reflect data of an application under entity framework without using any intermediate hence it will provide better performance and Security as compare to ADO.NET. Entity Framework is also called ORM means Object Relational Mapping because It can map multiple tables using multiple classes with Primary Key and Foreign Key Constraint. How many ways to implement ADO.NET Entity Framework Operation:- 1)  Data First Technique   :-  First we create database under Database Server Then we create application and use database server ...

What is Bootstrap?,BootStrap Introduction,Bootstrap tutorial for beginners

Bootstrap is an external library that contains .css file and .js file to provide a responsive web layout. responsive means, Layout which is compatible with Mobile Screen, Desktop Screen, TV Screen, Tablet Screen, Projector, etc. Bootstrap contain set of CSS block which will be called under HTML element. for example, if we want to create two different partitions which is compatible with all device. How to use bootstrap: 1)first download bootstrap.min.js and bootstrap.min.css I have mentioned download link below with a complete example. 2) Create .html file and link bootstrap .css file and .js file 3) Write the following code to implement bootstrap class="row" :-  it create responsive row class="col":-  it create responsive columns <div class="row"> <div class="col-sm-6"> </div> <div class="col-sm-6"> </div> </div> Complete Code of bootstrap  <!DOCTYPE html> <html> <head> <ti...

ASP.NET CLASSIC or ASP.NET WEB FORMS Interview Question

ASP.NET MVC Interview Question :- 1)  What is global.aspx file 2)  what  is web.config file ,how we write connection string ? 3)  What is authentication and authorization in ASP.NET ,how many ways to implement authentication? 4)  What is ViewState ,How many type of ViewState in .aspx? 5)  What is difference between Response.Redirect and Server.Transfer()? 6)  What is State management  ? 7)  How many type of Session Object will be created  in ASP.NET Classic? 8) Difference between LISTVIEW , GRIDVIEW,REPEATER,DETAILSVIEW? 9)  Difference between SQLDatasource and ObjectDataSource Control? 10) How we can implement AJAX  using server side and client side both. 11)  What is user control,template control and custom control in ASP.NET? 12)  Report generation in ASP.NET classic? 13)  ASP.NET Page life cycle? 14)  How you can count number of current users in particular page and all...

Machine Learning Topic by Shiva Concept

For machine learning we will use the Training dataset to predict new data hence Data science is required. 1)  Python knowledge 2)  Data science knowledge   :-    Numpy,scipy,matplotlib,panda 3) Different type of methods in ML:- Based on human supervision Unsupervised Learning Semi-supervised Learning Reinforcement Learning 4)  ML library:-  scikit-learn 5) Classification 5)  Tensor flow 6)  Clustering  (K-MEANS,MEANSHIFT,HIERARCHICAL) 7)  Regression(Linear regression,Logistic,SVM,Decision Tree) 8)  KNN algorithm

Application of machine learning to implement real world project

Applications of Machines Learning Machine Learning is the most rapidly growing technology and according to researchers, we are in the golden year of AI and ML. It is used to solve many real-world complex problems that cannot be solved with the traditional approach. Following are some real-world applications of ML −              Weather forecasting,              Image detection and manipulation Emotion analysis Sentiment analysis Error detection and prevention Stock market analysis and forecasting Speech synthesis Speech recognition Customer segmentation Object recognition Fraud detection Fraud prevention Recommendation of products to customer in online shopping

Classification of JAVA

Classification of JAVA:-   1) J2SE  :-   Java to Standard Edition ,It is used to create standalone (Desktop) application using Java.                    It is also contain Core Concept of Java.                    1.1)   Java Fundamental                    1.2)   OOPS                    1.3)   Exception                    1.4)   File Handling                    1.5)   Threading                    1.6)   GUI Programming (AWT,SWING,APPLET,JAPPLET)                    1.7)   JDBC 2)...

Ajax example in Java for country and state

Ajax example in Java for country and state: 1)Create table for Country  using MYSQL create table country(countryid int,countryname varchar(50)) 2)Create table for state using MYSQL create table state(stateid int,statename varchar(50),countryid int) 3)   Create JSP and fill data into dropdownlist of country table <%--     Document   : country     Created on : Dec 14, 2019, 4:57:26 AM     Author     : Hp --%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <%@page import="java.sql.DriverManager"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">         ...

What is Java bean class,POJO Class in Java

Bean is the normal class of java which contains a set of properties to read and write data in object pattern.  It will work as an intermediate between the form component and servlet. request.getParameter() is directly get the data from form component which is not secure and fast in data communication hence all form data will be inserted into java bean class and save into the database.it provides better security and optimization as compare to form-based data communication. Java bean class convert text data to object pattern. class Classname implements Serializable {        data member;        properties; } bean class is also used to 3-tier (layer) architecture in java to implement the project , it is also called MVC architecture where M means Model, V means View, the C means Controller. The view is used to contain the design layer using HTML+CSS+JS+JQUERY The controller is used to design code using Servlet. Model is used to communicate data...

State transition testing , Decision Table testing

State transition testing :-  If we pass different input variables to check multiple states that are called state transition testing. When we log in with a valid pin code in ATM then it will process to transaction menu otherwise it will provide a try again message and provide re-enter pin code, it is an example of state transition where the state of the machine will be changed according to input data. Decision Table Testing:-    Using this we can check software using different input conditions. It will return true condition and false condition results, it can also provide branching and nesting. If we create the greatest number program using three different numbers then it is part of decision table testing. IT is the best way to perform testing operations.

Show Record from Database in MYSQL using PHP

Show Record from Database in MYSQL using PHP. Step1st:-   Create PHP page Step2nd:-  Write PHP Script to Show data using SQL Query "select * from tablename"  ,it will return data in Object form then we will use mysql_fetch_array() which will convert Object data to array data. I am Creating table Student which contain rno,sname,branch and fees <!DOCTYPE html> <html> <head> <title></title> </head> <body> <h1>View Student Record</h1> <hr> <?php $conn= mysqli_connect('localhost','root','','php12batch'); $res = mysqli_query($conn,"select * from student"); while($x = mysqli_fetch_array($res)) {   echo $x[0],' ' ,$x[1],' ',$x[2],' ',$x[3],"<hr>"; } ?> </body> </html>