answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Difference between in-system programming and in-application programming?

simple , In system/circuit Programming [ISP/ICP] is process with which entire on chip controller flash is programmed, where as In application Programming [IAP] is scheme in which a running program - re-programs controller flash by receiving new .hex file from any of the serial interface.

What is the difference between catch exception e catch error err and catch throwable t?

In Java it is related to the class hierarchy of exceptions. Throwable is the root object of the heirarchy, and both Exception and RuntimeError subclass it. Methods include a "throws" clause in their signature to indicate errors of type "Exception" that can be thrown in the body of the method and returned to the caller. Errors of type RuntimeError do not need to be reported in the throws clause.


Exceptions are also called "checked" errors, and RuntimeErrors are called "unchecked." This simply means that methods that throw checked errors must declare them in the signature.


* Exception: this is a "checked" error. Usually, this is some sort of data error that can be handled by the method. An example is FileNotFoundException - some code didn't an expected file, but the program may be perfectly capable of going on.

* Error: A more serious problem that a program probably can't deal with. An example is OutOfMemoryError - when there is no more memory, there isn't much you can do about it and not much point in continuing.

* Throwable: Superclass of both Error and Exception.


So the main difference is that

* 'catch Exception' will catch just exceptions (the problems you might deal with)

* 'catch RuntimeError' will catch just errors (the problems you probably can't deal with)

* 'catch Throwable' will catch all errors.


Generally, you want to catch Exception or Throwable, but not RuntimeError. You will only want to catch Throwable if there is a requirement that the method never throw an error back to the caller.


See related link to the Java API, and browse the documentation and subclasses of Throwable.

What has tenthousand sides?

A chiliagon has 1000 sides so a 10,000-sided object would have to be a decachiliagon.

What do you enter for a question on excel?

In Excel, you enter a question or any text into a cell by simply selecting the cell and typing your query directly. If you want to perform calculations or functions based on that question, you may need to use specific formulas or functions in the cell. For example, you could use the =IF() function to evaluate conditions based on the question posed. Always remember to start formulas with an equal sign (=) to indicate that you're entering a formula rather than just text.

Passing an array name to a pointer assigns the first memory location of the array to the pointer variable?

Yes, passing an array name to a pointer assigns the first memory location of the array to the pointer variable. An array name is the same as a pointer to the first location of the array, with the exception that an array name is a r-value, while a pointer is an l-value.

How do you swap two numbers without using third one using pointers?

How do you do.

I am doing well thank you.

Swap two number by using reference operators

A tough assignment, it will make you think.

I think you are confusing reference operators with pointers.

Were I you I would study the section on pointers in your text book or course material.

What is pattern rule for pattern 26-22-7-27-15-34?

One possible rule is:

Un = (243n5 - 4210n4 + 27225n3 - 60830n2 + 106452n - 45960)/120

for n = 1, 2, 3, etc

What are ActionScript errors 1021 and 1023?

Error 1021: Duplicate Function Definition

Error 1023: Incompatible Override

The first error means you've defined the same function twice. There can be only one definition for each function.

The second means you've overridden a function but the declaration is incorrect.

In C Programming Language Can someone write a program that will interact with the user by name and allow for the recording of grades for three classes Tech History and Math?

More info;

You will write a program that will interact with the user by name and allow for the recording of grades for three classes: Tech, History, and Math. The program will allow the user to determine how many assignments to enter in each class, the name of each assignment, the total value of each assignment, and the users score on each assignment. The program will will write the scores to a file and have the ability to:

  • Tell the user the high and low score in each class along with the assignment name

  • Repeat entries back to user by assignment name and score to ensure accuracy

  • Tell the user their current grade in each class

  • Tell the user their current gpa based on the overall percentage of each class

What is procedural justice and why is it important?

Procedural justice refers to the fairness of the processes that lead to outcomes, emphasizing transparency, consistency, and impartiality in decision-making. It is important because it fosters public trust in institutions, promotes compliance with laws and regulations, and enhances perceptions of legitimacy. When individuals believe that processes are fair, they are more likely to accept outcomes, even if they are unfavorable, leading to greater social cohesion and cooperation. Ultimately, procedural justice contributes to a more equitable and just society.

C program to find greatest of three numbers?

# include<stdio.h>

main()

{

int a,b,c;

print f("enter the values of a,b,c");

scan f("%d%d%d",&a,&b,&c);

if((a>b)&&(a>c))

print f("Greatest value is a =%d",a);

else if((b>a)&&(b>c))

print f("Greatest value is b=%d",b);

else

print f("Greatest value is c=%d",c);

}

How do you make an a with a squiggly line over it?

Hold the Alt key down and type 0227.

or

Hold the Ctrl key down and type ~, which may require shift and a key next to the return key (depends on keyboard setup), and then type a.