answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What is monolithic ic?

An IC or integrated circuit consists of a chip ("die") and plastic or ceramic packaging to protect the die from mechanical and (some) electrical damage. An IC with more than one die is usually called a "hybrid" IC. A "monolithic" IC is just a plain old one-die IC, but it implies that functions from a number of ICs have been incorporated into that one IC. One form of monolithic IC is where the functions of a powerful graphics processor is put on the same die as a CPU. An SOC ("System On a Chip") is another trend in monolithic ICs.

"Monolithic" is something of a transitional term. Floating point, memory management, and processing units all used to to be on separate ICs. Now they are all on the same IC, but we don't call them "monolithic" any more.

What is strong number in C language?

Strong number is a number for which sum of factorials of the digits is equal to the given number.

Eg: let us consider 145 where sum of factorials of the digits= 1!+4!+5!=1+24+120=145 i,e., the given number.

c program for strong number is:

#include<stdio.h>

#include<conio.h>

void main()

{

int sof=0,n,dn,ctr,prod,rem;

printf("Enter the number\n");

scanf("%d",&n);

dn=n;

while(n!=0)

{

prod=1,ctr=1;

rem=n%10;

while(ctr<=rem)

{

prod=prod*ctr;

ctr=ctr+1;

}

sof=sof+prod;

n=n/10;

}

if(sof==dn)

{

printf("The number entered is strong number");

}

else

{

printf("The number entered is not a strong number");

}

}

By

Nagarjuna

sri indu ECE,

IBP.

What is a pay per click expert?

PPC stands for Pay Per Click. There are the simple steps that may make you clear:

1 you advertise your ads in network such as google search and set bid price for any keywords that you choose.

2 people search your keywords. They find your ads, and click on it.

3 you pay your bid price to google

There are two main kinds - search network & content network.

Content network is cheaper than search network but lower in quality.

Answer:

A pay per click expert is someone who thinks they know all there is to know about pay per click. Everyone makes mistakes...

Is it legal to edit game exes?

It depends on the license you agreed to in loading or opening the software. Some licenses are very restrictive and allow the company to sue you for anything that looks like you are trying to steal their code. Others are less restrictive and just ask (in the license) that you not try to make money off your changes.

A lot of the Linux/GNU code is licensed so that you can do what you want with it but you must include credit for the original code, AND the original code that you got (generally for free.)

What is a fork in computer programming?

Fork() is a concept that originated in the UNIX world. Running programs are called processes, and the only way to execute a new program is for a current program to fork() itself, thereby creating a separate process. The process that called fork() is known as the parent process, and the newly created process is known as the child process. The child process, which begins its life as a copy of the parent process, can be "replaced".

In UNIX, the first program that is executed after booting finishes is the init process. This process will fork() and load the getty program over the child process, thereby creating a process which will prompt the user for a password.

Since a call to fork() creates a child process which is in essence the same as the parent process, it is necessary to determine (from within the process) which process is the child, and which is the parent. Upon successful execution, the fork() call returns the child's Process ID in the parent process, and a 0 in the child process. You can then use the child to execute a system call, such as running another program (or whatever you needed a second process for).

If you are using pipes (for communication between the child and parent process), make sure you have the parent wait for it.

---

In open source programming, a fork is a separate project that starts as a copy of another one. If the developers have it out with one another, or a developer wants to take the project in a different direction, then they copy the source code to a new repository and work on it there, completely separate from the original project.

What point size should you use for letters one half inch in print height?

36 point for one-half inch (therefore, 72 point for one inch, 18 point for one-quarter inch, and so on) Thirty-six point type is NOT one-half inch high! The "point size" of type is a very old historical measurement. It's based on handset metal type. A long time ago, type wasn't set with machines. Typesetters worked at tables that had two type cases on them: the "upper case" contained the capital letters, the "lower case" contained the minuscules. In these cases were huge numbers of small metal blocks, each with a letter molded into the top of it. If you were working with "12 point" type, the blocks were 12 points high. The letters varied in size depending on their style--a set of Cochin was smaller than a set of Palatino. If someone comes in and asks me for type a certain number of inches high, I either print it out, measure it and adjust as necessary, or I size it in a graphics program.

Java program convert the inputed words into its upper case or lower case form?

There are methods in the String class; toUppercase() and toLowerCase().

i.e.

String input = "Hello!";

String upper = input.toUpperCase(); //stores "HELLO!"

String lower = input.toLowerCase(); //stores "hello!"

-Note: these methods are NOT modifier methods therefore the original string is still "Hello!"

How do you write a program to print the first n multiples of 7?

Algorithm: multiples

input: two positive integers, m and n

output: print first n multiples of m

i = m;

for j = 1 to n

print i

i = i + m;

next j

What assembly language is the best for making an OS?

The native Assembly language of the given platform.

For example it would be stupid to write anything in Motorola 68000 Assembly for Intel x86 platform: it wouldn't work.

What is the use of dim in one dimensional and two dimensional in array?

if one dimension means it have only rows but in two dimension means it have both row and coloumns

What is a distortion analyzer?

A distortion analyzer is an electronic test instrument that measures the accuracy of an electronic circuit at reproducing a wave. For instance, an audio amplifier might have a sine wave input to it, and the distortion analyzer measures how close the output is to a sine wave. If the output is clipped, the wave will be distorted, and the analyzer will measure the amount of harmonics present.

The analyzer does this by supplying a low distortion sine wave test signal which is connected to the device under test. The output from the device is connected to the input of the analyzer where the original input signal is filter out with a precision notch filter. Anything left over after filtering represents distortion components and noise. Amplifiers will frequently have a "Total Harmonic Distortion plus Noise" specification which is an accurate term for the quantity measured by a distortion analyzer.

There are many manufacturers of distortion analyzers. The Hewlett-Packard models 331a and 333 are laboratory standard instruments. Other notable manufacturers are Sound Technology Corporation and Textronix.

What does k equal?

in science k stands for kelvin, the temperature system that starts from absolute zero

K does not equal kelvin... K stands for Kelvin. In different applications it means different constants, such as Boltzmann constant or a spring constant.

What is the word for car in different languages?

Spanish: Coche

Swedish: Bil

French: Voiture

Portuguese: Carro

Italian: Macchina

Japanese: Kuruma 車

Korean: Cha 차

How do you refresh a webpage with a form without losing the form's values?

A good route would be to send the values of a form via the GET or POST method (POST would be better), and display the values into the input elements dynamicly. For example, lets say you have a single input box. Let's name it "password". When a user triggers the submittion of the form, "refreshing" the page, it will send their value. Using a server-side language (client-side would work too, but could lead to security issues), display the value into the textbox dynamicly by adding the "value" attribute to the "input" element (but do some character checking first, to make sure whatever is passed isn't meant to be an XSS attack - or, rather, prevent harmful characters to signify the start of a new tag or script by converting characters to entities, etc).

Gail is dead program maid 1970 by Action line?

70's documentary called "Gail is dead" about a young girl who was a runaway heroin addict, who was followed by a film crew and interviewer- a middle aged man who I think was quite famous at the time for his documentaries. The clip was the hospital scene I describe as the ending in this story, where the man told the girl he couldn't see what her demons were, and that not only was she a nice person she was intelligent and attractive, but seemed hell bent on dying. She did die, and the film cut from this conversation to a shot of a crematorium (or graveyard) with the voiceover "Gail Parsons died on January 21st 1975". I found this immensely powerful even for a 2 minute clip.

How RAM works?

RAM (Random Access Memory) is made of cells where each cell has a capacitor and a transistor. The capacitor can be thought of as being a cup while the transistor is a tap that can either fill the cup or empty the cup. The cup is filled with an electric charge to denote the value 1, and emptied to denote the value 0. Thus each cell denotes 1 bit (binary digit) of information. The cup, however, is incredibly leaky, and the charge will quickly drain away within a few milliseconds. To maintain the state of each bit, the RAM must be constantly refreshed. During each refresh cycle, if a bit has sufficient charge (more than 50%) then it is refilled, otherwise it is allowed to drain away completely. Refreshing RAM is done in cycles measured in nanoseconds, such as 80 nanoseconds. That is, it takes 80 billionths of a second to completely refresh the RAM.

Cells are arranged in an array of rows and columns. To write any one cell, a row access selector (RAS) selects the appropriate row while a charge is passed through the associated column access selector (CAS). To read a bit, a sense-amplifier detects the level of charge at the intersection of the RAS and CAS. The CAS detects the bit lines while the RAS detects word lines (32 bits in a 32-bit word). Thus to read successive bits in a word line, only the CAS needs to change.

Write a program with a loop that lets the user enter a series of integers the user should enter -99 to signal the end of the series after the program should display the largest and smallest.?

#include<iostream.h>

#include<conio.h>

main()

{

int i,j;

i=0;

j=0;

for(i=1;i<=5;i++)

{

if(i>j){

cout<"the value of i is="<<i;

}

else

{

cout<<"the value of j is="<<j;

}

}

getch();

}

Why not make cache larger?

A cache is intended to speed things up. The larger the cache, the slower it performs. If it becomes slower to access the cache than the memory itself, it defeats the purpose of having a cache.

What in jit compiller?

The JIT (Just In Time) compiler takes the semi-compiled "byte-code" of a language (notably Java), and converts it into proper machine code before execution. This delays the startup time, but provides better execution time.

What fingers are used in home keys?

The home keys are considered the middle row of characters on the keyboard, running from "a" on the left to the colon or semicolon key on the right. The pointer fingers align on the "f" and "j" keys, and the middle, ring and pinky fingers are also utilized on the same row of home keys.

How do I create a Send and File button in Outlook?

To create a Send and File button in Outlook, open Outlook and press Alt + F11. On the left hand side, double click ThisOutlookSession. Click Tools, Digital Signature, and Choose button. Select self signed certificate and Save. Choose VBA editor, New Mail, Customize Ribbon, and type Send and File. Then click OK.

Write an algorithm to find the transpose of a matrix?

-Algorithm-

1.START

2.Take m1 and m2 as integer matrix.

3.Input the values for original matrix and store it in m1.

4.Convert each row of the matrix ma in to column of matrix m2.

5.Display both matrix m1 and m2.

6.STOP.

'C' program

#include<stdio.h>

void main()

{

int m1[3][3],m2[3][3];

int i,j;

for (i=0;i<3;i++)

{

for(j=0;j<3;j++)

{

printf("\n Enter value of%d rows and %d cols: ",i+1,j+1);

scanf("%d",&m1[i][j]);

}

}

for(i=0;i<3;i++);

{

for(j=0;j<3;j++)

{

m2[j][i]=m1[i][j];

}

}

printf("\n Original Matrix");

printf("\n ---------------\n");

for(i=0;i<3;i++)

{

for(j=0;j<3;j++)

{

printf("%d\t",m1[i][j]);

}

printf("\n") ;

}

printf("\n Transpose Matrix");

printf("\n ----------------\n");

for(i=0;i<3;i++)

{

for(j=0;j<3;j++)

{

print("%d\t",m2[i][j]);

}

printf("\n")

}

Pointer to 3 dimensons array?

If the array is static you can simply point at the first element. For dynamic arrays you can allocate a contiguous block to a single pointer which can then be subdivided using a one-dimensional array of pointer to pointers, each of which points to a one-dimensional array of pointers, each of which points to a separate object within the array. For extremely large arrays, however, it is better to split the elements into separate one-dimensional arrays, by creating a one-dimensional array of pointer to pointers first, then allocating each of those pointers to a separate one-dimensional array of pointers, each of which points to a separate one-dimensional array of objects. Either way, you must destroy all the individual arrays in the reverse order of creation.