Tag: BIM study notes
web 2015 Solution || BIM STUDY NOTES
year 2015 Q.no 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
<html> <head> <style> table{ border:1px solid black; border-collapse:collapse; </style> </head> <body> <table border="width: 50%"> <tr> <th>Actor</th> <th>Movies</th> </tr> <tr> <td rowspan="3">Tom Hanks</td> <td>Forest Camp</td> </tr> <tr> <td>Green Mile</td> </tr> <tr> <td>Philadephia</td> </tr> </table> </body> </html> |
Q.no 13
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<html> <head> <title>javascript</title> <script language="javascript"> function addNumbers () { var vall = parseInt(document.getElementById("value1").value); var val2 = parseInt(document.getElementById("value2").value); var ansD = document.getElementById("answer"); ansD.value = vall + val2; } </script> </head> <body> valuel = <input type="text" id="valuel" name="value"/><br/> value2 = <input type="text" id="value2" name="value2"/><br/> <input type="button" name="Submit" value="Click here" onclick="javascript:addNumbers()"/><br/> Answer = <input type="text" id="answer" name="answer" value=""/> </body></html> |
Continue Reading
Web 2016 Old paper Solutions
2016 Old paper Q.no 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
javascript function that checks password and retyped password of two different password fields are same or not. <html> <head> <title>web</title> <script type="text/javascript"> function validate(){ var mypwd=document.myform.pwd.value; var myrpwd=document.myform.rpwd.value; if(mypwd !=myrpwd) { alert("password doesn't match"); return false; } else{ alert("okay"); return true; } } </script> </head> <body> <form name="myform"> <fieldset> <legend>Confirm Password</legend> <label> Password: <input type="password" name="pwd"></label> <label> Retype-Password: <input type="password" name="rpwd"></label><button onclick="return validate();">Confirm</button> </fieldset> </form> </body> </html> |
14.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Write a JavaScript code to check if a number given by user is prime or not. <html><head> <title>Prime check</title> <script type="text/Javascript"> var a=prompt ("Enter a num: "); var i, flag1=0; for(i=2; i<a/2;i++) { if(a i==0) { flag1=1; break; } } if(flag1==0) { document.write (a+" is a a prime number"); } else { document.write (a+" is not a prime number"); 0} </script> </head> <body> </body> </html> |
Q.no 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Q.no 15 <head> <title>Form</title> </head> <link rel="stylesheet" type="text/css" href="div.css"> </head><body> <div id="a"> a</div> <div id="b"> b</div> <div id="c"> c</div> <div id="d">d</div> <body> </body> </html> #a{ width:100px; height:100px; background-color:red; position:relative; #b{ width:100px; height:100px; background-color:green; position:relative;right:-100px; top:-100px; #c{ width:100px; height:100px; background-color: white; position:relative;right: 0px;top:-100px; #d{ width:100px; height:100px; background-color: blue; position:relative;right:-100px;top:-200px; div { border-style:solid; border-width:0.05px } |
Web 2018 old paper Solution || BIM STUDY NOTES
year 2018 Q.no 11 Checkout question from question section.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
<!DOCTYPEhtml> <html> <head> <title></title> <styletype="text/css"> * { box-sizing:border-box; } . a { height:100px; width:1000px; border:2pxsolidblack; display:block; /*float:left;*/ } . b { display:block; border:2pxsolidblack; height:300px; width:250px; float:left; } </style> </head> <body> <divclass="a"><h1>HeaderGoesHere</h1></div> <divclass="b">b</div> <divclass="c">c</div> <divclass="d">d</div> <divclass="e">d</div> </body> </html> |
Q.no 12 . Write a source code to create the login form that contains a textbox for username, a textbox for password and a submit button. Make the following validations (both username and password isrequired and cannot be the same and length should be greater than […]
Continue ReadingWeb 2019 old Paper Solution || BIM STUDY NOTES
Q.no 12 & 16 :- checkout in web long answer question page . Q.no 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
Question :- Write a JavaScript program to add numbers of list. //BIM Study Notes <html> <head> <script> function add(){ var a,b,c; a=Number(document.getElementById("first").value); b=Number(document.getElementById("second").value); c= a + b; document.getElementById("answer").value= c; } </script> </head> //BIM Study Notes <body> Enter the First number : <input id="first"><br /> Enter the Second number: <input id="second"><br /> <button onclick="add()">Add</button> <input id="answer"> </body> </html> //BIM Study Notes |
Q.no 13
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<!DOCTYPE html> <html> <head> <title></title> </head> <body> <script type="text/javascript"> var string="yashu"; var revString=string.split("").reverse().join(""); alert(revString); </script> </body> </html> |
Q.no 14
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
<!DOCTYPE html> <html> <head> <title></title> </head> <body> Name: <br> <input type="text" id="user"> Address: <br><input type="text" id="add"> Email: <br> <input type="email" id="email"> Password: <br> <input type="passwod" id="password"> <script type="text/javascript"> function validate() { var a=document.getElementById('user').value; var b=document.getElementById('add').value; var c=document.getElementById('email').value; var d=document.getElementById('password').value; var isSuccess=1; //Patter for email var emailPattern=/^[a-z]\S+\@\S+\.\S+/; var checkEmail=emailPattern.test(c); if(a==''||b==''||c==''||d=='') { alert("Fields Cant be Empty"); isSuccess=0; } if(checkEmail!=true) { alert("Enter the valid email pattern"); isSuccess=0; } if(d.password<6) { alert("Password must be more than 7 characters"); isSuccess=0; } if(isSuccess==1) { alert("Successfully Login"); } } </script> </body> </html> |
Q.no 15 checkout image in question paper section.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
//BIM Study Notes In HTML file: <html> <head> <title>without using table tag</title> <link rel="Stylesheet" type="text/css" href="div.css"> </head> <body> <div class="one"> <h1>div1</h1> </div> <div class="two"> <h1>div2</h1> </v> <div class="third"> <h1>div3</h1> </div> <div class="fourth"> <h1>div4</h1> </div> <div class="fifth"> <h1>div5</h1> </div> </body> </html> //BIM Study Notes In CSS file: div{ border-style:solid; border-width:5 px; } .one { height:50px; width:200px; } .two { position:relative; height:206px; width:100px; left:205px; top:-56px; } .third { position:absolute; height:50px; width:100px; top:62px; } .fourth { position:relative; height:50px; width:100px; left:102px; bottom:215px; } .fifth { position:absolute; height:100px; width:200px; top:115px; } //BIM Study Notes |
AIW 2016 & 2016 Model Question || BIM STUDY NOTES
2016 Model Question Q.no 4 2016 1.ii 1.v
Continue ReadingCO 2018 Makeup & 2019 Solution
Year 2018 Makeup Year 2019 Makeup 14 .write a micro instruction to evaluate the arithmetic statement x=(a+b)*(c+d) using one address & zero address instruction .
Continue Reading