Welcome

KU 6TH SEM PRACTICAL SOLUTIONS

Set -1
1. Write a program for frame sorting technique used in buffers.
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
struct frame
{
       int fslno;
       char finfo[20];
};
struct frame arr[10];
int n;
void sort()
{
       int i,j,ex;
       struct frame temp;
       for(i=0;i<n;i++)
       {
              ex=0;
              for(j=0;j<n-i-1;j++)
              if(arr[j].fslno>arr[j+1].fslno)
              {
                     temp=arr[j];
                     arr[j]=arr[j+1];
                     arr[j+1]=temp;
                     ex++;
              }
              if(ex==0) break;
       }
}

KU 5TH SEM PRACTICAL SOLUTIONS

Set 1

//1. Open an Image. And separate background using selection tool.
Step 1: run Photoshop
Step 2: go to file menu -> open 
Step 3: select image ->click open
Step 4: click on magic wand tool from tool menu
Step 5: select on background of the image using magic wand tool
Step 6: press delete on keyboard
Step 7: go to file menu -> save as
Step 8: select JPEG format
Step 9: enter file name -> click SAVE

//2. Write a JSP page to display the number of hits to this page. (Hint: use application scope of java bean).
<%@ page session="false" %>
<HTML>
<HEAD>
<TITLE>Page Counter Using URL Rewriting</TITLE>
</HEAD>
<BODY>
<H3>Page Counter Using URL Rewriting</H3>
<%
int count = 0;
String parm = request.getParameter("count");
if (parm != null)
count = Integer.parseInt(parm);
if (count == 0) {
%> This is the first time you have accessed this page. <%
}
else if (count == 1) {
%> You have accessed the page once before.<%
}
else {
%> You have accessed the page <%= count %> times before.<%
}
%>
<P> Click
<A HREF="urlrewriting.jsp?count=<%=count + 1 %>"
>here</A> to visit the page again.
</BODY>
</HTML>

KU 5TH SEM ASSIGNMENT - BSIT (TB) - 53 (DATA WAREHOUSING & DATA MINING)

PART - A
I. Note: Answer all the questions.
a) What is Normalization? What are the different forms of Normalization ?
The usual approach in normalization in database applications is to ensure that the data is divided into two or more tables, such that when the data in one of them is updated, it does not lead to anamolies of data (The student is advised to refer any book on data base management systems for details, if interested).
The idea is to ensure that when combined, the data available is consistent. However, in data warehousing, one may even tend to break the large table into several “denormalized” smaller tables. This may lead to lots of extra space being used. But it helps in an indirect way – It avoids the overheads of joining the data during queries.

b) Define Data warehouse. What are roles of education in a data warehousing delivery process?
Data Warehouse: In it’s simplest form, a data ware house is a collection of key pieces of information used to manage and direct the business for the most profitable outcome. It would decide the amount of inventory to be held, the no. of employees to be hired, the amount to be procured on loan etc.,.
The above definition may not be precise - but that is how data ware house systems are. There are different definitions given by different authors, but we have this idea in mind and proceed. It is a large collection of data and a set of process managers that use this data to make information available. The data can be meta data, facts, dimensions and aggregations. The process managers can be load managers, ware house managers or query managers. The information made available is such that they allow the end users to make informed decisions.

HOW TO PLAY HIDDEN SNAKE GAME ON YOUTUBE

We all visit youtube and watch videos but how many of us are aware of youtube hidden Snake game. I believe only a few people know about this hidden snake game. You can play this game on youtube while streaming any video. Snake gmae is one of the most interesting and traditional game in the world of gaming. In this tutorial I will show you how you can play this game on youtube.

i). Go to youtube and open any video for streaming

ii). When the video is streaming Hold Left button of mouse + Left arrow on keyboard + Top arrow on keyboard.

iii). Now you will see that the streaming circle starting to move like a snake.

DOWNLOAD WINDOWS 7 SP1 ISO IMAGE FILES

Download Windows 7 SP1 ISO Image Files

Official Windows 7 SP1 ISO from Digital River

With the release of Windows 7 SP1, Microsoft has also updated the Windows 7 DVD media ISO image distributed by Digital River for online order fulfillment. Digital River is Microsoft’s partner for fulfillment on online distribution for downloadable Microsoft products.

The Windows 7 ISO images hosted on Digital River is genuine and official version, and the downloads from the server is legal. It’s after all one of the official channel where end-users who purchase a license (product key) for Windows 7 get the setup installation files.
Anyway, without a genuine and legally purchased product key, you can’t get Windows 7 activated, and Windows 7 will only run as evaluation copy for up to 30 days.

The latest version of Windows 7 DVD image available is of media refresh version, which commonly known as Windows 7 SP1-U (Media Refresh). Microsoft released the media refresh version of Windows 7 DVD media to fix a rare bug related to invalid computer name when small set of computer names returned error when used to install Windows 7. Otherwise, the Windows 7 with SP1 and Windows 7 with SP1-U (Media Refresh) is completely the same.