answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What is a long in c programming?

It is used with other data types such as long int or long float (=double). The capacity of the data types got increased with long keyword

White box testinglogic testing?

When you want to test a program, there is two types: white box testing and black box testing. Black box testing means you don't need to know about program implements or how it functions. Just program's requirements. White box testing, you must to check every ways your program should go to eliminate bugs.

How much a crestron programmer makes?

It depends on the level of experience and wether or not you're certified and what level of certification you have (ie: Certified, Master Certified, Silver, Gold or Platinum), plus of course your level of expertise on A/V if it's residential or commercial etc. But on average it starts around $45K for basic level programmers with minimum A/V knowledge, all the way up to $150K for Certified programmers with good A/V knowledge and experience. It also depends which company it is, and where the company is located usually northern states or out west, down here in the south salary range are very low.

What does on-the-margin mean?

On the margin means looking at the next unit of something. For example, when considering business decisions, you might consider the marginal cost of an additional unit of production, or the marginal revenue. (Rather than the average revenue, for instance.)

Whats the code for detecting the collision of two bouncing rectangles in C plus plus?

If you know the location of the 4 corners you could check if any of the points on Rect1 are in the horizontal range of Rect2's x0 -> x1 and the vertical range of Rect2's y0 -> y1. You would also have to check the opposite set, to cover the case where Rect2 is completely inside Rect1.

What are the language evaluation criteria?

5 Language Evaluation Criteria

-Readability

-Writability

-Reliability

-Cost

-Others

Readability

-The most important criterion.

*FACTORS:

-Overall Simplicity

-Too many features is bad.

-Multiplicity of features is bad.

-Orthogonality

-Makes the Language easy to learn and read.

-Control Statements.

-Data Type Structures

-Syntax consideration

Writability

*FACTORS:

-Simplicity

-Support for abstraction

-Expressivity

Reliability

FACTORS:

-Type checking

-Exception handling

-Aliasing

Cost

*CATEGORIES:

-Programming Training

-Software Creation

-Compilation

-Execution

-Compiler Cost

-Maintenance

Others

*Portability

*Generality

*Weel-definedness

Language Categories

-Imperative

-Functional

-Logic

-Object-oriented

Language Design trade-offs

-Reliability versus cost of execution

-Writability versus readability

-Flexibility versus safety

Syntax and Semantics

Syntax

-the form or structure of the expressions, statements, and program units

Semantics

-the meaning of the expressions, statements, and program units

Sentence

-is a string of characters over some alphabet

Language

-is a set of sentences.

How do you make your own game for Xbox 360?

You need to buy the developer's version of the console in order to develop XBOX games.

Can a derived class make a public base function private true or false?

True. A derived class can make a public base function private. The derived function is private, within the derived class, but public in other contexts.

How do you make a dot plot on Excel?

It's called an X-Y scatter plot. The procedure is different depending on which version you have. Basically, you highlight all of the cells containing, the data; click on 'Insert' then click the icon that looks like a 'dot plot' and it should have the word 'scatter' underneath it.

A program that disguises itself as something useful but actually harms your system is called a?

It is a virus called Mal-ware (Malicious Software) and is programmed to destroy critical files on a computer, these viruses to be undetected will travel in a Trojan Horse that will transport viruses in and out of the computer system.

What is a free and downloadable website or somthing that makes your computer faster?

You can't just magically go to a free website that makes your computer faster. That isn't how the world works. You can either exchange your processor for a faster one, or you can put more RAM into your machine. Another option is to put in a video card (or upgrade your video card if you already have one) for faster graphics processing. You can also buy a new computer because you don't seem to know a lot about computers and if you tried to change your computer you would probably break it.

What are the four steps to run a program on a completely dedicated machine?

a) Reserve Machine Time b) Manually Load Program Into Memory

c) Load Starting Address And Begin Execution

d) Monitor And Control Execution Of Program From console

What is multi-level break?

In a report, data is commonly grouped by several items. For example, Level In a report, data is typically grouped by several items - for example, date, company, person. Arranged in a hierarchy, as the data values change, it's called a level break, and the report moves to the next grouping. This comes from RPG programming, and is a common concept. Date Company Person 11/1 aComp Alan Bill bComp Arthur Carol 11/2 aComp Alex Kathy Jon

What is cross compiler?

A cross-platform compiler can compile applications for multiple platforms, such as Windows, Linux, and Mac. An open-source cross-platform compiler is GCC (the GNU C Compiler). A cross-platform compiler uses a language that can be compiled on to multiple targets, such as C, C++, or haxe. It is required to compile the same source code multiple times, one for each target platform; a program such as make can be used to reduce the number of commands the user actually executes to just a single command.

What is design in modular form and its advantages?

Basically, design in modular form means designing a whole product (see program or software piece) based on modules (functions, classes, and a like). The advantages would be a flexible structure, easy to maintain, debug, upgrade and also customize with respect to changing customer requirememnts.

Write an algorithm for perfect number or not?

1. Get any no.

2. Find it factors.

3. Add its factor.

4. If sum of its factors is equal to itself then it is a perfect no. otherwise not

When you buy a computer program where would you normally find your rights to use the program?

In the license agreement. Usually this is displayed early in the installation process. If you disagree with any of the terms of use, do not install the product.

What are some general rules to help you determine which type of Ethernet cable (straight-through or crossover) to use to connect different types of network hosts and devices?

When connecting two computers, use cross-over. Cross-over is required to connect the transmit and receive terminals of the two endpoints. When connecting through a router, switch or hub, use straight-through. The router, switch or hub provides the crossover.