Skip to content

IT430 - E-Commerce

7 Topics 22 Posts
  • 0 Votes
    2 Posts
    102 Views
    zaasmiZ

    Please share idea solution

  • 0 Votes
    2 Posts
    655 Views
    cyberianC

    Task: You have to write the HTML code to show the output as following screenshot. You have to write your own VU Id, Name; Father Name should be in text boxes. All the values in the table should be center aligned.

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <center> <!-- <center> --> <p align="right" ><img src="logo.png" alt=""></p> <!-- <img align="right" src="logo.png" alt=""> --> <form action="#" method="post"> <p >VU ID: <input type="text" name="vid" id="vid" value ="BC123456"> <span style="color: red;" >* BC123456</span> </p> <p>Name: <input type="text" name="sname" id="sname" value ="Aamir Latif"><span style="color: red;" >* Aamir Latif</span></p> <p>Father Name: <input type="text" name="fname" id="fname" value ="Muhammad Latif" ><span style="color: red;" >* Muhammad Latif</span></p> <table border="1" width="30%"> <tr> <th>Semester</th> <th>Degree</th> <th>Subject</th> <th>Grade</th> </tr> <tr style="text-align:center" > <td>Spring 2020</td> <td>BSCS</td> <td>IT430</td> <td>A</td> </tr> </table> </form> </center> </body> </html>

    logo.png

  • IT430 GDB1 Solution and discussion

    Solved
    3
    0 Votes
    3 Posts
    164 Views
    zareenZ

    @zareen said in IT430 GDB1 Solution and discussion:

    Do you think that in hash function can be decrypted and reversible?

    No, they cannot be decrypted. These functions are not reversible. There is no deterministic algorithm that evaluates the original value for the specific hash.

    However, if you use a cryptographically secure hash password hashing then you can may still find out what the original value was. These functions were designed to produce hash codes for big volumes of data / files. That is why they were designed to be very fast. It is relative easy to calculate MD5 and SHA1 hashes over a big number of inputs and use that to create a reverse lookup table.

    Reff

  • 0 Votes
    1 Posts
    351 Views
    No one has replied
  • 0 Votes
    10 Posts
    629 Views
    zareenZ
    <!DOCTYPE html> <html> <head> <title>IT430 ASSIGNMENT NO 2 </title> </head> <body bgcolor="@B6D53B"> <center> <h2>Grade Book Calculator</h2> <h4 >Welcom To Grade Book Calculator</h4> <form id="myform"> <table> <tr> <td> Student_ID: </td> <td> <input id="studentid" oninvalid="alert('Please Enter Student_ID ')" type="text" placeholder="Enter your VU ID" required="required" /> </td> </tr> <tr> <td> Name: </td> <td> <input id="nameid" oninvalid="alert('Please Enter Name ')" type="text" required="required" /> </td> </tr> <tr> <td> Father Name: </td> <td> <input id="fathernameid" oninvalid="alert('Please Enter Father Name ')" type="text" required="required" /> </td> </tr> <tr> <td> CNIC: </td> <td><input id="cnicid" pattern="^[0-9+]{5}-[0-9+]{7}-[0-9]{1}$" oninvalid="alert('Please Enter CNIC ')" type="text" required="required" /> </td> </tr> <tr> <td> English: </td> <td><input type="text" id="englishid" oninvalid="alert('Please Enter English Marks ')" name="english" required="required" /> </td> </tr> <tr> <td> Computer: </td> <td><input type="text" id="computerid" oninvalid="alert('Please Enter Computer Marks ')" name="computer" required="required" /> </td> </tr> <tr> <td> Math: </td> <td><input type="text" id="mathid" oninvalid="alert('Please Enter Math Marks ')" name="math" required="required" /> </td> </tr> <tr> <td> <input type="submit" onclick="calculate()"/> <input type="reset"> </td> </table> </form> </center> <script> function calculate(){ var field1 = parseInt(document.getElementById("englishid").value); var field2 = parseInt(document.getElementById("computerid").value); var field3 = parseInt(document.getElementById("mathid").value); var result = (field1+field2+field3)/3; alert(result); } </script> </body> </html>
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • 0 Votes
    3 Posts
    832 Views
    zareenZ

    Task.1: Convert the binary number (10101001)2 into its equivalent decimal number with all calculation steps.
    Solution:
    201 + 210 + 220 +231 + 240 + 251 + 260 + 271
    1 + 0 + 0 + 8 +0 + 32 + 0 + 128
    = (169)10

    Task 2: You have to write the HTML code for creating a from as shown in the following screenshot.
    8264d81e-5e3e-41ed-bde5-2283b4b81cf7-image.png

    Solution: <html> <head> <title>Student Information</title> </head> <body> <form name="frmStuGradeCal" align="center"> <table align="center"> <tr><td>Student ID: </td><td><input type ="text" id="yes" Name="StuId" value = BC123456789 ><td bgcolor="#FF0000">*Write your own VUID </td></td></tr><br> <tr><td>Paswword: </td><td><input type ="password" id="yes1" Name="pwd" ></td></tr><br> </table> <input type="button" name="login" value=" Login"> <tr> <td colspan = 2> Press Login button </td> </tr> </form> </body> </html>

    Task 3: Identify the Network IDs and Host IDs from the given IP addresses and then mention them in their respective columns.
    13a92205-5685-4303-aa20-87c4635c33da-image.png

    Solution:
    32a44433-1b24-4584-a93d-5e2b52fc2953-image.png