answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Why would a computer need device drivers?

Computers work way faster than our minds but they are bigger fools than us. They need to be taught just like a new born baby to carry out their tasks. Now the job of device drivers comes to play. They contain the essential data that is needed by the computer to control or operate that device that has been attached to it.

That is why, there is a specific device driver for a specific device because all the devices work differently.

What are the different base number for each number system?

If you mean a number system analogous (similar) to our decimal system, the base for such a number system can be any integer, 2 or greater. In other words, the base can be 2, 3, 4, 5, etc. You need as many different digits as the size of the base (decimal is in base 10, so you need 10 different digits).

How do you do GML 10 created by Mr. Viik?

There are free tutorials with sample code available all over the web. The Professional version starts at $50 depending on which additional modules you require. The Master Collection is $800. However, before you buy you should download the free version. It is extremely limited but it will be enough to get you started.

What programming is carried on 24 ur?

24 ur is a Slovenian internet news magazine site. It had pages for world news, economy, IT, sport, weather, local. music and erotica. It can also be viewed in mobile format.

Is Ruby an interpreted language or a compiled language?

It is an interpreted language, however there are some versions that compile the source code to byte code which can then be interpreted with much greater efficiency than the original source code.

What is the requirement of an array?

The two main requirements of an array are:

* Its size should be specified while declaration. This size cannot change.

* It can contain only homogeneous elements as its values. i.e., for example an array can contain either all int values or all char values etc. It cannot take values of different data types

How can a sleeping process wake up in Linux?

When an interrupt occurs for which the process was waiting the OS should start executing the process. If the process isn't waiting for anything and there isn't anything for it to do, it might not start executing. Many processes in LINUX use a send/receive/reply IPC protocol. If the process is waiting for an IPC message from something else and has no timeout associated with the wait, it could effectively wait forever. In general, that's considered an error in programming.

Does beemp3 have viruses?

Don't do it!!!! It gave me a virus and since i downloaded illegally, my warranty did not cover it!!!!!!

Sample program on LISP and c program?

Bigloo, chicken or gambit are just designed for that: mixing c and scheme (a dialect of lisp):

You easily mix both language in a same program, il you want in the same source file, then it get compile in c

Best of both world!

Why do you use flowcharts?

Flowchart means pictorial representing of an algorithm.

Is all software developed by a programming language?

Software development is the process of designing and writing code for computer operating systems, smartphone or computer apps, and non-PC devices.

The programming language that a software developer uses depends on the task. System Programming: Systems programmers design and write system software.

Is heyristic an algorithm?

A heuristic is not an algorithm, but rather a general rule of thumb. It doesn't always work, but it's fairly decent.

What is meant by mathematical model in particular linear programming model?

A mathematical model is the representation of a relationship or state or phenomenon in a mathematical form using control variables.

Give the purpose of left and right mouse botton?

On a PCs and Linux the left mouse button is used for clicking, or selecting files ect. The right mouse button is used for opening up menus related to the item for help. There is no right mouse button on Macs, but only the left mouse button with the same functions.

What is the history of Unified Modeling Language?

Overview

The Unified Modeling Language (UML) is used to specify, visualise, modify, construct and document the artifacts of an object-oriented software intensive system under development.[1] UML offers a standard way to visualize a system's architectural blueprints, including elements such as:

  • actors
  • business processes
  • (logical) components
  • activities
  • programming language statements
  • database schemas, and
  • reusable software components.[2]

UML combines best techniques from data modeling (entity relationship diagrams), business modeling (work flows), object modeling, and component modeling. It can be used with all processes, throughout the software development life cycle, and across different implementation technologies.[3] UML has synthesized the notations of the Booch method, the Object-modeling technique (OMT) and Object-oriented software engineering (OOSE) by fusing them into a single, common and widely usable modeling language. UML aims to be a standard modeling language which can model concurrent and distributed systems. UML is a de facto industry standard, and is evolving under the auspices of the Object Management Group (OMG). OMG initially called for information on object-oriented methodologies that might create a rigorous software modeling language. Many industry leaders have responded in earnest to help create the UML standard.[1]

UML models may be automatically transformed to other representations (e.g. Java) by means of QVT-like transformation languages, supported by the OMG. UML is extensible, offering the following mechanisms for customization: profiles and stereotype. The semantics of extension by profiles have been improved with the UML 2.0 major revision.

What does the abbreviation ALGOL stand for?

ALGOL stands for Algorithmic Language and was a programming language popular in the 1950's

How do you convert a decimal number to its octal What is the algorithm for it?

Repeatedly divide the number by 8 until the number is zero. Take the remainders from each division (the remainders will always be in the range 0 to 7 inclusive). The first division finds the lowest-order digit, the last finds the highest-order digit.

Example:

Decimal value: 421

421 / 8 = 52 r 5

52 / 8 = 6 r 4

6 / 8 = 0 r 6

The remainders are 6, 4 and 5, so 421 decimal is 645 octal.

To convert from octal to decimal, multiply each octal digit by 8^n, where n is the zero-based order of the digit (0 being the lowest order), then sum the products.

Example:

Octal number: 645

5 * (8^0) = 5 * 1 = 5

4 * (8^1) = 4 * 8 = 32

6 * (8^2) = 6 * 64 = 384

384 + 32 + 5 = 421

Note that n^0 = 1 for all n>=0.