answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

How 'pictures' can be converted into a language that computers understand?

Every thing a computer does is originated into Binary code with is a 1 or a 0 (on or off) and they are called bits that form into bytes like (101011001010). A Computer can understand anything and everything you are able to put in itself. The thing that matters is does it know where to put it and what to use the Data with. This is what applications, and device software is for.

The complexity and advantages of Basic programming language over a low-level language?

gw basic is a programing language that allows us to operate computer and compute the statements and coomands that we want to.gw basic is an easy language which a simple person can understad.a programer can create his/her own programes using gw basic.

8 Which network protocol has the slowest transmission speed?

Local Talk is the network protocol that has the slowest transmission speed. Local Talk was developed by Apple Computer, Inc.

Difference between corporate planning and strategic planning?

Strategic planning is also known as business planning. This is the plan that the corporation comes up with, and the goals they would like to meet. Corporate planning refers to the strategies that will be followed by employees to help meet the corporation's goals.

Types of device drivers?

There are only two types: software and firmware. A software device driver is a program written for a particular operating system to support a particular piece of hardware. A firmware device driver is also software, but it is etched onto a memory chip (ROM) or a programmable chip (PROM or EPROM). The BIOS and CMOS are examples of firmware drivers, both used to initially boot the system and load the operating system.

What is RAID fault tolerance?

Fault tolerance is the ability of a system to continue working even when a fault exists. In the case of RAID, which stands for Redundant Array of Inexpensive Discs, fault tolerance is provided by having data recorded on more than one drive, and also by having more than one power supply. Note that RAID 0 is not fault telerant because it is simply stripes the data to increase size and bandwidth, but provides no redundancy. RAID 1 and RAID 5 are fault tolerant, to various levels.

How would you obtain the MAC address from a machine?

It depends on the machine. However, the MAC address is usually found in the network interface properties.

Importance of automata as a computer science student?

Automata, and the related concept of formal languages, is the core of theoretical computer science. They are where the notion of run-time complexity comes from, and are absolutely central to a complete understanding of algorithm design and optimization. While you can (and many people do) write programs without understanding automata and algorithm design, a solid understanding of them both will make you a much better programmer, and save you a lot of time and trouble when you try to work out how to make something run faster.

What was the first computer programming language and who gives the concepts of programming?

Ada Lovelace is often quoted as being the first computer programmer, and Charles Babbage is often quoted as being the first computer hardware designer. Many people have since invented newer and arguably better ways to implement software.

What are the types of hackers?

there r four types of hackers .




white hat hackers :- they do hacking only for ethics they trace and monitor the malicious activity.they have the legal rights to do hack or related to hacking . they are also called ethical hackers.



Black hat hackers :- they do only malicious thing like making trojens ,hacking email id .they actually called crackers . they don't have the legal rights to do that. they are called non ethical hackers.


grey hat hackers :-some time white hat hackers turn to black hat hackers those hackers are called grey hat hackers.


suicide hackers :- that type of hackers do the illegal job without fear of police or law.






for more practical knowledge regarding to ETHICAL HACKINGsubscribe the channel:
http://labs.google.co.in/smschannels/subscribe/ethicalhackingTricks

How do you open SAV file?

The best way to open up .sav files are just to click on them. They will usually appear as a download that you can open.

Can you bluetooth games?

Lol nah u can't bluetooth games, if u wanna have games in your phone you have to download them yourself.

How a Round Robin scheduling algorithm allocates the CPU to processes?

The round-robin scheduling algorithm allocates CPU time to processes by sequentially assigning the CPU to processes of equal priority that are in the state of being able to use the CPU. (Not blocked) This works by appearing to evenly distribute the CPU amongst CPU ready processes. Processes that are waiting on something, such as an I/O event, particularly waiting on the user to press Enter, are not considered for allocation. Often, there is a priority assigned to the process, which factors in the allocation strategy. Processes that are mostly I/O intensive tend to have higher priority, giving them good response time. Processes that are mostly CPU intensive tend to have lower priority, so they don't interfere with overall system responsiveness.

What is compiler and assembler?

Both, compiler and assembler, are software tools which translate instructions written in a programming language into executable machine code.

(Both will typically require additional tools, such as a linker, in the process.)

An assembler recognizes a machine-specific assembly language. This is a low-level language with a one-to-one relationship between language (assembly) instructions and machine code instructions.

A compiler recognizes a generally machine-independent language such as the C programming language. These are higher level languages compared to the assembly languages, generally offering a one-to-many relationship between language instructions and expressions, and the resulting machine code instructions.

What are the advantages and disadvantages of Hacker?

Hacking is unauthorized use of computer and network resources, it could be remotedly or by directly logging in your PC

advantages: hacking tools are used to test the security of a network, pc etc.

disadvantages: is being used by criminals to steal information and passwords

Pascal's triangle using q-basic?

You could just use the binomial theorem. Step through rows, n, and entries, k, and compute the Pascal's triangle value as

n!/(k!*(n-k)!)

You'll actually have better luck if you use the natural log of a factorial, then you can use laws of exponents to get:

exp(log(n!/k!/(n-k)!))

= exp(log(n!)-log(k!)-log((n-k)!))

= exp(logfact(n)-logfact(k)-logfact(n-k))

which won't run into the integer overflow problems that a plain factorial function would have.

To fill up a logfact array, something like this might work:

while(i<maxn)

logfact(i)=logfact(i-1)+log(i)

i=i+1

Wend

Be careful to initialize correctly, and watch your conversion between integers and doubles (probably have to do some rounding to your final answers).

Machine language program written for one computer will generally not run on another computer with a different CPU why?

Because different processors use different instruction sets and don't have the capability to run certain types of software

EXP: The older Macintosh's used a Power-PC Platform that used a different instruction set and had different capibilitys and features that standard x86 hardware had. This is why you couldn't Install Windows or run PC applications on a Mac.

There is a way round this thoe, One can use a puce of software that does run on the desired platform to emulate the platform you would like to use. Software emulation is much slower than native hardware support, but it does get the job done in most cases.

EXP: A person that wants to run a Windows application but uses a Linux operating system can use WINE to emulate the windows operating system.

I hope this helps you some,


Hunter Baker

Is a world globe an example of a variable?

A variable is something that can change in a experiment. A globe can't really change, so no.

-yoda

Can you write an exponent on a computer?

Some word processing programs have a superscript feature. If not, use 10^2

Why would a programmer prefer SQL to other programming languages?

SQL does not compete with other programming languages, it is a special-purpose language for querying databases.

If you work against a database, you need SQL either directly (writing your own queries) or indirectly (using some sort of framework that generates the SQL for you).

Scope and limitation of Prolog programming language?

Scope defines the boundries of what the programmer must provide to meet the requirements of the system.

Limitations are also tied into scope as, as a programmer you are not going to create a new robot to check in inventory as it is recieved or to autonomously do a nightly inventory...

Limitations of system as how the system can help or lacks in the ability to prevent shrinkage.