answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Describe the complexity problem that arises in a multiprocessing system?

partial answer: Cyclomatic complexity (or conditional complexity) is a software metric (measurement). It was developed by Thomas J. McCabe in 1976 and is used to measure the complexity of a program. It directly measures the number of linearly independent paths through a program's source code.

How can change language of a whole software program?

In general, that is a very difficult thing to do. There are some programs which can do the translation for you (e.g. f2c translates FORTRAN in C). Generally, if its a large program automatically translated will require manual touch and transation of certain parts. The other option, is to manually translate it and test it.

What is an algorithm to print the Fibonacci series 0123 up to n terms?

void print_fib (unsigned terms) {

unsigned f1 = 0; // the first term

unsigned f2 = 1; // the second term

while (terms--) {

std::cout<<f1<<std::endl;

unsigned f3 = f1 + f2; // the next term

f1 = f2; // shift the terms for the next iteration

f2 = f3;

}

}

What are booting files?

boot files are executable files stored in the boot sector of your hard disk that initializes the operating system on to your computer. examples are boot.ini, ntldr etc.

its has 4 way process to on the computer

1.bios

2.post

3.bsc+mbr

4.ram

Why are computer programming teachers very tough with the students in terms of marking?

Computer programming/Software engineering is all about being meticulously careful about not making mistakes and catching and fixing the ones you do make before they can affect anyone else's work. When you are employed every work product you produce (e.g. code, documentation) will be carefully and microscopically peer reviewed by the other members of your development team.

Your teacher would be doing you a severe disservice to not be as critical of your classwork as your peers (and employer) will be of your work on your future job, where a minor design or coding error could cost the company millions of dollars or even a whole contract (and maybe you a job).

When was the device driver invented?

A device driver creates a layer of abstraction between the hardware and the operating system. They were created by programmers who wanted a standard set of system calls in interact with hardware.

Device drivers were 'invented' when x86 CPU's added the capability to enter 32 bit protected mode. By changing to this mode, the CPU changed how it addressed memory, therefore breaking the 16 bit BIOS system calls. Device drivers are the replacements for the functions provided by the BIOS.

Device drivers have actually been used on computers since long before the 8086 (the first x86 processor) was created. A device driver is really any piece of software that "drives" a device, usually so it can be used and controlled by other software. The UNIX operating system, for example, had device drivers for disk drives, teletypes, printers, tape drives, and paper tape punchers at least as far back as 1974 (UNIX v5). Most of the device drivers in UNIX v5 were even written in C at a time when most other operating systems were written in assembly language. It's hard to say who "invented" device drivers, however.

Further explanation

A device driver is the section of code that deals with devices, whether those are internal devices in the computer such as disks, memory systems, etc. It soon became apparent to early programmers that it was foolish to have every program deal with the details of each device. It made more sense to have a section of code that took "arguments' in a standard format, went and accessed the device, controlling it, reading its input and output and returning it to the calling program in an expected format. That is essentially a driver. It can be a standalone program, a subroutine embedded in the larger code, in the case of Windows a DLL. The first programs had "drivers", they have become more modular and complicated. Now complete computers, such as large supercomputers, have "drivers" that let slower computers load and run programs and access the results.

Stick RPG cheats?

HEYZEUS!!!!

gives you

$10,000

520 hp

highest possible intelligence

very high strength

also type 1e24 in the bank-Lancegong

Can you give you examples of short declamation speech?

* Students* Hazel Miguel I am a pretty student And I am smart I have a classmate And he is handsome and cute He's kind to me And I feel comfortable with him We often talk and eat together With our other friends I care for him I don't know if he cares about me My day is not complete Without seeing him All characteristics of a man he has All good things he does I don't know if he loves me or not I just know I love him very much

8085 program code for n prime number or not?

Lda 3000

mov c,a

cpi 02h

jz 2025

cpi 01h

jz 202d

cpi 01h

jz 202d

mvi b,02h

sub b

jz 202d

jnc 2015

inr b

mov a,c

cmp b

jz 2025

jnz 2015

mvi a,01

sta 27f6

jmp 2032

mvi a,0e

sta 27f6

call 06fa

hlt

What is the role of data structure in compiler design?

The role of the data structure in compiler designer is to take an input of a program written in another language and produce an output in another language. It also performs error detection.

What is the most commonly used text input device?

A keyboard is the most commonly used tool for entering text into digital devices.

What does the computer program Cooliris do?

Cooliris is a really beautiful way to see photos. It is a plugin that you install on your browser and it lets you see photos with really cool flying 3D effects.

What do you mean by input design and menu design?

Physical design relates to the actual input and output processes of the system.... Devising a test and implementation plan, and specifying any new hardware and ...Overview of menu and data entry screen options, contents, and processing. visit site

What all computer languages are involved in web designing?

The primary languages are HTML, CSS and JavaScript. HTML is the markup used to structure your content. CSS is used to make the structure pretty. JavaScript is used to make the pretty structure do neat things.

There are a bunch of other languages like PHP, ASP, JSP that work with MySQL or other databases...

Why is it that when I am connected to the internet my localhost does not connect?

The localhost is the loopback network interface. Every machine uses the exact same address, 127.0.0.1, but that address is completely private to your machine. Even your local area network cannot access it, never mind the Internet. The localhost essentially allows you to refer to your own machine, permitting access to its own servers (such as http://127.0.0.1 or ftp://127.0.0.1) just as if the request had actually come from another machine on the network. Even completely standalone machines have a localhost.

Your machine may have one or more additional IP addresses, depending on the number of network interfaces available. Most home computer systems use a router to connect to the Internet and every machine connected to it forms a local area network (LAN). Typically the router's LAN IP address will be in one of three ranges where the first octet is: 1-126 (class A), 128-191 (class B) or 192-223 (class C). Most home networks use class C addresses where the first three octets identify the subnet (such as 192.168.0) and the last octet identifies the machine (1 to 254). The router is typically assigned the first IP address, such as 192.168.0.1, and this is the gateway to the Internet. LAN addresses are not accessible from outwith the LAN -- they are private to the LAN (just as localhost is private to the machine).

The router also has an outward facing IP address that is assigned to it by your ISP. This is the only address that is visible to the Internet. The router ensures that traffic from the LAN to the Internet is made to appear as though it originated from the router via network address translation (NAT). Basically, whenever you instigate an Internet request, the router receives the request and stores it in a table along with your LAN address. The router then modifies the request (changing the port or adding additional information to the request) in order make it unique to you, swaps your LAN address for your ISP address and completes the call. When a response is received, the router looks up the table for a matching entry, swaps the ISP address for your local address and forwards the call to your machine. This gives the impression your machine is directly connected to the Internet, but it is not. The Internet is connected to your router and nothing else.

What is the difference between Tools IDE Integrated Development Environment?

An integrated development environment or IDE for short is a software that is used to

develop a software application which may be a web enabled or window enabled by any

language that the software support. i.e say (Java /.Net).It contains many tools for

professional programming.It has plug-in architecture that enables you to add additional

tools for specialized need.It is complex and powerful-think of it as Swiss Army Chainsaw for programming. Fortunately, it is easy to use for simple tasks if you are willing to ignore 90% of the menu options and buttons. Ex- Eclipse and Netbeans.

A programming tool or software development tool is a program or application that software developers use to create, debug, maintain, or otherwise support other programs and applications.The term usually refers to relatively simple programs that can be combined together to accomplish a task, much as one might use multiple hand tools to fix a physical object.(Deepak kumar sahoo(IBMer)) 05-08-2010

Fortran is a low level language?

FORTRAN is a third generation language.

Note: I don't know what these generations are, but I'm quite sure that Fortran is one of the oldest high-level programming languages, as are Cobol and Algol.

I was trying to add a printer to my computer and it keeps on saying my Printer Spooler isn't working What is that?

The printer Spooler is the operating systems built it program the direct priority and location to send print jobs. try and find the sevices options on the Operating systems Admistrative tools, Find printer Spooling . Stop the service and then start it again u must click apply after sleceting stop and then again after start

Is jerica a hacker?

yes jerica is a hacker

better

she is a dirty,stink,ball headed,stupid,cousin faker,ugly,crooked teeth,heffer,that hacks peoples account

Write various ways to implement stack data structure?


2. Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference.
Figures are: circle(c), square(s), rectangle(r), triangle (t).

Write and explain recursive backtracking algorithm for n-queens?

This is not a question, this is your homework.

For a start, read this: https://en.wikipedia.org/wiki/Eight_queens_puzzle