Flag Officer of Regional Territory of Andaman and Nicobar Island.
How does artificial intelligence compare to animal intelligence?
.... in that. point many cientist are antropocentric specist and don't value the inteligence of animales and habilites.. animals talks first later machines.. he need se animas to evolve the artificial inteligence
What is the difference between null pointer ASCII null character and null string?
A null pointer is a pointer which does not point to any valid memory location, and usually contains the binary value "0" to represent this (this is language dependent). The ASCII null character is a character-sized zero value (in ASCII, it is an unsigned byte with a value of 0), and typically represents the end of a string (esp. as in C and C++). A null string is one that is zero characters of usable string data; in a length-based string, this means the length parameter is set to 0, and in an ASCII null-terminated string, means the first character is set to 0.
What is purpose of programming pause into a phone number?
You use this when you want to include an extension number, when you program it into the number for example (836) 254- 3215 P 8263 The phone will dial the extension after the call is answered, or when you push send or call.
How can the union member share memory?
All union members are allocated the same memory address. The amount of memory allocated is determined by the largest member of the union. Only one value can be stored in a union. If we change the value of any one member, we change the value for all members. The member type determines how the current value is interpreted.
Can be used to partition a drive and create logical drives within these partitions?
The computer management feature in Windows can be used to partition a drive and create logical drives within these partitions. There are also commercial and non-commercial programs available for the same purpose.
A simple mathematical formula to calculate the maximum address space of a register is 2^N, where N is the bitrate.
2^8 = 256. So 0-255, and 255 is the largest value.
A 16-bit register (2^16) is 65536, so 0-65535
On my ar your Pokemon pearl codefile is corrupt how do you fix it?
We dont answer questions like this
C programming is called middle level language?
(i) it gives or behaves as High Level Language through Functions - gives a modular programming and breakup, increased efficiency for reusability
(ii)it gives access to the low level memory through Pointers. Moreover it does support the Low Level programming i.e, Assembly Language.
As its a combination of these two aspects, its neither a High Level nor a Low level language but a Middle Level Language.
Of note: C++ supports pointers and some basic assembly aspects. It is, however, high-level. C is 3rd generation, not due to pointers or functions, as most languages after the 1st generation include some implementation of these, but because it introduced the first (relatively speaking) aspects of object orientation (structs and enums). C++ carried on with this, leading to the "4th", which has become too varried to refer to as such. There is no such thing as a middle-level language. Machine code to BASIC to C to C++ and Java and such, C is definitively on the higher end of the programming specture.
How would you explain about the LAMP software?
LAMP (LINUX-APACHE-MYSQL-PHP) is a solution stack of Software to run Dynamic Websites or Servers.
HTTP://openwavecomp.com.sg
When was The Elements of Programming Style created?
The Elements of Programming Style was created in 1974.
What is the difference between block box and white box testing?
White box testing or unit testing: To do white box testing, knowledge of internal logic code is required. It is mostly done by developers.
Black box testing: The functionality of an application is tested; logic code is not required. This testing is done by testers.
Block box or system testing: Testing the application without knowledge of underline code of the application. it is done by the testers.
How do you create interactive buddy scripts yourself?
There is a tutorial. Here:ShockScript is a scripting engine for Flash written by me, Shock Value.
It allows you to write your own scripts to make events occur in the gameworld.
For example, you might write a script that causes an explosion to occur if the Buddy touches a wall.
Or you might write a script that shoots a continuous stream of baseballs at the Buddy.
(Both of these examples are provided as sample scripts, among others.)
It's all up to you.
However, to get these results, you must familiarize yourself with the language.
These help files assume that you have at least a basic understanding of programming concepts.
If you are familiar with Flash Actionscript or JavaScript, you should have no problem.
If you are new to programming, then you will need to learn basic programming concepts first, which is knowledge that is outside the scope of these help files.
Expressions are written just as they are in Actionscript or Javascript.
1+2 evaluates to 3.
1+2*3 evaluates to 7.
(3*(8-6)-2)*(3+3) evaluates to 24.
ShockScript includes all of the operators that are available in Actionsript and uses the same precedence rules as ActionScript uses.
* : multiplication
/ : devision
% : modulo
+ : addition and string concatenation
- : subtraction
<< : bitwise left shift
>> : bitwise right shift
>>> : bitwise unsigned right shift
< : less than
<= : less than or equal to
> : greater than
>= : greater than or equal to
== : equal to
!= : not equal to
& : bitwise AND
^ : bitwise XOR
| : bitwise OR
&& : logical AND
: logical OR
The operators above are ordered by decreasing precedence.
Variables are assigned as follows.
myVar = 1+2;
'myVar' now holds the value '3'.
anotherVar = "variable number "+2;
'anotherVar' now holds the string "variable number 2"
thirdVar = 1+myVar*2;
'thirdVar' now holds the value '7'
Variables can also be assigned by using the assign(varName,expression) function, which will be explained later.
Semicolons (;) separate lines of code and MUST be used.
This is unlike Actionscript, which recognizes line breaks as well as semicolons as ending lines of code.
Example:
myVar = "Hello!";
trace(myVar);
setGrav(0)
Functions can be used as follows:
someFunction(argument1,argument2)
You cannot define your own functions; you must use the built in ones. However, there are many built in functions which are listed on the following help page. You can use functions anywhere an expression is used, just like in ActionScript.
Function LIST!!:
text,time)
explode(x,y,power) 1.0 is about normal for power
create(objectType,x,y,xVelocity,yVelocity) valid objectType strings: "baseball", "molotov", "bowlball", "bouncyball", "grenade", "fireball", "mine", "baby", "orb", "radio", "vortex". Returns the unique objectName assigned to the object you created.
destroy(objectName) removes specified object (if destructable)
noAutoDelete(objectName) makes specified object not be auto deleted when adding more objects; note that it can still be destroyed through destroy() function or through a mousover when a throwing item is selected
addConstraint(objectName,x,y,len) adds a constraint to specified target (objectName) at x, y of length len; constraint is removed when object is deleted
addSpring(objectName,x,y,strength) similar to addConstraint, except with a flexible attachment; strength can be between 0.0-1.0, but lower numbers (like .05) work best
resetForces() resets all added forces (constraints, springs, etc.)
flashMessage(text, timeInFrames)
water(x, y, xv, yv, lifeSpanInFrames, strength, spread, size, disappearOnContact)
fireClip(x, y, xv, yv, lifeInFrames, scale) about 4.0 is normal for scale
addBuddyVel(x,y)
setBuddyVel(x,y)
setBuddyPos(x,y)
addBuddyRot(rotationAmount)
setBuddyRot(angleRadians)
getBuddyRot()
getBuddyX()
getBuddyY()
getEmotion() returns happiness of buddy from -100.0 to 100.0
getXV(objectName) returns x velocity of object, valid strings for objectName: "body", "rArm", "lArm", "rLeg", "lLeg", plus all strings returned by 'create' function (see ex-throwableBall)
getYV(objectName) ... y velocty ...
getX(name) ... x position ...
getY(name) ... y position ...
playSound(soundName)
resetVariables() resets all user variables
pow(x,y) returns x to the y power
sin(x)
cos(x)
tan(x)
atan(x)
atan2(x,y)
max(x,y) returns greater value
min(x,y) returns lesser value
sign(x) returns -1 if negative, 0 if 0, 1 if positive
random() returns random floating point, 0.0 to 1.0
randomBet(x,y) returns random floating point between x and y
sqrt(x)
ceil(x)
floor(x)
round(x)
pi() returns pi (3.14159...)
e() returns e
asin(x)
acos(x)
abs(x) absolute value
charAt(string,letterPosition)
bnot(x) returns false if x is true, true if x is false
bor(x,y) logical OR (same as xy)
band(x,y) logical AND (same as x&&y)
above(x,y) returns true if x is greater than y, else false (same as x>y)
below(x,y) x<y
equal(x,y) x==y
sqr(x) returns x*x
exp(x) returns e to the x
log(x)
gettime() returns time since movie start, in seconds
getXMouse()
getYMouse()
getMouseDown()
if(value,arg1,arg2)
This is the if statement in ShockScript. It is actually set up like a function, but it works differently. First it evaluates 'value'. If it is true, then 'arg1' is evaluated and returned. Otherwise 'arg2' is evaluated and returned. Note that after 'value' is evaluated, either 'arg1' or 'arg2' will be evaluated, not both.
loop(num,arg)
This function evaluates 'arg' for 'num' number of times (the maximum is 2000)
setBuffer(bufferNumber,position,value)
Sets the element at 'position' of the 'bufferNumber' buffer (or array) to the 'value'. 'bufferNumber' may be any number from 0 to 1000
getBuffer(bufferNumber, position)
Returns the element at 'position' of the 'bufferNumber' buffer.
assign(myVar,value)
Same as writing 'myVar = value'. Note that the first argument of the function is not a string, it is the exact text that you write. You would use this function like this: assign(x,10); which would set variable 'x' to '10'.
evaluate(scriptText)
This function allows you to evaluate text as if it were ShockScript code. Example: 'evaluate("x = "+10)' would evaluate 'x = 10' and thus set variable 'x' to '10'.
firstRun()
This function returns true on the first run of your code when 'Run Every Frame' is checked, and false on every other run.
If you click 'Run Once', it is also true for that run.
When writing scripts, be sure that they conform to general coding standards and those listed above.
ShockScript has little to no error detection, so erroneous scripts might compile and run with unexpected results.
In Flash, syntax errors are recognized by the compiler automatically, but again, in ShockScript this is not the case.
The reason ShockScript has no error detection is simple--I just don't have to time to write it in.
The process would be difficult and full of bugs.
And it would never be perfectly consistant, so I wouldn't want people to rely on it.
So, unfortunately, you will have to locate all syntax errors yourself.
Also, all example scripts should be set to run every frame unless otherwise noted.
This includes th function list as well! BYE!
What is the difference between fork and exec?
When using exec() the created process is a subthread of the calling process. They also share an area in the memory and therefore also all permissions and resources.
When you use fork() the newly created process is a complete independent process that has it's own area in memory and also uses it's own permissions depending on what you give it.
Hope this helps clear up things.
What is the celtic language called?
There is no single language called 'Celtic': the two main groups are Goidelic (Irish, Scots Gaelic. Manx) and Brythonic (Welsh, Breton, Cornish).
What is the word for dividing the hard disk of a computer into tracks and sectors?
That would be called low-level formatting.
Is it true that Bill Gates wrote his first program at age 13?
Yes, he wrote his first program at 13 with the local school's Teletype Model 33. It was a simple tic-tac-toe game that allowed the user to play against the computer. He wrote the program in BASIC. He and Paul Allen met at this time, and they went in to business together only two years later, netting $20,000 with a software called Trafo-Data. Soon getting a contract to provide a operating system for IBM and the rest was history.
How can you disable the save a copy button in pdf files in code?
I think that's a feature of the full Adobe Acrobat. You can set security options for the PDFs you produce with that tool.
AnswerDon't know if "Save a Copy" is a PDF feature, but for sure it is not a Secure option within Acrobat. I have the same problem. If anyone have the answer, please let us know.
AnswerYou can't. In order to view the document, it is essentially downloaded to the PC viewing it. Depending on the viewer that is being used, the viewer application may not even honor this setting if it even exists.
If you all print on the document it could be printed to PDF on the client and strip all security settings from the file.
In short, if it can be viewed, there is no way to protect the content.
AnswerEncrypt pdf file so that it can be protected
AnswerEven if a file is encrypted, you can save the file. If you don't have the password to decrypt it, then you can't view it, but that is a different matter entirely.
What is pure object oriented language?
Object-oriented (OO) applications can be written in either conventional languages or OOPLs, but they are much easier to write in languages especially designed for OO programming. OO language experts divide OOPLs into two categories, hybrid languages and pure OO languages. Hybrid languages are based on some non-OO model that has been enhanced with OO concepts. C++ (a superset of C), Ada 95, and CLOS (an object-enhanced version of LISP) are hybrid languages. Pure OO languages are based entirely on OO principles; Smalltalk, Eiffel, Java, and Simula are pure OO languages.
Reference: Tokar, Joyce L. "Ada 95: The Language for the 90's and Beyond."
" According to me JAVA is not a pure oop Language ,because java contains primitive datatypes that's not an Objects."
example:java.
That depends on the media you are encoding. It may range from 22 hours (low quality audio) to 64 minutes or less (for high quality video).
How do you find missing numbers in a array with elements below its size?
Please rephrase your question. An array usually has a fixed size and I don't recall ever having to "go below its size". This implies that the missing elements are not within the range of the array.
What is main advantage of using constructors in java?
Constructors have the same name as the class itself and they do not specify a return type, not even void because they return the instance of the class itself.
Because constructors have the same name as the class then they allow method overloading and also save memory and execution time of program.
Program release memory of constructors function after using this function and it reduce program complexity.