What is fact finding techniques?
# sampling of existing documentation. # research and site visits. # observation of the work enviroment. # questionaire.
What is physical data structure and logical data structure?
Physical data structure: This is the physical equipment involved in the network eg router, cabling etc).
Logical data structure: This is how the information flows internally and externally (the transfer of information from one node to another on the network).
Definite interations: Repeated sequence of calculations/ operations for a fixed number of repetitions. (Do or For loop) Indefinite iteration: no set limit on iterations, generally "while" loops. multiple interations is the same as multiple repetitions or trials.
What do you need to be a game designer?
Becoming a video game designer is not as easy as it seems. First off, you need a bachelors or masters degree preferably in computer science. Designing a video game requires a lot of skill in writing computer code. Excellent skills in math and writing would also be preferred. A well-written game also needs a well-written stroyline to keep players drawn. If you are just interested in the graphics in the game, then experience in the field of graphic design would suit you well.
C program for finding square root of positive no?
#include<stdio.h>
#include<conio.h>
float SquareRoot(float num);
void main()
{
float input, ans;
clrscr();
printf("\n Enter The Number : ");
scanf("%f", &input);
ans = SquareRoot(input);
printf("\n Square Root : %f", ans);
getch();
}
float SquareRoot(float num)
{
if(num >= 0)
{
float x = num;
int i;
for(i = 0; i < 20; i ++)
x = (((x * x) + num) / (2 * x));
return x;
}
}
Should element in an array must be of primitive data type?
No, it can be array, structure or union as well.
What do we call the numbers that cannot be arranged into 2-row arrays?
we can call the number that cannot be arranged into 2- row arrays multiple arrays.
Mention the importance of subroutines in programming?
A subroutine is typically defined as being a function or procedure that can be invoked at any point in a program, causing the procedural execution to branch to the subroutine. This is not unlike a goto or jump statement, however subroutines also make use of the program's call stack to allow values (arguments or parameters) to be passed to the subroutine, including the address of the caller so that execution can return to the point of the call when the subroutine falls from scope. A subroutine can also (optionally) return a single value to the caller, known as the return value. Return values are temporary and will fall from scope when the expression that invoked the subroutine falls from scope. However, by assigning a subroutine to a variable, the return value can be stored in that variable and can then used in subsequent expressions. Subroutines pop their arguments from the stack and construct local variables or references from the argument values. Arguments passed by reference can therefore be used to return values through the referenced values. Values returned in this manner are known as output arguments. Subroutines that use output arguments often use the subroutine's temporary return value to indicate any errors that occurred within the subroutine, with zero indicating success (no error).
What is the difference between high level and low level programming?
High level languages are easier for humans to read and program in. They are usually machine independent, and most have a wide variety of programming libraries available for common functions.
Low level languages are usually machine specific, such as assembly languages. They lack programming libraries.
Design the logic code for program to print numbers in reverse order from 10 down to 1?
Enter values and end of the list enter -1 to see output. but execute it at command line.
<?php
function readData(){
fwrite(STDOUT, "Please enter your name\n");
// Read the input
$name = fgets(STDIN);
if($name != -1)
readData();
fwrite(STDOUT, "Hello $name");
return;
}
readData();
?>
start
num Sub
num Size = 10
index = 0
while index<10
index = index + 1
endwhile
while index > 0
index = index - 1
endwhile
print Sub
stop
What is a sparse matrix in c programming?
Sparse matirx can be represented 1-dimensionally, by creating a array of structures, that have members sumc as: Struct RM{int ROW,int COL, int non_zero}; struct RM SM[Number_non_Zeros +1]; then input row,col for each non-zero element of the sparse matrix. if still unclear please fell free to requestion or query on ikit.bbsr@gmail.com, specifying clearly the question in the subject. Chinmaya N. Padhy (IKIT)
I want to learn how to program?
Learning how to write computer programs - is similar to learning a new language. You need to learn the syntax of the programming language, in order to correctly write lines of code. For example - in BASIC, the syntax of an IF/THEN command is... IF {condition 1} THEN do (option 1);ELSE do (option 2).
Difference between third and Fourth-generation programming language?
If you're referring to genetic algorithms, it's a subset of what you may call "conventional programming"
Genetic algorithms are in a way similar to AI algorithms, in the sense that the solution to a given problem is not laid out programmatically or mathematically. Instead, a genetic algorithm provides the basis to solve a problem.
A genetic algorithm is based on the laws of natural selection. "Specimens" mutate and are then passed through a fitness function - the most elligible ones survive, while the rest are destroyed.
A genetic algorithm can be constructed with a "conventional" programming language.
What are the benefits of being a video game programmer or designer?
The benefits for video game programming is merely personal benefits. Video game programmers are over worked and generally underpaid (in comparison to those working in the corporate field). Some people who program video games mainly for the fact that they are video game fans themselves and want to contribute and work on projects themselves. A video game designers tend to get paid more and are the "main visionary" of the project. Their job is not as simple as think of an idea and create a game from it, they requite many artistic skills and really good writing skills. The designer must also be capable of changing many aspects of the project if demanded by the studio.
One method of performing the loader functions is to have the assembler run in one part of memory and place the assembled machine instructions and data, as they are assembled, directly into their assigned memory locations (Figure). When the assembly is completed, the assembler causes a transfer to the starting instruction of the program. This is a simple solution, involving no extra procedures. It is used by the WATFOR FORTRAN compiler and several other language processors. Such a loading scheme is commonly called "compile-and-go" or "assemble and-go." It is relatively easy to implement. The assembler simply places the code into core, and the "loader" consists of one instruction that transfers to the starting instruction of the newly assembled program. However, there are several apparent disadvantages. First, a portion of memory is wasted because the core occupied by the assembler is unavailable to the object program. Second, it is necessary to retranslate (assemble) the user's program deck every time it is run. Third, it is very difficult to handle multiple segments, especially if the source programs are in different languages (e.g., one subroutine in assembly language and another subroutine FORTRAN or PL/I). This last disadvantage makes it very difficult to produce orderly modular programs. we can say that here loader is not a separate prog.also the four important functions of loader as 1)allocation 2)linking 3)relocation 4)loading is not done independently byloader.
What are Different types of assembly language statements?
The three types of assembly language are:
1. Imperative: indicates an action to be performed.
2. Declaration
3. Assembler Directives
How do active margins differ from passive margins?
Passive continental margins are not areas of convergence. There is little volcanic and earthquake activity on passive margins. Active margins are areas of convergence where one plate is descending beneath another. They are associated with volcanic and earthquake activity.
What are the advantages of insertion sort?
It is less efficient on list containing more number of elements.
As the number of elements increases the performance of the program would be slow.
Insertion sort needs a large number of element shifts.
What has been strongest influence on programming language design?
The strongest influence will always be the need and the demand for it.
for instance, with regards to security, if there are so many virus or hack attacks
then definitely a new security program is needed.
another is if the current program cannot handle the growth of a company
then a new set of programs is in order.
and then there is the cost of maintaining a program.
why pay more when one can get it for a much cheaper program.
Program to find the size of the string in c?
int main (void) {
char buf[1024];
scanf ("Enter a string: %s", buf);
printf ("The length of the string is %d chars long.\n", strlen (buf));
return 0;
}
What translates a high level language into machine code?
An interpreter or a compiler. The former translates one line at a time and must be executed within the interpreter. The latter compiles the entire program into a standalone executable. For example, C++ is compiled to machine code but Java is compiled to byte code which is then interpreted by the Java Virtual Machine.
What are the advantages of dynamic memory allocation over static memory allocation?
Readers who are familiar with the concepts of dynamic memory and pointers may wish to skip to the next section of this chapter. In this one, the general concepts of static and dynamic memory is outlined. How these issues are specifically handled in Modula-2 is not taken up again until after the rest of the preliminary discussions are complete.
The distinction made in this section is based on the timing and manner for the setting aside of memory for the use of a program. Some memory use is predetermined by the compiler and will always be set aside for the program in exactly the same manner at the beginning of every run of a given program. Other memory is obtained by the program at various points during the time it is running. This memory may only be used by the program temporarily and then released for other uses.