What is the difference between a programming language and a application software?
You use a programming language in order to create applications. The programming language is typically implemented within an integrated development environment (IDE), which is itself an application that was written in a previous incarnation of the same language or in another language altogether.
Explain the differences between strategic planning and operational planning?
Strategic planning is deciding what a company will do. Operational planiing is deciding how that will be done. For example, Kodak made a strategic decision to enter the digital photography business when the tradition film market began to deteriorate. They decided what products offered opportunities in that industry. Then, they had to formulate an operational plan - product development, manufacturing process and location, etc. The operational plan will also include some strategic planning. For example, the Marketing department had to decide how to best position the products in the marketplace (and which markets or locations) and then plan how to design the marketing materials.
Writing in pseudo code means writing in a natural language, not in any specific programming language, so there is no thing as "pseudo-code used in C" as opposed to "pseudo-code used in Java".
When you write in pseudo-code, you don't have to follow any specific syntactic rules, just to describe the steps you will use in your algorithm.
For example, pseudo-code for bubble sort (taken from wikipedia):
procedure bubbleSort( A : list of sortable items ) do swapped = false for each i in 1 tolength(A) - 1 inclusive do: if A[i-1] > A[i] then swap( A[i-1], A[i] ) swapped = true end ifend for while swapped end procedure
It is not written in any programming language, but it should be easy to implement this in any language after you understand the idea from the pseudo-code.
How much does a computer programmer charge per hour?
That depends upon who the programmer works for. Some companies pay weekly, some every other week. Contractors might bill and get paid once a month. If you do piece work (self-employed) you might get paid by the job.
Command line arguments are provided at the time of running the program. Example: Suppose that your program needs input name and its value then running it from commandline(DOS prompt) you provide the values after the program name java xyz name JAX(name is name and value is jax)
What is 4 generation programming language?
There is no standard which defines what 4GL (fourth generation language) actually means. The terms 1GL, 2GL and 3GL were introduced retrospectively but they have no actual meaning because we never classify a programming language by generation. If we did, C++ would be a 10th generation language!
The term 4GL was formally introduced in 1981 to refer to high-level, non-procedural languages but marketing types were quick to describe their client's procedural languages as being 4GL -- because 4GL is "better" than 3GL -- without having to actually explain what 3GL meant. It was nothing more than meaningless jargon.
There have been many unsuccessful attempts to standardise the meaning of 4GL, but none have succeeded. Part of the problem is that 1GL is usually used to classify machine code (as used on first-generation computers) while 2GL is used to classify assembly languages 9despite assembly language being used on first-generation hardware), leaving 3GL for all the high-level languages (portable languages). Attempting to distinguish one portable language from another by calling it 4GL is somewhat pointless given there are already far better ways to classify languages.
High-level languages are best classified by the paradigms they support: declarative; imperative; structured; procedural; object-oriented; functional; logical; and so on. We can also classify by the domains they were primarily intended for: general-purpose; database management; applications software; artificial intelligence; and so on. Dividing high-level languages into two distinct groups (3GL and 4GL) tells us next to nothing about a language's capabilities, particularly when no-one can agree on what 3GL or 4GL actually means -- despite Wikipedia's repeatedly unsuccessful attempts to the contrary.
A green field site is an area that has not been built on (the countryside)
What are the simalarities of high and low level programming?
high level language; is a computer language that is near to human language.
high level programming is a process of programming high level language.Example,c++,java,cobol are one of them. The reverse is true for the low level language.
Is the C Plus Plus language good for making software?
C++ is one of the most flexible programming-languages there is. So, my first answer would be 'Yes'. However the question is, if C++ is the most suited language for the software that you want to make. There may be a alternative, easier language, in wich you can develop your software. Jahewi :-)
Show the data processing cycle?
The data processing cycle is the process of converting data into useful information.
The data is processed again and again until the accurate result is achieved.
The three basic activities of data processing are:
1. Input
2. Processing
3. Output
How constructor is different from normal member function?
A constructor differs from a normal member function in three ways:
The common design hypothesis is that a well-designed constructor cannot fail, other than maybe in an irrecoverable way (such as a fatal running out of memory).
The common design practise is that at least the default constructor is declared public.
What are the advantages of a program over an algorithm?
The term algorithm is now applied to many kinds of problem solving that employ a mechanical sequence of steps, as in setting up a computer program. The sequence may be displayed in the form of a flowchart in order to make it easier to follow.
In computational devices with a built-in microcomputer logic, this logic is a form of algorithm. As computers increase in complexity, more and more software algorithms are taking the form of what is called hard software. That is, they are increasingly becoming part of the basic circuitry of computers or are easily attached adjuncts, as well as standing alone in special devices such as payroll machines. Many different applications algorithms are now available, and highly advanced systems such as artificial intelligence algorithms may become common in the future.
Characteristics of procedural programming?
FeaturesWhen the creation of Embedded Wizard started in 2003, the main idea was to deliver the comfort - known from PC development tools - to embedded systems. With the help of customer's feedback, it has been improved ever since, to support the daily GUI development workflow in the best possible way.
See 10 features that will simplify your GUI project:
1. Integrated Development Environment (IDE)
Embedded Wizard's comfortable IDE provides drag-and-drop, copy-and-paste and undo-redo functionality. Sophisticated utilities, like the object browser and the 'assistants', enable an easy overview over the application structure and a quick access to its members. Developers will find everything they need in one familiar place.
2. Visual Programming Approach
Create GUI applications by clicking, dragging and connecting visual to logical components with the mouse. Benefit from instant WYSIWYG (What you see is what you get) and evaluate your GUI's appearance already at design time. Even target constraints, like limited color range, can be displayed in the IDE. And with Embedded Wizard's instant prototyper you can step-by-step verify your GUI's design, behaviour and usability.
3. Flexibility & Platform Independence
Implement the desired behavior of a single GUI component or the entire application in Embedded Wizard's own, platform independent programming language, called 'Chora'. It is very similar to C, C++ and easy to learn. Besides standard statements like if, for, while, switch and local variables, Chora also provides useful operators and data-types especially for GUI applications. Chora also includes a garbage collector. Finally, Embedded Wizard analyses your project, intercepts possible errors and generates ANSI C code out of the project - optimized for each target (See 9. Targeting).
4. Object Oriented Programming
All components of a GUI application are realized as classes. Embedded Wizard's programming language 'Chora' supports derivation of classes, inheritance, overriding of inherited class members and polymorphy. This enables a highly iterative development process and results in well-structured, easy to maintain projects and reduced code size. Developers, who are familiar with OOP, can benefit from that knowledge, however, Embedded Wizard also supports a very simple programming model, which allows also developers without deep OOP knowledge, to create great results in a very fast time.
5. Ready-to-use components
For an easy start-up, the 'Mosaic' class library was designed. It provides visual components for displaying text, images, color gradient, etc. as well as sophisticated widgets like buttons, select boxes, text fields, menus, panels and more. The class library also includes infrastructure for animation effects, event handling, focus handling, alignment, arrangement, touch screen and mouse support, and many more.
6. Localization
Develop multilingual applications, which can change text, graphics, fonts and even layout for each language. Thanks to UNICODE support, GUI applications can combine Greek, Cyrillic, Japanese, Far East and other notations within a single text. Whenever the current user language is switched, all dependencies are evaluated and displayed automatically.
7. Variants & Diversified GUIs
"Variants" are a unique concept of Embedded Wizard, to facilitate the handling of different themes, layouts and screen resolutions within one GUI project. Variants of a GUI can be determined at compile time or switched at runtime. Moreover, the integrated JPEG file support, enables dynamic loading of JPEG images from hard disk or a content provider into the GUI for more flexibility and variety.
During runtime, the intelligent resource management takes care, that only the needed resources (e.g. fonts, images) are loaded to save memory.
8. Debugging
If your GUI application does not behave as desired, the powerful integrated debugger enables the step by step execution of 'Chora' statements, the setting of breakpoints and inspection of all variables and objects. Thus, you can be sure, that any GUI code generated by Embedded Wizard runs perfectly stable.
9. Targeting
To bring your application to a particular target, Embedded Wizard analyses the project, intercepts possible errors and translates it into optimized, highly reliable and well-documented ANSI C code. The result can be compiled and linked with your main software. All target specific aspects, like the CPU architecture, the operating system and color format of the screen are handled by 'platform packages', which are tailored for a specific target platform. You can simply exchange the platform packages to generate code for various targets out of a single GUI project.
10. Documentation
To document the structure of your GUI application, Embedded Wizard can automatically create Microsoft HTML help files (chm), which are especially helpful when transferring your project to colleagues or third parties for maintenance and modifications. The documentation describes components, shows their inheritance and lists their members. It is enriched with descriptions that can be entered by developers optionally for every member in the project.
How do you create and run assembly language?
Assemblies are the smallest functional unit of deployment.They are created whenever we compile a Csharp program.They contain file or collection of different modules. There are two type :Shared Assembly and private assembly.
Private assembly is created when the functionality of the component is specifically associated with an application.
Shared assembly is created to have a single copy of it which is kept in the GAC ,GAC is Global Assembly Cache.
There are 4 components of assemble 1.MSIL Code, 2)Metadata 3)Manifest 4)Resource.
Manifest contains the assembly information such as assembly version,security,identity,references to other assembly.
Msil Code:It is Microsoft Intermediate Language,this can be efficiently converted to native code by the JIT Compiler i.e Just-in-Time Compiler. Resources are the resources allocated to that assembly.Metadata provides information about the type defined in the assembly such as classes ,interfaces.
A queue is a first-in, first-out data structure. We use queues when one thread needs to communicate with another but they operate at different frequencies (asynchronously), such that the first thread may produce input for the second thread faster than the second thread can actually process each input. Thus the first thread will place each input on a shared queue and the second thread can deal with each in turn as and when it is ready. To avoid data races, all operations that modify the queue must be mutually exclusive, such that only one thread can gain access to these operations at any given moment. This can be implemented using a lock, such that only one thread can "own" the lock while all others must wait until the lock is released.
Example of formatted functions in C?
formatted functions::: Follows a fixed format like scanf,printf
Unformatted functions:::Do not have fixed format like gets,getchar
What is assembly language. Give its advantages over machine language?
Machine language is a stream of bytes interpreted by the CPU to perform operations on the computer. Reading machine language directly requires knowledge of or access to a list of "opcodes" (the numeric value associated with each instruction) in the program. Assembly language is a human-readable translation of machine language with additional features such as mapping of symbols to actual memory addresses or registers. People who use assembly language ultimately also become proficient in understanding machine language.
For example, in the x86 architecture, this machine language:
It's more often than not, not a programmers choice, but when it is, typically:
Platform (e.g. if you are writing something for Android, or iOS, your choices are somewhat limited, same goes for cross OS compatibility) Objective (e.g. are you writing a kernel module or a website)
Familiarity (e.g. if i know Ruby and don't know PHP)
Performance needs (e.g. am i writing a network stack or a text editor)
Libraries (e.g. PHP built-in database libraries, Java does not)
Language specifics/purpose (e.g. it's a good idea to write a protocol in more functional programming language like Scala than in Perl or Java)
What is the difference btween compilation and execution?
They are similar
make = create something
compile = implies you are using other things and putting them together to create something eg. lists for reference something made can have been compiled, but might not
something compiled is also made
Is backup the process of dividing the disk into tracks and sectors?
No, backup is most certainly not that. Formatting is the process fo dividing the disk into tracks and Sectors.
The meaning of if in C language?
if is a like a choice
e.g.
if (x==1) if x is equal to 1 then it will print "x=1"
{
printf("x=1);
}
else
{
printf("x does not =1")
}
Answer: If is an identifier, if is a statement.
Conversion of binary to octal?
Binary is a base 2 number system, while octal is base 8. This happens to make conversion between binary and octal fairly trivial, although more complex than conversion to hexadecimal. To convert to octal from binary, take each three bits, starting from the least significant bit, and convert them to their octal equivalent.
Examples:
25510 = 111111112 = 11 111 111 = 3778
17410 = 101011102 = 10 101 110 = 2568
You can repeat this process for as many bits as you need. A 24-bit number should translate into 8 octal numbers, for reference.
Does artificial intelligence work?
Yes Artificial Intelligence works but there is not any certain way in which it works. There are many definitions of Artificial Intelligence in which one of them is a computer problem that needs to be solved with a high level of intelligence. Many AI researchers have discovered many different approaches to solve the problems in different areas such as gaming, medical , engineering . But the Question is that How Artificial Intelligence Work ? So for understanding this first of we have to understand what is AI. Basically there are three types of AI :-
1. Easy AI :- Easy AI is Logic based, following rules for example programming with math rules.
2. Hard AI:- In Hard AI we deals with much complex data systems like face Recognizing in which computer has given super wiser signals due to which it distinguishes between two individual faces, hardware acceleration, so is basically machinering from data.
3. Really Hard AI :- Really Hard AI is about machines taking as many as characteristics of human like sensory perception, decision making, things like cognition or emotion this is really the stuff that movies are made of , like people being replaced by robots or like robots and machines are to be converged.
So these are the fields in which AI works accordingly.
because people wanted to sing and make speaches
No, because some people wanted to speak louder