What is the Importance of computer in knowledge based society?
Computer is important in the society in the sense that it improves the living standard of an individual by 1. affecting the way one thinks 2. improving ones ability employ the use of other ICT gargets 3. building many skils in one to handling many task that aid a living e.t.c.
How many bytes are there for a plus b plus c?
It completely depends the datatype that you have assigned for the variables 'a' , 'b' , and 'c'. Check the compiler that you are using for the size of the datatype in bytes. Add them and thus you will get the answer.
Write a program using servlet and JDBC for developing an onine application to create a database?
// You can use this sample servlet as a starting point to connect to
// your database included with useractive account.
//
// Portions copied from Sun's HelloWorldServlet.java
// You are free to use this code in any way you chose
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
public
class HelloWorldServlet extends HttpServlet {
public void doGet (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/html");
ServletOutputStream out = res.getOutputStream();
out.println("<html>");
out.println("<head><title>Hello World</title></head>");
out.println("<body>");
try {
// The newInstance() call is a work around for some
// broken Java implementations
out.println("asdf");
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
}
catch (Exception E) {
out.println("Unable to load driver.");
E.printStackTrace();
}
out.println("<br><hr>");
try {
Connection Conn =
DriverManager.getConnection("jdbc:mysql://sql.useractive.com/USERNAME?user=USERNAME&password=PASSWORD");
// Do something with the Connection
Statement Stmt = Conn.createStatement();
ResultSet RS = Stmt.executeQuery("SELECT * from SOMETABLE");
while (RS.next()) {
out.println(RS.getString(1));
}
// Clean up after ourselves
RS.close();
Stmt.close();
Conn.close();
}
catch (SQLException E) {
out.println("SQLException: " + E.getMessage());
out.println("SQLState: " + E.getSQLState());
out.println("VendorError: " + E.getErrorCode());
}
out.println("<h1>Hello World. Sun... 1.4</h1>");
out.println("</body></html>");
}
public String getServletInfo() {
return "Create a page that says <i>Hello World</i> and send it back";
}
}
It's a big question & needs a lot of things to say,but in general
NFA contains nodes"states" related with some edges with the same value"coast"
you've to overcome this point and make every edge at the same nude have diff. value
EX: http://www.cs.gsu.edu/~cscskp/Automata/FA/node12.HTML
and I hope this link will help You:
http://web.cecs.pdx.edu/~harry/compilers/slides/LexicalPart3.pdf
I hope I've helped a little ^_^'
moreover we can answer like this:
NFA contains different types of proliferations , that is it contains different copies of choices for a given input symbol, so there is a sort of non determinism which would produces problems in devices which are following the models like computers . The prliferation will not give any assurance about a solution, so in order to remove that prliferation and to remove the non-determinism we have to convert the given NFA to DFA which will yields a deterministic result moreover contains a single edge for single input
What is high bandwidth architecture?
A high performance, high bandwidth memory bus architecture and module. The module may be a card that includes standard synchronous DRAM (SDRAM) chips and reduces latency and pin count. Four bus pins separate input commands from data and establish parallel system operations. By maintaining "packet" type transactions, independent memory operations can be enhanced from that of normal SDRAM operations. The architecture divides its buses into command and data inputs that are separate from output data.
Blue print of class 12 of rajasthan board of all subjects?
There are a few locations where one can find free blue prints of class 12 Rajasthan boards of all subject. These blue prints can be located at Jaipur Quikr and Boards Edurite.
What is the difference between internal and external fragmentation in OS?
Internal Fragmentation is the area in a region or a page that is not used by the job occupying that region or page. This space is unavailable for use by the system until that job is finished and the page or region is released.
How the length of computer is measured?
You apply a measuring stick or a measuring tape.
You apply a measuring stick or a measuring tape.
You apply a measuring stick or a measuring tape.
You apply a measuring stick or a measuring tape.
How many bits are needed to store six sides of a dice?
21 = 2
22 = 4
23 = 8
8 is the nearest power of 2 which is greater than or equal to 6, so we need 3 bits to store it (2*2*2=8).
Steps in problem solving in data structures?
Here's what I do:
What is indexed addressing mode?
When stored in contiguous blocks, data usually has a base address. Accessing any data from the block requires an offset to the base address which is achieved through an index. The adding of an offset to the base address is called indexed addressing.
Difference between hillclimbing and best first search?
Hillclimbing proceeds as per values of each nodes.Whereas BFS follows edges of the tree.
What is the number of nodes of degree 2 in binary tree which has n leaf nodes?
Ne=N2+1
Here Ne=no. of leaf nodes
N2= no. of nodes of degree 2
Why documentation is important in project management?
It is the most important step for pmp to follow. Keep your stakeholders informed and notified every step of the way of your project cycle. Have all the supporting documentation to back yourself up. To provide clarity and traceability. PM has many projects assigned to them at all given time. Document everything and It will help you with your planning and organization skills!
What is the significance of MDI form?
MDI stands for Multiple Document Interface. It is an interface where an application can present multiple documents or views to the user in a way that aggregates (or collects) them all under the parent application. Microsoft Word is an example of an MDI application; there are many others. Often, each MDI child is constrained to being visible only within the child region of the parent window. Often, the parent window's menu is changed in context with whichever child has focus at that moment in time.
What do you mean by double stack?
A double stack is simply two single stacks. (A triple stack is three, etc. And no, we are not talking pancakes or hamburgers. :-)>)
Often, the topic of double stacks comes up in compiler design, where you use one stack for operands and the other stack for operators, during the processing of an infix expression into a postfix expression.
Do not confuse these "extra" stacks with the primary stack provided by your compiler for passing arguments and return details. These "extra" stacks are usually coded explicitly, rather than implicitly, though some libraries such as STL can make it easier to do so.
Scripis a term for any substitute for currency which is not legal tender and is often a form of credit. Scrips were created as company payment of employees and also as a means of payment in times where regular money is unavailable, such as remote coal towns, military bases, ships on long voyages, or occupied countries in war time. Other forms of scrip include subway tokens, IOUs, arcade tokens and tickets, and "points" on some websites.
http://en.wikipedia.org/wiki/Scrip
How many kigabites are in one gigabite?
I presume you're asking "How many kilobytes in a gigabyte?"
There are approximately 1 million kilobytes in a gigabyte.
What is the meaning 'load balancing' in computer science?
Load balancing is a term used in the field of parallel programming, in which multiple CPUs (or even multiple different machines) will be doing work at the same time. Load balancing itself refers to allotting each CPU an amount of work (a 'load') which will ensure that they all finish processing at the same time.
The whole point of parallel processing is to reduce the amount of time it takes to perform a task. Without load balancing techniques, we may have one CPU doing 90% of the work and another doing only 10%. This does not give us a good speedup.
An ideal load balancing algorithm will distribute (100/N)% of the work over N processors.
What is function of a scanner?
A scanner converts photos, documents, etc. to digital form for copying, transmitting or storing.