answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

How do find mode in C-Language?

#include <stdio.h>

main (){

int x;

printf("Hello World! with Prey's Haircut: ");

scanf("%d", x);

getch();

}

What is the time complexity of radix sort?

If the range of numbers is 1....n and the size of numbers is k(small no.) then the time complexity will be theta n log..

What is the largest hex value that can move into a 16-bit register?

In unsigned notation, 0xFFFF (65,535 decimal) is the largest value that will fit in a 16-bit register. In signed notation, 0x7FFF (32,767 decimal) is the largest because the most-significant bit denotes the sign.

Where are sea stacks likely to be found?

seas tacks are found at beaches seas tacks are found at beaches

What is the meaning of the repeat command?

The exact meaning will depend on the language. In general, however, the repeat command will repeat a block of statements while a condition remains true (much like a do...while or for loop).

What is reference?

A reference is a named memory address, whether a variable or constant. That is, the address-of a named variable is its reference. A pointer variable is a reference that can store a reference. That is, the value of a pointer is a reference. However, while pointers may store a reference to NULL (the value zero, meaning no reference), references can never be NULL. More to the point, a NULL reference will invalidate your program.

Just as you can declare multiple pointer variables to the same reference, you may also declare multiple references to the same name. However, references are not variables in their own right so even though each has its own name they do not require any additional storage beyond the memory they actually refer to, unlike pointers which each require a separate reference of their own in order to store the reference. That is, no matter how many references you declare to the same memory address, there really is only one reference. And because references are not variables, once they've been assigned (always at the point of declaration) they cannot subsequently refer to anything else while they remain in scope. Whereas pointer variables can point to any reference at any time, including NULL.

Write an assembly program to multiply a numberr by 4?

To multiply a number by 4, do a left shift twice. If the number is in the accumulator, do...

RAL

RAL

XRI 0FCH

When was machine language developed?

The earliest examples of machine language were developed in 1725 by Basile Bouchon to operate a semi-automated weaving loom. However, machine language is entirely machine-dependent. The code used by Bouchon would be complete gibberish to a modern computer because the encodings mean completely different things to different machines.

Machine language isn't really developed as such, it is actually an integral part of the machine itself. That is, the physical design of the machine determines the encodings it uses and those encodings have to be symbolically mapped to a language that humans can understand. Typically, we use binary encodings because binary is incredibly simple to implement via a wide variety of electro-mechanical means. In Bouchon's day, he used punch cards to program his machines, a technique that was still in use right up to the latter part of the 20th century.

How do you terminate a thread which is continuously executing?

A thread that is continuously executing has an infinite loop. To terminate that thread you must break that loop by providing a suitable terminating condition. If the thread is a "worker" thread, the main thread should signal all worker threads to terminate when the main thread terminates. The main thread should remain active until all worker threads have successfully terminated.

Can you replace a Animatics SM3420D with a SM34205D in a legacy Opto 22 controller system that uses factory floor software?

Difficult to say for certain as there are some minor differences in the specifications of these two motors. The SM34205D replaces the SM3420D, so it would be reasonable to assume they are compatible, however my best advice would be to contact Moog Animatics directly.

What is a affix on Howrse?

A affix is a name you can put at the end of your horses name! Ex. Your horses name is Annebelle so with a affix it could be Annebelle of Twilight meadows. Get it? When you get 2 karma you can make your own and put it on horses you buy or currently own! To do this go to your office and modify affixs! Every 2 you accumulate you can make more! Ex. I have 10 karma so i can make 5 affixes! Hope this helped

What is quality program?

Quality programs are tools that allow you to improve the Quality of your product.

There are two types of quality programs.

  1. A Quality Process or Standard
  2. Quality Assurance Software

Most reputable Software Quality Assurance Tools have at least some components of a quality system or standard.

You may have heard of a Bug Tracking System. This type of software is used to manage "bugs" that usually crop up during development and even after a software was released to the public. It helps you track bugs and assign the analysis and fixing to a development team member.

There's another more advanced type of quality software that is usually referred to as Issue or change management software. I've often heard it called a Program Support Log. It's usually more robust in terms of risk analysis and should include the ability to identify areas an Issue or Change can impact should it become an incident. For this reason, it's usually more proactive than a bug tracking system.

Here is a very broad definition of a Bug:

It is something technical in nature that is either not functioning or is functioning in an unexpected manner. Not everything that is identified as 'bug' will be a technical error. It could be an inquiry on a technical matter or a request for technical support. There are three types of bugs:

  1. Support -- A request for technical help on a particular matter.
  2. Error -- A technical problem.
  3. Enhancement -- a request for a change in how something functions. This should trigger a Change Request in your organization.

A Program Support Log (Change or Issue management software) is much better at tracking and controlling unplanned events that can and in almost all cases do crop up. Things or events that can blindside you. The ability to discuss issues before they become incidents is also usually present in this type of software. There are 4 types of Incidents:

  1. A Risk is something negative that may happen.
  2. An Issue is something that has to be done but there is not a final decision on what to do.
  3. A Change Request is seeking permission for a specific course of action which will change the project's schedule, cost or functionality.
  4. A Discussion Item usually precedes a categorization of an Issue, Risk, or Change request.

I've worked in a few Software firms where they used Issue Management software to manage bugs only because it allows you to be more proactive, and brings more intelligence to the whole Quality Assurance process.

Why is Unix open source?

Unix is not open source, it is proprietary. Linux is the open-source version of Unix.

Which one of the following memory dumping options requires a paging file as big as the physical RAM itself plus 1 MB extra?

It's obviously the first...no wait, it's the third...or is it the second...my psychic abilities seem to be failing me again, perhaps if you give the "following" memory dump options someone will be possibly be able to help.

What is program manipulation?

Program manipulation refers to the techniques used to modify, enhance, or control the behavior of software programs, often by altering their code or execution environment. This can include actions like debugging, reverse engineering, or employing tools to change program variables and flow. Such manipulations can be used for legitimate purposes, such as software testing and optimization, or for malicious intents, like exploiting vulnerabilities. Ultimately, it highlights the flexibility and complexity of software development and security.

Is prototype a good game?

YES IT IS A GOOD GAME WHAT YOU think that summoning spikes from the ground and flying off buildings use guns and one part of the game everyone turns into zombies?

UH YA ITS FUN to me its like an extremeish marvel action game but its produced by DC Comics i would pick this if i wanted to Have Powers and have an action hero game but there was something up when i beat the game the said there was some special thing whare you can play from the begging with all your powers but when i tried to do it i coulden't

How do you create and save files in MS paint?

From the menu bar click, File>New The new document will be created. Work and when you are done: from the menu bar click, File>Save Close the program. Ta Da....- Rocket Science !!