Is a programming software the same as programming tool?
To use an analogy, a programming language is similar to any natural language such as English. We use the language to construct expressions which can be combined to form statements, just as we use English to construct expressions which can be combined to form sentences.
Programming tools are simply tools that help us to write code, in much the same way that word processors help us to write letters. In programming, the main tools we use are code editors, compilers and debuggers. But just as a spell-checker won't help us write better poetry, programming tools won't help us write better programs. For that we must understand the language itself.
When invoking a constructor from subclass its super class's no-arg constructor is always invoked?
Implicitly: (i.e., you do not code for it, but works as if you did)
calling the no-argument constructor of the subclass, and there is no explicitly "redirect" codes.
Explicitly:
a constructor with base() / super() in the implementation, even that invoked constructor required some arguments.
C# example: public SubClass(string whatever) : base() {//...}
What jobs can you get with an associates degree in computer programming?
Wondering the same, wish someone would answer.
With associate degree in computer programming you can get an entry-level programming job in a fairly short amount of time. It can also be used as a stepping stone to a bachelors degree in a technology field. Associate degree in computer programming give students hands-on skills they need to be productive software developers in many industries, using specific skill sets and programming languages.
Why are pointers needed in C programming?
pointer is used when we want to retain the change in values between the function calls.
Similarly double pointer is used when we want to retain the change in pointers between the function calls. If you want to modify pointers than you need double pointer to retain the change.
What is the difference between a process and a task?
PROCESS : one or more PROCESS will be required to complete a task.
A task is like an assignment and the process is the flowchart or the steps you will follow to complete that task.
Object-Oriented Programming has the following advantages over conventional approaches:
Who is the first lady who brought computer program?
You are probably referring to Ada Lovelace who wrote an algorithm for Charles Babbage's Analytical Engine. She is credited with being the first computer programmer. However, she did not write any programming language; the machine's language was an integral part of the machine's design.
What are the effectiveness of algorithm?
-space
•Benchmarking: implement algorithm,
-run with some specific input and measure time taken
-better for comparing performance of processors than for comparing performance of algorithms
•Big Oh (asymptotic analysis)
-associates n, the problem size,
-with t, the processing time required to solve the problem
What is the difference between exe and class files?
in .exe file it contains
machine understandable code. but in .class file it contain only byte code which is not understadable by the microprocessor it will understud by the jvm only . we con't execute .class file without jvm . but we can execute .exe file without c-compiler .
Why are stand alone machines safe from hackers?
There is only one point of entry as opposed to many. If a single computer in a network of 100 computers is compromised, the whole network my be compromised. A standalone computer is also safer because it's more actively maintained and less network-based. For example, the organization I'm in has shared computers, but most software hasn't been updated since two years ago.
Open to public (for those clients who could find the web service)
Scalable (multi-threaded)
Encapsulate service code/operations (could be very complex) via a standardized and simplified invocation.
Reuse without re-developing, rebuilding. (no development time, or just minimal to make the service call)
The clients may be implemented in different computer languages than the one the web service being coded in
The plateform of the client may be different from the web service host.
(For example: A Java application running on Unix calling a .Net web service on a Windows server.)
Advantages of command driven interface?
A CLI interface can be implemented on far fewer resources. The CLI is far better for scripting and automated purposes, as well as issuing simple commands. Finally, a CLI interface is generally not subject to copyright, whereas GUIs are.
Write a program to check a number is negative or positive?
#include<stdio.h>
int main() {
int num;
do {
scanf ("Enter a number (0 to exit): %d", num);
if (num>0)
printf ("The number is positive.\n");
else if (num<0)
printf ("The number is negative.\n");
else
printf ("The number is zero, neither positive nor negative\n");
} while (num);
return 0;
}
Write a program to count the length of a string without using built in functions?
In JavaScript: To find the length of the string we you length method.
__
__
__
Click the button to return the number of characters in the string "Hello World!".
click here
__
__
function myFunction() {
var str = "Hello World!";
var n = str.length;
document.getElementById("demo").innerHTML = n;
}
__
__
__
Hope this helps. Thank you
What are the types of Decision Support Systems?
A Decision Support System is a computer-based information system that assists business or organizational decision-making activities. DSSs serve the management, operations, and planning levels of an organization and help to make decisions, which may be rapidly changing and not easily specified in advance.
What is the difference between register and resister in elecronics?
A resistor reduces the flow of current between two terminals and thus reduces voltage. this is achieved through electrical resistance. All electrical conductors are resisters, some more resistant than others. The less resistance offered by a conductor, the easier it is for electricity to flow, thus the higher the current. Thus resisters allow circuit designers to control the flow of electricity.
A register is a small unit of storage used by a digital processor. Computers typically have a relatively large array of working memory, however all the actual processing is done via a small set of registers. Registers work in much the same way as main memory, typically using a capacitor and transistor pair to denote each bit, however registers are significantly faster. Some registers are used for housekeeping purposes such as to keep track of the next instruction and for marking the top of the program stack, while other are used to provide input and output for the current instruction. In order for an instruction to process a value that value must first be moved to a register, typically one of the accumulator registers. If the instruction requires another operand, it must be moved to another register, typically a user register. After processing, the accumulator's value is moved back to main memory, either by the instruction itself or by a subsequent instruction.
What kind of program and computer does Stephen King use to write?
The web site STEPHEN KING (dot) COM allows you to take a virtual tour of Stephen's office. There, on his virtual desk, you'll see an iMAC computer. So I'm assuming he uses an iMAC in real life too.
What is the difference between software model and methodology?
A software process model is an abstract description of a piece of software. The software itself is an actual program (or set of programs) which can run on your computer.
What is file oriented approach and database oriented approach?
The file is store the data as document type, we don't have give particular data-type of data which will be store in it.
But in database system there are specified structure (like in table format) of data store. First we have to make format with particulate data-type for the data, which will store in it.
other
The file has no record system, while database system store data with record in row, it is easy to maintain.
What Are the effects of over abstraction?
Over abstraction, in computer programming terms, means that you use inheritance too often in your code. If you look for any two classes which share a common function and make an abstract class for them to inherit, then you are most likely guilty of over abstraction.
This is a common problem found in programmers new to the world of object-oriented programming.
Much of this is a Coding Style subjective answer, but overall, I think useful:
A good rule of thumb is that you are over-abstracting your problem if a class hierarchy has more than about a half-dozen ancestors before it gets to a pre-defined type. That is, if your program subclasses a library object (or the base Object) more than about 6 times, you should really re-consider how you've laid out your inheritance tree.
Additionally, very, very few inheritance trees should have more than one user-defined Abstract class per branch.
Take a look a the Java Class Library tree - I can't name any class which has more than 4 subclass-ings from Object.
Difference between function and recursive variable?
A function can map for sets with infinite elements. Recursive variables, being 'algorithms of algorithms', are restricted to finite elements.
Microsoft Word and Word Perfect are two types of word Processing systems. There are others out these but these are just two examples.
Algorithm to find whether given string is palidrome?
Let L = length of the string.
greatest integer (L/2) gives the number of pairs of characters that must be compared.
For example if there are 10 letters 10/2 = 5.
abcdeedcba
If there are 11 letters, 11/5= 5.5, also 5. The 6th letter won't matter in this palindrome because it doesn't have to match another character.
abcdefedcba
Once we have the number of pairs [L/2], we need only run a loop,
as 'i' goes from 1 to [L/2]
check that "character i" = "character L+1-i"