Wednesday, December 26, 2018

votes counting


VOTES CAST OR COUNTING
DEFAULT.ASPX.VB
Partial Class _Default
    Inherits System.Web.UI.Page
    Public RD As String

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
        RD = Request.Form("RB")
        If RD = "RB1" Then
            Application("A") = Application("A") + 1
        ElseIf RD = "RB2" Then
            Application("B") = Application("B") + 1
        Else
            Application("C") = Application("C") + 1
        End If
    End Sub
End Class


DEFAULT.ASPX

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
 
        Can  (put any name here) Score 75 Percent or more marks in XII Board Exam?<br />
        <asp:RadioButton ID="RB1" runat="server" GroupName="RB" Text="YES" />
        <br />
        <asp:RadioButton ID="RB2" runat="server" GroupName="RB" Text="NO" />
        <br />
        <asp:RadioButton ID="RB3" runat="server" GroupName="RB" Text="CANT SAY" />
        <br />
        <asp:Button ID="Button1" runat="server" Text="SUBMIT" Width="221px" />
        <br />
        <br />
        <br />
        VOTES RESULT IS<br />
        <br />
        YES <% Response.Write(Application("A"))%><br />
        <br />
        NO<% Response.Write(Application("B"))%><br />
        <br />
       CANT SAY<% Response.Write(Application("C"))%>
        <br />
 
    </div>
    </form>
</body>
</html>




REPORT OF SERVER VARIABLES


REPORT OF SERVER VARIABLES

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<body>
<p>
<b>You are browsing this site with:</b>
<%Response.Write(Request.ServerVariables("http_user_agent"))%>
</p>
<p>
<b>Your IP address is:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</p>
<p>
<b>The DNS lookup of the IP address is:</b>
<%Response.Write(Request.ServerVariables("remote_host"))%>
</p>
<p>
<b>The method used to call the page:</b>
<%Response.Write(Request.ServerVariables("request_method"))%>
</p>
<p>
<b>The server's domain name:</b>
<%Response.Write(Request.ServerVariables("server_name"))%>
</p>
<p>
<b>The server's port:</b>
<%Response.Write(Request.ServerVariables("server_port"))%>
</p>
<p>
<b>The server's software:</b>
<%  Response.Write(Request.ServerVariables("server_soft"))%>
</p>
</body>
</html>




SERVER SIDE DATE TIME AND CLIENT SIDE DATE TIME INFO


SERVER SIDE DATE TIME AND CLIENT SIDE DATE TIME INFO
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h1>server side date time info</h1>
    <%  Dim dt As Date
        dt = Now()
        Response.Write("current date is")
        Response.Write(dt.Day)
        Response.Write("/")
        Response.Write(dt.Month)
        Response.Write("/")
        Response.Write(dt.Year)
        Response.Write("<br>")
        Response.Write("current time is")
        Response.Write(dt.Hour)
        Response.Write(":")
        Response.Write(dt.Minute)
        Response.Write(":")
        Response.Write(dt.Second)
        Response.Write("<br>")
        Response.Write("month name is")
        Response.Write(MonthName(Month(dt)))
        Response.Write("<br>")
        Response.Write("weekday name is")
        Response.Write(WeekdayName(Weekday(dt)))
        Response.Write("<br>")
        %>
         <h1>client side date time info</h1>
        <script language="javascript" type="text/javascript">
        var cdt
        cdt=new Date()
     document.write("current date is")
        document.write(cdt.getDate())
        document.write("/")
        document.write(cdt.getMonth()+1)
        document.write("/")
        document.write(cdt.getFullYear())
        document.write("<br>")
        document.write("current time is")
        document.write(cdt.getHours())
        document.write(":")
        document.write(cdt.getMinutes())
        document.write(":")
        document.write(cdt.getSeconds())
        document.write("<br>")
        var dy=new Array(7)
       dy[0]="sunday"
       dy[1]="monday"
       dy[2]="tuesday"
       dy[3]="wednesday"
       dy[4]="thursday"
       dy[5]="friday"
       dy[6]="saturday"
       var wk=dy[cdt.getDay()];
       document.write("weekday  NAME IS  " +wk);
        document.write("<br>")
     var month = new Array();
    month[0] = "January";
    month[1] = "February";
    month[2] = "March";
    month[3] = "April";
    month[4] = "May";
    month[5] = "June";
    month[6] = "July";
    month[7] = "August";
    month[8] = "September";
    month[9] = "October";
    month[10] = "November";
    month[11] = "December";
var mn = month[cdt.getMonth()];
document.write("month  NAME IS  " +mn)
        </script>
    </div>
    </form>
</body>
</html>




MHT CET MARKING SCHEME


MHT CET Exam Pattern | Std. XI MCQ
Subject
Approximate No of Multiple Choice Questions (MCQ) based on Std. XI
Mathematics
10
Physics
Chemistry
10
10


MHT CET Exam Pattern | Std. XII MCQ
Subject
Approximate No of Multiple Choice Questions (MCQ) based on Std. XII
Mathematics
40
Physics
Chemistry
40
40


MHT CET WEIGHTAGE




Weightage of Marks for MHT CET 2019:
PHYSICS
        Chapter Wise Weightage of Marks for MHT CET
Kinetic Theory Of Gases And Radiation
12%
Oscillations
8%
Atoms, Molecules, And Nuclei
8%
Rotational Motion
7%
Electrostatics
7%
Magnetic Effects Of Electric Current
6%
Electromagnetic Induction
6%
Semiconductors
6%
Wave Motion
5%
Magnetism
5%
Circular Motion
4%
Surface Tension
4%
Interference And Diffraction
4%
Current Electricity
4%
Gravitation
3%
Stationary Waves
3%
Electrons And Photons
3%
Elasticity
2%
Wave Theory Of Light
2%
Communication Systems
1%
CHEMISTRY  
Chapter Wise Weightage of Marks for MHT CET
Chemical Thermodynamics And Energetics
15%
p-Block Elements – Group 15 To 18
9%
Coordination Compounds
9%
d And f Block Elements
8%
Alcohols, Phenols, And Ethers
8%
Organic Compounds Containing Nitrogen
8%
Solid State
6%
Solutions And Colligative Properties
6%
Chemical Kinetics
5%
Halogen Derivatives Of Alkanes And Arenes
5%
Aldehydes, Ketones And Carboxylic Acids
5%
Biomolecules
4%
Polymers
4%
Chemistry In Everyday Life
5%
Mathematics
Chapter Wise Weightage of Marks for MHT CET
Integration
9%
Trigonometric Functions
8%
Three Dimensional Geometry
8%
Differentiation
7%
Probability Distribution
8%
Matrices
5%
Circles
6%
Conics
5%
Vectors
7%
Continuity
5%
Applications of Derivatives
5%
Differential Equations
6%
Bernoulli Trials And Binomial Distribution
4%
Pair Of Straight Lines
5%
Line
3%
Plane
4%
Linear Programming Problems
2%
Applications of Definite Integrals
4%
Statistics
3%
Mathematical Logic
3%