answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Is 38 a composite number?

Yes. All non-prime numbers are composite numbers, which simply means a number has one or more prime factors other than 1 and the number itself.

What is the set builder notation for prime numbers?

Set builder notation for prime numbers would use a qualifying condition as follows. The set of all x's and y's that exist in Integers greater than 1, such that x/y is equal to x or 1.

How download opengl 2.0?

OpenGL isn't a program, its an API to access features of a graphics card from an application. To use OpenGL programs, you either need a driver for your video card that supports OpenGL, or the applications needs to be compiled with support for Mesa 3D, a software renderer.

What is C99?

The ISO C standard that came into being in 1999.

What is the function of the mitochondrion?

They make use of products of glycolysis and the Krebs Cycle to mass produce ATP (energy) via the Electron Transport Chain.

Name the important approaches used in program debugging?

  • While correcting or fixing a bug always make it a habit to make comments containing description about date, purpose of fixing, username who fixed the bug and so on. This is very essential because this will be helpful if the person who made the bug fixing later on want to refer the bug for some reason for fixing some other fix or it would be helpful for other users since it act as a documentation which provides an easy reference.

    .

  • Make it a practice that while debugging to make a change and test it immediately. This is because when a change is made to the existing code it may pave way for some more bugs. After ensuring that the corresponding fix works fine by testing then go for next change. In other words it is essential to be systematic in approach while debugging.

    .

  • It is very essential to remove the temporary code added just for debugging purposes like temporary print statement to check the value of variables and so on.

    .

  • When a fault is found in debugging process after correcting and fixing it always have a broader vision and think whether the same fault or similar situations can occur in other parts of the program. This vision will help in reducing the time in debugging process.

    .

How the computer has an impact on labor force?

computer has the higher efficiency than a human, it's productivity level can be almost twice of human. for an example, calculation speed of a computer is almost ten times or more faster than a human brain, in some other ways like designing and creating also much more faster than human.

What are the advantages of memory chips?

They make sure you dont lose your work and they help you to store more data

Find Shortest path between two nodes in given graph?

If u want 2 find shortest path between any 2 nodes

tak 1 source vertice and 1 destination vertice

the minimum number of vertices which comes while traversing from source to destination vertice will give you ur answer

that is,try to cover minimum o of vertices whil traversing.

Design and develop algorithms for multiplying n integers?

  • Algorithm

: Multiply_n_Integers

Input:

integers, number of integers to be multiplied (n), loop variable (i)

Output

: mul, updated

Method

: Display 'Enter the number of elements'Accept nDisplay 'Enter elements one by one'for (i = 1 to n in steps of 1 do)Accept a (i)end_for mul = 1for (i = 1 to n in steps of 1 do)mul = mul*a(i)end_for Display 'multiplication of n integers is = ', mul

Compare user side and server side factor that can influence website performance?

Hard drive data speed, bandwidth, ram memory, and CPU processor speed are all factors that influence website performance on the user side and server side.

Is 8051 programming is a programming language?

8051 programming refers to the Intel 8051 micro-controller. This is a small computer on a single chip having electronic input output that is used to control simple machinery.

The 8051 uses an instruction set consisting of binary codes and data that may be used to describe the algorithms that the microprocessor runs. These instructions are published by Intel with a set of mnemonic words that are designed to enable the programmer to remember the instructions. These mnemonics are not part of a formal programming language because they have no syntax apart from the instruction and data values for each command that the processor might execute.

The instructions could be placed in any order such that no particular algorithm is expressed.

A formal programming language however requires structure and syntax that describes the algorithm as an abstract concept apart from the system that might run the program. A programming language, such as C, C# or Java will be portable across machines but 8051 assembly code will only run on that processor.

In short then, the 8051 assembly code is not a programming language as such.

What does GUIpronounced goo-ey mean?

It stands for Graphical User Interface. The easiest answer to what it is is to tell you what it is not. It is not Dos, or command prompt. Instead of you typing in what you want the program to do, the program already options there, and normally all you need to do is click on the function that you want the program to perform.

How does computer animation work?

The processes depend on what code and programs are used, as different types of graphical rendering exist. At its core, however, computer-generated animation works by simulating objects and moving them around within the simulated space.

How do you get binary data from the image?

You divide the image into two axes (X and Y), and work out positions across the image using a coordinate system. E.g. if the X axis is A - Z and the Y axis is 1 - 10, you can refer to a particular position in the image as C-8. If that C-8 grid or pixel is black, the value is 1, if it is white, the value is 0. In statistical analysis, this system is used to visually explore contingency tables-- the X axis can contain a list of categories and the Y axis can contain a list of cases.

What is batch fermenter?

it is a closed system, were no new nutrients are added. the bacteria grow and mutiply. they bacteria go throught the lag, and log phase into the stationay phase. at the same time the nutrients are depletitng. this eventually results in the bacteria entering the death phase maily due to lack of nutrients.

this is difffernt to fed batch as nurtients are added to keep nutrient condtions concentration constant. thsi prolongs the log and stationary phase. particualy usefull for produceing secondary metabolites. this will also eventually enter the death phase, not due to lack of nutrient but due to build up of toxins (waste products of metabolisum)

a continuous ferenetor keeps nutrient concentration constant and number of bacteria constant, it dose this by peridocally removeing some of the bacteria. this genrally maintains the bacteria in the log phase, as their is no build up of toxins and no competion for nutients.

Which is important vision or mission?

Both are important and are strictly dependent on each other. The vision statement is a type of Rah Rah statement. In other words, this is who we are, this is what we do, and this is where we plan on going. The mission statement spells out how you plan on doing it. In other words, by a list of goals and objectives (the how).

Do you agree with the statement in this age of electronics letter writing is a dying art?

No, I would not agree. Indeed I'd say the opposite is true. With advances in technology it has become much easier and quicker to send letters all across the world, especially if we include all forms of written communication, such as e-mail, text and instant-messaging. What is a dying art is the hand-written letter rather than letter writing.

Where can the source code of Prim Algorithm be found?

Algorithm's don't have source code per se. Source code depends on the programming language used to implement the algorithm and this will obviously vary from language to language. However, we often use pseudo-code to provide an informal language-agnostic implementation in human-readable form. Pseudo-code is not source code because it is not machine-readable and has no formal standard. However, it employs established structured programming conventions such as loops and variables, thus the code can be easily adapted to suit many high-level programming languages.

Prim's algorithm can be informally described as follows:

  1. Initialise a tree with a single vertex, chosen arbitrarily from the graph.
  2. Grow the tree by one edge: of the edges that connect the tree to vertices not yet in the tree, find the minimum-weight edge, and transfer it to the tree.
  3. Repeat step 2 until all vertices are in the tree.

In pseudo-code, the algorithm can be implemented as follows:

Associate with each vertex v of the graph a number C[v] (the cheapest cost of a connection to v) and an edge E[v] (the edge providing that cheapest connection). To initialise these values, set all values of C[v] to +∞ (or to any number larger than the maximum edge weight) and set each E[v] to a special flag value indicating that there is no edge connecting v to earlier vertices.

Initialise an empty forest F and a set Q of vertices that have not yet been included in F (initially, all vertices).

Repeat the following steps until Q is empty:

  1. Find and remove a vertex v from Q having the minimum possible value of C[v]
  2. Add v to F and, if E[v] is not the special flag value, also add E[v] to F
  3. Loop over the edges vw connecting v to other vertices w. For each such edge, if w still belongs to Q and vw has smaller weight than C[w], perform the following steps:
  • Set C[w] to the cost of edge vw
  • Set E[w] to point to edge vw

Return F

Source: wikipedia

What is a RF amplifier?

A RF amplifier is a device for electrically amplifying the power of an electrical signal, typically, but not exclusively, radio frequency signals.

What does a compression program do?

what does a compression program do? what does a compression program do?

What are Reflected codes?

a modified binary code in which sequential binary numbers are represented by expressions that differ only in one bit, to minimize errors.

What psychological disorder is characterized by a deliberate concealment of one's level of intelligence and past experience consistently and use of artificial crisis to control others via panic?

I don't know the answer to your question, but after reading it I believe it refers to the woman from the stories on the news about the woman who made up her tale about being in the WTC during 9/11. Am I right? Let me know!