answersLogoWhite

0

📱

Computer Science

Computer Science is the systematic study of algorithmic processes that describe and transform information. It includes the theoretical foundations of information and computation and the practical techniques of applying those foundations to computer systems. Among the many subfields of Computer Science are computer graphics, computer programming, computational complexity theory, and human-computer interaction. Questions about Computer Science, terms such as algorithms and proofs, and methodologies are encouraged in this category.

1,839 Questions

What is meant by binary valued quantities?

Binary-valued quantities can be 0 or 1, true or false, right or wrong. There are only 2 possible values.

When is relation in 2NF?

A relation may be in 2NF if

1. it is in 1NF &

2. Every non prime attribute functional dependent on primary attribute

What is the first np-hard problem?

You can use the bounded tiling problem. Given a problem in NP A, it has a turing machine M that recognizes its language. We construct tiles for the bounded tiling problem that will simulate a run of M.

Given input x, we ask if there is a tiling of the plane and answer that will simulate a run of M on x. We answer true iff there is such a tiling.

What is PESTEEL Analsys?

Marketing external environment analysis

What is the difference between Computer Science and IT engineering?

Computer Science deals with engineering aspects of computer hardware and software. To be more clear it will deal about microprocessors, compilers, datastructures, algorithms and fundamental blocks of computer science. Computer scientists deal with inventing faster processors or highly optimized algorithms IT or Information Technology is the application of hardware and software for a business purpose. IT professionals deals with all kinds of business like entertainment, banking, retail or any such and try to provide solutions to business problems using software installed on appropriate hardware. As many a times software solutions may not be available off the shelf so they may write custom programs to meet the business needs

Explain how ict contribute to the society?

1. Introduction

* Information and communication technologies or ICT is about digital information passing between devices. ICT development has changed every aspect to the human society. It has affected our life in many ways.

2. The Impact of ICT on Society

* A.) Faster communication speed

* - In the past, it took a long time for any news or messages to be send. Now with the internet, news or messages are sent via

* e-mail to friends,business partner or anyone efficiently.

* - with the capability of bandwith, broadband and connection speed on the internet, any information can travel fast at an instant. It saves time and is inexpansive

* B.) Lower Communication Speed

* - Using the internet is cost-effective than the other mode of communication than the other mode of communication such as telephone, mailing or Korea Service. It allows people to have access to large amounts of data at a very low cost.

* - With the internet we do not have to pay for any basic services provided by the internet. Furthermore, the cost of connection to the internet is relatively cheap.

* C.) Paperless environment

* - ICT technology has created the term paperless environment. This term means information can be stored and retrieved through the digital medium instead of paper. Online communication via email, online chat and instant messages also helps in creating the paperless environment.

* D.) Effective Sharing of Information

* - People can share and exchange opinions, news and information through discussion groups, mailing list and forums on the internet. This enable knowledge sharing which will contribute to the development of a knowledge based society

* E.) Social problems

* There are some of negative effects of ICT.

* Nowadays, people tend to choose online communication rather than having real time conversations.

* People tend to become more individualistic and introvert theft, hacking, pornography and online gambling. This will result in moral decadent and generate threat to the society

* F.) Health Problems

* A computer may harm the user if they use it if they use it for a long hours frequently.

* Computers users are also exposed to bad posture, eyestrain, physical and mental stress.

* In order to solve the health problems, an ergonomic chair can reduced back strain and a screen filter is to minimize eyestrain.

6. Conclusion

* ICT is redefining the economic, social and cultural scene

* The impact of ICT is much more and further reaching than any other technology invented so far

* ICT is empowering society in both the economic and social contexts

* Digital Divide is increasing among and within nations

* The Government should recognise that communication and knowledge are two intertwined success factors .

by MADUSHAN PRIYADARSHANA

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";

}

}

Why to convert NFA to DFA?

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:

  1. Look at the data structure. What "shape" is it? A tree? An assembly line? A bucket? A stack of index cards? How can you think of it?
  2. Represent it in the physical world with one of these metaphors. I know this sounds silly, but getting it out of the virtual world and into the physical one can help you realize what is just not possible with one data structure that might be with another.
  3. Go through what your program is doing. Use a test case and see what happens. This is where your find your problem. Sometimes it might be that you are asking a tree to do a doubly linked list's job.
Good luck. These can be some of the toughest problems to solve.

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.

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.