answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Insert an element after an element in an array?

  1. To begin, obtain the element to be added, such as x

  2. Then, say pos, get the position where this element will be put.

  3. Then shift the array items one position ahead, then do the same for all the other elements next to pos.

  4. Because the location pos is now empty, insert the element x there.

To learn more about data science please visit- Learnbay.co

What are the 4 principles of training?

There are more than four:

SPORT FITT

Specificity - Choosing a type of exercise that is related to the What_does_each_letter_in_sport_fitt_meanyou do.

Progression - Gradually progress/increase the What_does_each_letter_in_sport_fitt_meanyou are doing.

Overload - Doing more exercise than what the muscles are used do.

Reversibility - The muscles slowly decrease in strength due to a stop in exercise.

Tedium - Varies of different What_does_each_letter_in_sport_fitt_meando prevent boredom.

Frequency - How often you exercise.

Intensity - How hard you exercise.

Time - How long you exercise for.

Type - The type of exercise you do.

What is a micro assembler?

Micro assembler is a assembler which is a sub part of assembler. It is also translate a low level language to machine level language.

Sri himadri sekhar maiti

lecturer

department of computer science

raja n.l. Khan women's college

guest lecturer

department of computer science

vidyasagar university

guest lecturer

department of computer science

kharagpur college

What are the consequences of deleting a field from a table?

It depends on the field's dependencies. If the field has no dependencies then there are no consequences. Data that depends on the table is a dependency, as is code and other tables that depend upon the field.

Scope of static variables?

Scope of static variable is with in the file if it is static global.

Scope of static variable is with in the function if variable is declared local to a function.

But the life time is throughout the program

How do you indicate that a variable is an array?

you don't, its just an understood thing i think. is it a problem about height, or something that can only be a positive answer? i think O_o

How many bytes are required to store the name Bill?

4 - one for each character. However, depending on the computer language being used, there is some "overhead" - for example, with "C", the end of a text string is indicated with a null character, so "Bill" would need 5 bytes. Other languages precede strings with their length, the length taking 2, 4 or 8 bytes.

Is it possible to print both if statement and else statement?

Yes

int main (void) {

puts ("if statement");

puts ("else statement");

return 0;

}

Can you call a constructor from another if a class has multiple constructors?

Yes. All you need to do is to specify the correct number of arguments to invoke the correct constructor.

What is the components of OOPS?

Java is an object oriented programming language. The various object oriented concepts in it are:

* Class * Object * Instance * Method * Inheritance * Polymorphism * Abstraction * Encapsulation etc...

How has computer programming changed over the years?

The development of programming languages, unsurprisingly, follows closely the development of the physical and electronic processes used in today's computers. Programming languages have been under development for years and will remain so for many years to come. They got their start with a list of steps to wire a computer to perform a task. These steps eventually found their way into software and began to acquire newer and better features. The first major languages were characterized by the simple fact that they were intended for one purpose and one purpose only, while the languages of today are differentiated by the way they are programmed in, as they can be used for almost any purpose. And perhaps the languages of tomorrow will be more natural with the invention of quantum and biological computers. Charles Babbage is often credited with designing the first computer-like machines, which had several programs written for them (in the equivalent of assembly language) by Ada Lovelace. In the 1940s the first recognizably modern, electrically powered computers were created. Some military calculation needs were a driving force in early computer development, such as encryption, decryption, trajectory calculation and massive number crunching needed in the development of atomic bombs. At that time, computers were extremely large, slow and expensive: advances in electronic technology in the post-war years led to the construction of more practical electronic computers. At that time only Konrad Zuse imagined the use of a programming language (developed eventually as Plankalk

What is order list in data structure?

In general, any ordered list is any list which follows some sort of arbitrary system to determine the order the elements of that list are displayed.

In reference to HTML, an ordered list is characterized by a "<ol></ol>" tag set. When the HTML is rendered, the individual "items" (characterized by "<li></li>" tag sets nested withing the aforementioned set) are displayed in order, characterized by a numeric bullet representing their position on that list, beginning at the value "1" and incrementing accordingly.

What is the default accessibility of a delegate in C sharp.net?

It depends on the context (stand alone, within or outside of a class). Because it is context sensitive, I prefer to declare it the accessibility explicitly to avoid the confusion.

Does every program have access to all hardware?

No, most programs have no access at all to hardware. They call device drivers through the OS to perform input and output. These device drivers are custom written to access the hardware for the device they control.

Modern computers use privileged instructions that cause an error if a user program tries to execute them to access hardware. The device drivers have the privilege to execute these instructions and access hardware.

What is the difference between block level elements and inline elements?

In HTML, block level elements are elements that creates large blocks of content like paragraphs or page divisions. They typically are formated with a line break before and after the element. They may appear only in element and can contain other blocks as well as inline elements and text or data. Examples are:

,

,

,

,
    etc.

    Inline elements are those elements that defines text or data in the document like makes the enclosed text strongly emphasized and says the enclosed text is a quotation. They don't start new lines when you use them, and they generally only contain other inline tags and text or data. Or they include nothing at all, like the
    tag. Examples are ,

, , , etc.

An important thing to keep in mind while using inline elements is that formating of inline elements is different from block element. You cannot specify the width, height, max-width, max-height, min-width & min-height of an inline element.

It is worth mentioning that you can change the type of inline element or block level element by using any of the following CSS property:

display: block; (To convert an inline element to block element)

display: inline; (To convert block element to an inline element)

Is it is true that the identifier and a variable in C programming language are same?

No. Identifier is a scientific name for the name.Variables, functions, types, etc -- each have an identifier.

How do you generate quantum program using spss?

The Question is slightly unclear. If you have a SPSS file and you want to generate the Quantum program you can use the utility called spss2qt. This is a small program in SPSS that will convert the SPSS data into ASCII data with a Quantum program with proper column location. However you will have to modify the program to display output to your requirement as this utility will give very basic quantum program for the data. Regards Sachin You can reach me on sacsar@yahoo.com