answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Where did Ernest Rutherford do his work?

== == He spent most of his professional career overseas at McGill University in Montreal, Canada (1895-98), and at Manchester University (1898-1907) and Cambridge University (1919-37) in the United Kingdom.

What is the difference between sample size and sampling rate?

Rate refers to frequency, while size refers to the amount.

Thus, Sampling Rate is measured in Hertz (number of times per second a sample is taken), and Sampling Size is measured in Bits (number of binary digits of information taken at a single time).

Thus, if you Sample at 10 Hz/8 bits, that means you take 8 bits of information, 10 times per second.

How do you take a reading counts test online?

go on how to take a reading counts test online just download it on google ect.

What is Aries recovery algorithm.?

three main principles lie behind ARIES:

- Write ahead logging: Any change to an object is first recorded in the log, and the log must be written to stable storage before changes to the object are written to disk.

- Repeating history during Redo: On restart after a crash, ARIES retraces the actions of a database before the crash and brings the system back to the exact state that it was in before the crash. Then it undo the transactions still active at crash time.

- Logging changes during Undo: Changes made to the database while undoing transactions are logged to ensure such an action isn't repeated in the event of repeated restarts.

The ARIES recovery procedure consists of three main steps :

- Analysis : It identifies the dirty (updated) pages in the buffer and the set of transactions active at the time of crash. The appropriate point in the log where REDO operation should start is also determined.

- REDO phase : It actually reapplies updates from the log to the database. Generally the REDO operation is applied to only committed transactions. However, in ARIES, this is not the case. Certain information in the ARIES log will provide the start point for REDO, from which REDO operations are applied until the end of the log is reached. Thus only the necessary REDO operations are applied during recovery.

- UNDO phase : The log is scanned backwards and the operations of transactions that were active at the time of the crash are undone in reverse order. The information needed for ARIES to accomplish its recovery procedure includes the log, the transaction table, and the dirty page table. In addition, checkpointing is used.

How is 15 represented in hexadecimal number system?

F. Numbers in hecadecimal start 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10, 11, 12, ...

What are types programming editors?

When programming you can use a variety of things.

  • You may use an interpreter to directly process each line.
  • You may use a compiler.
  • You can use a simple text editor.
  • Or you can turn to various cool text editor maid specifically for programmers!

Some Good options are :

  1. NOTEPAD ++ : It has got everything you need. Huge numbers of languages, plug-ins and themes. It customizes s cutely that you will fall in love with it. You can add more user defined languages.
  2. SUBLIME TEXT : Also a good option. Features just like the Notepad ++
  3. Other Options include: E TEXT EDITOR, ULTRA EDIT.

How do you Create Macro on One Workbook and then Let User Choose Location on Another Workbook They Want Macro to Run on?

One way would be to prompt the user to choose a workbook from those currently open (or browse for one that isn't). However, an easier approach is to simply run the macro on the currently active workbook by assigning the macro to a toolbar button.

Where can you find penpals for kids?

I am 12 and I found mine at www.penpalinternational.com. You should try googleing it!!!You can get pan pals for all ages 8-80 from al around the world...and its FREE!!!

Difference between stand alone operating system and network system?

A network operating system (NOS) can be defined as an operating system if the computer which main duties is to support workstations, personal computers and in some instances, older terminals that are connected on the local area network. It provides sharing of printers, common file system and database sharing, application sharing, and the ability to manage a network name directory, security, and other housekeeping aspects of a network.

How do you get the mean in math?

you add all the numbers together then divide the answer by the number of numbers there are

What is the recurrence relation of the number of triangles inside a triangle?

Well, it just so happens that I figured this out for whoever was wondering...

When n is even, and n+1 is odd (obviously)

Sn+1 = Sn + (n+2)(3n+2)/4

When n is odd, and n+1 is even (obviously)

Sn+1 = Sn + (n+1)(3n+5)/4

These formulas are for the total triangles in something that looks like this...

/\

/_\

/\ /\

/_\ /_\

/\ /\ /\

/_\ /_\ /_\

This triangle has n=3 and has 13 total triangles.

The general formula for total triangles is hard to find. And because this question doesn't ask for the general solution for any n, I won't post it. It is really fun to find though...

The solution is shown below...

Total Number of triangles = (n*n) + ( (n) * (n-1) * (4n+1) / 2 ) where n = (k+1) /2. K is the number of triangles on the each side.

In the above example k is 3.

k = 1 -> Total Triangles = 1

k = 2 -> Total Triangles = 4.875 ~ 5

k = 3 -> Total Triangles = 13

k = 4 -> Total Triangles = 26.875 ~ 27

k = 5 -> Total Triangles = 48

k = 6 -> Total Triangles = 77.875 ~ 78

and so on....

The active partition is also known as the?

(On Windows), the active partition is a primary partition on a disk which Windows will load its files from. An active partition is always a startup partition. If there are several OS's on the one disk, Windows will load from the one marked as active.

- pentavore

What contains all configuration data about the computer including information about device drivers and devices used at startup?

All configuration data about the computer including information about device drivers and devices used at startup is contained in the registry. Errors in the registry are often the cause of degraded computer performance.

What is the minimum and maximum size of the exponent in a floating point number?

The exponent field for a float data type according to the IEEE-754 Standard is comprised of 8 bits, a whole number range of 0-255.

When a user runs two or more programs at the same time on a computer with your central processor?

This is known as multi-tasking. Although a single-core CPU can only do one thing at a time, it switches between the various running programs so quickly that they appear to run simultaneously. CPUs that have multiple cores can obviously do more things at once, but multi-tasking environments always run far more programs than there are cores so the individual cores still have to rapidly switch between their allotted tasks.

How do you calculate LCM of three numbers by pesudo code?

For this you will need a couple of helper algorithms. The first is the GCD (greatest common divisor) which is expressed as follows:

procedure GCD (a, b) is

input: natural numbers a and b

while a<>b do

if a>b

let a be a-b

else

let b be b-a

end if

end while

return a

The second algorithm is the LCM (least common multiple) of two numbers:

procedure LCM (a, b) is

input: natural numbers a and b return (a*b) / GCD (a, b)

Now that you can calculate the GCD and LCM of any two natural numbers, you can calculate the LCM of any three natural numbers as follows:

procedure LCM3 (a, b, c) is

input: natural numbers a, b and c return LCM (LCM (a, b), c)

Note that the LCM of three numbers first calculates the LCM of two of those numbers (a and b) and then calculates the LCM of that result along with the third number (c). That is, if the three numbers were 8, 9 and 21, the LCM of 8 and 9 is 72 and the LCM of 72 and 21 is 504. Thus the LCM of 8, 9 and 21 is 504.

What are the possible error recovery actions in lexical Analyzer?

• Not too many types of lexical errors

- Illegal character

- Ill-formed constant

• How is it handled?

- Discard and print a message

- BUT:

• If a character in the middle of a lexeme is wrong, do you

discard the char or the whole lexeme?

• Try to correct

If a program have 2 main methods can the program run or not?

No, a program may not work with two main methods. If we preferred with working with many packages means then each package may consist of a main method.

How do you you write know in binary code?

k n o w ?

First convert it to ASCII code ... 107 110 111 119 (all decimal numbers)

Then convert to binary : 1101011 1101110 1101111 1110111

Is there any information a 20 dollar bill with serial number g99995682a?

Please post a new question with the bill's date and what letter, if any, appears next to the date. The serial number is just a counter and doesn't help to ID a bill.