What advantages might a procedural language have over a declarative language?
The procedural and declarative paradigms are not mutually exclusive. For instance, database query languages such as SQL are both declarative and procedural.
Procedural programming is advantageous whenever the programmer knows precisely what steps should be carried out and in what specific order. We use declarative programming when we know exactly what task we want to perform but are not concerned with how that action is performed. The "how" aspect is decided by the language implementation. Declarative programming is extremely high-level, concentrating on the logic of a computation rather than focusing upon control flow.
Procedural programming isn't as high-level as declarative programming and focuses more upon control flow. However, a language implementation is still free to alter the control flow when the order of execution is immaterial to the result of a computation but would result in more efficient code.
What is the program to input name and print pass or fail?
Input "enter name" ;n$
input "enter marks" ; m
ifm > 40 then print n$, "pass"
else print n$, "fail"
The Mayadweepam program is typically associated with various cultural and spiritual events, particularly in India. It is often conducted in specific locations that hold religious significance, such as temples or sacred sites. The exact location can vary depending on the organizing body or community. For precise details, it's best to refer to local announcements or event calendars related to the program.
What is constant and variable?
A variable is a named object that is mutable.
A constant is a named object that is immutable.
What Difference between varchar2 and nvarchar?
Varchar2(s) is used to define a variable length character of maximum size s.
Nvarchar2: Same as VARCHAR2 except that the column stores values in the National CS ie you can store values in Bangla if your National CS is BN8BSCII .If the National CS is of fixed width CS (all characters are represented by a fixed byte say 2 bytes for JA16EUCFIXED) then NVARCHAR2(30) stores 30 Characters.
If the National CS is of variable width CS (some characters are represented by 1 byte some by 2 bytes as in UTF8 ) then NVARCHAR2(30) stores 30 bytes.Does an array use more memory or does a list of strings use more?
Arrays use less. They provide the most compact storage container for data of the same type. Whether the container is a list or an array, the strings consume the same amount of memory. However, an array only consumes one word per string whereas a list consumes at least two words per node, one to refer to the string and another to refer to the next node in the list, plus at least one word to refer to the head of the list. A doubly-linked list uses three words per node, plus two words to refer to the head and tail, plus a count of the nodes.
ZoneAlarm Mailsafe Renamed .EML File. See the Related Link for "FileExt.com:ZMC " to the right for more details
What is the sort order for alphanumeric fields that contain both numbers and letters?
It depends on the collating order of the character set being used by the computer:
A format is the layout of a document or the presentation of something, for example, a radio station.
What data type is suitable for password field?
We never store passwords in a password field. If we did that, anyone with access to the database would have access to all the passwords. Instead, we store the output from a one-way cryptographic hashing function. That is, when a user creates a password, we store the hash value generated from that password via the hashing function. When the user subsequently enters their password in order to log on, the hash value generated by the entered password is compared with the stored hash value. If the two hash values match exactly then the correct password was entered.
Being one-way, it is not possible to determine the password from the hash value, even if we know the precise implementation details of the hash function employed to create the hash value. This is the safest way to store passwords; we simply need to ensure that the same hash function that was used to generate the hash is also used to validate the user's password at logon.
Cryptographic hashes can vary in length depending on which function was used to generate the hash value. Typical values are 128-bit, 160-bit, 256-bit and 512-bit, thus a fixed-length binary field of the required length would be suitable for storing the hash values.
Which operators have same precedence as multiplication?
Multiplication, division and modulo all have equal precedence.
What does this do AIM 3.0 Part 01 Codec and can it be removed safely?
It is a Codec for AOL Instant Messenger. Yes it can be removed safly but Aol messenger may not not work afterwords
Is there a .bat to .exe converter that also makes a dll with the .exe too?
No.
A bat file is sort of a script. It cannot be compiled nor changed into binary executable.
Write a C program to find lowest number among ten numbers using for loop?
If you had an array int numbers[10]; you would do it like this:
CODE:
int lowestnumber = numbers[0];
for(int i = 0; i < 10; i++){
if(numbers[i] < lowestnumber)
lowestnumber = numbers[i];
}
END CODE
I think this should work, and in the end the variable lowestnumber will hold the lowest value in the ten.
Hope this helps.
a rule of thumb stating that when faulty data are fed into a computer, the information that emerges will also be faulty.
Write a program to find out transpose of a given matrix by using arrays?
#include<stdio.h> #include<conio.h> void main() { clrscr(); int m[10][10]; int i,j,r,c; for (i=0;i<10;i++) { for (j=0;j<10;j++) { m[i][j]=0; } } printf("\n Enter size of row and colomn:"); scanf("%d %d",&r,&c); printf("\n Enter the two matrices: \n"); for (i=0;i<r;i++) { for (j=0;j<c;j++) { printf("Enter element %d %d of m1: ",(i+1),(j+1)); scanf("%d",&m[i][j]); } } printf("\n The matrix is: \n"); for (i=0;i<r;i++) { for (j=0;j<c;j++) { printf("%d ",m[i][j]); } printf("\n"); } printf("\n The transpose of the matrix is: \n"); for (i=0;i<r;i++) { for (j=0;j<c;j++) { printf("%d ",m[j][i]); } printf("\n"); } getch(); }