Web 2017 Old paper Solutions || BIM STUDY NOTES
Year 2017 checkout question in question paper section. //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 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 |
<html> <head> <style> table { border:1px solid black; border-collapse:collapse; } </style> </head> <body> <table border="width:50%"> <tr> <th colspan="2">Subject</th> <th> John Doe</th> <th>Mirim Luther</th> </tr> <td rowspan="2"><b>Biology</b></td> <td><b>Practical</b></td> <td> A</td> <td>A</td> </tr> <tr> <td><b> Theory</b></td> <td>A+</td> <td> A</td> </tr> <tr> <td rowspan="2"><b>Chemistry</b></td> <td><b>Practical</b></td> <td>B</td> <td>C</td> </tr> <tr> <td><b>Theory</b></td> <td>A</td> <td>C+</td> </tr> <tr> <td rowspan="2"><b>Physics</b></td> <td><b>Practicals</b></td> <td>A </td> <td>A</td> </tr> <tr> <td><b> Theory</b></td> <td>A-</td> <td>A-</td> </tr> </table> </body> </html> |
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 |
<html> <head> <title>Divs</title> <style type="text/css"> .main{border:2px solid black; height:500px;width:1000px;} .fr{height:100px;width:1000px;border-bottom:2px solid black;} .fr1{height:100px;width:800px;border-right:2px solid black;float:left;} .fr2{height:100px;width:200px;float:right;} .sr{height:300px;width:1000px;border-bottom:2px solid black;} .sr1{height:300px;width:200px;border-right:2px solid black;float:left;} .sr2{height:300px;width:800px;float:right;} .tr{height:100px;width:1000px;} </style> </head> <body> <div class="main"> <div class="fr"> <div class="fr1"></div> <div class="fr2"></div> </div> <div class="sr"> <div class="sr1"></div> <div class="sr2"></div> </div> <div class="tr"></div> </div> </body> </html> |
Q.no 13 Write a JavaScript function that takes two strings as arguments and checks them for equality. If both the strings are equal then display the first string in uppercase else return “the two strings do not match”.
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 |
<html> <head> <title>String 4</title> </head> <body> <script type="text/Javascript" str1=new String("BIM Study Notes"); var a1=str1.length; str2=new String("BIM Study Notes"); var a2=str2.length; var i; var count=0; for(i=0;i<=a1;i++) { if(str1.charAt(i)!=str2.charAt(i)) { count++; break; } } if(count==0) { document.write("<br>Uppercase is: "+str1.toUpperCase()); } else document.write("<br>They are not equal"); </script> </body> </html> |
Q.no […]
Continue Reading