<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-365998221439545667</id><updated>2012-02-16T05:20:40.705-08:00</updated><category term='data structure'/><title type='text'>mr.arnaiz</title><subtitle type='html'>single fAh</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-3372896669670175775</id><published>2010-01-25T18:54:00.000-08:00</published><updated>2010-01-25T18:55:18.626-08:00</updated><title type='text'>The Last Statement</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CUserXP%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:409497826; 	mso-list-type:hybrid; 	mso-list-template-ids:-1037804102 67698693 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-.25in; 	font-family:Wingdings;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Removing menu items using the API wrapper functions&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Using the API wrapper functions, you can literally remove items from a menu bar. You can disable a menu by using SetMenuItem macro or VBA method, but there are occasions when you just do not want the menu item to appear. The API is the only way to remove a menu item.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;After you remove a menu item, you still can execute that menu item by using the DoMenuItem macro or VBA method. You cannot however, use the SendKeys to access a menu item. You should avoid using SendKeys to acess menu items anyway, because your code will be very difficult to follow. Also avoid using the function or macro that perform the menu item.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;To remove a menu item, call the wrapper function RemoveMenuItem.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You need to pass only two parameters to the function, the 0-based index of the pull-down menu and the 0-based index of the menu item to remove. These are identical to the parameters used for the SetMenuItem method. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you want to insert the removed menu item later, you need to know not only the indexes of the menu item, but also the menu item text and submenu handle or ActionID. If the menu you remove opens a submenu, you will need the handle or pointer of the submenu. If the menu item does not open a menu, you must know the ActionID that Access needs to know what to perform when the menu item is selected.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;When you see the wrapper function RemoveMenuItem to remove a menu item, the menu text and ActionID/submenu handle are stored in two global variables:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;The menu text is stored in the variable szMenuText.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;!--[if !supportLists]--&gt;&lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;§&lt;span style="font: 7pt &amp;quot;Times New Roman&amp;quot;;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;!--[endif]--&gt;The ActionID or submenu handle are stored in LMenuID.&lt;/p&gt;&lt;p class="MsoNormal" style="margin-left: 1in; text-indent: -0.25in;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You want to copy these to your own variables because the global variable values are overwritten with new values each time you remove a menu item.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;Inserting menu item using API wrapper functions&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You can insert a menu item by using the Windows API, just as you can remove&lt;span style=""&gt;  &lt;/span&gt;menu item. You can insert any new menu item, however, because a menu item needs a valid ActionID, you should insert only removed menu items. If you insert a menu item without a valid ActionID, the menu item appears but will not perform any function when selected.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The first two parameters are just like RemoveMenuItem. They are respectively, the index of the pull-down menu and the menu item itself. In addition to the positional indexes, you must also supply the text to display for the menu item, as well as the ActionID or submenu handle. If you move these values to your own variables when you removed a menu item, you simply need to pass them to the InsertMenuItem function.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you will be removing many menu items, you should create an array to hold the text and ActionID/submenu information of the removed item.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You can reinsert a menu in a different location on the same pull-down after removing the menu. However, if you insert the menu on a different pull-down menu, when the user selects the menu item your application will encounter a running error and stop. Also, if you change the text of the menu item when you insert it a runtime error will be triggered when the menu item is selected. If you &lt;span style=""&gt; &lt;/span&gt;do not insert the menu with a valid ActionID, the menu item appears but will not perform any function when selected.&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;If you change the text of a menu item, Access return an error when you select the item Access uses the text of the menu item as a reference to the name of the macro that the item executes. If you need to change a menu item’s text, you should create two menu items in your menu macro ─ one for each state of the text. Remove one of the menu items when the form is loaded, when the text needs to be changed, simply remove and insert the desired menu items.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-3372896669670175775?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/3372896669670175775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=3372896669670175775' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/3372896669670175775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/3372896669670175775'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2010/01/last-statement.html' title='The Last Statement'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-7226441612471893754</id><published>2009-12-10T01:48:00.000-08:00</published><updated>2009-12-10T01:55:53.496-08:00</updated><title type='text'>ASSIGN_02 Current Trends</title><content type='html'>&lt;div style="color: rgb(51, 255, 51);" class="readarticle_articletitle"&gt;         &lt;span id="ctl00_ContentPlaceHolder1_ArticleTitle"&gt;Security as an Afterthought&lt;/span&gt;&lt;/div&gt;                                                                     &lt;span style="color: rgb(51, 255, 51);" class="readarticlestories_articleauthors"&gt;By                                              &lt;a id="ctl00_ContentPlaceHolder1_rptAuthors_ctl01_Author" href="http://www.dbta.com/Authors/AuthorDetails.aspx?AuthorID=3536"&gt;Kevin Kline&lt;/a&gt;                         -&lt;/span&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;                                Posted Nov 11, 2009&lt;/span&gt;&lt;a id="ctl00_ContentPlaceHolder1_ArticleIssue" href="http://www.dbta.com/Newsletters/DBTA%20E-Edition/1694-November-2009.htm" style="white-space: nowrap; color: rgb(51, 255, 51);"&gt; - November 2009 Issue&lt;/a&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;If you've read the IT press at all these days, you know that SQL Injection (SI) attacks are very common and can be devastatingly effective. In fact, SI attacks-equally easy to execute against Oracle, MySQL, IBM DB2, or Microsoft SQL Server-are among the most common hacks on the Internet today. If a web application runs a relational database on the backend, it can be subject to an SI attack, which ironically, is among the easiest web hacks to prevent.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;While plenty of SI attacks hit SQL Server database, Microsoft has done much to strengthen and reinforce SQL Server's attackable surface area. In fact, in the last couple releases, SQL Server has had fewer security holes and critical flaws than the other leading database platforms. After the SQL Slammer virus of the early 2000s, SQL Server made security a huge aspect of its feature set, and, as a database, is ahead of the pack in terms of security features. It is SQL Server &lt;em&gt;users&lt;/em&gt;- its DBAs, developers, and IT managers-who bear the blame for security hacks that succeed against their systems.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;So what is SI?  An analogy might explain the ease of defending against an SI attack better than a full technical description (For a technical description, visit http://en.wikipedia.org/wiki/Sql_injection). Imagine you're driving home from work and see all the doors and windows open at a neighbor's house. You peek out the window as you lock up for bed that night. All their doors and windows are still wide open. You get ready to leave for work the next morning and see your neighbor driving away with all the doors and windows &lt;em&gt;completely open&lt;/em&gt;.  A few days later, the house is burglarized. Well, no wonder!  They never even shut the door, let alone lock it. They'd probably be safe and secure today if they'd taken that simplest of steps.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;SI is practically the same situation. All it takes to prevent SI is to ensure your web applications test for allowable values in their input fields, and send their own error messages, rather than the default. SI is ridiculously easy to prevent, and if I managed a team where this happened, I'd fire the responsible parties, on both the development and administration teams.  We know as much about preventing SI attacks today as we did the very first time they occurred. If it happens to you-just like a burglary in a house where the doors are never shut-you must blame yourself, not the locks on the doors.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;Microsoft has implemented many new and improved security features in the wake of the SQL Slammer virus. Their entire development process for SQL Server includes rigorous security checks. When SQL Server is installed today, most security holes and surface areas have been closed off by default, requiring the DBA to consciously open them up after installation.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;There also are a few best practices to keep in mind. First, as with disaster recovery, you should plan for the inevitable attack ahead of time. To prevent security breaches, ensure that applications and services run with the least possible privileges. Monitor login activity and raise an alarm when too many failed logins occur within a certain time period. Make sure applications run under their own account, not SA, and that guest accounts and the public role are dropped or not available. Finally, disable any system and extended stored procedures on your SQL Servers that aren't explicitly needed to support production operations.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 255, 51);"&gt;&lt;span style="font-size:130%;"&gt;&lt;span id="ctl00_ContentPlaceHolder1_ArticleTitle"&gt;Brasher’s Auto Auction Group Makes Bid for New Database Technology&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(51, 255, 51);"&gt;&lt;span style="font-size:130%;"&gt;&lt;span class="readarticlestories_articleauthors"&gt;By                                              &lt;a id="ctl00_ContentPlaceHolder1_rptAuthors_ctl01_Author" href="http://www.dbta.com/Authors/AuthorDetails.aspx?AuthorID=3717"&gt;Joyce Wells&lt;/a&gt;                         -&lt;/span&gt;                                Posted Nov 11, 2009&lt;a id="ctl00_ContentPlaceHolder1_ArticleIssue" href="http://www.dbta.com/Newsletters/DBTA%20E-Edition/1694-November-2009.htm" style="white-space: nowrap;"&gt; - November 2009 Issue&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;A modern architecture, system stability and strong behind-the-scenes support are key attributes to consider when evaluating new database technology.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;The Brasher's Auto Auction group is among the oldest auto auction companies in the country, serving major markets throughout the western U.S. Brasher's remarkets vehicles for auto dealers, manufacturers, rental car companies, banks, finance and leasing institutions, and offers a full range of services, including reconditioning, inspections, transportation and inventory financing, and operates auto auction facilities in Salt Lake City, Utah; Reno, Nev.; Sacramento, Calif.; Eugene, Or.; Portland, Or.; and Boise, Idaho. &lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;Generating in excess of $1.5 billion in vehicle sales annually and employing roughly 1,200 people, Brasher's is also a technology innovator. Brasher's was among the first auctions in the industry to implement a computerized auction management system, and Brasher's was also one of the first auctions to offer vehicles on the internet in the late 1990s. With two partner auctions, Brasher's founded the Auction Pipeline, which is now a premier online sales channel for independent auctions in the U.S.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;In December 2008, Brasher's initiated a phased roll-out of its enterprise applications on the InterSystems CACHÉ high-performance database with MultiValue technology, concluding the implementation in January 2009. In all, the migration involved more than 8,000 programs and cataloged procedures ranging from accounting applications through real-time bid processing systems in auction venues. In going live with CACHÉ at each location, says Ty Brewer, Brasher's CIO, "our goal was for people to go home on a Friday and come back on a Monday and not notice anything different, other than things being faster. By and large, that's exactly what happened."&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;After deciding to move from its existing vendor, Brasher's initial evaluation of its database technology options began in December 2007, Brewer explains. &lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;Brewer and other members of his team made a spreadsheet outlining the different feature sets of alternative products they wanted to evaluate and ranked each of those feature sets by relevance to their operation.  They sought a stable platform which Brasher's could rely on as it continues to grow. Among other considerations was Brasher's use of PROC, a MultiValue procedural language, for its menuing system.  "We didn't want to have to rewrite a lot of existing PROC code," explains Brewer. The company also wanted the ability to do phased migration across its six locations in order to have a safer implementation.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;After considering its choices, Brasher's opted for CACHÉ because it best fit his company's needs, Brewer explains. "We just went through in a very calculated approach, looking at the positives and negatives of the different vendors that were out there. By far and away, this product of InterSystems' - CACHÉ - stood out as being our best move," he says. A leading database in enabling transactional systems, CACHÉ enables rapid web application development, high transaction processing speed, scalability and real-time queries against transactional data.&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;"The overarching and most compelling reason was the more modern architecture. The way they take MV and tie it into an object-oriented model is really phenomenal and it greatly expanded our toolset and how we can get at our data," Brewer notes. "We did a lot of benchmarking on the different platforms and in most every case, the InterSystems product performed orders of magnitude better. The toolset they provide is very rich. They have a lot of tools that enable commonly performed operations to be done very easily, the web service consumption and creation is fantastic, and we are able to develop code a lot quicker with their environment." Moreover, he adds, due to CACHÉ's powerful debugger, the move has enabled the Brasher's team to find bugs that Brewer is convinced they would not have been able to locate otherwise. "We have cleaned up several issues that have plagued our system for some time, and we have been able to improve our overall system stability just from being able to better clean up our code."&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;With the decision made by the early spring of 2008 to go with CACHÉ, the team opted to go to the annual InterSystems developer conference, which turned out, according to Brewer, to be another major selling point. "Just the community of developers and the general culture was very favorable and very cutting edge. It was a contrast to what we would see at other MV conferences."&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;Reflecting on the move now, Brewer says he has no changer's remorse. "The biggest concern was system stability. It has been a major issue that we have wanted to ensure and our system stability now is many times better than it was previously." Another improvement, he notes, is that Brasher's backup windows before the migration used to take the company offline at night. "We were forced off of our system for several hours at each location previously and with the backup procedures that CACHÉ provides, with journaling and some different things, it allows for us to really minimize that window of time where we need to have people off of the system. And frankly, now, for backups, they don't have to anymore. We just have a few processes where it might require a few minutes a day now where we are offline."&lt;/p&gt;&lt;p style="color: rgb(102, 255, 255);"&gt;And, Brewer adds, a final added benefit of the move to CACHÉ has been that the support has been "world-class." If there is a problem, he says, InterSystems is on it. "We set the priority. If we say something is a ‘crisis priority,' they have people that work on it 24/7. We have witnessed that and we have absolutely no complaint whatsoever about their support. We would recommend them with no reservations."&lt;/p&gt;                       &lt;!-- begin doubleclick text ad module --&gt; &lt;!-- PUT THIS TAG IN DESIRED LOCATION OF SLOT DBTA-TextAds --&gt; &lt;p style="color: rgb(102, 255, 255);"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-7226441612471893754?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/7226441612471893754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=7226441612471893754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/7226441612471893754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/7226441612471893754'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/12/assign02-current-trends.html' title='ASSIGN_02 Current Trends'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-4337811502048403522</id><published>2009-11-18T21:38:00.000-08:00</published><updated>2009-11-18T21:52:51.855-08:00</updated><title type='text'>ASSIGN_01</title><content type='html'>&lt;span style="color: rgb(51, 255, 51);"&gt;1. &lt;span style="color: rgb(102, 255, 255);"&gt;Hierarchical V.S. Relational&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;     * A &lt;/span&gt;&lt;b style="color: rgb(255, 204, 0);"&gt;hierarchy&lt;/b&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; (&lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Greek_language" title="Greek language"&gt;Greek&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;: &lt;i&gt;hierarchia&lt;/i&gt; (&lt;span lang="grc" lang="grc"&gt;ἱεραρχία&lt;/span&gt;), from &lt;i&gt;hierarches&lt;/i&gt;, "leader of sacred rites")&lt;/span&gt;&lt;sup style="color: rgb(51, 255, 51);" id="cite_ref-0" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Hierarchy#cite_note-0"&gt;&lt;span&gt;[&lt;/span&gt;1&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; is an arrangement of items (objects, names, values, categories, etc.) in which the items are represented as being "above," "below," or "at the same level as" one another and with only one "neighbor" above and below each level. These classifications are made with regard to &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Ranking" title="Ranking"&gt;rank&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;, &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Importance" title="Importance"&gt;importance&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;, &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wiktionary.org/wiki/seniority" class="extiw" title="wikt:seniority"&gt;seniority&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;, &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Power_%28philosophy%29" title="Power (philosophy)"&gt;power&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; status or &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Authority" title="Authority"&gt;authority&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;.&lt;/span&gt;&lt;sup style="color: rgb(51, 255, 51);" id="cite_ref-1" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Hierarchy#cite_note-1"&gt;&lt;span&gt;[&lt;/span&gt;2&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;sup style="color: rgb(51, 255, 51);" id="cite_ref-2" class="reference"&gt;&lt;a href="http://en.wikipedia.org/wiki/Hierarchy#cite_note-2"&gt;&lt;span&gt;[&lt;/span&gt;3&lt;span&gt;]&lt;/span&gt;&lt;/a&gt;&lt;/sup&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; A hierarchy of power is called a &lt;/span&gt;&lt;b style="color: rgb(51, 255, 51);"&gt;power structure&lt;/b&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;. Abstractly, a hierarchy is simply an &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Order_theory" title="Order theory"&gt;ordered set&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; or an &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Cycle_graph" title="Cycle graph"&gt;acyclic&lt;/a&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; &lt;/span&gt;&lt;a style="color: rgb(51, 255, 51);" href="http://en.wikipedia.org/wiki/Graph_%28mathematics%29" title="Graph (mathematics)"&gt;graph.&lt;/a&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;     * A &lt;/span&gt;&lt;b style="color: rgb(51, 255, 51);"&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;relational&lt;/span&gt; &lt;a href="http://en.wikipedia.org/wiki/Database" title="Database"&gt;database&lt;/a&gt;&lt;/b&gt;&lt;span style="color: rgb(51, 255, 51);"&gt; matches data by using common characteristics found within the data set. The resulting groups of data are organized and are much easier for people to understand.&lt;/span&gt; &lt;p style="color: rgb(51, 255, 51);"&gt;For example, a data set containing all the real-estate transactions in a town can be grouped by the year the transaction occurred; or it can be grouped by the sale price of the transaction; or it can be grouped by the buyer's last name; and so on.&lt;/p&gt; &lt;p style="color: rgb(51, 255, 51);"&gt;Such a grouping uses the &lt;a href="http://en.wikipedia.org/wiki/Relational_model" title="Relational model"&gt;relational model&lt;/a&gt; (a technical term for this is &lt;a href="http://en.wikipedia.org/wiki/Logical_schema" title="Logical schema"&gt;schema&lt;/a&gt;). Hence, such a database is called a "relational database."&lt;/p&gt; &lt;p style="color: rgb(51, 255, 51);"&gt;The software used to do this grouping is called a &lt;a href="http://en.wikipedia.org/wiki/Relational_database_management_system" title="Relational database management system"&gt;relational database management system&lt;/a&gt;. The term "relational database" often refers to this type of software.&lt;/p&gt; &lt;p style="color: rgb(51, 255, 51);"&gt;Relational databases are currently the predominant choice in storing financial records, manufacturing and logistical information, personnel data and much more.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-4337811502048403522?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/4337811502048403522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=4337811502048403522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/4337811502048403522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/4337811502048403522'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/11/assign01.html' title='ASSIGN_01'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-608903459934505760</id><published>2009-08-16T03:07:00.003-07:00</published><updated>2009-08-16T04:14:22.743-07:00</updated><title type='text'>My_Idea_Is</title><content type='html'>&lt;span style="color: rgb(0, 204, 204);"&gt;A.&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);"&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;Discuss what you have learned and understood about what Relational DBMS is, so far.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;* Database is a program that lets you input and manage data.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;When you store data to your computer, the DBMS then will play its role. It will make a data structure to your data you just enter. Every data you stored to your computer has there own respective structure. After having the structure, the DBMS then will place your data with its structure to a container which is called as database. In database, all your data are well arranged and managed.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 204, 255);"&gt;B.&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;Define how each of the following fit and function within the framework of relational DBMS systems:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;1. Key Fields&lt;/span&gt; - keys that are used in database.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                - is a field or set of fields of a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Database" title="Database"&gt;database&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; (typically a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Relational_database" title="Relational database"&gt;relational database&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;) table which together form a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Unique_identifier" title="Unique identifier"&gt;unique identifier&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; for a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Database_record" title="Database record" class="mw-redirect"&gt;database record&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; (a table entry). The aggregate of these fields is usually referred to simply as "the key". Key fields also define searches.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;2. Database Records &lt;/span&gt;- are data stored in database.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                                - also called a &lt;/span&gt;&lt;b style="color: rgb(255, 204, 102);"&gt;record&lt;/b&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; or &lt;/span&gt;&lt;b style="color: rgb(255, 204, 102);"&gt;&lt;a href="http://en.wikipedia.org/wiki/Tuple" title="Tuple"&gt;tuple&lt;/a&gt;&lt;/b&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;—represents a single, implicitly structured &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Data" title="Data"&gt;data&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; item in a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Table_%28database%29" title="Table (database)"&gt;table&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;. In simple terms, a database table can be thought of as consisting of &lt;/span&gt;&lt;i style="color: rgb(255, 204, 102);"&gt;rows&lt;/i&gt; and &lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Column_%28database%29" title="Column (database)"&gt;columns&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; or fields. Each row in a table represents a set of related data, and every row in the table has the same structure.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;3. Data Queries &lt;/span&gt;- used to show data in many different ways.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                    - is a form of &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Question" title="Question"&gt;questioning&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;, in a line of inquiry.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;4. Data Types&lt;/span&gt; - are data that the DBMS can handle.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                - (or &lt;/span&gt;&lt;b style="color: rgb(255, 204, 102);"&gt;datatype&lt;/b&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;) in &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Programming_languages" title="Programming languages" class="mw-redirect"&gt;programming languages&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; is a set of values and the operations on those values.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;5. Data Forms&lt;/span&gt; - used to show data through user-friendly interface.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                 - are applicable to individual tables; to say that an entire database is in normal form &lt;/span&gt;&lt;i style="color: rgb(255, 204, 102);"&gt;n&lt;/i&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; is to say that all of its tables are in normal form &lt;/span&gt;&lt;i style="color: rgb(255, 204, 102);"&gt;n&lt;/i&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;6. Tables/database files &lt;/span&gt;- used to input and manage data.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                                        - is a set of data elements (values) that is organized using a model of vertical &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Column_%28database%29" title="Column (database)"&gt;columns&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; (which are identified by their name) and horizontal &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Row_%28database%29" title="Row (database)"&gt;rows&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;. A table has a specified number of columns, but can have any number of rows. Each row is identified by the values appearing in a particular column subset which has been identified as a &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Candidate_key" title="Candidate key"&gt;candidate key&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;.&lt;/span&gt; &lt;p style="color: rgb(255, 204, 102);"&gt;Table is another term for &lt;a href="http://en.wikipedia.org/wiki/Relational_model" title="Relational model"&gt;relations&lt;/a&gt;; although there is the difference in that a table is usually a multi-set (bag) of rows whereas a relation is a set and does not allow duplicates. Besides the actual data rows, tables generally have associated with them some &lt;a href="http://en.wikipedia.org/wiki/Metadata" title="Metadata"&gt;meta-information&lt;/a&gt;, such as &lt;a href="http://en.wikipedia.org/wiki/Check_Constraint" title="Check Constraint"&gt;constraints&lt;/a&gt; on the table or on the values within particular columns.&lt;/p&gt; &lt;p style="color: rgb(255, 204, 102);"&gt;The data in a table does not have to be physically stored in the database. &lt;a href="http://en.wikipedia.org/wiki/View_%28database%29" title="View (database)"&gt;Views&lt;/a&gt; are also relational tables, but their data are calculated at query time. Another example are nicknames, which represent a pointer to a table in another database.&lt;/p&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;7. Relationships (Table Linkage) &lt;/span&gt;- used to show data form one table to another through linking.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;                                                                             - is based on the &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/Relational_model" title="Relational model"&gt;relational model&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt; as introduced by &lt;/span&gt;&lt;a style="color: rgb(255, 204, 102);" href="http://en.wikipedia.org/wiki/E._F._Codd" title="E. F. Codd" class="mw-redirect"&gt;E. F. Codd&lt;/a&gt;&lt;span style="color: rgb(255, 204, 102);"&gt;. Most popular commercial and open source databases currently in use are based on the relational model.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-608903459934505760?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/608903459934505760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=608903459934505760' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/608903459934505760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/608903459934505760'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/08/myideais_16.html' title='My_Idea_Is'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-4022033948714414118</id><published>2009-08-16T03:07:00.001-07:00</published><updated>2009-08-16T03:07:44.367-07:00</updated><title type='text'>My_Idea_Is</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-4022033948714414118?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/4022033948714414118/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=4022033948714414118' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/4022033948714414118'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/4022033948714414118'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/08/myideais.html' title='My_Idea_Is'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-1878085005969374311</id><published>2009-07-04T01:04:00.000-07:00</published><updated>2009-07-04T01:12:03.265-07:00</updated><title type='text'>MY_ASSIGNMNT</title><content type='html'>&lt;span style="color: rgb(51, 255, 51);"&gt;A. What are data types?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 51);"&gt;A data type in a programming language is a set of data with values having predefined characteristics. Examples of data types are: integer, floating point unit number, character, string, and pointer. Usually, a limited number of such data types come built into a language. The language usually specifies the range of values for a given data type, how the values are processed by the computer, and how they are stored.With object-oriented programming, a programmer can create new data types to meet application needs. Such an exercise as known as "data abstraction" and the result is a new class of data. Such a class can draw upon the "built-in" data types such as number integers and characters. For example, a class could be created that would abstract the characteristics of a purchase order. The purchase order data type would contain the more basic data types of numbers and characters and could also include other object defined by another class. The purchase order data type would have all of the inherent services that a programming language provided to its built-in data types.Languages that leave little room for programmers to define their own data types are said to be strongly-typed languages.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;B. What role do they play in a database?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 51);"&gt;Data Types -- The Easiest Part of Database DesignDatabase design can be very complicated, and it truly is an art as opposed to a science; sometimes there are multiple correct ways to model the same data with pros and cons to each. I can understand that normalization can be tricky to comprehend and to implement, and that concepts like stored procedures and foreign keys and even indexes and constraints can take time to grasp.But -- what about Data Types? They are so basic, so simple, so fundamental; not only for database design, but for any sort of programming in general ... what excuse is there for not using correct data types for the columns in a table design?I see it time and time again in the SQLTeam forums -- "dates" that don't sort properly, "numbers" that don't add correctly, "boolean" columns containing 10 different values, invalid entries that somehow show up in "date" columns, and so on ... Of course, since we are rarely provided any DDL to review, it often takes dozens of posts going back and forth until we finally realize: "wait ... you aren't using a datetime data type to store these dates??? Arggh!!"In short, even a poorly designed database, with one giant "master" table with no normalization or logic anywhere in sight, should still at least use a Money data type to store currency values!Perhaps the confusion comes from Excel users, where data types are handled behind the scenes ... or maybe "old school" VB programmers used to using variant data types (or worse -- undeclared variables!) to store values... But when you design a table in any database, you are always explicitly stating the data types of the columns -- there's nothing hidden, or no option to ignore them. You must declare a data type when creating a column, so how can anyone justify using VARCHAR to store a date?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;C. Enumerate 3 data types of DBMS and explain.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 204, 51);"&gt;1. Fixed-length textThe char data type is used to store fixed-length text with up to 255 characters. Specifying the number of characters to store limits how big the column will be. Text values retrieved from a char column are padded with spaces, if necessary, to the size of the column. The char data type is not available from the Access designer.The following statement creates a table with a 10-character text column and a 255-character text column, both with Unicode compression:CREATE TABLE T1 (c1 char(10) WITH compression, c2 char WITH compression)2. Variable-length textThe varchar data type is used to store variable-length text with up to 255 characters.Text values retrieved from a varchar column are trimmed of any trailing spaces.The following statement creates a table with a 10-character text column and a 255-character text column, both with Unicode compression:CREATE TABLE T2 (c1 varchar(10) WITH compression, c2 varchar WITH compression)3. Text BLOBThe longchar data type is used to store variable-length text with an unspecified number of characters, limited only by the maximum size of JET database files (2 GB – about 1 billion uncompressed Unicode characters).Some software libraries are able to handle longchar columns as basic text columns, but others must use BLOB techniques for accessing their data. In particular, the ADO components so often used in Visual Basic, VBA and ASP applications can access longchar columns as basic text when using the JET 4.0 OLE-DB provider to access the database, but must use BLOB handling routines (GetChunk / AppendChunk) when using an ODBC connection.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-1878085005969374311?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/1878085005969374311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=1878085005969374311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1878085005969374311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1878085005969374311'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/07/myassignmnt.html' title='MY_ASSIGNMNT'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-807210705106260502</id><published>2009-06-26T04:23:00.000-07:00</published><updated>2009-06-26T04:29:04.739-07:00</updated><title type='text'>MV v.s. DataF</title><content type='html'>&lt;div style="color: rgb(51, 255, 51);" align="left"&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;Characteristics of Memory Variable:&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div style="color: rgb(255, 204, 102);" align="left"&gt;&lt;span style="font-size: 130%;"&gt;&lt;strong&gt;*&lt;/strong&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size: 100%;"&gt; &lt;strong&gt;Memory variable files are a way to store the status of memory variables that are currently stored in memory and use them later in the same program or in another session of FoxPro.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(255, 204, 102);" align="left"&gt;&lt;strong&gt;          &lt;/strong&gt;&lt;span style="font-family: georgia;"&gt;&lt;strong&gt;  &lt;/strong&gt;&lt;strong&gt;The memory location holds values- perhaps numbers or text or more complicated types of data like a payroll record. Operating Systems load programs into different parts of RAM so there is no way of knowing exactly which memory location will hold a particular variable before the program is run. By giving a variable a symbolic name like "employee_payroll_id" the compiler or interpreter can always work out where to store the variable in memory.&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div style="color: rgb(51, 255, 51);" align="left"&gt;&lt;span style="font-family: georgia;"&gt;&lt;strong&gt;&lt;span style="font-size: 130%;"&gt;Characteristics of Data Field:&lt;/span&gt;&lt;/strong&gt;   &lt;/span&gt;&lt;/div&gt;&lt;div style="color: rgb(255, 204, 102);" align="left"&gt;* &lt;strong&gt;A data field is the smallest subdivision of the stored data that can be accessed. A data field can be used to store numerical information such as price, count or a date or time, or even a data and time. A pair of data fields can be used in combination to hold a geo-spatial coordinate. Also, a data field can be used to hold a block of text. A data field takes up permanent storage within the data-store. The field may contain data to be entered as well as data to be displayed.&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-807210705106260502?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/807210705106260502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=807210705106260502' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/807210705106260502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/807210705106260502'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/06/mv-vs-dataf.html' title='MV v.s. DataF'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-1159653155946137949</id><published>2009-06-20T22:41:00.000-07:00</published><updated>2009-06-20T22:55:55.415-07:00</updated><title type='text'>TERM CONTRAST</title><content type='html'>&lt;span style="color: rgb(51, 255, 51);font-size:100%;" &gt;&lt;span style="color: rgb(255, 102, 0);"&gt;1. Differentiate information V.S. data.&lt;/span&gt;&lt;br /&gt;* Information - collected facts &amp;amp; data about a specific subjects.&lt;br /&gt;* Data - information, often in the form of facts / figures obtained from experiments / surveys, used as a basis for making calculations / drawing conclusions.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;2. Differentiate data storage V.S. computer storage.&lt;/span&gt;&lt;br /&gt;* Data storage - (information storage &amp;amp; retrieval) is a term used to describe the organization, storage, location and retrieval of encoded information in computer systems.&lt;br /&gt;* Computer storage - any physical device in / on which computer iformation can be kept.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;3. Differentiate operating system V.S. computer system.&lt;/span&gt;&lt;br /&gt;* Operating system - the basic software that controls a computer.&lt;br /&gt;* Computer system - a system of one or more computers and associated software with common storage.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-1159653155946137949?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/1159653155946137949/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=1159653155946137949' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1159653155946137949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1159653155946137949'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/06/term-contrast.html' title='TERM CONTRAST'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-6248303193526327857</id><published>2009-03-07T23:46:00.000-08:00</published><updated>2009-03-07T23:56:41.381-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data structure'/><title type='text'>SORT</title><content type='html'>&lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;What is Data Structure?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1. For me, &lt;span style="font-weight:bold;"&gt;data structure&lt;/span&gt; is the study in relation to computer science or world, on how computer store or keep data from hard copy to soft copy. Also, how to gather data from the computer and bring it in real world to make it useful. There are many ways on how to store data in a computer just like using stalks, queues, arrays, lists and trees. These are examples of data structure. Each of these data structure has there unique steps in storing data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. A means of storing a collection of data. Computer science is in part the study of methods for effectively using a computer to solve problems, or in other words, determining exactly the problem to be solved. This process entails (1) gaining an understanding of the problem; (2) translating vague descriptions, goals, and contradictory requests, and often-unstated desires, into a precisely formulated conceptual solution; and (3) implementing the solution with a computer program. This solution typically consists of two parts: algorithms and data structures.&lt;br /&gt;&lt;br /&gt;Source: Sci-Tech Encyclopedia&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. The physical layout of data. Data fields, memo fields, fixed length fields, variable length fields, records, word processing documents, spreadsheets, data files, database files and indexes are all examples of &lt;span style="font-weight:bold;"&gt;data structures.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Source: Computer Desktop Encyclopedia&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Way in which data are stored for efficient search and retrieval. The simplest data structure is the one-dimensional (linear) array, in which stored elements are numbered with consecutive integers and these numbers access contents. Data items stored nonconsecutively in memory may be linked by pointers (memory addresses stored with items to indicate where the "next" item or items in the structure are located). Many algorithms have been developed for sorting data efficiently; these apply to structures residing in main memory and also to structures that constitute information systems and databases.&lt;br /&gt;&lt;br /&gt;Source: Britannica Concise Encyclopedia&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5. A &lt;span style="font-weight:bold;"&gt;data structure&lt;/span&gt; in computer science is a way of storing data in a computer so that it can be used efficiently. It is an organization of mathematical and logical concepts of data. Often a carefully chosen data structure will allow the most efficient algorithm to be used. The choice of the data structure often begins from the choice of an abstract data type. A well-designed data structure allows a variety of critical operations to be performed, using as few resources, both execution time and memory space, as possible. Data structures are implemented by a programming language as data types and the references and operations they provide.&lt;br /&gt;&lt;br /&gt;Source: Wikipedia&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. A data structure is a specialized format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on. Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways. In computer programming, a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.&lt;br /&gt;&lt;br /&gt;Source: SQLServer.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7. A data structure is a way of organizing data that considers not only the items stored, but also their relationship to each other. Advance knowledge about the relationship between data items allows designing of efficient algorithms for the manipulation of data.&lt;br /&gt;&lt;br /&gt;Source: www.geocities.com/hemanthb2010/datastructure.doc&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. A data structure in computer science is a way of storing data in a computer so that it can be used efficiently. It is an organization of mathematical and logical concepts of data.&lt;br /&gt;&lt;br /&gt;Source: commons.wikimedia.org&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;9. A data structure in computer science is a way of storing data in a computer so that it can be used efficiently. It is an organization of mathematical and logical concepts of data. Often a carefully chosen data structure will allow the most efficient algorithm to be used. The choice of the data structure often begins from the choice of an abstract data type. A well-designed data structure allows a variety of critical operations to be performed, using as few resources, both execution time and memory space, as possible. Data structures are implemented by a programming language as data types and the references and operations they provide.&lt;br /&gt;&lt;br /&gt;Source: Wikipedia&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10. Data structures are containers that contain objects of data types. There are several common data structures, and each has its own behaviour and application. Common data structures are: arrays of one or more dimensions, stacks, linked lists (singly and doubly linked), queues, and trees (balanced, binary, and so on). There are others. Understanding data structures helps the student understand most of them, how they behave, and when to use which of them.&lt;br /&gt;&lt;br /&gt;Source: http://www.cdacmumbai.in/index.php/cdacmumbai/education/fpgdst/fpgdst_topics_concepts&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;TYPES OF DATA STRUCTURES:&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;a. &lt;span style="font-weight:bold;"&gt;HASH TREE&lt;/span&gt; - In cryptography and computer science Hash trees or Merkle trees are a type of data structure which contains a tree of summary information about a larger piece of data – for instance a file – used to verify its contents. Hash trees are an extension of hash lists, which in turn is an extension of hashing. Hash trees where the underlying hash function is Tiger are often called Tiger trees or Tiger tree hashes.&lt;br /&gt;&lt;br /&gt;How does it work? :&lt;br /&gt;&lt;br /&gt;* A &lt;span style="font-weight:bold;"&gt;hash tree&lt;/span&gt; is a tree of hashes in which the leaves are hashes of data blocks in, for instance, a file or set of files. Nodes further up in the tree are the hashes of their respective children. Most hash tree implementations are binary (two child nodes under each node) but they can just as well use many more child nodes under each node.&lt;br /&gt;Usually, a cryptographic hash function such as SHA-1, Whirlpool, or Tiger is used for the hashing. If the hash tree only needs to protect against unintentional damage, the much less secure checksums such as CRCs can be used.&lt;br /&gt;In the top of a hash tree there is a top hash (or root hash or master hash). Before downloading a file on a p2p network, in most cases the top hash is acquired from a trusted source, for instance a friend or a web site that is known to have good recommendations of files to download. When the top hash is available, the hash tree can be received from any non-trusted source, like any peer in the p2p network. Then, the received hash tree is checked against the trusted top hash, and if the hash tree is damaged or fake, another hash tree from another source will be tried until the program finds one that matches the top hash.&lt;br /&gt;The main difference from a hash list is that one branch of the hash tree can be downloaded at a time and the integrity of each branch can be checked immediately, even though the whole tree is not available yet. This can be an advantage since it is efficient to split files up in very small data blocks so that only small blocks have to be redownloaded if they get damaged. If the hashed file is very big, such a hash tree or hash list becomes fairly big. But if it is a tree, one small branch can be downloaded quickly, the integrity of the branch can be checked, and then the downloading of data blocks can start.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;b. An &lt;span style="font-weight:bold;"&gt;AVL tree&lt;/span&gt; is a self-balancing binary search tree, and it is the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; therefore, it is also said to be height-balanced. Lookup, insertion, and deletion all take O(log n) time in both the average and worst cases, where n is the number of nodes in the tree prior to the operation. Insertions and deletions may require the tree to be rebalanced by one or more tree rotations.&lt;br /&gt;&lt;br /&gt;How does it work? :&lt;br /&gt;&lt;br /&gt;The basic operations of an &lt;span style="font-weight:bold;"&gt;AVL tree&lt;/span&gt; generally involve carrying out the same actions as would be carried out on an unbalanced binary search tree, but preceded or followed by one or more operations called tree rotations, which help to restore the height balance of the subtrees.&lt;br /&gt;Pictorial description of how rotations cause rebalancing tree, and then retracing one's steps toward the root updating the balance factor of the nodes. If the balance factor becomes -1, 0, or 1 then the tree is still in AVL form, and no rotations are necessary. If the balance factor becomes 2 or -2 then the tree rooted at this node is unbalanced, and a tree rotation is needed. At most a single or double rotation will be needed to balance the tree.&lt;br /&gt;There are basically four cases, which need to be accounted for, of which two are symmetric to the other two. For simplicity, the root of the unbalanced subtree will be called P, the right child of that node will be called R, and the left child will be called L. If the balance factor of P is 2, it means that the right subtree outweighs the left subtree of the given node, and the balance factor of the right child (R) must then be checked. If the balance factor of R is 1, it means the insertion occurred on the (external) right side of that node and a left rotation is needed (tree rotation) with P as the root. If the balance factor of R is -1, this means the insertion happened on the (internal) left side of that node. This requires a double rotation. The first rotation is a right rotation with R as the root. The second is a left rotation with P as the root.&lt;br /&gt;To search for information in AVL tree is performed exactly as in an unbalanced binary search tree. Because of the height-balancing of the tree, a lookup takes O(log n) time. No special provisions need to be taken, and the tree's structure is not modified by lookups. If each node additionally records the size of its subtree (including itself and its descendants), then the nodes can be retrieved by index in O(log n) time as well.Once a node has been found in a balanced tree, the next or previous node can be obtained in amortized constant time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c. A &lt;span style="font-weight:bold;"&gt;Radix tree&lt;/span&gt;, Patricia trie/tree, or crit bit tree is a specialized set data structure based on the trie that is used to store a set of strings. In contrast with a regular trie, the edges of a Patricia trie are labelled with sequences of characters rather than with single characters. These can be strings of characters, bit strings such as integers or IP addresses, or generally arbitrary sequences of objects in lexicographical order. Sometimes the names radix tree and crit bit tree are only applied to trees storing integers and Patricia trie is retained for more general inputs, but the structure works the same way in all cases.&lt;br /&gt;&lt;br /&gt;How does it work? :&lt;br /&gt;&lt;br /&gt;* The &lt;span style="font-weight:bold;"&gt;radix tree&lt;/span&gt; is easiest to understand as a space-optimized trie where each node with only one child is merged with its child. The result is that every internal node has at least two children. Unlike in regular tries, edges can be labeled with sequences of characters as well as single characters. This makes them much more efficient for small sets (especially if the strings are long) and for sets of strings that share long prefixes.&lt;br /&gt;It supports the following main operations, all of which are O(k), where k is the maximum length of all strings in the set:&lt;br /&gt;• Lookup: Determines if a string is in the set. This operation is identical to   tries except that some edges consume multiple characters.&lt;br /&gt;• Insert: Add a string to the tree. We search the tree until we can make no further progress. At this point we either add a new outgoing edge labeled with all remaining characters in the input string, or if there is already an outgoing edge sharing a prefix with the remaining input string, we split it into two edges (the first labeled with the common prefix) and proceed. This splitting step ensures that no node has more children than there are possible string characters.&lt;br /&gt;&lt;br /&gt;A common extension of radix trees uses two colors of nodes, 'black' and 'white'. To check if a given string is stored in the tree, the search starts from the top and follows the edges of the input string until no further progress can be made. If the search-string is consumed and the final node is a black node, the search has failed; if it is white, the search has succeeded. This enables us to add a large range of strings with a common prefix to the tree, using white nodes, then remove a small set of "exceptions" in a space-efficient manner by inserting them using black nodes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-6248303193526327857?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/6248303193526327857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=6248303193526327857' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/6248303193526327857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/6248303193526327857'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/03/sort.html' title='SORT'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-7748041519183869771</id><published>2009-02-05T18:00:00.000-08:00</published><updated>2009-02-05T18:49:20.272-08:00</updated><title type='text'>Data Structure(graph)</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CWEBINF%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;A.&lt;/span&gt; Graph data structures are non-hierarchical or not inordered and therefore suitable for data sets where the each elements are interconnected in many ways. For example,a computer network can be modeled with graph.&lt;br /&gt;We are assigned to show how graph, store data. A tree data structure can be considered as a special form of a graph data structure(acyclic). A graph is composed of nodes where the data are placed. A tree is a graph in which any two vertices are connected  by exactly one path.&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_1&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_2&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_3&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_4&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_5&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Data Value_6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;B.&lt;/span&gt; &lt;span style="color: rgb(204, 102, 0);"&gt;Figure Sample:&lt;/span&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Tree_graph.svg/162px-Tree_graph.svg.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 255px; height: 189px;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/24/Tree_graph.svg/162px-Tree_graph.svg.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-2.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-3.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-4.jpg" alt="" /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-6.jpg" alt="" /&gt;&lt;br /&gt;&lt;img src="file:///C:/DOCUME%7E1/WEBINF%7E1/LOCALS%7E1/Temp/moz-screenshot-5.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-7748041519183869771?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/7748041519183869771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=7748041519183869771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/7748041519183869771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/7748041519183869771'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2009/02/data-structuregraph.html' title='Data Structure(graph)'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-8496055168556187436</id><published>2008-11-17T17:16:00.001-08:00</published><updated>2008-11-17T17:16:53.574-08:00</updated><title type='text'>ASSIGNMENT no.1</title><content type='html'>A. &lt;span style="color: rgb(51, 204, 0);"&gt;What is Computer System?&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 0);"&gt;* Computer is a machine that can perform mathematical and logical operations based on a given sets of instructions to produce a meaningful and useful output. But not only computer, also any software and peripheral devices that are necessary to make the computer function. For example, every computer system requires an operating system.&lt;/span&gt;&lt;br /&gt;B.&lt;span style="color: rgb(0, 153, 0);"&gt; Computer Hardwares:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Monitor&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Keyboard&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*CPU(Central Processing Unit)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Mouse&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Printer&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Scanner&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Plotter&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Modem&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Speaker&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Microphone&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Light Pen&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*Video Camera&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*RAM(Random Access Memory)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 153, 102);"&gt;*etc...&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-8496055168556187436?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/8496055168556187436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=8496055168556187436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/8496055168556187436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/8496055168556187436'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2008/11/assignment-no1.html' title='ASSIGNMENT no.1'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-5811826429517263708</id><published>2008-11-17T17:05:00.000-08:00</published><updated>2008-11-17T17:21:19.974-08:00</updated><title type='text'>*Non-linear Data Structure*</title><content type='html'>&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;*&lt;/span&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;A tree is just one example of a nonlinear data structure. Two other            examples are multidimensional arrays and graphs. In the next few lessons,            we will examine these data structures to see how they are represented            using the computer's linear memory. Remember that in the last lesson            we saw that we could create a logical representation of a circular queue.            Although the actual memory locations were just an array (a group of            linear memory cells), we made them seem to be circular by wrapping our            pointers&lt;span style="color: rgb(51, 204, 255);"&gt;&lt;/span&gt; around to the front of the array each time they reached the            end. This example demonstrated that there are two ways of representing            our data structure. The logical representation was a circle or a loop,            while the physical representation was a simple linear array.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(51, 204, 0);"&gt;Ex.&lt;br /&gt;&lt;/span&gt;&lt;p align="center"&gt;&lt;img src="http://courses.cs.vt.edu/%7Ecsonline/DataStructures/Lessons/Introduction/orgchart.gif" width="480" height="159" /&gt;&lt;/p&gt;&lt;br /&gt;               &lt;img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-5811826429517263708?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/5811826429517263708/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=5811826429517263708' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/5811826429517263708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/5811826429517263708'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2008/11/tree-is-just-one-example-of-nonlinear.html' title='*Non-linear Data Structure*'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-365998221439545667.post-1897722133729049747</id><published>2008-11-07T22:51:00.000-08:00</published><updated>2008-11-17T17:17:34.795-08:00</updated><title type='text'>116A SURVEY  K11</title><content type='html'>&lt;span style="color: rgb(0, 153, 0);"&gt;Structure of an Egg&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;1.) Shape is not a perfect circle.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;2.) Color is white(outer layer).&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;3.) The surface of the shell is rough.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;4.) The smell is bad.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;5.) The color of the egg yolk is yellowish-orange.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;6.) The shape is oval.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;7.) The outer layer is hard.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;8.) The inner part is liquid.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;9.) The size is not so big.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;10.) The color of the eggwhite is white.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/365998221439545667-1897722133729049747?l=mrarnaiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mrarnaiz.blogspot.com/feeds/1897722133729049747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=365998221439545667&amp;postID=1897722133729049747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1897722133729049747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/365998221439545667/posts/default/1897722133729049747'/><link rel='alternate' type='text/html' href='http://mrarnaiz.blogspot.com/2008/11/act1.html' title='116A SURVEY  K11'/><author><name>Ruaren Vincent C. Arnaiz</name><uri>http://www.blogger.com/profile/15026132445612026868</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_3sMUobB1uAM/SRI3JpFe98I/AAAAAAAAAA4/So00SAh-yPk/S220/me2.jpg'/></author><thr:total>0</thr:total></entry></feed>
