Explain sequence file and Random Access File?
546864
all files are sequential. modern operating system even has a diskdefrangmenter to store all the bytes of a file in a continuous manner its just makes file management more easy and provides quick file transfers.\n\nnow back to your question. i guess u actually wanted to ask that is the difference between opening files in sequence or Random Access MODES!\n\nits actually pretty simple the difference lies in just what operations are available in that particular mode. for eg. we have a credit card database  with approx 10 million entries and we want to get the details of the 50,000th card number we in sequence file mode would have to read 49,000 credit card numbers (((if they are in a sorted list, if not the harddisk would probably break down by the time we find the number))) before we get to our required record and finally read the information.\n\nnot a thing which a PC would be able to do day in and day out.\n\nbut if i know exactly how many bytes are in a normal entry record my tack and the disks to would be a lot easier. consider a record to be of 2KB (card no 8-bytes, name 8bytes, other details-rest of 2KB). now in order to get to the 50,000th record i can skip 49,000*2KB rather then reading them to get to the record i want. a more simple task for the disk and it saves time too. and ya for this u probably wanna use a sorted file\n\nthis much should help u out.....
462726
its for storing temporary files which needs to be loaded while u run any programs
914685
rar files are compressed archives, sort of like zip files. You can access and extract the contents with a product called winrar\ngo here to download.\nhttp://www.rarsoft.com/
1006176
Generating a Pseudo-Random Number Sequence\n\n#include <stdio.h>\n#include <stdlib.h>\n...\n    long count, i;\n    char *keystr;\n    int elementlen, len;\n    char c;\n...\n/* Initial random number generator. */\n    srand(1);\n\n    /* Create keys using only lowercase characters */\n    len = 0;\n    for (i=0; i<count; i++) {\n        while (len < elementlen) {\n            c = (char) (rand() % 128);\n            if (islower(c))\n                keystr[len++] = c;\n        }\n\n        keystr[len] = '&#92;0';\n        printf("%s Element%0*ld&#92;n", keystr, elementlen, i);\n        len = 0;\n    }\n\n\nGenerating the Same Sequence on Different Machines\n\nstatic unsigned long next = 1;\nint myrand(void)  /* RAND_MAX assumed to be 32767. */\n{\n    next = next * 1103515245 + 12345;\n    return((unsigned)(next/65536) % 32768);\n}\n\nvoid mysrand(unsigned seed)\n{\n    next = seed;\n}\n\n\nRATIONALE\n\nThe ISO C standard rand() and srand() functions allow per-process pseudo-random streams shared by all threads. Those two functions need not change, but there has to be mutual-exclusion that prevents interference between two threads concurrently accessing the random number generator.\n\nWith regard to rand(), there are two different behaviors that may be wanted in a multi-threaded program:\n\nA single per-process sequence of pseudo-random numbers that is shared by all threads that call rand()\n\nA different sequence of pseudo-random numbers for each thread that calls rand()\n\nThis is provided by the modified thread-safe function based on whether the seed value is global to the entire process or local to each thread.\n\nThis does not address the known deficiencies of the rand() function implementations, which have been approached by maintaining more state. In effect, this specifies new thread-safe forms of a deficient function.
222425
The UTL_FILE package can be used to perform read/write operations on text files. In Oracle9i it's functionality has been extended to include binary reads/write operations. In this article I will demonstrate how to use the UTL_FILE package to perform a simple data extract to a CSV file.\n\nIn Oracle8i the UTL_FILE.FOPEN procedure accepted an actual path for the location parameter. Access to the directory was restricted by the UTL_FILE_DIR parameter in the init.ora file. This gave a reduced level of control and required the server to be bounced before changes could take affect. This situation has been improved in Oracle9i where the path has been replaced by a directory object which points to the path. This makes alteration of the path possible without alterations to the code. In addition access control is granted via priviledges which gives a greater degree of control.
989689
pagefile.sys file is how Windows NT handles virtual memory using demand paging. It is essentially a way that the operating system can substitute space on the hard disk for actual RAM. \n\nRead here for more info:http://kb.iu.edu/data/acwa.html\n\nOR, if you aren't using Windows NT, it might be this: \n\npagefile.sys file is a unique file used by windows to hold temp data as part of the swapping process between physical and virtual memory. It's created during setup in the Root of the boot drive as a hidden file. So my question is Why are you trolling your hidden root directory?!\n\nI agree with the guy who says you should go to MS and search info on it...or google it.....but don't delete it!
904165
There is insufficient data for windows to open the files. Needs to know what program created the files. \n\nTeaser is just what it says, it is a tease. The other two are self explanatory. \n\nDarryl S.
1175312
It is something to do with Databases. See the link https://unebapps01.nebraska.edu/nulookhelp/download.nsf/31698D01FE88CAC2862568C80054711D/3BDECA02F688293186256A4700509E41?OpenDocument for some details. HOWEVER I strongly suggest you use some antivirus software or antispyware software to check for any troubles anyway.
662048
application/octet-stream is used by applications to signal that the file type in use is unknown. \n\nThis usually means a person has sent you a file, and you dont have the program installed to open it. \n\nLook at the extension of the file (is it *.exe, *.zip), then visit http://www.filext.com . Enter the file extension and it will tell you which program you need to install in order to view the file
172397
Nowadays with fast computers, we often take for granted the behind-the-scenes work.  However, data file structure and layout is very important when you are talking about large applications or data-intensive programs as even though I/O is fast, when you are reading hundreds of thousands of records it can add up to significant time if you chose the wrong format.\n\nFor example, a simple flat file structure is fine for a simple program that reads a couple hundred lines of data infrequently.  However, if you take something like an accounting program that may need to read large files and access records randomly then the end-user would not want to wait for the program to read sequentially (from beginning to end) the file every time looking for one record out of potentionally thousands. \n \nThe reason to use C... probably because it allows you write very efficient code and is as low-level you can get without using Assembly which most people find very hard to program in without years of experience.
276415
Its progressive jpg file.\n\nA simple or "baseline" JPEG file is stored as one top-to-bottom scan of the image.  Progressive JPEG divides the file into a series of scans.  The first scan shows the image at the equivalent of a very low quality setting, and\ntherefore it takes very little space.  Following scans gradually improve the quality.  Each scan adds to the data already provided, so that the total storage requirement is roughly the same as for a baseline JPEG image of the\nsame quality as the final scan.  (Basically, progressive JPEG is just a rearrangement of the same data into a more complicated order.)\n\nThe advantage of progressive JPEG is that if an image is being viewed on-the-fly as it is transmitted, one can see an approximation to the whole image very quickly, with gradual improvement of quality as one waits longer; this is much nicer than a slow top-to-bottom display of the image.  The disadvantage is that each scan takes about the same amount of computation to display as a whole baseline JPEG file would.  So progressive JPEG only makes sense if one has a decoder that's fast compared to the communication link. (If the data arrives quickly, a progressive-JPEG decoder can adapt by skipping some display passes.  Hence, those of you fortunate enough to have T1 or faster net links may not see any difference between progressive and\nregular JPEG; but on a modem-speed link, progressive JPEG is great.)
483034
In general, The system time is known for the best seed for Random no .If You want to add more then manipulate it by the memory used or available or some kind of technique .
1157621
it might be anything, try to just edit it with notepad. But I found this anyways:\n\nLIT files: binary executable files from the AMOS operating system. LIT files can be created with a Motorola 68000-compatible assembler or any COBOL/C/PASCAL/FORTRAN, etc. programs.
1101997
<SCRIPT>\nrnd.today=new Date();\nrnd.seed=rnd.today.getTime();\n\n    function rnd() {\n    rnd.seed = (rnd.seed*9301+49297) % 233280;\n    return rnd.seed/(233280.0);\n};\n\n\n    function rand(number) {\n    return Math.ceil(rnd()*number);\n};\n</SCRIPT>\n\nThis is alot more simple then using the IF statements. To create a random number between 1 and 10 use rand(10). To display an random image named banner1.gif to banner10.gif use: \n\n<SCRIPT LANGUAGE=JAVASCRIPT><!--\ndocument.write('<IMG SRC="banner' + rand(10) + '.gif" WIDTH="400" HEIGHT="40">');\n//--></SCRIPT>\n\nIf you have at least 10 or more banners... You shouldnt have a problem with dups. If it is essensial not to dup let me know and I'll update the code.
427851
such files are normally used by task manager. open it and u will find it.
370480
If you want to generate random numbers, almost every programming language I've ever come across has some function to generage the same sequence of random numbers every time. \nHope that helps.
908169
Random access memory is the amount of space you have to run your programs.